Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32581

Validation hook prints extra timestamps randomly

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • 0

      I see logs like the following which make it hard to read and put into JIRA.

      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 		"admin.users.$_id_" : 7
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 	},
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 	"indexDetails" : {
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 		"admin.users.$_id_" : {
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 			"valid" : true
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 		}
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 	},
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 	"valid" : false,
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 	"warnings" : [ ],
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.425+0000 	"errors" : [
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 		"UUID present in collection admin.users but SchemaVersion=3.4"
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	],
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	"advice" : "A corrupt namespace has been detected. See http://dochub.mongodb.org/core/data-recovery for recovery steps.",
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	"ok" : 1
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] }
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] Printing indexes in: admin.users
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] [
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	{
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 		"v" : 2,
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 		"key" : {
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 		"UUID present in collection admin.users but SchemaVersion=3.4"
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 	],
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 	"advice" : "A corrupt namespace has been detected. See http://dochub.mongodb.org/core/data-recovery for recovery steps.",
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 	"ok" : 1
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 }
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 Printing indexes in: admin.users
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 [
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 	{
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 		"v" : 2,
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 2018-01-08T01:19:06.426+0000 		"key" : {
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 			"_id" : 1
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 		},
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 		"name" : "_id_",
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 		"ns" : "admin.users"
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	}
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] ]
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] Printing the first 100 documents in: admin.users
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] {
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	"_id" : "role_management_helpers.user1",
      [ValidateCollections:job0:bfa7-mdb_4e51-ent_5a44-qa_a6ce-1515373874455-070:ValidateCollections] 	"user" : "user1",
      

            Assignee:
            backlog-server-tig DO NOT USE - Backlog - Test Infrastructure Group (TIG)
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: