crossbario / crossbar

Crossbar.io - WAMP application router
https://crossbar.io/
Other
2.05k stars 275 forks source link

prepare v23.1.1 #2063

Closed oberstet closed 1 year ago

oberstet commented 1 year ago
  sphinx: OK (10.72=setup[0.06]+cmd[2.08,6.55,2.04] seconds)
  flake8: OK (3.38=setup[0.02]+cmd[3.37] seconds)
  mypy: OK (0.63=setup[0.01]+cmd[0.62] seconds)
  yapf: OK (78.58=setup[0.01]+cmd[0.08,78.49] seconds)
  bandit: OK (10.78=setup[0.02]+cmd[10.75] seconds)
  py311-pinned-trial: OK (191.31=setup[0.02]+cmd[2.30,7.97,104.38,64.09,0.00,1.19,0.96,2.31,2.22,0.00,2.08,3.80] seconds)
  py311-unpinned-trial: OK (192.86=setup[0.03]+cmd[2.57,8.22,105.59,64.63,0.00,0.91,0.95,2.20,2.20,0.00,2.07,3.48] seconds)
  py311-abtrunk-trial: OK (191.20=setup[0.02]+cmd[2.16,7.87,106.73,62.29,0.00,0.90,0.91,2.21,2.32,0.00,2.24,3.54] seconds)
  py311-examples: OK (480.35=setup[0.02]+cmd[2.11,8.38,108.11,62.45,0.00,0.94,0.93,2.29,2.20,0.00,2.05,290.87] seconds)
  pytest: OK (191.24=setup[0.02]+cmd[2.11,7.48,104.94,64.20,0.02,0.88,0.87,2.11,2.08,0.00,1.98,4.57] seconds)
  functests-cb: OK (398.67=setup[0.02]+cmd[2.05,7.68,101.52,130.88,0.00,1.07,1.04,2.27,2.20,0.00,1.92,148.02] seconds)
  congratulations :) (1749.83 seconds)
(cpy311_5) oberstet@intel-nuci7:~/scm/crossbario/crossbar$ git log -n 1
commit 174b262777d39dcf08a39f3bacbd07ff6419454c (HEAD -> rel-23-1, origin/rel-23-1)
Author: Tobias Oberstein <tobias.oberstein@crossbario.com>
Date:   Tue Feb 7 15:51:09 2023 +0100

    sync
oberstet commented 1 year ago

wau. setuptools & github CI .. here is one trap:

2023-02-07T14:27:59.4302045Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.1.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:27:59.4305260Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.0.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:27:59.5261239Z Collecting autobahn[compress,encryption,scram,serialization,twisted,xbr]@ git+https://github.com/crossbario/autobahn-python.git@master#egg=autobahn
2023-02-07T14:27:59.5264919Z   Cloning https://github.com/crossbario/autobahn-python.git (to revision master) to /tmp/pip-install-rykydwxl/autobahn_319acd15ed6c4053b71176cd9b6fc022
2023-02-07T14:27:59.5308452Z   Running command git clone --filter=blob:none --quiet https://github.com/crossbario/autobahn-python.git /tmp/pip-install-rykydwxl/autobahn_319acd15ed6c4053b71176cd9b6fc022
2023-02-07T14:28:02.1600200Z   Resolved https://github.com/crossbario/autobahn-python.git to commit 49c41440e16528ee6ab267df0f9989fb1ed81f7c
2023-02-07T14:28:02.1663041Z   Preparing metadata (setup.py): started
2023-02-07T14:28:02.5335790Z   Preparing metadata (setup.py): finished with status 'error'
2023-02-07T14:28:02.5469216Z   error: subprocess-exited-with-error
2023-02-07T14:28:02.5470570Z   
2023-02-07T14:28:02.5473002Z   × python setup.py egg_info did not run successfully.
2023-02-07T14:28:02.5474162Z   │ exit code: 1
2023-02-07T14:28:02.5475123Z   ╰─> [20 lines of output]
2023-02-07T14:28:02.5477357Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'install_requires'
2023-02-07T14:28:02.5478812Z         warnings.warn(msg)
2023-02-07T14:28:02.5482967Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'extras_require'
2023-02-07T14:28:02.5484405Z         warnings.warn(msg)
2023-02-07T14:28:02.5486588Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'tests_require'
2023-02-07T14:28:02.5488020Z         warnings.warn(msg)
2023-02-07T14:28:02.5490180Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'entry_points'
2023-02-07T14:28:02.5491572Z         warnings.warn(msg)
2023-02-07T14:28:02.5493781Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'include_package_data'
2023-02-07T14:28:02.5495437Z         warnings.warn(msg)
2023-02-07T14:28:02.5498164Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'zip_safe'
2023-02-07T14:28:02.5500305Z         warnings.warn(msg)
2023-02-07T14:28:02.5503400Z       /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'python_requires'
2023-02-07T14:28:02.5504887Z         warnings.warn(msg)
2023-02-07T14:28:02.5505941Z       usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
2023-02-07T14:28:02.5507354Z          or: setup.py --help [cmd1 cmd2 ...]
2023-02-07T14:28:02.5508536Z          or: setup.py --help-commands
2023-02-07T14:28:02.5509641Z          or: setup.py cmd --help
2023-02-07T14:28:02.5510363Z       
2023-02-07T14:28:02.5511336Z       error: invalid command 'egg_info'
2023-02-07T14:28:02.5512159Z       [end of output]
2023-02-07T14:28:02.5512812Z   
2023-02-07T14:28:02.5513839Z   note: This error originates from a subprocess, and is likely not a problem with pip.
2023-02-07T14:28:02.5515323Z error: metadata-generation-failed
2023-02-07T14:28:02.5515911Z 
2023-02-07T14:28:02.5516729Z × Encountered error while generating package metadata.
2023-02-07T14:28:02.5517869Z ╰─> See above for output.
2023-02-07T14:28:02.5518359Z 
2023-02-07T14:28:02.5518945Z note: This is an issue with the package mentioned above, not pip.
2023-02-07T14:28:02.5519960Z hint: See above for details.
2023-02-07T14:28:02.5779435Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.1.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:28:02.5782936Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.0.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:28:02.6345973Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.1.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:28:02.6350089Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.0.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:28:02.7519053Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.1.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:28:02.7523207Z WARNING: Skipping /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.0.0.dist-info due to invalid metadata entry 'name'
2023-02-07T14:28:02.9265718Z ##[error]Process completed with exit code 1.

