You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the pinned dependencies check, a parsing error is occurring and no score is calculated. The error is because of this line Dockerfile:1:184
Reproduction steps
Versions: 4.10.2, 4.10.5 and 4.13.1
Last tensorflow commit that was running without error: 2bc270a640c17fffb865b225c9fc5d69e80c1dc9
Steps to reproduce the behavior:
run scorecard --repo=tensorflow/tensorflow --checks=Pinned-Dependencies
output
Starting [Pinned-Dependencies]
Finished [Pinned-Dependencies]
RESULTS
-------
Aggregate score: ?
Check scores:
|-------|---------------------|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
| SCORE | NAME | REASON | DOCUMENTATION/REMEDIATION |
|-------|---------------------|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
| ? | Pinned-Dependencies | internal error: error parsing shell code: | https://github.com/ossf/scorecard/blob/49c0eed3a423f00c872b5c3c9f1bbca9e8aae799/docs/checks.md#pinned-dependencies |
| | | ci/devinfra/docker_windows/Dockerfile:1:184: | |
| | | a command can only contain words and | |
| | | redirects; encountered ( | |
|-------|---------------------|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
Error: check runtime error: Pinned-Dependencies: internal error: error parsing shell code: ci/devinfra/docker_windows/Dockerfile:1:184: a command can only contain words and redirects; encountered (
2023/11/23 19:41:36 error during command execution: check runtime error: Pinned-Dependencies: internal error: error parsing shell code: ci/devinfra/docker_windows/Dockerfile:1:184: a command can only contain words and redirects; encountered (
Expected behavior
It was expected that the score could be calculated. The Dockerfile seems to be working well on tensorflow
The text was updated successfully, but these errors were encountered:
joycebrum
changed the title
BUG: Pinned Dependencies Check is not working on tensorflow.
BUG: Internal error en parsing Dockerfile on Pinned-Dependencies check
Nov 23, 2023
joycebrum
changed the title
BUG: Internal error en parsing Dockerfile on Pinned-Dependencies check
BUG: Internal error when parsing Dockerfile on Pinned-Dependencies check
Nov 23, 2023
Based on the error I'm not sure that's actually the line causing the error.
a command can only contain words and redirects; encountered (
But seems like this is another example of us trying to parse powershell as a shell script, which would solve quite a few of these issues. A short term solution would be ignoring the parse error via #3515
Describe the bug
When running the pinned dependencies check, a parsing error is occurring and no score is calculated. The error is because of this line Dockerfile:1:184
Reproduction steps
Versions: 4.10.2, 4.10.5 and 4.13.1
Last tensorflow commit that was running without error:
2bc270a640c17fffb865b225c9fc5d69e80c1dc9
Steps to reproduce the behavior:
scorecard --repo=tensorflow/tensorflow --checks=Pinned-Dependencies
Expected behavior
It was expected that the score could be calculated. The Dockerfile seems to be working well on tensorflow
The text was updated successfully, but these errors were encountered: