TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the macros that TensorFlow uses for writing assertions (e.g., `CHECK_LT`, `CHECK_GT`, etc.) have an incorrect logic when comparing `size_t` and `int` values. Due to type conversion rules, several of the macros would trigger incorrectly. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
D9359D32-D090-44CF-AC43-2046084A28BB
2.6.4
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
C4DFBF2D-5283-42F6-8800-D653BFA5CE82
2.7.2
2.7.0
cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*
A58EDA5C-66D6-46F1-962E-60AFB7C784A7
cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*
89522760-C2DF-400D-9624-626D8F160CBA
cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*
E9EA1898-ACAA-4699-8BAE-54D62C1819FB
cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*
130DE3C9-6842-456F-A259-BF8FF8457217
cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*
BBF2FCEF-989C-409D-9F4C-81418C65B972
cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*
9CFB1CFC-579D-4647-A472-6DE8BE1951DE
cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*
F3F3F37E-D27F-4060-830C-0AFF16150777
OR
EDIT: PR fixing this issue is https://github.com/tensorflow/tensorflow/pull/55730

<em>Please make sure that this is a bug. As per our
[GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template</em>

**System information**
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
- TensorFlow installed from (source or binary): source
- TensorFlow version (use command below): v2.8.0-2-ge994fb9c3ad 2.8.0
- Python version: 3.8.3
- Bazel version (if compiling from source): 0.25.2
- GCC/Compiler version (if compiling from source): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
- CUDA/cuDNN version: N/A
- GPU model and memory: N/A

**Describe the current behavior**

test fails

**Describe the expected behavior**

test passes

**[Contributing](https://www.tensorflow.org/community/contribute)**

- Do you want to contribute a PR? (yes/no): yes
- Briefly describe your candidate solution(if contributing):

[EDIT: Removed incorrect hypothesis]

**Standalone code to reproduce the issue**
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.

```
$ git checkout r2.8
$ bazel  --host_jvm_args=-Xmx32g test --jobs=12  --config=dbg --verbose_failures -k //tensorflow/core:__tensorflow_core_lib_math_math_util_test   
```

**Other info / logs** Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

[test.log](https://github.com/tensorflow/tensorflow/files/8443281/t.log)


Test fail on r2.8: core:__tensorflow_core_lib_math_math_util_test   
This is a GitHub Issue
repo:tensorflow
owner:tensorflow
Title : Test fail on r2.8: core:__tensorflow_core_lib_math_math_util_test   
Issue date:

--- start body ---
EDIT: PR fixing this issue is https://github.com/tensorflow/tensorflow/pull/55730

<em>Please make sure that this is a bug. As per our
[GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template</em>

**System information**
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
- TensorFlow installed from (source or binary): source
- TensorFlow version (use command below): v2.8.0-2-ge994fb9c3ad 2.8.0
- Python version: 3.8.3
- Bazel version (if compiling from source): 0.25.2
- GCC/Compiler version (if compiling from source): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
- CUDA/cuDNN version: N/A
- GPU model and memory: N/A

**Describe the current behavior**

test fails

**Describe the expected behavior**

test passes

**[Contributing](https://www.tensorflow.org/community/contribute)**

- Do you want to contribute a PR? (yes/no): yes
- Briefly describe your candidate solution(if contributing):

[EDIT: Removed incorrect hypothesis]

**Standalone code to reproduce the issue**
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.

```
$ git checkout r2.8
$ bazel  --host_jvm_args=-Xmx32g test --jobs=12  --config=dbg --verbose_failures -k //tensorflow/core:__tensorflow_core_lib_math_math_util_test   
```

**Other info / logs** Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

[test.log](https://github.com/tensorflow/tensorflow/files/8443281/t.log)


--- end body ---

comments :
--- start comments ---

--- end comments ---