[SERVER-14191] Auth passthrough suite should enable auditing when testing the enterprise build Created: 06/Jun/14  Updated: 15/Oct/15  Resolved: 09/Oct/15

Status: Closed
Project: Core Server
Component/s: Security, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: TIG A (10/09/15)
Participants:

 Description   

SERVER-14170 would have been caught in automated testing of sharding if auth and audit were enabled. All auth suites should turn on auditing if testing the enterprise build.



 Comments   
Comment by Githook User [ 09/Oct/15 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-14191 - Add audit to auth and sharding_auth test suites on Enterprise platforms
Branch: master
https://github.com/mongodb/mongo/commit/58d04a03a5f5dc300d7d8f6acd1d20a41f06043c

Comment by Githook User [ 08/Oct/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: Revert "SERVER-14191 - Add audit to auth and sharding_auth test suites on Enterprise platforms"

This reverts commit 9b984cdc4b58be9002c692cd9ba8af2a3731b748.
Branch: master
https://github.com/mongodb/mongo/commit/4a42d61c6463e774c2308ae2f329e168759aa390

Comment by Max Hirschhorn [ 08/Oct/15 ]

It doesn't look like the auth_audit suite was committed as part of 9b984cd.

[2015/10/08 14:24:05.391] if [ false = true ]; then
[2015/10/08 14:24:05.391]      python buildscripts/resmoke.py --suites=auth_audit --storageEngine=mmapv1 --jobs=$(grep -c ^processor /proc/cpuinfo) --continueOnFailure --log=buildlogger --reportFile=report.json
[2015/10/08 14:24:05.391] else
[2015/10/08 14:24:05.391]      python buildscripts/resmoke.py --suites=auth_audit --storageEngine=mmapv1 --jobs=1 --continueOnFailure --log=buildlogger --reportFile=report.json
[2015/10/08 14:24:05.391] fi
[2015/10/08 14:24:05.530] Traceback (most recent call last):
[2015/10/08 14:24:05.530]   File "buildscripts/resmoke.py", line 209, in <module>
[2015/10/08 14:24:05.531]     main()
[2015/10/08 14:24:05.531]   File "buildscripts/resmoke.py", line 149, in main
[2015/10/08 14:24:05.531]     suites = resmokelib.parser.get_suites(values, args)
[2015/10/08 14:24:05.531]   File "/data/mci/src/buildscripts/resmokelib/parser.py", line 246, in get_suites
[2015/10/08 14:24:05.531]     suite_config = _get_suite_config(suite_filename)
[2015/10/08 14:24:05.531]   File "/data/mci/src/buildscripts/resmokelib/parser.py", line 304, in _get_suite_config
[2015/10/08 14:24:05.531]     raise optparse.OptionValueError("Unknown suite '%s'" % (pathname))
[2015/10/08 14:24:05.531] optparse.OptionValueError: Unknown suite 'auth_audit'
[2015/10/08 14:24:05.538] Command failed: exit status 1

https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_linux_64_amazon_ami_auth_audit_9b984cdc4b58be9002c692cd9ba8af2a3731b748_15_10_08_17_28_31

Comment by Githook User [ 08/Oct/15 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-14191 - Add audit to auth and sharding_auth test suites on Enterprise platforms
Branch: master
https://github.com/mongodb/mongo/commit/9b984cdc4b58be9002c692cd9ba8af2a3731b748

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