Actions
Bug #22204
closedtransient test failure Katello::DockerMetaTagTest.test_import_meta_tags
Difficulty:
Triaged:
Description
This seems to fail randomly with:
NoMethodError: undefined method `schema2' for nil:NilClass
/var/lib/workspace/workspace/katello-pr-test/test/models/docker_meta_tag_test.rb:58:in `test_import_meta_tags' (NoMethodError)
/var/lib/workspace/workspace/katello-pr-test/test/models/docker_meta_tag_test.rb:58
Seen with seed 8262
Updated by Justin Sherrill almost 7 years ago
- Assignee set to Justin Sherrill
- Translation missing: en.field_release set to 284
Updated by Justin Sherrill almost 7 years ago
Second set of transiet failures:
Actions::Katello::ContentViewVersion::ExportTest.test_0002_plans with date
Actions::Katello::ContentViewVersion::ExportTest.test_0001_plans
--seed 32681
Updated by Thomas McKay almost 7 years ago
From http://ci.theforeman.org/job/katello-pr-test/286/consoleFull
[tests] (0.1ms) SAVEPOINT active_record_1 [tests] SQL (0.4ms) INSERT INTO "katello_docker_tags" ("name", "repository_id", "created_at", "updated_at", "docker_taggable_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "latest"], ["repository_id", 84409059], ["created_at", "2018-01-11 21:42:56.859216"], ["updated_at", "2018-01-11 21:42:56.859216"], ["docker_taggable_id", 980191008]] [tests] (0.2ms) RELEASE SAVEPOINT active_record_1 [tests] Katello::DockerTag Load (0.2ms) SELECT "katello_docker_tags".* FROM "katello_docker_tags" WHERE "katello_docker_tags"."repository_id" = $1 [["repository_id", 84409059]] [tests] Katello::DockerManifest Load (0.3ms) SELECT "katello_docker_manifests".* FROM "katello_docker_manifests" WHERE "katello_docker_manifests"."id" = $1 LIMIT $2 [["id", 980191008], ["LIMIT", 1]] [tests] Katello::DockerMetaTag Load (0.3ms) SELECT "katello_docker_meta_tags"."schema1_id", "katello_docker_meta_tags"."schema2_id", "katello_docker_meta_tags"."name" FROM "katello_docker_meta_tags" WHERE "katello_docker_meta_tags"."repository_id" = 84409059 [tests] SQL (0.4ms) DELETE FROM "katello_docker_meta_tags" WHERE "katello_docker_meta_tags"."repository_id" = 84409059 AND (("katello_docker_meta_tags"."schema1_id" IS NULL AND "katello_docker_meta_tags"."schema2_id" = 980191012 AND "katello_docker_meta_tags"."name" = 'latest')) [tests] (0.2ms) SAVEPOINT active_record_1 [tests] SQL (0.4ms) INSERT INTO "katello_docker_meta_tags" ("schema1_id", "schema2_id", "name", "repository_id") VALUES ($1, $2, $3, $4) RETURNING "id" [["schema1_id", 980191012], ["schema2_id", 980191018], ["name", "latest"], ["repository_id", 84409059]] [tests] (0.2ms) RELEASE SAVEPOINT active_record_1 [tests] Katello::DockerMetaTag Load (0.2ms) SELECT "katello_docker_meta_tags".* FROM "katello_docker_meta_tags" WHERE "katello_docker_meta_tags"."schema1_id" = 980191018 LIMIT $1 [["LIMIT", 1]] [tests] Katello::DockerMetaTagTest#test_import_meta_tags = 1.30 s = E [tests] [tests] [tests] Error: [tests] Katello::DockerMetaTagTest#test_import_meta_tags: [tests] NoMethodError: undefined method `schema2' for nil:NilClass [tests] /var/lib/workspace/workspace/katello-pr-test/test/models/docker_meta_tag_test.rb:58:in `test_import_meta_tags' [tests] [tests] bin/rails test /var/lib/workspace/workspace/katello-pr-test/test/models/docker_meta_tag_test.rb:35 [tests]
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7148 added
Updated by John Mitsch over 6 years ago
- Translation missing: en.field_release changed from 284 to 352
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/Katello/katello/pull/7277 added
Updated by The Foreman Bot about 6 years ago
- Pull request https://github.com/Katello/katello/pull/7899 added
Updated by Justin Sherrill almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|f84f77133aa4ac0982397eae046c99e674d03948.
Actions