[SERVER-29401] Remove extraneous directories and files in Core Dump archive Created: 30/May/17  Updated: 30/Oct/23  Resolved: 26/Jun/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Task Priority: Minor - P4
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-07-10
Participants:

 Description   

When core dumps are generated during testing etc/evergreen.yml, will gather them and archive them. The archive format should be a single archive of just these files with no subdirectory src. What is observed is the following formats.

Windows:

ls -R src
build				mongo
dump_unittest_test.28153.core
 
src/build:
cached
 
src/build/cached:
mongo
 
src/build/cached/mongo:
unittest
 
src/build/cached/mongo/unittest:
unittest_test.2017-05-26T19-48-12.mdmp
 
src/mongo:
util
 
src/mongo/util:
options_parser
 
src/mongo/util/options_parser:
test_config_files
 
src/mongo/util/options_parser/test_config_files:

Linux:

src
 
./src:
dump_unittest_test.9938.core



 Comments   
Comment by Githook User [ 26/Jun/17 ]

Author:

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

Message: SERVER-29401 Remove extraneous directories and files in Core Dump archive
Branch: master
https://github.com/mongodb/mongo/commit/9724f3eb2a41982b0414e5fb518bf77d20b45232

Comment by Jonathan Abrahams [ 21/Jun/17 ]

Note - since the core files can be created in subdirectories, they will need to be moved to src and archived from there.

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