as it turns out, GitHub job runner updated the Python package on the private build host BUT it left over crap in the filesystem

oberstet@matterhorn:~$ ll /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.1.0.dist-info
insgesamt 24
drwxr-xr-x   2 cbbuilder cbbuilder  4096 Feb  7 14:44 ./
drwxr-xr-x 486 cbbuilder cbbuilder 20480 Feb  7 15:16 ../
-rw-r--r--   1 cbbuilder cbbuilder     0 Feb  7 03:13 REQUESTED
oberstet@matterhorn:~$ ll /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.0.0.dist-info
insgesamt 24
drwxr-xr-x   2 cbbuilder cbbuilder  4096 Feb  7 02:42 ./
drwxr-xr-x 486 cbbuilder cbbuilder 20480 Feb  7 15:16 ../
-rw-r--r--   1 cbbuilder cbbuilder     0 Feb  1 12:00 REQUESTED
oberstet@matterhorn:~$ sudo rm -rf /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.0.0.dist-info
oberstet@matterhorn:~$ sudo rm -rf /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.1.0.dist-info
oberstet@matterhorn:~$ ll /opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/setuptools-67.2.0.dist-info/
insgesamt 88
drwxr-xr-x   2 cbbuilder cbbuilder  4096 Feb  7 14:44 ./
drwxr-xr-x 484 cbbuilder cbbuilder 20480 Feb  7 16:40 ../
-rw-r--r--   1 cbbuilder cbbuilder  2740 Feb  7 14:44 entry_points.txt
-rw-r--r--   1 cbbuilder cbbuilder     4 Feb  7 14:44 INSTALLER
-rw-r--r--   1 cbbuilder cbbuilder  1050 Feb  7 14:44 LICENSE
-rw-r--r--   1 cbbuilder cbbuilder  6213 Feb  7 14:44 METADATA
-rw-r--r--   1 cbbuilder cbbuilder 36204 Feb  7 14:44 RECORD
-rw-r--r--   1 cbbuilder cbbuilder     0 Feb  7 14:44 REQUESTED
-rw-r--r--   1 cbbuilder cbbuilder    41 Feb  7 14:44 top_level.txt
-rw-r--r--   1 cbbuilder cbbuilder    92 Feb  7 14:44 WHEEL
oberstet@matterhorn:~$ 

and that crap triggered above error !!! aaaarrg =( after deleting the crap manually on the build host, the CI now seems to run


given the amount of time I spent on all of above shit again and again and again, the only conclusion is: deeply broken .. a big waste of time ... I am feeling like I am approaching the final stage: after confusion, digging, frustration, complaining - now facing the facts: stop complain and move on (Rust)