[SERVER-24830] Improve error handling for FTDC uploads in Evergreen Created: 28/Jun/16  Updated: 22/Jul/16  Resolved: 29/Jun/16

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

Type: Task Priority: Major - P3
Reporter: Kamran K. Assignee: Michael Grundy
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-21148 Upload FTDC data from Evergreen test ... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 17 (07/15/16)
Participants:

 Description   

The FTDC upload step can fail for a few reasons:
1 - There are no diagnostic.data directories to archive
2 - /data/db does not exist

The code should be made more robust to handle these scenarios.

[2016/06/28 13:49:21.336] tar cvzf diagnostic-data.tgz $(find /data/db -type d -name diagnostic.data)
[2016/06/28 13:49:21.343] tar: Cowardly refusing to create an empty archive
[2016/06/28 13:49:21.343] Try `tar --help' or `tar --usage' for more information.
[2016/06/28 13:49:21.344] Command failed: exit status 2

[2016/06/27 19:33:48.079] tar cvzf diagnostic-data.tgz $(find /data/db -type d -name diagnostic.data)
[2016/06/27 19:33:48.080] find: `/data/db': No such file or directory
[2016/06/27 19:33:48.081] tar: Cowardly refusing to create an empty archive
[2016/06/27 19:33:48.081] Try 'tar --help' or 'tar --usage' for more information.
[2016/06/27 19:33:48.081] Command failed: exit status 2



 Comments   
Comment by Githook User [ 29/Jun/16 ]

Author:

{u'username': u'mgrundy', u'name': u'Mike Grundy', u'email': u'michael.grundy@10gen.com'}

Message: SERVER-24830 Improve error handling for FTDC uploads in Evergreen
Branch: master
https://github.com/mongodb/mongo/commit/e1e23fbed526fb3fa7693fa1c0be828510e78860

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