Add tf_record_iterator tests for semantics needed by TensorBoard
Add tf_record_iterator tests for semantics needed by TensorBoard

TensorBoard now uses tf_record_iterator and relies on new aspects of its behavior (preserving the read offset when encountering EOF or a data loss error, rather than closing the reader) to "poll" event files that get appended with new data during training, without having to reread the file from the beginning. To help prevent regressions that would break TensorBoard, this CL adds tests to verify that behavior.

PiperOrigin-RevId: 292066760
Change-Id: Ie15e055e30aa55398ff0dab3ae54f42e616d80a2

aam-at/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,aldian/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,petewarden/tensorflow,gunan/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,jhseu/tensorflow,yongtang/tensorflow,gunan/tensorflow,gunan/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,petewarden/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,gautam1858/tensorflow,gunan/tensorflow,yongtang/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,aldian/tensorflow,paolodedios/tensorflow,annarev/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,petewarden/tensorflow,annarev/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,annarev/tensorflow,freedomtan/tensorflow,annarev/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,renyi533/tensorflow,aldian/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,xzturn/tensorflow,yongtang/tensorflow,sarvex/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,karllessard/tensorflow,gunan/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,aldian/tensorflow,gunan/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,jhseu/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,karllessard/tensorflow,annarev/tensorflow,aam-at/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,jhseu/tensorflow,gunan/tensorflow,jhseu/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,xzturn/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,renyi533/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,gunan/tensorflow,renyi533/tensorflow,renyi533/tensorflow,annarev/tensorflow,yongtang/tensorflow,xzturn/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,petewarden/tensorflow,aam-at/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,yongtang/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,petewarden/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,aldian/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,jhseu/tensorflow