okayhooni commented on PR #29786:
URL: https://github.com/apache/airflow/pull/29786#issuecomment-1462244997
> static tests are failing :(
@eladkal
I guess this was a just random failure..
[error log]
```
An unexpected error has occurred: CalledProcessError: command:
('/opt/pipx/venvs/apache-airflow-breeze/bin/python', '-mnodeenv', '--prebuilt',
'--clean-src', '/home/runner/.cache/pre-commit/repoui20kj4a/node_env-18.6.0',
'-n', '18.6.0')
return code: 1
stdout: (none)
stderr:
* Install prebuilt node (18.6.0) .Incomplete read while readingfrom
https://nodejs.org/download/release/v18.6.0/node-v18.6.0-linux-x64.tar.gz
.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py",
line 193, in _run_module_as_main
"__main__", mod_spec)
File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py",
line 85, in _run_code
exec(code, run_globals)
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line 1519, in <module>
main()
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line 1104, in main
create_environment(env_dir, args)
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line 980, in create_environment
install_node(env_dir, src_dir, args)
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line 739, in install_node
install_node_wrapped(env_dir, src_dir, args)
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line
[76](https://github.com/apache/airflow/actions/runs/4283958493/jobs/7460518056#step:6:77)2,
in install_node_wrapped
download_node_src(node_url, src_dir, args)
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line 602, in download_node_src
with ctx as archive:
File
"/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 112,
in __enter__
return next(self.gen)
File
"/opt/pipx/venvs/apache-airflow-breeze/lib/python3.7/site-packages/nodeenv.py",
line 573, in tarfile_open
tf = tarfile.open(*args, **kwargs)
File
"/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/tarfile.py", line 1573,
in open
saved_pos = fileobj.tell()
AttributeError: 'bytes' object has no attribute 'tell'
Check the log at /home/runner/.cache/pre-commit/pre-commit.log
There were errors during pre-commit check. They should be fixed
Error: Process completed with exit code 3.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]