Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
6.0.0
-
None
-
None
-
Query Execution
-
ALL
-
135
Description
Failing jscore tests: jstests/core/bypass_doc_validation.js, jstests/core/json_schema/logical_keywords.js
Bug Symptoms:
"A corrupt namespace has been detected. See http://dochub.mongodb.org/core/data-recovery for recovery steps."
"Could not complete validation of table:index-46-760292241510070916. This is a transient issue as the collection was actively in use by other operations."
"Detected one or more documents not compliant with the collection's schema. Check logs for log id 5363500."
Context:
On the Server Development Platform team, we are working on pushing MongoDB docker containers to DockerHub. We have set up test infrastructure to run some basic tests against a mongodb docker container & run jscore against the mongodb docker container. For 4.4 & 5.0 jscore works without any problems. When we added 6.0 jscore started failing with quite a few data validation failures. To verify that this is a 6.0 bug and not a test infrastructure bug, I ran the failing test with the 5.0 infrastructure against the 6.0 mongodb container (required some negligible changes to the 5.0 infrastructure) — which fails. When I ran the failing test with the 5.0 infrastructure against a local 6.0 mongod — things pass. We haven’t changed the way the mongodb docker container starts up. Since 6.0 has been released, this may be bug that is in our 6.0 binaries.
Mongo Container -
contains the 6.0 mongo binaries
Mongo Workload Container -
contains the 6.0 mongo binaries + 6.0 mongo repo to run resmoke against an existing Mongo Container
REPRO INSTRUCTIONS -
- Pull docker images
- docker pull deriamis/mongodb:6.0-ubuntu1804-enterprise-container-BF
- docker pull deriamis/mongodb:6.0-ubuntu1804-enterprise-workload-BF
- Create a test docker network
- docker network create mongo-net
- Start a mongo-container-BF (you can add -d flag if you want this to run in the background)
- docker run --network mongo-net -it --name test --rm deriamis/mongodb:mongo-container-BF
- Start a terminal session from a mongo-workload-container-BF container
- docker run --network mongo-net -it --name workload --rm deriamis/mongodb:mongo-workload-container-BF /bin/bash
- cd mongo
- python3.8 buildscripts/resmoke.py run --suite core --shellConnString mongodb://test:27017 jstests/core/bypass_doc_validation.js
- You MUST include python3.8 to use resmoke deps