[SERVER-22067] artifacts.tgz should contain stripped tests before uploading Created: 05/Jan/16  Updated: 23/Nov/16  Resolved: 11/Jan/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.2.5, 3.3.1

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 1
Labels: ppc64le_3_2_backport, test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: Linux
Backport Completed:
Sprint: Platforms E (01/08/16), Platforms F (01/29/16)
Participants:

 Description   

When artifacts.tgz is created, it contains the following binaries below which are unstripped. This creates a ~600MB tarball. If the binaries are stripped first, the resulting binary is ~28MB. This is important since artifacts.tgz is downloaded by each task that needs to run jstests.

rwxr-xr-x 0/0       133019611 2016-01-04 13:19 build/integration_tests/connection_pool_asio_integration_test
-rwxr-xr-x 0/0       133889346 2016-01-04 13:19 build/integration_tests/network_interface_asio_integration_test
-rwxr-xr-x 0/0       136774085 2016-01-04 13:19 build/integration_tests/network_interface_perf_test
-rw-r--r-- 0/0             178 2016-01-04 13:19 build/integration_tests.txt
-rwxr-xr-x 0/0       665100261 2016-01-04 13:14 dbtest
-rwxr-xr-x 0/0       121067946 2016-01-04 13:12 mongobridge



 Comments   
Comment by Githook User [ 08/Mar/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-22067 artifacts.tgz should contain stripped tests before uploading

(cherry picked from commit 7ac8ef6631e8797213255159b1485423eeceaf15)
Branch: v3.2
https://github.com/mongodb/mongo/commit/3eb68c75b9bcfbe70ea401dfa261045044404145

Comment by Githook User [ 11/Jan/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-22067 artifacts.tgz should contain stripped tests before uploading
Branch: master
https://github.com/mongodb/mongo/commit/7ac8ef6631e8797213255159b1485423eeceaf15

Comment by Andy Schwerin [ 06/Jan/16 ]

OK not to keep the unit test debug symbols.

Comment by Mark Benvenuto [ 06/Jan/16 ]

Eric, there is no difference from the unstripped one when stack traces are printed. Debugging would be harder as it lacks line and variable information of course.

Andy, I would prefer we not unload the unit test binaries. They are too large, and too time consuming to even tar up.
Unit Test Binaries Unstripped: 26,521 MB
Unit Test Binaries Stripped: 2,064

Unit Test Debug Symbol Tarball: 8.3 GB
It took 72 seconds to generate this tarball on my Linux Desktop

Comment by Andy Schwerin [ 05/Jan/16 ]

Should we put the unstripped unit test binaries somewhere, in case someone wants to run addr2line?

Comment by Eric Milkie [ 05/Jan/16 ]

If the stripped dbtest crashes, is there any difference from the unstripped one?

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