Source: golang-github-getkin-kin-openapi Version: 0.90.0-1 Severity: serious User: [email protected] Usertags: regression
Dear maintainer(s),With a recent upload of golang-github-getkin-kin-openapi the autopkgtest of golang-github-getkin-kin-openapi fails in testing when that autopkgtest is run with the binary packages of golang-github-getkin-kin-openapi from unstable. It passes when run with only packages from testing. In tabular form:
pass fail
golang-github-getkin-kin-openapi from testing 0.90.0-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul[1] https://qa.debian.org/excuses.php?package=golang-github-getkin-kin-openapi
https://ci.debian.net/data/autopkgtest/testing/armhf/g/golang-github-getkin-kin-openapi/19997695/log.gz === RUN TestValidator/invalid_POST_request;_wrong_property_type2022/03/15 08:17:25 invalid request: request body has an error: doesn't match the schema: Error at "/actual": Field must be set to number or not be present
Schema:
{
"type": "number"
}
Value:
"string"
=== CONT TestValidator
middleware_test.go:333: test#6: invalid POST request; missing property
=== RUN TestValidator/invalid_POST_request;_missing_property
2022/03/15 08:17:25 invalid request: request body has an error: doesn't
match the schema: Error at "/actual": property "actual" is missing
Schema:
{
"additionalProperties": false,
"properties": {
"actual": {
"type": "number"
},
"expected": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"expected",
"actual"
],
"type": "object"
}
Value:
{
"expected": 9,
"name": "foo"
}
=== CONT TestValidator
middleware_test.go:333: test#7: invalid POST request; extra property
=== RUN TestValidator/invalid_POST_request;_extra_property
2022/03/15 08:17:25 invalid request: request body has an error: doesn't
match the schema: property "ideal" is unsupported
Schema:
{
"additionalProperties": false,
"properties": {
"actual": {
"type": "number"
},
"expected": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"expected",
"actual"
],
"type": "object"
}
Value:
{
"actual": 10,
"expected": 9,
"ideal": 8,
"name": "foo"
}
=== CONT TestValidator
middleware_test.go:333: test#8: valid response; 404 error
=== RUN TestValidator/valid_response;_404_error
=== CONT TestValidator
middleware_test.go:333: test#9: invalid response; invalid error
=== RUN TestValidator/invalid_response;_invalid_error
2022/03/15 08:17:25 invalid response: response body doesn't match the
schema: Field must be set to object or not be present
Schema:
{
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
Value:
"string"
=== CONT TestValidator
middleware_test.go:333: test#10: invalid POST response; not strict
=== RUN TestValidator/invalid_POST_response;_not_strict
2022/03/15 08:17:25 invalid response: response body doesn't match the
schema: property "extra" is unsupported
Schema:
{
"additionalProperties": false,
"properties": {
"contents": {
"$ref": "#/components/schemas/TestContents"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"contents"
],
"type": "object"
}
Value:
{
"contents": {
"actual": 10,
"expected": 9,
"name": "foo"
},
"extra": true,
"id": "42"
}
OpenPGP_signature
Description: OpenPGP digital signature

