[SERVER-60655] Upload npm debug logs for fuzzer tasks Created: 13/Oct/21  Updated: 29/Oct/23  Resolved: 08/Nov/21

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

Type: Improvement Priority: Major - P3
Reporter: Richard Samuels (Inactive) Assignee: Tausif Rahman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-11-01, STM 2021-11-15
Participants:
Linked BF Score: 20
Story Points: 1

 Description   

When a fuzzer task has an npm failure, such as here, node spits out a debug log into with a filename that looks like: $HOME/.npm/_logs/2021-05-07T03_31_26_182Z-debug.log.

Lets upload these logs (s3.put) so we can actually use them. The right way to go about this is to likely clear the $HOME/.npm/_logs/ before running npm, then upload any .log file in that directory as a post-task



 Comments   
Comment by Githook User [ 08/Nov/21 ]

Author:

{'name': 'trahman1318', 'email': 'tausif.rahman@mongodb.com', 'username': 'trahman1318'}

Message: SERVER-60655 Upload npm debug logs for fuzzer tasks
Branch: master
https://github.com/mongodb/mongo/commit/69136094a89c1f6b31b82e5a2e05ade82e5f55fb

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