Failure in browser_ui/5_package/package_registry/nuget/nuget_project_level_spec.rb | Package NuGet project level endpoint using a personal access token publishes a nuget package and installs
Test metadata (don't modify)
Field | Value |
---|---|
File URL | qa/qa/specs/features/browser_ui/5_package/package_registry/nuget/nuget_project_level_spec.rb#L80 |
Filename | qa/specs/features/browser_ui/5_package/package_registry/nuget/nuget_project_level_spec.rb |
Description | Package NuGet project level endpoint using a personal access token publishes a nuget package and installs |
Test level | |
Hash | 6cfabd546f859adec4d6ff48f1a86986687ad184c |
Duration | 12.28 seconds |
Expected duration | < 240 seconds |
Test case | https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/354351 |
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>WPPRPPJHAX3PYH5X</RequestId><HostId>rbpVLoHm92hAO9yjyhbt/kNyMKpw1bPW3mYPdIxaBFhMUsoZKVKTJJpGUda15wu7u/N64Eqa284=</HostId></Error>\"\n :cookies => [\n ]\n :headers => {\n \"Connection\" => \"close\"\n \"Content-Type\" => \"application/xml\"\n \"Date\" => \"Tue, 20 Feb 2024 17:34:58 GMT\"\n \"Server\" => \"AmazonS3\"\n \"x-amz-id-2\" => \"rbpVLoHm92hAO9yjyhbt/kNyMKpw1bPW3mYPdIxaBFhMUsoZKVKTJJpGUda15wu7u/N64Eqa284=\"\n \"x-amz-request-id\" => \"WPPRPPJHAX3PYH5X\"\n }\n :host => \"test-object-storage-20210802.s3.eu-central-1.amazonaws.com\"\n :local_address => \"172.19.0.2\"\n :local_port => 43022\n :method => \"PUT\"\n :omit_default_port => false\n :path => \"/import_export_upload/import_file/3/dotnetcore.tar.gz\"\n :port => 443\n :query => nil\n :reason_phrase => \"Forbidden\"\n :remote_ip => \"52.219.171.10\"\n :scheme => \"https\"\n :status => 403\n :status_line => \"HTTP/1.1 403 Forbidden\\r\\n\"\n"]}}`.
Correlation Id: 01HQ3SBGJ7MQR7TAVN900E5NPD
System Logs
Rails API
Click to expand
{
"severity": "INFO",
"correlation_id": "01HQ3SBGJ7MQR7TAVN900E5NPD",
"time": "2024-02-20T17:34:58.923Z",
"method": "POST",
"path": "/api/v4/projects",
"status": 400,
"params": [
{
"key": "private_token",
"value": "[FILTERED]"
},
{
"key": "name",
"value": "nuget-package-project-769c37eff20e31e2"
},
{
"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-769c37eff20e31e2"
},
{
"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>WPPRPPJHAX3PYH5X</RequestId><HostId>rbpVLoHm92hAO9yjyhbt/kNyMKpw1bPW3mYPdIxaBFhMUsoZKVKTJJpGUda15wu7u/N64Eqa284=</HostId></Error>\\\"\\n :cookies => [\\n ]\\n :headers => {\\n \\\"Connection\\\" => \\\"close\\\"\\n \\\"Content-Type\\\" => \\\"application/xml\\\"\\n \\\"Date\\\" => \\\"Tue, 20 Feb 2024 17:34:58 GMT\\\"\\n \\\"Server\\\" => \\\"AmazonS3\\\"\\n \\\"x-amz-id-2\\\" => \\\"rbpVLoHm92hAO9yjyhbt/kNyMKpw1bPW3mYPdIxaBFhMUsoZKVKTJJpGUda15wu7u/N64Eqa284=\\\"\\n \\\"x-amz-request-id\\\" => \\\"WPPRPPJHAX3PYH5X\\\"\\n }\\n :host => \\\"test-object-storage-20210802.s3.eu-central-1.amazonaws.com\\\"\\n :local_address => \\\"172.19.0.2\\\"\\n :local_port => 43022\\n :method => \\\"PUT\\\"\\n :omit_default_port => false\\n :path => \\\"/import_export_upload/import_file/3/dotnetcore.tar.gz\\\"\\n :port => 443\\n :query => nil\\n :reason_phrase => \\\"Forbidden\\\"\\n :remote_ip => \\\"52.219.171.10\\\"\\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": "01HQ3SBGJ7MQR7TAVN900E5NPD",
"time": "2024-02-20T17:34:58.921Z",
"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>WPPRPPJHAX3PYH5X</RequestId><HostId>rbpVLoHm92hAO9yjyhbt/kNyMKpw1bPW3mYPdIxaBFhMUsoZKVKTJJpGUda15wu7u/N64Eqa284=</HostId></Error>\"\n :cookies => [\n ]\n :headers => {\n \"Connection\" => \"close\"\n \"Content-Type\" => \"application/xml\"\n \"Date\" => \"Tue, 20 Feb 2024 17:34:58 GMT\"\n \"Server\" => \"AmazonS3\"\n \"x-amz-id-2\" => \"rbpVLoHm92hAO9yjyhbt/kNyMKpw1bPW3mYPdIxaBFhMUsoZKVKTJJpGUda15wu7u/N64Eqa284=\"\n \"x-amz-request-id\" => \"WPPRPPJHAX3PYH5X\"\n }\n :host => \"test-object-storage-20210802.s3.eu-central-1.amazonaws.com\"\n :local_address => \"172.19.0.2\"\n :local_port => 43022\n :method => \"PUT\"\n :omit_default_port => false\n :path => \"/import_export_upload/import_file/3/dotnetcore.tar.gz\"\n :port => 443\n :query => nil\n :reason_phrase => \"Forbidden\"\n :remote_ip => \"52.219.171.10\"\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)
- 2024-02-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6216517038 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1183893003)
- 2024-02-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6217533377 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184036999)
- 2024-02-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/6218202177 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184135661)
- 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6218818276 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184229661)
- 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6219355267 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184322770)
- 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6219472393 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184344188)
- 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6219536066 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184360294)
- 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6220532708 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184535525)
- 2024-02-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/6221279619 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1184652091)
Edited by QA_TEST_CASE_PROJECT_TOKEN