01HMVZ4JX0AE2G5SS9W898J70F: opte-api

BasicConfig {
    output_rules: [],
    rust_toolchain: Some(
        String(
            "nightly-2023-10-23",
        ),
    ),
    target: Some(
        "helios-2.0",
    ),
    access_repos: [],
    publish: [],
    skip_clone: false,
}

Buildomat Job: 01HMVZ4YRJZX7704QQHM53JSA1

Tags:

Output:

SEQ GLOBAL TIME DETAILS
12024-01-23T20:13:31.187Zjob assigned to worker 01HMVZ6SBGESFVH2TE84TZD4CT (queued for 2 m 36 s)
 
22024-01-23T20:13:31.369Zstarting task 0: "setup"
32024-01-23T20:13:31.383Z++ uname -s
42024-01-23T20:13:31.402Z+ kern=SunOS
52024-01-23T20:13:31.402Z+ case "$kern" in
62024-01-23T20:13:31.402Z+ groupadd -g 12345 build
72024-01-23T20:13:31.402Z+ useradd -u 12345 -g build -d /home/build -s /bin/bash -c build -P 'Primary Administrator' build
82024-01-23T20:13:33.594Z+ zfs create -o mountpoint=/work rpool/work
92024-01-23T20:13:33.732Z++ awk '$2 == "/home" { print $3 }' /etc/mnttab
102024-01-23T20:13:33.748Z+ home_fs=zfs
112024-01-23T20:13:33.749Z+ [[ zfs == autofs ]]
122024-01-23T20:13:33.749Z+ mkdir -p /home/build
132024-01-23T20:13:33.749Z+ chown build:build /home/build /work
142024-01-23T20:13:34.728Z+ chmod 0700 /home/build /work
152024-01-23T20:13:34.734Zprocess exited: duration 3364 ms, exit code 0
 
