SmartOS/live 2b21ab7tools build_live

Merge branch 'master' into OS-8766
DeltaFile
+1-1tools/build_live
+1-11 files

SmartOS/live 000d1e8src/lib/sdc config.sh

OS-8766 load_sdc_sysinfo forks cut and sed per line, adding ~850ms to every zone boot

The loop forked a subshell, cut and sed for each line of sysinfo
output, about 71 processes per call. The function runs from the zone
brand statechange hook, so every zone boot paid for it.

Measured on a compute node with an Intel Xeon Gold 6240:

  load_sdc_sysinfo             842 ms -> 33 ms
  statechange hook            1012 ms -> 161 ms
  vmadm start to guest ready  2631 ms -> 1721 ms

Output verified identical under both bash and ksh93: 69 variables,
byte for byte.

load_sdc_bootparams and sdc_bootparams_keys below have the same
pattern and are left alone here; they were not on the path measured.

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01XsuxyuVvHe6ro76LWLs8GP
DeltaFile
+3-4src/lib/sdc/config.sh
+3-41 files

SmartOS/live 148c368tools build_live

Fix gcc14-debug release builds with a bit more space in /. (#1183)

Reviewed by: Toomas Soome <tsoome at edgecast.io>
Reviewed by: Nahum Shalman <nshalman at edgecast.io>
Approved by: Nahum Shalman <nshalman at edgecast.io>
DeltaFile
+1-1tools/build_live
+1-11 files

SmartOS/live 9cf303csrc/lib/sdc config.sh

OS-8766 load_sdc_sysinfo forks cut and sed per line, adding ~850ms to every zone boot

The loop forked a subshell, cut and sed for each line of sysinfo
output, about 71 processes per call. The function runs from the zone
brand statechange hook, so every zone boot paid for it.

Measured on a compute node with an Intel Xeon Gold 6240:

  load_sdc_sysinfo             842 ms -> 33 ms
  statechange hook            1012 ms -> 161 ms
  vmadm start to guest ready  2631 ms -> 1721 ms

Output verified identical under both bash and ksh93: 69 variables,
byte for byte.

load_sdc_bootparams and sdc_bootparams_keys below have the same
pattern and are left alone here; they were not on the path measured.

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_012Kn8vg7nnv6i6kYcSaRHty
DeltaFile
+2-3src/lib/sdc/config.sh
+2-31 files

SmartOS/live 064e661tools build_live

Fix gcc14-debug release builds with a bit more space in /.
DeltaFile
+1-1tools/build_live
+1-11 files

SmartOS/live 72681e7src/smartdc/bin pkgsrc-setup.sh

OS-8759 SmartOS installation needs to pull newer bootstrap tar

Reviewed by: Jonathan Perkin <jperkin at edgecast.io>
Reviewed by: Nahum Shalman <nshalman at edgecast.io>
Approved by: Nahum Shalman <nshalman at edgecast.io>
DeltaFile
+3-2src/smartdc/bin/pkgsrc-setup.sh
+3-21 files

SmartOS/live fd18283src/smartdc/bin pkgsrc-setup.sh

OS-8759 SmartOS installation needs to pull newer bootstrap tar
DeltaFile
+3-2src/smartdc/bin/pkgsrc-setup.sh
+3-21 files

SmartOS/live be47cectools build_live

Fix gcc14-debug release builds with a bit more space in /usr/.
DeltaFile
+1-1tools/build_live
+1-11 files

SmartOS/live a3782d5. Jenkinsfile

OS-8754 let Jenkinsfile skip stages in case of single-stage failure

Reviewed by: Toomas Soome <tsoome at edgecast.io>
Approved by: Toomas Soome <tsoome at edgecast.io>
DeltaFile
+28-1Jenkinsfile
+28-11 files

SmartOS/live e4b5dc2. Jenkinsfile

remove typo-ed whitespace
DeltaFile
+1-1Jenkinsfile
+1-11 files

SmartOS/live 4d5b2a2. Jenkinsfile

failFast as parameter?
DeltaFile
+1-2Jenkinsfile
+1-21 files

SmartOS/live e5b42da. Jenkinsfile

failFast needs to be above 'parallel'
DeltaFile
+1-1Jenkinsfile
+1-11 files

SmartOS/live 344f4c6. Jenkinsfile

Add FAIL_FAST (default is true)
DeltaFile
+8-2Jenkinsfile
+8-21 files

SmartOS/live 6fb5c75. Jenkinsfile

blah
DeltaFile
+3-3Jenkinsfile
+3-31 files

SmartOS/live 9615b93. Jenkinsfile

OS-8754 let Jenkinsfile skip stages in case of single-stage failure
DeltaFile
+22-0Jenkinsfile
+22-01 files

SmartOS/live 9d69823src/vm/node_modules VM.js

Fix jsstyle
DeltaFile
+1-1src/vm/node_modules/VM.js
+1-11 files

SmartOS/live e480ae0. default.configure-projects

This branch should build components from related branches.

NOTE: THIS CHANGE AND ANY OTHERS IN default.configure-* SHOULD NOT GET PUSHED
      INTO `master` WHEN IT IS READY FOR BEING ACTUALLY COMMITTED!
DeltaFile
+1-1default.configure-projects
+1-11 files

SmartOS/live 1aa1ea8src/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+97-5src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+135-103 files

SmartOS/live 9ab4931. Jenkinsfile

This branch should build components from related branches on Jenkins too.

NOTE: THIS CHANGE AND ANY OTHERS IN Jenkinsfile SHOULD NOT GET PUSHED
      INTO `master` WHEN IT IS READY FOR BEING ACTUALLY COMMITTED!
DeltaFile
+1-1Jenkinsfile
+1-11 files

SmartOS/live 3a5382e. Jenkinsfile

This branch should build components from related branches on Jenkins too.

NOTE: THIS CHANGE AND ANY OTHERS IN Jenkinsfile SHOULD NOT GET PUSHED
      INTO `master` WHEN IT IS READY FOR BEING ACTUALLY COMMITTED!
DeltaFile
+1-1Jenkinsfile
+1-11 files

SmartOS/live 59bdea5. default.configure-projects

This branch should build components from related branches.

NOTE: THIS CHANGE AND ANY OTHERS IN default.configure-* SHOULD NOT GET PUSHED
      INTO `master` WHEN IT IS READY FOR BEING ACTUALLY COMMITTED!
DeltaFile
+1-1default.configure-projects
+1-11 files

SmartOS/live a37e6e2src/vm/node_modules VM.js

Fix jsstyle
DeltaFile
+1-1src/vm/node_modules/VM.js
+1-11 files

SmartOS/live 2cc27bdsrc piadm.sh, tools build_live

Merge branch 'master' into OS-8736
DeltaFile
+5-3src/piadm.sh
+2-2tools/build_live
+7-52 files

SmartOS/live ce75412src piadm.sh

OS-8735 piadm(8) lies about what version of loader is installed

Reviewed by: Toomas Soome <tsoome at edgecast.io>
Approved by: Toomas Soome <tsoome at edgecast.io>
DeltaFile
+5-3src/piadm.sh
+5-31 files

SmartOS/live d02e016tools build_live

Merge branch 'master' into OS-8735
DeltaFile
+2-2tools/build_live
+2-21 files

SmartOS/live f38aafdsrc piadm.sh

OS-8735 piadm(8) lies about what version of loader is installed
DeltaFile
+5-3src/piadm.sh
+5-31 files

SmartOS/live 9232e4ctools build_live

OS-8730 Bump /usr size to make room for illumos#17974

Reviewed by: Carlos Neira <cneira at edgecast.io>
Reviewed by: Toomas Soome <tsoome at edgecast.io>
Reviewed by: Nahum Shalman <nshalman at edgecast.io>
Approved by: Toomas Soome <tsoome at edgecast.io>
DeltaFile
+2-2tools/build_live
+2-21 files

SmartOS/live c664084tools build_live

OS-8730 Bump /usr size to make room for illumos#17974
DeltaFile
+2-2tools/build_live
+2-21 files

SmartOS/live 7ddd5cesrc/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+97-5src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+135-103 files

SmartOS/live 06c9bafsrc/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+91-3src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+129-83 files