Skip to content

Failure in browser_ui/5_package/package_registry/nuget/nuget_group_level_spec.rb | Package NuGet group level endpoint using group deploy token publishes a nuget package at the project endpoint and installs it from the group endpoint

Test metadata (don't modify)

Field Value
File URL qa/qa/specs/features/browser_ui/5_package/package_registry/nuget/nuget_group_level_spec.rb#L95
Filename qa/specs/features/browser_ui/5_package/package_registry/nuget/nuget_group_level_spec.rb
Description Package NuGet group level endpoint using group deploy token publishes a nuget package at the project endpoint and installs it from the group endpoint
Test level
Hash 2b52f997476b95fc04dc7f56babbba7bb9c6d19b9
Duration 13.61 seconds
Expected duration < 240 seconds
Test case https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347596

Stack trace

QA::Resource::Errors::ResourceFabricationFailedError: Fabrication of QA::Resource::Project using the API failed (400) with `{"message":{"base":["Expected(200) <=> Actual(403 Forbidden)\nexcon.error.response\n  :body              => \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>AKIAXOSZ2L52FRFXKAER</AWSAccessKeyId><RequestId>E2Z88H3THDC5F4X2</RequestId><HostId>wYw/sEwuvMZPnRMe/sxBg+LoqKPN/QOoXkCS3mvFTJMLPnOzp65gobbjZmHeCq7fZGJs4NnsO80=</HostId></Error>\"\n  :cookies           => [\n  ]\n  :headers           => {\n    \"Connection\"       => \"close\"\n    \"Content-Type\"     => \"application/xml\"\n    \"Date\"             => \"Tue, 20 Feb 2024 17:41:54 GMT\"\n    \"Server\"           => \"AmazonS3\"\n    \"x-amz-id-2\"       => \"wYw/sEwuvMZPnRMe/sxBg+LoqKPN/QOoXkCS3mvFTJMLPnOzp65gobbjZmHeCq7fZGJs4NnsO80=\"\n    \"x-amz-request-id\" => \"E2Z88H3THDC5F4X2\"\n  }\n  :host              => \"test-object-storage-20210802.s3.eu-central-1.amazonaws.com\"\n  :local_address     => \"172.19.0.2\"\n  :local_port        => 49092\n  :method            => \"PUT\"\n  :omit_default_port => false\n  :path              => \"/import_export_upload/import_file/15/dotnetcore.tar.gz\"\n  :port              => 443\n  :query             => nil\n  :reason_phrase     => \"Forbidden\"\n  :remote_ip         => \"52.219.72.128\"\n  :scheme            => \"https\"\n  :status            => 403\n  :status_line       => \"HTTP/1.1 403 Forbidden\\r\\n\"\n"]}}`.
Correlation Id: 01HQ3SR62H99DEKS05CNRHCWY8

System Logs

Rails API

Click to expand
{
  "severity": "INFO",
  "correlation_id": "01HQ3SR62H99DEKS05CNRHCWY8",
  "time": "2024-02-20T17:41:54.248Z",
  "method": "POST",
  "path": "/api/v4/projects",
  "status": 400,
  "params": [
    {
      "key": "private_token",
      "value": "[FILTERED]"
    },
    {
      "key": "name",
      "value": "nuget-package-project-7cc3815f3d4acf75"
    },
    {
      "key": "description",
      "value": "[FILTERED]"
    },
    {
      "key": "visibility",
      "value": "private"
    },
    {
      "key": "initialize_with_readme",
      "value": "false"
    },
    {
      "key": "auto_devops_enabled",
      "value": "false"
    },
    {
      "key": "namespace_id",
      "value": "3"
    },
    {
      "key": "path",
      "value": "nuget-package-project-7cc3815f3d4acf75"
    },
    {
      "key": "template_name",
      "value": "dotnetcore"
    }
  ],
  "api_error": [
    "{\"message\":{\"base\":[\"Expected(200) <=> Actual(403 Forbidden)\\nexcon.error.response\\n  :body              => \\\"<?xml version=\\\\\\\"1.0\\\\\\\" encoding=\\\\\\\"UTF-8\\\\\\\"?>\\\\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>AKIAXOSZ2L52FRFXKAER</AWSAccessKeyId><RequestId>E2Z88H3THDC5F4X2</RequestId><HostId>wYw/sEwuvMZPnRMe/sxBg+LoqKPN/QOoXkCS3mvFTJMLPnOzp65gobbjZmHeCq7fZGJs4NnsO80=</HostId></Error>\\\"\\n  :cookies           => [\\n  ]\\n  :headers           => {\\n    \\\"Connection\\\"       => \\\"close\\\"\\n    \\\"Content-Type\\\"     => \\\"application/xml\\\"\\n    \\\"Date\\\"             => \\\"Tue, 20 Feb 2024 17:41:54 GMT\\\"\\n    \\\"Server\\\"           => \\\"AmazonS3\\\"\\n    \\\"x-amz-id-2\\\"       => \\\"wYw/sEwuvMZPnRMe/sxBg+LoqKPN/QOoXkCS3mvFTJMLPnOzp65gobbjZmHeCq7fZGJs4NnsO80=\\\"\\n    \\\"x-amz-request-id\\\" => \\\"E2Z88H3THDC5F4X2\\\"\\n  }\\n  :host              => \\\"test-object-storage-20210802.s3.eu-central-1.amazonaws.com\\\"\\n  :local_address     => \\\"172.19.0.2\\\"\\n  :local_port        => 49092\\n  :method            => \\\"PUT\\\"\\n  :omit_default_port => false\\n  :path              => \\\"/import_export_upload/import_file/15/dotnetcore.tar.gz\\\"\\n  :port              => 443\\n  :query             => nil\\n  :reason_phrase     => \\\"Forbidden\\\"\\n  :remote_ip         => \\\"52.219.72.128\\\"\\n  :scheme            => \\\"https\\\"\\n  :status            => 403\\n  :status_line       => \\\"HTTP/1.1 403 Forbidden\\\\r\\\\n\\\"\\n\"]}}"
  ],
  "meta_user": "root",
  "meta_caller_id": "POST /api/:version/projects"
}

Rails Application

Click to expand
{
  "severity": "ERROR",
  "correlation_id": "01HQ3SR62H99DEKS05CNRHCWY8",
  "time": "2024-02-20T17:41:54.246Z",
  "message": "Unable to save project. Error: Expected(200) <=> Actual(403 Forbidden)\nexcon.error.response\n  :body              => \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>AKIAXOSZ2L52FRFXKAER</AWSAccessKeyId><RequestId>E2Z88H3THDC5F4X2</RequestId><HostId>wYw/sEwuvMZPnRMe/sxBg+LoqKPN/QOoXkCS3mvFTJMLPnOzp65gobbjZmHeCq7fZGJs4NnsO80=</HostId></Error>\"\n  :cookies           => [\n  ]\n  :headers           => {\n    \"Connection\"       => \"close\"\n    \"Content-Type\"     => \"application/xml\"\n    \"Date\"             => \"Tue, 20 Feb 2024 17:41:54 GMT\"\n    \"Server\"           => \"AmazonS3\"\n    \"x-amz-id-2\"       => \"wYw/sEwuvMZPnRMe/sxBg+LoqKPN/QOoXkCS3mvFTJMLPnOzp65gobbjZmHeCq7fZGJs4NnsO80=\"\n    \"x-amz-request-id\" => \"E2Z88H3THDC5F4X2\"\n  }\n  :host              => \"test-object-storage-20210802.s3.eu-central-1.amazonaws.com\"\n  :local_address     => \"172.19.0.2\"\n  :local_port        => 49092\n  :method            => \"PUT\"\n  :omit_default_port => false\n  :path              => \"/import_export_upload/import_file/15/dotnetcore.tar.gz\"\n  :port              => 443\n  :query             => nil\n  :reason_phrase     => \"Forbidden\"\n  :remote_ip         => \"52.219.72.128\"\n  :scheme            => \"https\"\n  :status            => 403\n  :status_line       => \"HTTP/1.1 403 Forbidden\\r\\n\"\n",
  "meta_user": "root",
  "meta_caller_id": "POST /api/:version/projects"
}

Reports (9)

  1. 2024-02-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6216517038 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1183893003)
  2. 2024-02-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6217533377 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184036999)
  3. 2024-02-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6218202177 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184135661)
  4. 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6218818276 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184229661)
  5. 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6219355266 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184322770)
  6. 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6219472392 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184344188)
  7. 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6219536068 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184360294)
  8. 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6220532708 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184535525)
  9. 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6221279619 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184652091)
Edited by Ghost User