Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chaos #45

Merged
merged 8 commits into from
Jun 10, 2024
Merged

Chaos #45

merged 8 commits into from
Jun 10, 2024

Conversation

SpheMakh
Copy link
Collaborator

@SpheMakh SpheMakh commented Jun 6, 2024

No description provided.

@SpheMakh SpheMakh requested a review from o-smirnov June 6, 2024 14:25
@ratt-priv-ci
Copy link

Can one of the admins verify this patch?

@bennahugo
Copy link
Contributor

bennahugo commented Jun 6, 2024 via email

@SpheMakh SpheMakh marked this pull request as draft June 7, 2024 12:30
@SpheMakh
Copy link
Collaborator Author

SpheMakh commented Jun 7, 2024

Have these CI tests ever passed before?

@o-smirnov
Copy link
Contributor

Passed for release I guess, but it's a little puzzling the failure now. Has the linter been improved or something? Are these legit errors it's picking up? Sorry, no time to look at the code today, but I can check on Monday.

@SpheMakh
Copy link
Collaborator Author

SpheMakh commented Jun 7, 2024

Yup, the errors are legit. But they are minor "undefined variable" type things that I can take care of.

@SpheMakh SpheMakh marked this pull request as ready for review June 7, 2024 13:47
@bennahugo
Copy link
Contributor

Jenkins tests need to pass (and has been passing the monthly cronjob) - I test it against a full simulation and MT installation.

Current breakage:

Processing ./tigger-lsm
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
�[91m  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpityetg7u
       cwd: /code/tigger-lsm
  Complete output (14 lines):
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "/tmp/pip-build-env-z_qut63v/overlay/lib/python3.6/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel
      poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False)
    File "/tmp/pip-build-env-z_qut63v/overlay/lib/python3.6/site-packages/poetry/core/factory.py", line 43, in create_poetry
      raise RuntimeError("The Poetry configuration is invalid:\n" + message)
  RuntimeError: The Poetry configuration is invalid:
    - Additional properties are not allowed ('group' was unexpected)

@SpheMakh
Copy link
Collaborator Author

SpheMakh commented Jun 7, 2024

I don't have access to the Jenkins test, but the tests in the .travis/py3.docker file are already done in the test_installation.yaml github action. The MeqTrees and Timba things do not belong here, so I would remove the travis test completely.

.github/workflows/test_installation.yml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@SpheMakh
Copy link
Collaborator Author

SpheMakh commented Jun 7, 2024

Jenkins tests need to pass (and has been passing the monthly cronjob) - I test it against a full simulation and MT installation.

Current breakage:

Processing ./tigger-lsm
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
�[91m  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpityetg7u
       cwd: /code/tigger-lsm
  Complete output (14 lines):
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "/tmp/pip-build-env-z_qut63v/overlay/lib/python3.6/site-packages/poetry/core/masonry/api.py", line 43, in prepare_metadata_for_build_wheel
      poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False)
    File "/tmp/pip-build-env-z_qut63v/overlay/lib/python3.6/site-packages/poetry/core/factory.py", line 43, in create_poetry
      raise RuntimeError("The Poetry configuration is invalid:\n" + message)
  RuntimeError: The Poetry configuration is invalid:
    - Additional properties are not allowed ('group' was unexpected)

This test is uses a system with Python 3.6, which is not supported. The tests should be run on an appropriate environment.

@bennahugo
Copy link
Contributor

I don't have access to the Jenkins test, but the tests in the .travis/py3.docker file are already done in the test_installation.yaml github action. The MeqTrees and Timba things do not belong here, so I would remove the travis test completely.

As far as I can see the test on GH only checks the very basic conversion scripts, not numerical accuracy (which is covered in the full simulation).

@SpheMakh
Copy link
Collaborator Author

SpheMakh commented Jun 7, 2024

I don't have access to the Jenkins test, but the tests in the .travis/py3.docker file are already done in the test_installation.yaml github action. The MeqTrees and Timba things do not belong here, so I would remove the travis test completely.

As far as I can see the test on GH only checks the very basic conversion scripts, not numerical accuracy (which is covered in the full simulation).

Noted. Let's keep it the tests, but please update the Python to a more recent version, say 3.10.

@bennahugo
Copy link
Contributor

@SpheMakh
Copy link
Collaborator Author

SpheMakh commented Jun 7, 2024

Can possibly base off this: https://github.com/ratt-ru/meqtrees-timba/blob/master/.ci/ubuntu22.04.docker

Yup. Much better, I'll make the updates

@SpheMakh SpheMakh requested a review from bennahugo June 7, 2024 16:30
Copy link
Contributor

@o-smirnov o-smirnov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@o-smirnov o-smirnov merged commit 6d65b43 into master Jun 10, 2024
7 checks passed
@o-smirnov o-smirnov deleted the chaos branch June 10, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants