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

[stable-2.16] handlers: fix executing in lockstep using linear (#83030) #83073

Merged
merged 1 commit into from
May 9, 2024

handlers: fix executing in lockstep using linear (#83030)

17e6bea
Select commit
Failed to load commit list.
Merged

[stable-2.16] handlers: fix executing in lockstep using linear (#83030) #83073

handlers: fix executing in lockstep using linear (#83030)
17e6bea
Select commit
Failed to load commit list.
Azure Pipelines / CI succeeded Apr 18, 2024 in 17m 43s

Build #20240417.12 had test failures

Details

Tests

  • Failed: 167 (0.11%)
  • Passed: 135,512 (90.91%)
  • Other: 13,378 (8.98%)
  • Total: 149,057

Annotations

Check failure on line 1 in [testhost] testhost: ansible-galaxy-collection : reset pulp content pulp_api={{ pulp_api }}, galaxy_ng_server={{ galaxy_ng_server }}, url_username={{ pulp_user }}, url_password={{ pulp_password }}, repositories={{ pulp_repositories }}, namespaces={{ collection_list|map(attribute="namespace")|unique + publish_namespaces }}

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

[testhost] testhost: ansible-galaxy-collection : reset pulp content pulp_api={{ pulp_api }}, galaxy_ng_server={{ galaxy_ng_server }}, url_username={{ pulp_user }}, url_password={{ pulp_password }}, repositories={{ pulp_repositories }}, namespaces={{ collection_list|map(attribute="namespace")|unique + publish_namespaces }}

HTTP Error 400: Bad Request
Raw output
{
    "access-control-expose-headers": "Correlation-ID",
    "allow": "GET, PATCH, DELETE, HEAD, OPTIONS",
    "body": "{\"detail\":\"Collection ns_with_wildcard_dep.name_with_wildcard_dep could not be deleted because there are other collections that require it.\",\"dependent_collection_versions\":[\"meta_ns_with_transitive_wildcard_dep.meta_name_with_transitive_wildcard_dep 4.5.6\"]}",
    "changed": false,
    "connection": "close",
    "content-language": "en-us",
    "content-length": "259",
    "content-type": "application/json",
    "correlation-id": "9d1864fd81c64ca58fff4c9d7a7eecee",
    "date": "Wed, 17 Apr 2024 16:30:03 GMT",
    "invocation": {
        "module_args": {
            "force_basic_auth": true,
            "galaxy_ng_server": "http://galaxy-pulp/api/galaxy/",
            "namespaces": [
                "namespace1",
                "namespace2",
                "namespace3",
                "namespace4",
                "namespace5",
                "namespace6",
                "namespace7",
                "namespace8",
                "namespace9",
                "parent_dep",
                "parent_dep2",
                "child_dep",
                "fail_namespace",
                "fail_dep",
                "fail_dep2",
                "symlink",
                "cache",
                "dep_with_beta",
                "test_prereleases",
                "dev_and_stables_ns",
                "ns_with_wildcard_dep",
                "ns_with_dev_dep",
                "rc_meta_ns_with_transitive_dev_dep",
                "meta_ns_with_transitive_wildcard_dep",
                "ansible_test",
                "secondary"
            ],
            "pulp_api": "http://galaxy-pulp",
            "repositories": [
                "primary",
                "secondary"
            ],
            "url_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "url_username": "admin"
        }
    },
    "msg": "HTTP Error 400: Bad Request",
    "referrer-policy": "same-origin",
    "server": "nginx/1.14.1",
    "status": 400,
    "url": "http://galaxy-pulp/api/galaxy/v3/plugin/ansible/content/primary/collections/index/ns_with_wildcard_dep/name_with_wildcard_dep/",
    "vary": "Accept, Accept-Language, Cookie",
    "x-content-type-options": "nosniff",
    "x-frame-options": "DENY"
}

Check failure on line 1 in [testhost] testhost: ansible-galaxy-collection : setup test collections for install and download test server=galaxy_ng, collections={{ collection_list }}, signature_dir={{ gpg_homedir }}

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

[testhost] testhost: ansible-galaxy-collection : setup test collections for install and download test server=galaxy_ng, collections={{ collection_list }}, signature_dir={{ gpg_homedir }}

rc=0
Raw output
{
"changed": true,
"delta": "0:00:57.173734",
"end": "2024-04-17 16:29:37.442902",
"results": [
{
"build": {
"rc": 0,
"stderr": "\u001b[1;35m[WARNING]: The specified \"api_version\" configuration for the galaxy server\u001b[0m\n\u001b[1;35m\"pulp_v2\" is not a public configuration, and may be removed at any time without\u001b[0m\n\u001b[1;35mwarning.\u001b[0m\n",
"stdout": "Created collection for namespace1.name1 at /root/.ansible/tmp/ansible-moduletmp-1713371320.2731304-ok97coi5/namespace1-name1-0.0.1/namespace1-name1-0.0.1.tar.gz\n"
},
"gpg_detach_sign": {
"signature_path": "/tmp/ansible.g44blb7n.test/galaxy/gpg/namespace1-name1-0.0.1-MANIFEST.json.asc",
"stdout": ""
},
"publish": {
"rc": 0,
"stderr": "\u001b[1;35m[WARNING]: The specified \"api_version\" configuration for the galaxy server\u001b[0m\n\u001b[1;35m\"pulp_v2\" is not a public configuration, and may be removed at any time without\u001b[0m\n\u001b[1;35mwarning.\u001b[0m\n\u001b[1;35m[WARNING]: Galaxy import warning message: No changelog found. Add a\u001b[0m\n\u001b[1;35mCHANGELOG.rst, CHANGELOG.md, or changelogs/changelog.yaml file.\u001b[0m\n",
"stdout": "Publishing collection artifact '/root/.ansible/tmp/ansible-moduletmp-1713371320.2731304-ok97coi5/namespace1-name1-0.0.1/namespace1-name1-0.0.1.tar.gz' to galaxy_ng http://galaxy-pulp/api/galaxy/content/primary/\nCollection has been published to the Galaxy server galaxy_ng http://galaxy-pulp/api/galaxy/content/primary/\nWaiting until Galaxy import task http://galaxy-pulp/api/galaxy/content/primary/v3/imports/collections/86aeeede-bb27-415c-becd-d2ad9879cecd/ has completed\nCollection has been successfully published and imported to the Galaxy server galaxy_ng http://galaxy-pulp/api/galaxy/content/primary/\n"
}
},
{
"build": {
"rc": 0,
"stderr": "\u001b[1;35m[WARNING]: The specified \"api_version\" configuration for the galaxy server\u001b[0m\n\u001b[1;35m\"pulp_v2\" is not a public configuration, and may be removed at any time without\u001b[0m\n\u001b[1;35mwarning.\u001b[0m\n",
"stdout": "Created collection for namespace1.name1 at /root/.ansible/tmp/ansible-moduletmp-1713371320.2731993-rr4t59vs/namespace1-name1-0.0.2/namespace1-name1-0.0.2.tar.gz\n"
},
"gpg_detach_sign": {
"signature_path": "/tmp/ansible.g44blb7n.test/galaxy/gpg/namespace1-name1-0.0.2-MANIFEST.json.asc",
"stdout": ""
},
"publish": {
"rc": 0,
"stderr": "\u001b[1;35m[WARNING]: The specified \"api_version\" configuration for the galaxy server\u001b[0m\n\u001b[1;35m\"pulp_v2\" is not a public configuration, and may be removed at any time without\u001b[0m\n\u001b[1;35mwarning.\u001b[0m\n\u001b[1;35m[WARNING]: Galaxy import warning message: No changelog found. Add a\u001b[0m\n\u001b[1;35mCHANGELOG.rst, CHANGELOG.md, or changelogs/changelog.yaml file.\u001b[0m\n",
"stdout": "Publishing collection artifact '/root/.ansible/tmp/ansible-moduletmp-1713371320.2731993-rr4t59vs/namespace1-name1-0.0.2/namespace1-name1-0.0.2.tar.gz' to galaxy_ng http://galaxy-pulp/api/galaxy/content/primary/\nCollection has been published to the Galaxy server galaxy_ng http://galaxy-pulp/api/galaxy/content/primary/\nWaiting until Galaxy import task http://galaxy-pulp/api/galaxy/content/primary/v3/imports/collections/1a066eee-0881-41bf-a5f5-0da3646f3f06/ has completed\nCollection has been successfully published and imported to the Galaxy server galaxy_ng http://galaxy-pulp/api/galaxy/content/primary/\n"
}
},
{
"build": {
"rc": 0,
"stderr": "\u001b[1;35m[WARNING]: The specified \"api_version\" configuration for the galaxy server\u001b[0m\n\u001b[1;35m\"pulp_v2\" is not a public configuration, and may be removed at any time without\u001b[0m\n\u001b[1;35mwarning.\u001b[0m\n",
"stdout": "Created collection for namespace1.name1 at /root/.ansible/tmp/ansible-moduletmp-1713371320.2731993-rr4t59vs/namespace1-name1-0.0.3/namespace1-name1-0.0.3.tar.gz\n"
},
"gpg_detach_sign": {
"signature_path": "/tmp/ansible.g44blb7n.test/galaxy/gpg/namespace1-name1-0.0.3-MANIFEST.json.asc",
"stdout": ""
},

Check failure on line 1 in [B] A,B: test_handler _raw_params=/usr/bin/{{ (inventory_hostname == 'A') | ternary('true', 'false') }}

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

[B] A,B: test_handler _raw_params=/usr/bin/{{ (inventory_hostname == 'A') | ternary('true', 'false') }}

non-zero return code
Raw output
{
    "changed": true,
    "cmd": [
        "/usr/bin/false"
    ],
    "delta": "0:00:00.006108",
    "end": "2024-04-17 16:29:42.443300",
    "invocation": {
        "module_args": {
            "_raw_params": "/usr/bin/false",
            "_uses_shell": false,
            "argv": null,
            "chdir": null,
            "creates": null,
            "executable": null,
            "expand_argument_vars": true,
            "removes": null,
            "stdin": null,
            "stdin_add_newline": true,
            "strip_empty_ends": true
        }
    },
    "msg": "non-zero return code",
    "rc": 1,
    "start": "2024-04-17 16:29:42.437192",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "",
    "stdout_lines": []
}

Check failure on line 1 in [A] A,B,C,D: handler msg=handler ran

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI

[A] A,B,C,D: handler msg=handler ran

handler ran
Raw output
{
    "changed": false,
    "failed_when_result": true,
    "msg": "handler ran"
}