[SERVER-75991] Test 22.04 x86 workstation Created: 12/Apr/23  Updated: 14/May/23  Resolved: 03/May/23

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

Type: New Feature Priority: Major - P3
Reporter: Alex Neben Assignee: Alex Neben
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
Gantt Start to Start
Related
is related to SERVER-76245 Test 22.04 arm workstation Closed
Participants:

 Comments   
Comment by Alex Neben [ 03/May/23 ]

I tested v6.0 with python3 buildscripts/resmoke.py run --suites=core jstests/core/id1.js and that seems to have worked as well.

Comment by Alex Neben [ 20/Apr/23 ]

[js_test:job0_fixture_teardown] Finished the teardown of MongoDFixture (Job #0).
[js_test:job0_fixture_teardown] Not running in Evergreen, skipping symbolization
[executor:js_test:job0] 20:17:37.598Z job0_fixture_teardown ran in 0.12 seconds: no failures detected.
[executor] 20:17:37.598Z Threads are completed!
[executor] 20:17:37.604Z Summary of latest execution: 2306 test(s) ran in 8152.41 seconds (2305 succeeded, 120 were skipped, 1 failed, 0 errored)
    The following tests failed (with exit code):
        jstests/core/write/bulk/bulk_write.js (253 Failure executing JS file)
            [FIRST Part of Exception]
            uncaught exception: Error: command failed: {
                "ok" : 0,
                "errmsg" : "BulkWrite may not be run without featureFlagBulkWriteCommand enabled",
                "code" : 115,
                "codeName" : "CommandNotSupported"
            } with original command request: {
                "bulkWrite" : 1,
                "ops" : [
                    {
                        "insert" : 0,
    If you're unsure where to begin investigating these errors, consider looking at tests in the following order:
        jstests/core/write/bulk/bulk_write.js
[resmoke] 20:17:37.604Z ================================================================================
[resmoke] 20:17:37.605Z Summary of core suite: 2306 test(s) ran in 8152.41 seconds (2305 succeeded, 120 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
    jstests/core/write/bulk/bulk_write.js (253 Failure executing JS file)
        [FIRST Part of Exception]
        uncaught exception: Error: command failed: {
            "ok" : 0,
            "errmsg" : "BulkWrite may not be run without featureFlagBulkWriteCommand enabled",
            "code" : 115,
            "codeName" : "CommandNotSupported"
        } with original command request: {
            "bulkWrite" : 1,
            "ops" : [
                {
                    "insert" : 0,
If you're unsure where to begin investigating these errors, consider looking at tests in the following order:
    jstests/core/write/bulk/bulk_write.js
[resmoke] 20:17:37.605Z Exiting with code: 1
(python3-venv) ubuntu@ip-10-122-1-136:~/mongo$
(python3-venv) ubuntu@ip-10-122-1-136:~/mongo$ python3 buildscripts/resmoke.py run --suites=core 

Here is an example of resmoke working!!!

Comment by Alex Neben [ 20/Apr/23 ]

ubuntu@ip-10-122-1-136:~$ /opt/mongodbtoolchain/v4/bin/gdb -p 78015
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 78015
[New LWP 78018]
[New LWP 78019]
[New LWP 78021]
bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f7419291197 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007f7419291197 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f7419293ac1 in pthread_cond_wait () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f741b0a07c0 in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /home/ubuntu/mongo/build/install/bin/../lib/libbase.so
#3  0x00007f7418c5147b in std::_V2::condition_variable_any::wait<mongo::BasicLockableAdapter> (
    this=0x55a4287aca18, __lock=...)
    at /opt/mongodbtoolchain/revisions/11316f1e7b36f08dcdd2ad0640af18f9287876f4/stow/gcc-v4.eZW/lib/gcc/x86_64-mongodb-linux/11.3.0/../../../../include/c++/11.3.0/condition_variable:313
#4  0x00007f7418c50f51 in mongo::Interruptible::NotInterruptible::waitForConditionOrInterruptNoAssertUntil (this=0x7f73ffbf02d0, cv=..., m=..., deadline=...) at src/mongo/util/interruptible.h:493
#5  0x00007f74181122c7 in mongo::Interruptible::waitForConditionOrInterruptUntil<std::unique_lock<mongo::latch_detail::Latch>, mongo::mozjs::MozJSProxyScope::runOnImplThread(mongo::unique_function<void ()>)::$_31>(mongo::stdx::condition_variable&, std::unique_lock<mongo::latch_detail::Latch>&, mongo::Date_t, mongo::mozjs::MozJSProxyScope::runOnImplThread(mongo::unique_function<void ()>)::$_31)::{lambda(mongo::Date_t, mongo::Interruptible::WakeSpeed)#1}::operator()(mongo::Date_t, mongo::Interruptible::WakeSpeed) const (this=0x7ffe3bfe7a60, deadline=..., speed=mongo::Interruptible::WakeSpeed::kSlow)
    at src/mongo/util/interruptible.h:307
#6  0x00007f7418112083 in mongo::Interruptible::waitForConditionOrInterruptUntil<std::unique_lock<mongo::latch_detail::Latch>, mongo::mozjs::MozJSProxyScope::runOnImplThread(mongo::unique_function<void ()>)::$_31>(mongo::stdx::condition_variable&, std::unique_lock<mongo::latch_detail::Latch>&, mongo::Date_t, mongo::mozjs::MozJSProxyScope::runOnImplThread(mongo::unique_function<void ()>)::$_31)::{lambda(mongo::Date_t, mongo::Interruptible::WakeSpeed)#2}::operator()(mongo::Date_t, mongo::Interruptible::WakeSpeed) const (this=0x7ffe3bfe7a38, deadline=..., speed=mongo::Interruptible::WakeSpeed::kSlow)
    at src/mongo/util/interruptible.h:340
#7  0x00007f7418111f41 in mongo::Interruptible::waitForConditionOrInterruptUntil<std::unique_lock<mongo::latch_detail::Latch>, mongo::mozjs::MozJSProxyScope::runOnImplThread(mongo::unique_function<void ()>)::$_31>(mongo::stdx::condition_variable&, std::unique_lock<mongo::latch_detail::Latch>&, mongo::Date_t, mongo::mozjs::MozJSProxyScope::runOnImplThread(mongo::unique_function<void ()>)::$_31) (
    this=0x7f73ffbf02d0, cv=..., m=..., finalDeadline=..., pred=...)
--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) c 

Comment by Alex Neben [ 12/Apr/23 ]

git config --global user.name "Xander Neben"
git config --global user.email alexander.neben@mongodb.com

<set up ssh keys>

sudo add-apt-repository ppa:mongodb-dev-prod/mongodb-build
sudo apt update
sudo apt --only-upgrade install icecc 

TODO this does not work on the new ubuntu (that being said I would rather not use this. I just want you to include the new version of icecream here https://github.com/icecc/icecream/releases/tag/1.4) Maybe this is something we should put in artifactory?

nano /etc/icecc/icecc.conf < ICECC_SCHEDULER_HOST="iceccd.production.build.10gen.cc" 

TODO: this is not setup right - should it have its own cluster? Also ICECC_MAX_JOBS is different. I was able to get it working by adding that and `sudo systemctl restart iceccd`

sudo ln -s /opt/mongodbtoolchain/v4/bin/ccache /usr/bin/ccache

./evergreen host configure --project mongodb-mongo-master

cd mongo

source python3-venv/bin/activate

python3 ./buildscripts/scons.py --build-profile=fast install-devcore

ninja -f fast.ninja install-devcore -j 200

TODO: icecream is not set up correctly

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