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

[WIP] nuage_vspk: fix tests #269

Closed
wants to merge 1 commit into from

Conversation

Andersson007
Copy link
Contributor

SUMMARY

Fix CI

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

tests/integration/targets/prepare_nuage_tests/tasks/main.yml

@Andersson007
Copy link
Contributor Author

    "msg": "stdout: Collecting setuptools\n  Downloading https://files.pythonhosted.org/packages/fc/0a/b486efab52f8ad03c3eca0c998dd3deafba0c39b29e0c49c68a7152c8b2d/setuptools-56.2.0.tar.gz (2.1MB)\n    Complete output from command python setup.py egg_info:\n    Traceback (most recent call last):\n      File \"<string>\", line 1, in <module>\n      File \"setuptools/__init__.py\", line 16, in <module>\n        import setuptools.version\n      File \"setuptools/version.py\", line 1, in <module>\n        import pkg_resources\n      File \"pkg_resources/__init__.py\", line 1367\n        raise SyntaxError(e) from e\n                                ^\n    SyntaxError: invalid syntax\n    \n    ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-6E_IfB/setuptools/\nYou are using pip version 8.1.2, however version 21.1.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"
}

@Andersson007
Copy link
Contributor Author

@dericcrago people say that updating setuptools fixes the issue.
click-contrib/click-completion#29
python-pendulum/pendulum#187
ansible/molecule#1859
I failed to update it on the old distros, see the error above.

As we discussed with @felixfontein, now the tests are very redundant in terms of the number of distros involved. We could:

  1. remove CentOS 7 and Ubuntu 1604 from the test matrix
  2. or use the default container

@felixfontein
Copy link
Collaborator

For network modules, just testing with the default container is probably best.

@Andersson007 Andersson007 deleted the ft0 branch November 1, 2022 12:35
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.

2 participants