162024-01-23T20:13:34.742Zstarting task 1: "rust-toolchain"
172024-01-23T20:13:34.751Z+ curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs
182024-01-23T20:13:34.755Z+ /bin/bash -s - -y --no-modify-path --default-toolchain nightly-2023-10-23 --profile default
192024-01-23T20:13:34.994Zinfo: downloading installer
202024-01-23T20:13:37.262Zwarning: it looks like you have an existing installation of Rust at:
212024-01-23T20:13:37.262Zwarning: /opt/ooce/bin
222024-01-23T20:13:37.262Zwarning: It is recommended that rustup be the primary Rust installation.
232024-01-23T20:13:37.262Zwarning: Otherwise you may have confusion unless you are careful with your PATH
242024-01-23T20:13:37.262Zwarning: If you are sure that you want both rustup and your already installed Rust
252024-01-23T20:13:37.262Zwarning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
262024-01-23T20:13:37.262Zwarning: or pass `-y' to ignore all ignorable checks.
272024-01-23T20:13:37.262Zerror: cannot install while Rust is installed
282024-01-23T20:13:37.262Zwarning: continuing (because the -y flag is set and the error is ignorable)
292024-01-23T20:13:37.660Zinfo: profile set to 'default'
302024-01-23T20:13:37.660Zinfo: default host triple is x86_64-unknown-illumos
312024-01-23T20:13:37.663Zinfo: syncing channel updates for 'nightly-2023-10-23-x86_64-unknown-illumos'
322024-01-23T20:13:37.840Zinfo: latest update on 2023-10-23, rust version 1.75.0-nightly (54b0434ce 2023-10-22)
332024-01-23T20:13:37.840Zinfo: downloading component 'cargo'
342024-01-23T20:13:38.567Zinfo: downloading component 'clippy'
352024-01-23T20:13:38.787Zinfo: downloading component 'rust-docs'
362024-01-23T20:13:39.688Zinfo: downloading component 'rust-std'
372024-01-23T20:13:41.207Zinfo: downloading component 'rustc'
382024-01-23T20:13:44.959Zinfo: downloading component 'rustfmt'
392024-01-23T20:13:45.175Zinfo: installing component 'cargo'
402024-01-23T20:13:47.027Zinfo: installing component 'clippy'
412024-01-23T20:13:47.839Zinfo: installing component 'rust-docs'
422024-01-23T20:13:50.709Zinfo: installing component 'rust-std'
432024-01-23T20:13:54.479Zinfo: installing component 'rustc'
442024-01-23T20:14:05.833Zinfo: installing component 'rustfmt'
452024-01-23T20:14:05.899Zinfo: default toolchain set to 'nightly-2023-10-23-x86_64-unknown-illumos'
462024-01-23T20:14:05.899Z
472024-01-23T20:14:05.899Z nightly-2023-10-23-x86_64-unknown-illumos installed - rustc 1.75.0-nightly (54b0434ce 2023-10-22)
482024-01-23T20:14:05.899Z
492024-01-23T20:14:05.899Z
502024-01-23T20:14:05.900ZRust is installed now. Great!
512024-01-23T20:14:05.900Z
522024-01-23T20:14:05.900ZTo get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
532024-01-23T20:14:05.900Zenvironment variable. This has not been done automatically.
542024-01-23T20:14:05.900Z
552024-01-23T20:14:05.900ZTo configure your current shell, run:
562024-01-23T20:14:05.900Zsource "$HOME/.cargo/env"
572024-01-23T20:14:05.900Z+ rustc --version
582024-01-23T20:14:05.900Zrustc 1.75.0-nightly (54b0434ce 2023-10-22)
592024-01-23T20:14:05.900Zprocess exited: duration 30918 ms, exit code 0
 
602024-01-23T20:14:05.909Zstarting task 2: "authentication"
612024-01-23T20:14:05.941Zprocess exited: duration 31 ms, exit code 0
 
622024-01-23T20:14:05.950Zstarting task 3: "clone repository"
632024-01-23T20:14:05.957Z+ mkdir -p /work/oxidecomputer/opte
642024-01-23T20:14:05.968Z+ git clone https://github.com/oxidecomputer/opte /work/oxidecomputer/opte
652024-01-23T20:14:06.139ZCloning into '/work/oxidecomputer/opte'...
662024-01-23T20:14:07.690Z+ cd /work/oxidecomputer/opte
672024-01-23T20:14:07.690Z+ [[ -n boundary-services-overlay-flow-pinning ]]
682024-01-23T20:14:07.710Z+ git fetch origin boundary-services-overlay-flow-pinning
692024-01-23T20:14:08.037ZFrom https://github.com/oxidecomputer/opte
702024-01-23T20:14:08.037Z * branch boundary-services-overlay-flow-pinning -> FETCH_HEAD
712024-01-23T20:14:08.048Z+ git checkout -B boundary-services-overlay-flow-pinning remotes/origin/boundary-services-overlay-flow-pinning
722024-01-23T20:14:08.077ZSwitched to a new branch 'boundary-services-overlay-flow-pinning'
732024-01-23T20:14:08.085Zbranch 'boundary-services-overlay-flow-pinning' set up to track 'origin/boundary-services-overlay-flow-pinning'.
742024-01-23T20:14:08.085Z+ git reset --hard 464938d3b2d500825e6d1117eb199ef472ece333
752024-01-23T20:14:08.110ZHEAD is now at 464938d support for tunneled routing
762024-01-23T20:14:08.120Zprocess exited: duration 2162 ms, exit code 0
 
772024-01-23T20:14:08.165Zstarting task 4: "build"
782024-01-23T20:14:08.174Z+ cargo --version
792024-01-23T20:14:08.186Zinfo: syncing channel updates for '1.75.0-x86_64-unknown-illumos'
802024-01-23T20:14:08.361Zinfo: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
812024-01-23T20:14:08.366Zinfo: downloading component 'cargo'
822024-01-23T20:14:09.007Zinfo: downloading component 'clippy'
832024-01-23T20:14:09.219Zinfo: downloading component 'rust-docs'
842024-01-23T20:14:10.489Zinfo: downloading component 'rust-std'
852024-01-23T20:14:11.365Zinfo: downloading component 'rustc'
862024-01-23T20:14:14.902Zinfo: downloading component 'rustfmt'
872024-01-23T20:14:15.139Zinfo: installing component 'cargo'
882024-01-23T20:14:16.368Zinfo: installing component 'clippy'
892024-01-23T20:14:16.799Zinfo: installing component 'rust-docs'
902024-01-23T20:14:19.560Zinfo: installing component 'rust-std'
912024-01-23T20:14:22.069Zinfo: installing component 'rustc'
922024-01-23T20:14:28.107Zinfo: installing component 'rustfmt'
932024-01-23T20:14:28.642Zcargo 1.75.0 (1d8b05cdd 2023-11-20)
942024-01-23T20:14:28.653Z+ rustc --version
952024-01-23T20:14:28.760Zrustc 1.75.0 (82e1608df 2023-12-21)
962024-01-23T20:14:28.767Z+ cd crates/opte-api
972024-01-23T20:14:28.770Z+ header 'check API_VERSION'
982024-01-23T20:14:28.770Z+ echo '# ==== check API_VERSION ==== #'
992024-01-23T20:14:28.770Z# ==== check API_VERSION ==== #
1002024-01-23T20:14:28.770Z+ ./check-api-version.sh
1012024-01-23T20:14:28.794Zdiff --git a/crates/opte-api/src/cmd.rs b/crates/opte-api/src/cmd.rs
1022024-01-23T20:14:28.794Zdiff --git a/crates/opte-api/src/ip.rs b/crates/opte-api/src/ip.rs
1032024-01-23T20:14:28.794Zdiff --git a/crates/opte-api/src/lib.rs b/crates/opte-api/src/lib.rs
1042024-01-23T20:14:28.816ZSUCCESS: The API_VERSION was updated
1052024-01-23T20:14:28.816Z old: 27
1062024-01-23T20:14:28.816Z new: 28
1072024-01-23T20:14:28.820Z+ header 'check style'
1082024-01-23T20:14:28.820Z+ echo '# ==== check style ==== #'
1092024-01-23T20:14:28.820Z# ==== check style ==== #
1102024-01-23T20:14:28.820Z+ ptime -m cargo +nightly-2023-10-23 fmt -- --check
1112024-01-23T20:14:29.241Z
1122024-01-23T20:14:29.241Zreal 0.341060676
1132024-01-23T20:14:29.245Zuser 0.198640852
1142024-01-23T20:14:29.245Zsys 0.134990727
1152024-01-23T20:14:29.245Ztrap 0.000012668
1162024-01-23T20:14:29.245Ztflt 0.000000000
1172024-01-23T20:14:29.245Zdflt 0.000000000
1182024-01-23T20:14:29.245Zkflt 0.000000000
1192024-01-23T20:14:29.245Zlock 0.000000000
1202024-01-23T20:14:29.245Zslp 0.209876338
1212024-01-23T20:14:29.245Zlat 0.000410272
1222024-01-23T20:14:29.246Zstop 0.000370358
1232024-01-23T20:14:29.246Z+ header 'analyze std'
1242024-01-23T20:14:29.246Z+ echo '# ==== analyze std ==== #'
1252024-01-23T20:14:29.246Z# ==== analyze std ==== #
1262024-01-23T20:14:29.246Z+ ptime -m cargo clippy --all-targets
1272024-01-23T20:14:29.647Z Updating crates.io index
1282024-01-23T20:14:29.657Z Updating git repository `https://github.com/oxidecomputer/netadm-sys`
1292024-01-23T20:14:30.245Z Updating git repository `https://github.com/oxidecomputer/poptrie`
1302024-01-23T20:14:30.689Z Updating git repository `https://github.com/oxidecomputer/zone`
1312024-01-23T20:14:31.184Z Updating git repository `https://github.com/oxidecomputer/falcon`
1322024-01-23T20:14:32.095Z Updating git repository `https://github.com/oxidecomputer/dlpi-sys`
1332024-01-23T20:14:32.502Z Updating git repository `https://github.com/jmesmon/rust-libzfs`
1342024-01-23T20:14:32.830Z Updating git repository `https://github.com/oxidecomputer/rusty-doors`
1352024-01-23T20:14:34.019Z Downloading crates ...
1362024-01-23T20:14:34.288Z Downloaded version_check v0.9.4
1372024-01-23T20:14:34.307Z Downloaded cfg-if v1.0.0
1382024-01-23T20:14:34.308Z Downloaded bitflags v1.3.2
1392024-01-23T20:14:34.308Z Downloaded thiserror-impl v1.0.56
1402024-01-23T20:14:34.312Z Downloaded proc-macro-error-attr v1.0.4
1412024-01-23T20:14:34.313Z Downloaded cobs v0.2.3
1422024-01-23T20:14:34.315Z Downloaded defmt-parser v0.3.3
1432024-01-23T20:14:34.321Z Downloaded hash32 v0.3.1
1442024-01-23T20:14:34.321Z Downloaded managed v0.8.0
1452024-01-23T20:14:34.321Z Downloaded ipnetwork v0.20.0
1462024-01-23T20:14:34.321Z Downloaded quote v1.0.35
1472024-01-23T20:14:34.325Z Downloaded defmt-macros v0.3.6
1482024-01-23T20:14:34.329Z Downloaded proc-macro-error v1.0.4
1492024-01-23T20:14:34.333Z Downloaded proc-macro2 v1.0.78
1502024-01-23T20:14:34.338Z Downloaded serde_derive v1.0.195
1512024-01-23T20:14:34.341Z Downloaded serde v1.0.195
1522024-01-23T20:14:34.348Z Downloaded heapless v0.8.0
1532024-01-23T20:14:34.354Z Downloaded postcard v1.0.8
1542024-01-23T20:14:34.359Z Downloaded unicode-ident v1.0.12
1552024-01-23T20:14:34.363Z Downloaded syn v1.0.109
1562024-01-23T20:14:34.382Z Downloaded syn v2.0.48
1572024-01-23T20:14:34.399Z Downloaded smoltcp v0.11.0
1582024-01-23T20:14:34.420Z Downloaded defmt v0.3.5
1592024-01-23T20:14:34.426Z Downloaded embedded-io v0.4.0
1602024-01-23T20:14:34.433Z Downloaded stable_deref_trait v1.2.0
1612024-01-23T20:14:34.433Z Downloaded byteorder v1.5.0
1622024-01-23T20:14:34.433Z Downloaded thiserror v1.0.56
1632024-01-23T20:14:34.494Z Compiling proc-macro2 v1.0.78
1642024-01-23T20:14:34.495Z Compiling unicode-ident v1.0.12
1652024-01-23T20:14:34.503Z Compiling serde v1.0.195
1662024-01-23T20:14:34.503Z Checking byteorder v1.5.0
1672024-01-23T20:14:34.503Z Compiling heapless v0.8.0
1682024-01-23T20:14:34.503Z Checking stable_deref_trait v1.2.0
1692024-01-23T20:14:34.503Z Compiling smoltcp v0.11.0
1702024-01-23T20:14:34.503Z Checking managed v0.8.0
1712024-01-23T20:14:34.634Z Checking cobs v0.2.3
1722024-01-23T20:14:34.771Z Checking bitflags v1.3.2
1732024-01-23T20:14:34.848Z Checking embedded-io v0.4.0
1742024-01-23T20:14:34.858Z Checking cfg-if v1.0.0
1752024-01-23T20:14:34.921Z Checking hash32 v0.3.1
1762024-01-23T20:14:34.939Z Checking illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
1772024-01-23T20:14:35.016Z Checking ipnetwork v0.20.0
1782024-01-23T20:14:37.810Z Compiling quote v1.0.35
1792024-01-23T20:14:38.201Z Compiling syn v2.0.48
1802024-01-23T20:14:42.649Z Compiling serde_derive v1.0.195
1812024-01-23T20:14:52.548Z Checking postcard v1.0.8
1822024-01-23T20:14:53.176Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
1832024-01-23T20:14:55.257Z Finished dev [unoptimized + debuginfo] target(s) in 25.72s
1842024-01-23T20:14:55.339Z
1852024-01-23T20:14:55.342Zreal 26.091086687
1862024-01-23T20:14:55.342Zuser 31.719118444
1872024-01-23T20:14:55.342Zsys 6.853997030
1882024-01-23T20:14:55.342Ztrap 0.008785079
1892024-01-23T20:14:55.342Ztflt 0.397324491
1902024-01-23T20:14:55.342Zdflt 2.483791054
1912024-01-23T20:14:55.342Zkflt 0.012763466
1922024-01-23T20:14:55.343Zlock 1:05.859885841
1932024-01-23T20:14:55.343Zslp 2:03.695379027
1942024-01-23T20:14:55.343Zlat 1.092756225
1952024-01-23T20:14:55.343Zstop 1.548402009
1962024-01-23T20:14:55.343Z+ header 'analyze no_std'
1972024-01-23T20:14:55.343Z+ echo '# ==== analyze no_std ==== #'
1982024-01-23T20:14:55.343Z# ==== analyze no_std ==== #
1992024-01-23T20:14:55.343Z+ ptime -m cargo clippy --no-default-features --all-targets
2002024-01-23T20:14:55.724Z Checking opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
2012024-01-23T20:14:57.734Z Finished dev [unoptimized + debuginfo] target(s) in 2.10s
2022024-01-23T20:14:57.751Z
2032024-01-23T20:14:57.770Zreal 2.400058840
2042024-01-23T20:14:57.770Zuser 3.871953090
2052024-01-23T20:14:57.771Zsys 0.411977452
2062024-01-23T20:14:57.771Ztrap 0.000637774
2072024-01-23T20:14:57.771Ztflt 0.000015167
2082024-01-23T20:14:57.771Zdflt 0.000048797
2092024-01-23T20:14:57.771Zkflt 0.000000000
2102024-01-23T20:14:57.771Zlock 5.823613134
2112024-01-23T20:14:57.771Zslp 9.946850434
2122024-01-23T20:14:57.771Zlat 0.003312044
2132024-01-23T20:14:57.771Zstop 0.014710139
2142024-01-23T20:14:57.772Z+ header test
2152024-01-23T20:14:57.772Z+ echo '# ==== test ==== #'
2162024-01-23T20:14:57.772Z# ==== test ==== #
2172024-01-23T20:14:57.772Z+ ptime -m cargo test
2182024-01-23T20:14:58.038Z Compiling byteorder v1.5.0
2192024-01-23T20:14:58.038Z Compiling stable_deref_trait v1.2.0
2202024-01-23T20:14:58.042Z Compiling cobs v0.2.3
2212024-01-23T20:14:58.042Z Compiling managed v0.8.0
2222024-01-23T20:14:58.042Z Compiling cfg-if v1.0.0
2232024-01-23T20:14:58.042Z Compiling bitflags v1.3.2
2242024-01-23T20:14:58.052Z Compiling embedded-io v0.4.0
2252024-01-23T20:14:58.052Z Compiling serde v1.0.195
2262024-01-23T20:14:58.167Z Compiling illumos-sys-hdrs v0.1.0 (/work/oxidecomputer/opte/crates/illumos-sys-hdrs)
2272024-01-23T20:14:58.592Z Compiling ipnetwork v0.20.0
2282024-01-23T20:14:58.592Z Compiling hash32 v0.3.1
2292024-01-23T20:14:58.593Z Compiling heapless v0.8.0
2302024-01-23T20:14:59.496Z Compiling smoltcp v0.11.0
2312024-01-23T20:15:03.505Z Compiling postcard v1.0.8
2322024-01-23T20:15:04.225Z Compiling opte-api v0.1.0 (/work/oxidecomputer/opte/crates/opte-api)
2332024-01-23T20:15:06.880Z Finished test [unoptimized + debuginfo] target(s) in 9.05s
2342024-01-23T20:15:06.885Z Running unittests src/lib.rs (/work/oxidecomputer/opte/target/debug/deps/opte_api-da67e1ac08eca140)
2352024-01-23T20:15:06.892Z
2362024-01-23T20:15:06.892Zrunning 22 tests
2372024-01-23T20:15:06.895Ztest encap::test::bad_vni ... ok
2382024-01-23T20:15:06.896Ztest encap::test::good_vni ... ok
2392024-01-23T20:15:06.896Ztest dns::tests::test_domain_name ... ok
2402024-01-23T20:15:06.896Ztest encap::test::vni_round_trip ... ok
2412024-01-23T20:15:06.896Ztest ip::test::bad_cidr ... ok
2422024-01-23T20:15:06.896Ztest ip::test::bad_prefix_len ... ok
2432024-01-23T20:15:06.896Ztest ip::test::dhcp_fqdn ... ok
2442024-01-23T20:15:06.896Ztest ip::test::ipv4_addr_bad ... ok
2452024-01-23T20:15:06.896Ztest ip::test::good_cidr ... ok
2462024-01-23T20:15:06.896Ztest ip::test::ipv4_addr_good ... ok
2472024-01-23T20:15:06.896Ztest ip::test::ipv4_mask ... ok
2482024-01-23T20:15:06.896Ztest ip::test::ipv6_cidr_is_member ... ok
2492024-01-23T20:15:06.896Ztest ip::test::ipv6_is_default ... ok
2502024-01-23T20:15:06.896Ztest ip::test::ipv6_mask ... ok
2512024-01-23T20:15:06.896Ztest ip::test::ipv6_prefix_len ... ok
2522024-01-23T20:15:06.896Ztest ip::test::test_ip_addr_from_str ... ok
2532024-01-23T20:15:06.896Ztest ip::test::test_ip_cidr_from_str ... ok
2542024-01-23T20:15:06.896Ztest ip::test::test_ipv6_from_const ... ok
2552024-01-23T20:15:06.896Ztest ip::test::test_ipv6_from_eui64 ... ok
2562024-01-23T20:15:06.896Ztest ip::test::test_ipv6_is_multicast ... ok
2572024-01-23T20:15:06.896Ztest ip::test::test_ipv6_multicast_mac ... ok
2582024-01-23T20:15:06.896Ztest ip::test::test_ipv6_solicited_node_multicast ... ok
2592024-01-23T20:15:06.896Z
2602024-01-23T20:15:06.897Ztest result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
2612024-01-23T20:15:06.897Z
2622024-01-23T20:15:06.897Z Doc-tests opte-api
2632024-01-23T20:15:07.191Z
2642024-01-23T20:15:07.192Zrunning 1 test
2652024-01-23T20:15:07.671Ztest crates/opte-api/src/dns.rs - dns::DomainName::encode (line 82) ... ok
2662024-01-23T20:15:07.672Z
2672024-01-23T20:15:07.672Ztest result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
2682024-01-23T20:15:07.672Z
2692024-01-23T20:15:07.694Z
2702024-01-23T20:15:07.695Zreal 9.937503683
2712024-01-23T20:15:07.695Zuser 20.032274611
2722024-01-23T20:15:07.695Zsys 4.158184267
2732024-01-23T20:15:07.695Ztrap 0.006736332
2742024-01-23T20:15:07.697Ztflt 0.048861230
2752024-01-23T20:15:07.697Zdflt 0.149197034
2762024-01-23T20:15:07.701Zkflt 0.000000000
2772024-01-23T20:15:07.701Zlock 39.206523669
2782024-01-23T20:15:07.701Zslp 42.207635855
2792024-01-23T20:15:07.701Zlat 0.425848540
2802024-01-23T20:15:07.701Zstop 0.351899085
2812024-01-23T20:15:07.701Zprocess exited: duration 59541 ms, exit code 0
 
2822024-01-23T20:15:07.709Zfound 0 output files