katello-nightly-rpm-pipeline 1749 failed

@iballou this is the first run against Pulpcore 3.28.

The normal pipes passed, but upgrade ones failed on N-1 tests during proxy sync.

In the bats log we see:

[2023-08-16T09:04:43.523Z]     # $ hammer capsule content synchronize --id=$PROXY_ID
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.0/1, 0%, elapsed: 00:00:00
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.02/1, 2%, 0.0/s, elapsed: 00:00:02, ETA: 00:01:48
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.02/1, 2%, 0.0/s, elapsed: 00:00:04, ETA: 00:03:36
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.13/1, 13%, 0.0/s, elapsed: 00:00:06, ETA: 00:00:45
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.26/1, 26%, 0.0/s, elapsed: 00:00:11, ETA: 00:00:36
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.44/1, 44%, 0.0/s, elapsed: 00:00:14, ETA: 00:00:17
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.53/1, 53%, 0.0/s, elapsed: 00:00:16, ETA: 00:00:13
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.64/1, 64%, 0.0/s, elapsed: 00:00:18, ETA: 00:00:08
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 running: 0.8/1, 80%, 0.1/s, elapsed: 00:00:20, ETA: 00:00:03
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:22
[2023-08-16T09:04:43.523Z]     # Task 83d2d858-9640-4986-9541-9139d5258088 warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:22
[2023-08-16T09:04:43.523Z]     # Error: Error message: the server returns an error
[2023-08-16T09:04:43.523Z]     # HTTP status code: 400
[2023-08-16T09:04:43.523Z]     # Response headers: {"date"=>"Wed, 16 Aug 2023 09:01:32 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, POST, HEAD, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"31", "x-content-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "correlation-id"=>"b7e2b6ef-0ccd-45de-b50d-1e04268592fd", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 pipe-up-katello-proxy-nightly-almalinux8.example.com", "connection"=>"close"}
[2023-08-16T09:04:43.523Z]     # Response body: {"hidden":["Unexpected field"]}
[2023-08-16T09:04:43.523Z]     # Error message: the server returns an error
[2023-08-16T09:04:43.523Z]     # HTTP status code: 400

On the Proxy (that is still running pulpcore-3.22.9), it’s a rather boring:

Aug 16 09:01:44 ip-192-168-122-130 pulpcore-api[44098]: pulp [b7e2b6ef-0ccd-45de-b50d-1e04268592fd]: django.request:WARNING: Bad Request: /pulp/api/v3/distributions/rpm/rpm/
Aug 16 09:01:44 ip-192-168-122-130 pulpcore-api[44098]: pulp [b7e2b6ef-0ccd-45de-b50d-1e04268592fd]:  - - [16/Aug/2023:09:01:44 +0000] "POST /pulp/api/v3/distributions/rpm/rpm/ HTTP/1.1" 400 31 "-" "OpenAPI-Generator/3.22.3/ruby"

I guess it’s talking about this change in Pulpcore Add `hidden` field to Distribution by gerrod3 · Pull Request #3768 · pulp/pulpcore · GitHub that was added in 3.27 and we’re using 3.28 client bindings to talk to a 3.22 pulpcore?

1 Like