[SERVER-9579] Smoke tests should always use --smoke-db-prefix Created: 03/May/13  Updated: 11/Jul/16  Resolved: 29/Oct/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.4.1
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: Sandeep Parikh Assignee: Benety Goh
Resolution: Done Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-11462 smoke tests not handling windows-styl... Closed
Operating System: ALL
Steps To Reproduce:
  • checkout r2.4.1
  • scons all
  • python buildscripts/smoke.py --smoke-db-prefix ~/Work/workspace --small-oplog all 2>&1
Participants:

 Description   

Built a clean copy of 2.4.1 and ran smoke tests using the following:

> python buildscripts/smoke.py --smoke-db-prefix ~/Work/workspace --small-oplog all 2>&1

  • perftest is using /data/db/unittest
  • other tests use /tmp/unittest

Seems that if you set --smoke-db-prefix then all tests should honor that (to ease managing permissions, filesystems, etc.)



 Comments   
Comment by auto [ 29/Oct/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell
Branch: master
https://github.com/mongodb/mongo/commit/2e10439eba106c1edd57522f6c549fccb245b1a0

Comment by ning [ 29/Sep/13 ]

this argument is useless. I can't run the cases for my / does not have enough space.

Comment by Tad Marshall [ 09/Jun/13 ]

Plus 1. The ToolTest JavaScript helper object hard-codes "/data/db", so even individual tests will ignore --smoke-db-prefix when using tools (mongodump, mongorestore, etc.).

Comment by Sandeep Parikh [ 09/May/13 ]

For the sake of completeness, here are the other tests that create files/directories outside of --smoke-db-prefix:

  • perf
  • slowNightly
  • slowWeekly
  • parallel
  • clone
  • repl
  • replSet
  • auth
  • sharding
  • tool

Each of these tests tries to write to /data/db and fails if it can't regardless of the --smoke-db-prefix.

Generated at Thu Feb 08 03:20:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.