Skip to content

Instantly share code, notes, and snippets.

{
"execution": "failed",
"chain_results": [
{
"result": "All parameters OK!",
"error": "",
"name": "cnapi.validate_params",
"started_at": "2023-11-29T18:31:02.898Z",
"finished_at": "2023-11-29T18:31:02.931Z"
},
[ 8.27773018] Mounted /usr on /zoneproto-633458/root/usr
[ 8.27971596] Installing pkgsrc pkgs: openssl-1.1.1t, haproxy-2.6.1
pkg_add: Can't process https://pkgsrc.joyent.com:443/packages/SmartOS/2021Q4/x86_64/All/openssl-1*: No address record
pkg_add: no pkg found for 'openssl-1.1.1t', sorry.
pkg_add: Can't process https://pkgsrc.joyent.com:443/packages/SmartOS/2021Q4/x86_64/All/haproxy-2*: No address record
pkg_add: no pkg found for 'haproxy-2.6.1', sorry.
pkg_add: 2 package additions failed
[218.34309990] Child pkgsrc chroot exited with code 1
ENGBLD_SKIP_VALIDATE_BUILDENV= \
/root/sdc-cloudapi/deps/eng/tools/validate-buildenv.sh
The following packages should be installed for 2021Q4:
py27-expat gsharutils flex pcre pigz rust
The current platform image, 20230214T155114Z, is not valid.
This component should instead be built on 20210826T002459Z
To disable this check, set
$ENGBLD_SKIP_VALIDATE_BUILD_PLATFORM in the environment.
[root@1b86aafc-fbb3-4162-9a35-b711cba48758 ~/sdc-cloudapi]# make all
PATH=/root/sdc-cloudapi/build/node/bin:/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin /root/sdc-cloudapi/build/node/bin/node /root/sdc-cloudapi/build/node/bin/npm install
> event-loop-stats@1.0.0 install /root/sdc-cloudapi/node_modules/event-loop-stats
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /opt/local/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
------ FAST MEMORY TEST ------
427834:S 15 May 2023 13:33:16.645 # Bio thread for job type #0 terminated
427834:S 15 May 2023 13:33:16.646 # Bio thread for job type #1 terminated
427834:S 15 May 2023 13:33:16.646 # Bio thread for job type #2 terminated
*** Preparing to test memory region 1000 (135168 bytes)
*** Preparing to test memory region 7fffe8c00000 (3145728 bytes)
*** Preparing to test memory region 7fffe9000000 (2621440 bytes)
*** Preparing to test memory region 7fffe9401000 (2088960 bytes)
*** Preparing to test memory region 7fffea200000 (6291456 bytes)
*** Preparing to test memory region 7fffea801000 (2088960 bytes)
Welcome to CentOS Stream 9 dracut-055-10.git20210824.el9 (Initramfs)!
[ 1.904712] systemd[1]: No hostname configured, using default hostname.
[ 1.907222] systemd[1]: Hostname set to <localhost>.
[ 2.032236] systemd[1]: Queued start job for default target Initrd Default Target.
[ 2.033811] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ 2.037818] systemd[1]: Reached target Initrd /usr File System.
[ OK ] Reached target Initrd /usr File System.
[ 2.040840] systemd[1]: Reached target Local File Systems.
60445490-db2f-42b7-bca3-a11325e2bd0d+ zonecfg -z 60445490-db2f-42b7-bca3-a11325e2bd0d info zonepath
+ cut -d: -f2
+ zonepath=' /zones/60445490-db2f-42b7-bca3-a11325e2bd0d'
+ [ ! -d /zones/60445490-db2f-42b7-bca3-a11325e2bd0d/site ]
+ zoneadm -z 60445490-db2f-42b7-bca3-a11325e2bd0d boot
+ grep true
+ 1> /dev/null 2>& 1
+ zonecfg -z dbf38c8c-c9b7-45da-a279-6a5a7b195c57 info autoboot
+ [ 0 -eq 0 ]
+ [ -z yes ]
Illumos:
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# iperf3 -c 50.50.50.53
Connecting to host 50.50.50.53, port 5201
[ 4] local 50.50.50.71 port 38721 connected to 50.50.50.53 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 291 MBytes 2.44 Gbits/sec
[ 4] 1.00-2.00 sec 288 MBytes 2.41 Gbits/sec
[ 4] 2.00-3.00 sec 143 MBytes 1.20 Gbits/sec
[ 4] 3.00-4.00 sec 203 MBytes 1.70 Gbits/sec
[ 4] 4.00-5.00 sec 278 MBytes 2.33 Gbits/sec
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# dladm delete-aggr storageaggr0
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# dladm create-vnic test0 -l mlxcx0
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# ifconfig test0 plumb
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# ifconfig test0 50.50.50.71 up
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# ping 50.50.50.53
50.50.50.53 is alive
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# snoop -r -d mlxcx0
Using device mlxcx0 (promiscuous mode)
[root@3c-ec-ef-d8-17-ca (us-east-2) ~]# dtrace -n 'mlxcx_cmd_query_port_speed:entry {self->mlp = args[1];} mlxcx_cmd_query_port_speed:return { stack(); printf("Returns %d: max_proto 0x%x, admin_proto 0x%x, oper_proto 0x%x\n", arg1, self->mlp->mlp_max_proto, self->mlp->mlp_admin_proto, self->mlp->mlp_oper_proto);}'
dtrace: description 'mlxcx_cmd_query_port_speed:entry ' matched 2 probes
CPU ID FUNCTION:NAME
14 69472 mlxcx_cmd_query_port_speed:return
mlxcx`mlxcx_update_link_state+0x2d
mlxcx`mlxcx_link_state_task+0x4c
genunix`taskq_thread+0x2ee
unix`thread_start+0xb
Returns 1: max_proto 0xf8f5f0d3, admin_proto 0xf8f5f0d3, oper_proto 0x0