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: Test with OpenStack Caracal release #9278

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

nelljerram
Copy link
Member

Description

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@nelljerram nelljerram requested a review from a team as a code owner September 25, 2024 10:05
@marvin-tigera marvin-tigera added this to the Calico v3.30.0 milestone Sep 25, 2024
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Sep 25, 2024
@nelljerram nelljerram marked this pull request as draft September 25, 2024 10:05
    Cloning into '/opt/stack/calico'...
    fatal: detected dubious ownership in repository at '/home/semaphore/calico/.git'
    To add an exception for this directory, call:
    	git config --global --add safe.directory /home/semaphore/calico/.git
    + ./stack.sh:main:236                      :   echo 'WARNING: this script has not been tested on focal'
    WARNING: this script has not been tested on focal
    + ./stack.sh:main:237                      :   [[ '' != \y\e\s ]]
    + ./stack.sh:main:238                      :   die 238 'If you wish to run this script anyway run with FORCE=yes'
    + functions-common:die:285                 :   local exitcode=0
    + functions-common:die:286                 :   set +o xtrace
    [Call Trace]
    ./stack.sh:238:die
    [ERROR] ./stack.sh:238 If you wish to run this script anyway run with FORCE=yes
In the job running tox with Caracal:

    running testr
    Traceback (most recent call last):
      File "setup.py", line 20, in <module>
        setup(
      File "/code/.tox/py38/lib/python3.8/site-packages/setuptools/__init__.py", line 117, in setup
        return distutils.core.setup(**attrs)
      File "/code/.tox/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 183, in setup
        return run_commands(dist)

        dist.run_commands()
      File "/code/.tox/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
        self.run_command(cmd)
      File "/code/.tox/py38/lib/python3.8/site-packages/setuptools/dist.py", line 950, in run_command
        super().run_command(command)
      File "/code/.tox/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
        cmd_obj.run()
      File "/code/.tox/py38/lib/python3.8/site-packages/testrepository/setuptools_command.py", line 71, in run
        self._run_testr("init")
      File "/code/.tox/py38/lib/python3.8/site-packages/testrepository/setuptools_command.py", line 51, in _run_testr
        return commands.run_argv([sys.argv[0]] + list(args),
      File "/code/.tox/py38/lib/python3.8/site-packages/testrepository/commands/__init__.py", line 185, in run_argv

      File "/code/.tox/py38/lib/python3.8/site-packages/testrepository/ui/cli.py", line 23, in <module>
        from extras import try_import
    ModuleNotFoundError: No module named 'extras'
    ERROR: InvocationError for command /code/.tox/py38/bin/python setup.py testr --slowest --testr-args= (exited with code 1)
@nelljerram
Copy link
Member Author

Our UTs are now OK with Caracal, but it looks like we have to update networking-calico to work with a newer version of etcd3gw (specifically, 2.4.0):

Sep 25 12:12:23 semaphore-vm neutron-server[156898]: INFO networking_calico.etcdv3 [-] TLS disabled, using HTTP to connect to etcd.
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: INFO networking_calico.etcdv3 [-] Try creating etcd3gw client with /v3/
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 [-] etcd3gw client not working: TypeError: post() got multiple values for keyword argument 'timeout'
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 Traceback (most recent call last):
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/networking_calico/etcdv3.py", line 455, in __init__
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     status = self.status()
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 152, in status
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return self.post(self.get_url("/maintenance/status"),
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/networking_calico/etcdv3.py", line 503, in post
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return super(Etcd3AuthClient, self).post(*args, **kwargs)
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 145, in post
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return self._request('post', *args, **kwargs)
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 123, in _request
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     resp = getattr(self.session, method)(*args, timeout=self.timeout,
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 TypeError: post() got multiple values for keyword argument 'timeout'
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: INFO networking_calico.etcdv3 [-] Try creating etcd3gw client with /v3beta/
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 [-] etcd3gw client not working: TypeError: post() got multiple values for keyword argument 'timeout'
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 Traceback (most recent call last):
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/networking_calico/etcdv3.py", line 455, in __init__
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     status = self.status()
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 152, in status
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return self.post(self.get_url("/maintenance/status"),
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/networking_calico/etcdv3.py", line 503, in post
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return super(Etcd3AuthClient, self).post(*args, **kwargs)
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 145, in post
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return self._request('post', *args, **kwargs)
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 123, in _request
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     resp = getattr(self.session, method)(*args, timeout=self.timeout,
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 TypeError: post() got multiple values for keyword argument 'timeout'
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: INFO networking_calico.etcdv3 [-] Try creating etcd3gw client with /v3alpha/
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 [-] etcd3gw client not working: TypeError: post() got multiple values for keyword argument 'timeout'
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 Traceback (most recent call last):
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/networking_calico/etcdv3.py", line 455, in __init__
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     status = self.status()
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 152, in status
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return self.post(self.get_url("/maintenance/status"),
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/networking_calico/etcdv3.py", line 503, in post
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return super(Etcd3AuthClient, self).post(*args, **kwargs)
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 145, in post
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     return self._request('post', *args, **kwargs)
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3   File "/opt/stack/data/venv/lib/python3.8/site-packages/etcd3gw/client.py", line 123, in _request
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3     resp = getattr(self.session, method)(*args, timeout=self.timeout,
Sep 25 12:12:23 semaphore-vm neutron-server[156898]: ERROR networking_calico.etcdv3 TypeError: post() got multiple values for keyword argument 'timeout'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/openstack docs-pr-required Change is not yet documented kind/enhancement release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants