Closed tijshuisman closed 1 year ago
@dineshbaburam91
Hi @tijshuisman , Thanks , I tried with simple PyEZ script to reproduce the issue , but issue is not reproducible. Could you please share more details or share the playbook to reproduce .
Thanks & Regards Chidanand
Thanks for looking into this. Here is a more detailed description of the issue:
1) Setup
2x EX3400-48P in a VC, preprovisioned config Both members are running 21.4R3 (non-S) Member fpc0 is master in the VC junos-arm-32-21.4R3-S3.4.tgz manually copied through SCP to fpc0:/var/tmp show commands hardware/version/vc https://pastebin.com/XWqe1UGb
2) Script environment
Python 3.8.14 junos-eznc 2.6.7
3) Script upgrade.py
from jnpr.junos.utils.sw import SW
from jnpr.junos import Device
from getpass import getpass
HOSTNAME = 'ex3400-vc.yourdomain.net'
FILENAME = '/folder/junos-arm-32-21.4R3-S3.4.tgz'
USER = input('Username: ')
PWD = getpass()
def display_upgrade_progress(dev, report):
print(report)
with Device(host=HOSTNAME, username=USER, password=PWD) as dev:
sw = SW(dev)
ok, msg = sw.install(package=FILENAME,
validate=False,
progress=display_upgrade_progress,
cleanfs=False)
4) Result
fpc0 install goes fine, pending is set. Python exception happens after that when starting with fpc1 saying that the file is not present on the device. The tgz file is not present anymore on fpc0:/var/tmp/, as is intended with using unlink.
terminal output https://pastebin.com/HSBuAimk Unlink behaviour description: "Unlink option removes the .tgz file immediately after the unpack so that the image size calculation takes into account the freed-up space tied to the image deletion." [1]
Netconf tracelog from the switch https://pastebin.com/2nC8YtdP
5) Alternative to make it work in 2 member VC setup
Rollback firmware upgrade (request system software rollback) Switch master from fpc0 to fpc1 (request chassis routing-engine master switch) Copy firmware file to switch, now to fpc1:/var/tmp/ Run upgrade.py again, both members will have succesfully installed the firmware
In this situation the installation starts at fpc0 as well. The difference here however is that when unlink removes the .tgz file, it doesn't do it in the master (fpc1). FPC1 can now upgrade because it still has the .tgz locally. This trick unfortunately doesn't work on VC setups bigger than 2 members, you need to alter the vc_members list to make the master fpc go last as I described in my post.
Hi @tijshuisman Thanks very much for providing the information . I have gone through the details and support documentation and PR .
I will try to borrow the TAC setup mentioned in the PR details and try to reproduce the issue .
Thanks & Regards Chidanand
Hi @tijshuisman This is the default behavior on EX3400 , that image gets deleted after installation and same behavior we are observing from PyEZ .
> request system software add /var/tmp/junos-arm-32-21.4R3-S3.4.tgz
Removing /var/log/wtmp.1.gz
Removing /var/log/wtmp.0.gz
Removing /var/log/messages.0.gz
Removing /var/log/security.0.gz
setting unlink by default.
setting unlink by default.
NOTICE: Validating configuration against junos-arm-32-21.4R3-S3.4.tgz.
NOTICE: Use the 'no-validate' option to skip this if desired.
Verified junos-arm-32-21.4R3-S3.4 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-arm-32-21.4R3-S3.4 ...
Verified deebe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding dsa-arm-32-21.4R3-S3.4 ...
Verified fips-mode signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-arm-32-20230120.f3fd182_builder_stable_12_214 ...
Verified jdocs-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jpfe-EX34XX signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX34XX-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jphone-home signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jphone-home-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jsd-jet-1 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsd-arm-32-21.4R3-S3.4-jet-1 ...
Verified jsdn signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsdn-arm-32-21.4R3-S3.4 ...
Verified junos-daemons signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-dp-crypto-support-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-dcp-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-openconfig signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-arm-32-21.4R3-S3.4 ...
Verified junos-platform-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-probe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-probe-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-aggregated signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jweb-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified na-telemetry signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-arm-32-21.4R3-S3.4 ...
Verified oam-ve signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-boot-junos-ve signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-junos-ve-arm-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-crypto signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-crypto-arm-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-kernel-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-arm-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-arm-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-runtime-arm-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-zoneinfo signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230120.f3fd182_builder_stable_12_214 ...
Verified py-base signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-base-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-extensions signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-extensions-arm-32-20230308.221111_builder_junos_214_r3_s3 ...
Initializing...
Mounting os-libs-12-arm-32-20230120.f3fd182_builder_stable_12_214
Mounting os-runtime-arm-32-20230120.f3fd182_builder_stable_12_214
Mounting os-zoneinfo-20230120.f3fd182_builder_stable_12_214
Mounting py-extensions-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting py-base-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting os-crypto-arm-32-20230120.f3fd182_builder_stable_12_214
Mounting junos-net-prd-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-libs-arm-32-20230308.221111_builder_junos_214_r3_s3
veriexec: cannot update veriexec for /var/val/chroot/packages/mnt/junos-libs/usr/lib/libgrpc.so.1: No such file or directory
Mounting junos-runtime-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting na-telemetry-arm-32-21.4R3-S3.4
Mounting jweb-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-runtime-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-routing-aggregated-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-probe-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-platform-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-openconfig-arm-32-21.4R3-S3.4
Mounting junos-modules-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-modules-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-libs-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-dp-crypto-support-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting junos-daemons-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting jsdn-arm-32-21.4R3-S3.4
Mounting jsd-arm-32-21.4R3-S3.4-jet-1
Mounting jphone-home-arm-32-20230308.221111_builder_junos_214_r3_s3
mount_nullfs: /packages/mnt/jphone-home-18a5bcd0/jail/var/run: Resource deadlock avoided
mount_nullfs: /packages/mnt/jphone-home-18a5bcd0/jail/var/etc: Resource deadlock avoided
mount_nullfs: /packages/mnt/jphone-home-18a5bcd0/jail/etc: Resource deadlock avoided
Mounting jpfe-EX34XX-arm-32-20230308.221111_builder_junos_214_r3_s3
veriexec: cannot update veriexec for /var/val/chroot/packages/mnt/jpfe-EX34XX-9e8e03d9/var/platform-config/ex2300-48mp/aq409_ID23257_VER754.cld: No such file or directory
Mounting jdocs-ex-arm-32-20230308.221111_builder_junos_214_r3_s3
Mounting dsa-arm-32-21.4R3-S3.4
Hardware Database regeneration succeeded
Validating against /config/juniper.conf.gz
mgd: commit complete
Validation succeeded
NOTICE: 'pending' set will be activated at next reboot...
{master:0}
root@> exit
root@j:RE:0% ls -lrt /var/tmp/ | grep junos-arm-32-21.4R3-S3.4.tgz
root@jweb-ex3400a:RE:0% pwd
/var/tmp
Thanks
Hi @chidanandpujar
I'm not sure how you did your test on the EX4300, but when I do the installation through the CLI the installation package doesn't get deleted: https://pastebin.com/HRH2h8sQ
The EX3400 does delete it after installing as you showed in your output. This proves my earlier point that this only happens on this model.
Also, the output you are showing is a single member EX3400 VC. This bug only happens when there are 2 or more members in the VC. Can you do the full steps that I described earlier to reproduce the issue?
VC containing 2 or more EX3400 switches firmware copied to fpc0:/var/tmp/ member 0 master routing engine install firmware using sw.install pyez (I am not using Ansible so I don't know if it works there or not)
Hi @tijshuisman
Thanks for the information .
Please ignore Ansible, it is PyEZ .
we have single member EX3400-VC setup , I agree that image gets deleted after installation on member 0 and
PyEZ issues the RPC equivalent of request system software add <> member 0/1 from Master routing-engine , it is expected that the installation on member 1 will fail, if image gets deleted from the master member 0 .
This looks to me limitation of EX3400 box , unlink by default deletes the image on the master member 0 .
Please let us know , what is the expectation from PyEZ point of view .
Since this is limitation of EX3400 device , image gets deleted after installation from master member 0 .
Thanks & Regards Chidanand
Hi @tijshuisman ,
Please let us know , if we can pass the ordered list of member_ids = [ '2', '1', '0'] to control the installation of image on EX-VC members , since EX3400 deletes the image by default , we don't have any control on this on-box .
from jnpr.junos import Device
from xml.etree import ElementTree as etree
from pprint import pprint
from jnpr.junos.utils.sw import SW
dev = Device(host='xyz', user='xyz', password='xyz', gather_facts=False, port=22)
dev.open()
def myprogress(dev, report):
print("host: {}, report: {}".format( dev.hostname, report))
pkg2 = "junos-install-ex-x86-64-21.4R3-S3.4.tgz"
sw = SW(dev)
ok, msg = sw.install(package=pkg2, validate=False, remote_path='/var/tmp', progress=myprogress, no_copy=False, force_host=False, reboot=False, issu=False, cleanfs=False, v
mhost=False,all_re=True,member_id=['2','1','0'], timeout=4000)
if ok:
#sw.reboot()
print("Pass")
Thanks & Regards Chidanand
Hi @chidanandpujar,
Same issue with passing the ordered list with member_id, because of the way the loop over the vc members is constructed.
When member_id is defined pyez still goes through the vc_members list. The vc_members list is in numerical order. The order that you use for member_id is irrelevant.
Please let us know , what is the expectation from PyEZ point of view .
My suggestion would be to change the code so that it reflects how the CLI "request system software add" works. On both EX3400 and EX4300 the master RE is always done last when installing firmware through the CLI. So either change how the vc_members list is build (I guess this would be preffered but not sure how to approach this), or alter the list after it is made by moving the vc_master id to the end of the list.
vc_members = [
re.search(r"(\d+)", x).group(1)
for x in self._RE_list
if re.search(r"(\d+)", x)
]
vc_members.remove(self.dev.facts["vc_master"])
vc_members.append(self.dev.facts["vc_master"])
for vc_id in vc_members:
if vc_id in member_id:
_progress(
"installing software on VC member: {} ... please "
"be patient ...".format(vc_id)
)
Hi @tijshuisman Thanks very much for the support and sharing the details and logs of CLI installation and PyEZ installation. From the logs it is clear that CLI installation goes fine without any issues PyEZ has the issue , vc_master should be installed at the end , I will verify this change and share the results .
Thanks
Hi @tijshuisman Thanks for the suggestion , with current changes and master member will be installed at the end , please refer the logs . we don't have the EX3400- VC , I have tested the fix on EX4400 with 3 members , FPC1 being the master ,it gets installed at the end .
I will run Unit tests and Functional tests and shared the results here .
Member ID Status Serial No Model prio Role Mode Mode ID Interface
0 (FPC 0) Prsnt YK4422440016 ex4400-48f 129 Backup N VC 1 vcp-255/1/0
1 (FPC 1) Prsnt YK4422440015 ex4400-48f 129 Master* N VC 2 vcp-255/1/0
2 (FPC 2) Prsnt YK4422320034 ex4400-48f 0 Linecard N VC 1 vcp-255/1/0
python test_sw_install_ex.py
> /root/sw_install_member/venv/lib/python3.9/site-packages/junos_eznc-2.6.7+11.g244ab7d5.dirty-py3.9.egg/jnpr/junos/facts/personality.py(22)get_facts()
-> personality = None
(Pdb) c
host: nms5-ex4k-a, report: request-package-checks-pending-install rpc is not supported on given device
host: nms5-ex4k-a, report: computing checksum on local package: junos-install-ex-x86-64-21.4R3-S3.4.tgz
host: nms5-ex4k-a, report: before copy, computing checksum on remote package: /var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz
host: nms5-ex4k-a, report: checksum check passed.
host: nms5-ex4k-a, report: installing software on VC member: 0 ... please be patient ...
host: nms5-ex4k-a, report: software pkgadd package-result: 0
Output:
[Sep 14 10:32:01]: Checking pending install on fpc0
Pushing /var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz to fpc0:/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz
Verified junos-install-ex-x86-64-21.4R3-S3.4 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding deebe-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified dsa signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-21.4R3-S3.4 ...
Verified fips-mode signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230120.f3fd182_builder_stable_12_214 ...
Verified jcommon-bios-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jcommon-bios-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified jdocs-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jpfe-EX44XX signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX44XX-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jphone-home signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jsd-jet-1 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-21.4R3-S3.4-jet-1 ...
Verified jsdn signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-21.4R3-S3.4 ...
Verified junos-daemons signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-dp-crypto-support-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-l2-rsi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-compat32-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-dcp-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-openconfig signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-21.4R3-S3.4 ...
Verified junos-platform-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-probe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-aggregated signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-lsys signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-mpls-oam-basic signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jweb-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified na-telemetry signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-21.4R3-S3.4 ...
Verified oam-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-boot-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-efi-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-boot-junos-ve signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-junos-ve-x86-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-crypto signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-efi-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-kernel-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-vmguest signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-zoneinfo signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230120.f3fd182_builder_stable_12_214 ...
Verified platform-config-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding platform-config-ex-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-base signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-extensions signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
NOTICE: 'pending' set will be activated at next reboot...
host: nms5-ex4k-a, report: installing software on VC member: 2 ... please be patient ...
host: nms5-ex4k-a, report: software pkgadd package-result: 0
Output:
[Sep 14 10:33:38]: Checking pending install on fpc2
Pushing /var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz to fpc2:/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz
Verified junos-install-ex-x86-64-21.4R3-S3.4 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-21.4R3-S3.4 ...
Verified fips-mode signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230120.f3fd182_builder_stable_12_214 ...
Verified jcommon-bios-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jcommon-bios-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified jdocs-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jpfe-EX44XX signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX44XX-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jphone-home signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jsd-jet-1 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-21.4R3-S3.4-jet-1 ...
Verified jsdn signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-21.4R3-S3.4 ...
Verified junos-daemons signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-dp-crypto-support-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-l2-rsi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-compat32-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-dcp-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-openconfig signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-21.4R3-S3.4 ...
Verified junos-platform-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-probe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-aggregated signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-lsys signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-mpls-oam-basic signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jweb-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified na-telemetry signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-21.4R3-S3.4 ...
Verified oam-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-boot-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-efi-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-boot-junos-ve signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-junos-ve-x86-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-crypto signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-efi-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-kernel-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-vmguest signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-zoneinfo signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230120.f3fd182_builder_stable_12_214 ...
Verified platform-config-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding platform-config-ex-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-base signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-extensions signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
NOTICE: 'pending' set will be activated at next reboot...
host: nms5-ex4k-a, report: installing software on VC member: 1 ... please be patient ...
host: nms5-ex4k-a, report: software pkgadd package-result: 0
Output:
Verified junos-install-ex-x86-64-21.4R3-S3.4 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-21.4R3-S3.4 ...
Verified fips-mode signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230120.f3fd182_builder_stable_12_214 ...
Verified jcommon-bios-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jcommon-bios-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified jdocs-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jpfe-EX44XX signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX44XX-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jphone-home signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jsd-jet-1 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-21.4R3-S3.4-jet-1 ...
Verified jsdn signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-21.4R3-S3.4 ...
Verified junos-daemons signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-dp-crypto-support-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-l2-rsi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-compat32-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-modules signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-dcp-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-net-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-openconfig signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-21.4R3-S3.4 ...
Verified junos-platform-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-probe signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-aggregated signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-lsys signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-routing-mpls-oam-basic signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified junos-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified jweb-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified na-telemetry signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-21.4R3-S3.4 ...
Verified oam-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-boot-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-efi-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-boot-junos-ve signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-boot-junos-ve-x86-32-20230120.f3fd182_builder_stable_12_214 ...
Verified os-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-crypto signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-efi signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-efi-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-kernel-prd signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs-compat32 signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-libs signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-runtime signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230120.f3fd182_builder_stable_12_214 ...
Verified os-vmguest signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Verified os-zoneinfo signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230120.f3fd182_builder_stable_12_214 ...
Verified platform-config-ex signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding platform-config-ex-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-base signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
Verified py-extensions signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230308.221111_builder_junos_214_r3_s3 ...
NOTICE: 'pending' set will be activated at next reboot...
Pass
Netconf trace logs to check the order of installation .
root@nms5-ex4k-b:RE:1% cat /var/log/test.log | grep package-add
Sep 14 10:22:09 [NETCONF] - [84540] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:5fded0f2-43a2-42e2-9623-c959072c9bc6"><request-package-add><no-validate/><package-name>/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz</package-name><member>0</member></request-package-add></nc:rpc>]]>]]>
Sep 14 10:22:09 [NETCONF] - [84540] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:fca1cc73-321e-42e0-bafc-11ceb6544a92"><request-package-add><no-validate/><package-name>/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz</package-name><member>2</member></request-package-add></nc:rpc>]]>]]>
Sep 14 10:22:09 [NETCONF] - [84540] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:d67b0c30-6b33-43cd-8fb5-6e79fe5998bf"><request-package-add><no-validate/><package-name>/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz</package-name><member>1</member></request-package-add></nc:rpc>]]>]]>
Sep 14 10:32:01 [NETCONF] - [94770] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:236e0899-2d9f-4a6d-8152-826b9f54ed1d"><request-package-add><no-validate/><package-name>/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz</package-name><member>0</member></request-package-add></nc:rpc>]]>]]>
Sep 14 10:33:38 [NETCONF] - [94770] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:b355af4e-a5b0-4335-91a6-48f99194342a"><request-package-add><no-validate/><package-name>/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz</package-name><member>2</member></request-package-add></nc:rpc>]]>]]>
Sep 14 10:35:09 [NETCONF] - [94770] Incoming: <?xml version="1.0" encoding="UTF-8"?><nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:c399439b-d77f-46a1-9c38-837b7f39f609"><request-package-add><no-validate/><package-name>/var/tmp/junos-install-ex-x86-64-21.4R3-S3.4.tgz</package-name><member>1</member></request-package-add></nc:rpc>]]>]]>
root@nms5-ex4k-b:RE:1%
Thanks
UT logs
Preprovisioned Virtual Chassis
Virtual Chassis ID: e741.6eae.e4f3
Virtual Chassis Mode: Enabled
Mstr Mixed Route Neighbor List
Member ID Status Serial No Model prio Role Mode Mode ID Interface
0 (FPC 0) Prsnt YK4320430048 ex4400-48f 129 Master* N VC 1 vcp-255/1/0
1 vcp-255/1/1
1 (FPC 1) Prsnt YK4320430049 ex4400-48f 129 Backup N VC 0 vcp-255/1/0
0 vcp-255/1/1
from jnpr.junos import Device
from xml.etree import ElementTree as etree
from pprint import pprint
from jnpr.junos.utils.sw import SW
dev = Device(host='jweb-ex4400a', user='xyz', password='xyz', gather_facts=False, port=22)
dev.open()
def myprogress(dev, report):
print("host: {}, report: {}".format( dev.hostname, report))
#pkg = "junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz"
#pkg1 = "jselective-update-arm-J1-arm-32-23.3I20230502_0902_somasm.tgz"
pkg2 = "junos-install-ex-x86-64-23.1I-20230116.0.1429.tgz"
#pkg3 = "junos-arm-32-21.4R3-S3.4.tgz"
sw = SW(dev)
ok, msg = sw.install(package=pkg2, validate=False, remote_path='/var/tmp', progress=myprogress, no_copy=True, force_host=False, reboot=False, issu=False, cleanfs=False, vmhost=False,all_re=True, timeout=4000)
if ok:
#sw.reboot()
print("Pass")
~/pyez_release_268/py-junos-eznc/tests/functional# python test_sw_install_ex.py
host: jweb-ex4400a, report: request-package-checks-pending-install rpc is not supported on given device
host: jweb-ex4400a, report: installing software on VC member: 1 ... please be patient ...
host: jweb-ex4400a, report: software pkgadd package-result: 0
Output:
[Sep 28 21:52:27]: Checking pending install on fpc1
Pushing /var/tmp/junos-install-ex-x86-64-23.1I-20230116.0.1429.tgz to fpc1:/var/tmp/junos-install-ex-x86-64-23.1I-20230116.0.1429.tgz
Verified junos-install-ex-x86-64-23.1I-20230116.0.1429 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified auto-snapshot signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified fips-mode signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified jcommon-bios-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jcommon-bios-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified jdocs-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jpfe-EX44XX signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX44XX-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jphone-home signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jsd-jet-1 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-23.1I-20230116.0.1429-jet-1 ...
Verified jsdn signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-23.1I-20230116.0.1429 ...
Verified junos-daemons signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-dp-crypto-support-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-l2-rsi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs-compat32-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-modules-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-modules signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-net-dcp-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-net-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-openconfig signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-23.1I-20230116.0.1429 ...
Verified junos-platform-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-probe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-aggregated signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-lsys signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-runtime-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-sysmond-lite signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-sysmond-lite-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified jweb-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified na-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-23.1I-20230116.0.1429 ...
Verified oam-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-boot-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-boot-efi-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-boot-junos-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Updating /boot/firmware firmware-boot.tar ...
Updating /boot/loader-support loader-support-boot.tar ...
Updating /boot/platform platform-boot.tar ...
Updating /boot volume-junos-boot.tar ...
Adding os-boot-junos-ve-x86-32-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-efi-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-forward-compat-11 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-kernel-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-modules-net signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-modules-net-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-package signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256
Adding os-package-20221220.171511__ci_fbsd_builder_stable_12 ...
Verified os-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-zoneinfo signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified platform-config-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding platform-config-ex-20230117.070044__cd-builder_release_231_throttle ...
Verified py-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified py-extensions signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230117.070044__cd-builder_release_231_throttle ...
NOTICE: 'pending' set will be activated at next reboot...
host: jweb-ex4400a, report: installing software on VC member: 0 ... please be patient ...
host: jweb-ex4400a, report: software pkgadd package-result: 0
Output:
Verified junos-install-ex-x86-64-23.1I-20230116.0.1429 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified auto-snapshot signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified fips-mode signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified jcommon-bios-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jcommon-bios-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified jdocs-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jpfe-EX44XX signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX44XX-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jphone-home signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jsd-jet-1 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-23.1I-20230116.0.1429-jet-1 ...
Verified jsdn signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-23.1I-20230116.0.1429 ...
Verified junos-daemons signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-dp-crypto-support-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-l2-rsi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs-compat32-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-modules-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-modules signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-net-dcp-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-net-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-openconfig signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-23.1I-20230116.0.1429 ...
Verified junos-platform-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-probe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-aggregated signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-lsys signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-runtime-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-sysmond-lite signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-sysmond-lite-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified jweb-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified na-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-23.1I-20230116.0.1429 ...
Verified oam-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-boot-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-boot-efi-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-boot-junos-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Updating /boot/firmware firmware-boot.tar ...
Updating /boot/loader-support loader-support-boot.tar ...
Updating /boot/platform platform-boot.tar ...
Updating /boot volume-junos-boot.tar ...
Adding os-boot-junos-ve-x86-32-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-efi-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-forward-compat-11 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-kernel-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-modules-net signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-modules-net-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-package signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256
Adding os-package-20221220.171511__ci_fbsd_builder_stable_12 ...
Verified os-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-zoneinfo signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified platform-config-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding platform-config-ex-20230117.070044__cd-builder_release_231_throttle ...
Verified py-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified py-extensions signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230117.070044__cd-builder_release_231_throttle ...
NOTICE: 'pending' set will be activated at next reboot...
Pass
from jnpr.junos import Device
from xml.etree import ElementTree as etree
from pprint import pprint
from jnpr.junos.utils.sw import SW
dev = Device(host='jweb-ex4400a', user='xyz', password='xyz', gather_facts=False, port=22)
dev.open()
def myprogress(dev, report):
print("host: {}, report: {}".format( dev.hostname, report))
#pkg = "junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz"
#pkg1 = "jselective-update-arm-J1-arm-32-23.3I20230502_0902_somasm.tgz"
pkg2 = "junos-install-ex-x86-64-23.1I-20230116.0.1429.tgz"
#pkg2 = "junos-install-ex-x86-64-21.4R3-S3.4.tgz"
sw = SW(dev)
ok, msg = sw.install(package=pkg2, validate=False, remote_path='/var/tmp', progress=myprogress, no_copy=True, force_host=False, reboot=False, issu=False, cleanfs=False, vmhost=False,all_re=True,member_id=['0'], timeout=4000)
if ok:
#sw.reboot()
print("Pass")
~/pyez_release_268/py-junos-eznc/tests/functional# python test_sw_install_member_ex.py
host: jweb-ex4400a, report: request-package-checks-pending-install rpc is not supported on given device
host: jweb-ex4400a, report: installing software on VC member: 0 ... please be patient ...
host: jweb-ex4400a, report: software pkgadd package-result: 0
Output:
Verified junos-install-ex-x86-64-23.1I-20230116.0.1429 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified auto-snapshot signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified fips-mode signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified jcommon-bios-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jcommon-bios-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified jdocs-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jdocs-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jpfe-EX44XX signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-EX44XX-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jphone-home signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified jsd-jet-1 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-23.1I-20230116.0.1429-jet-1 ...
Verified jsdn signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-23.1I-20230116.0.1429 ...
Verified junos-daemons signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-dp-crypto-support-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-l2-rsi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs-compat32-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-modules-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-ex-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-modules signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-net-dcp-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-dcp-prd-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-net-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-openconfig signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-23.1I-20230116.0.1429 ...
Verified junos-platform-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-platform-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-probe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-aggregated signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-lsys signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-runtime-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified junos-sysmond-lite signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-sysmond-lite-x86-64-20230117.070044__cd-builder_release_231_throttle ...
Verified jweb-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jweb-ex-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified na-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-23.1I-20230116.0.1429 ...
Verified oam-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-boot-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-boot-efi-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-boot-junos-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-boot-junos-ve-x86-32-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-efi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-efi-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-forward-compat-11 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-kernel-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-modules-net signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-modules-net-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-package signed by PackageDevelopmentECP256_2022 method ECDSA256+SHA256
Adding os-package-20221220.171511__ci_fbsd_builder_stable_12 ...
Verified os-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-zoneinfo signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230111.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified platform-config-ex signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding platform-config-ex-20230117.070044__cd-builder_release_231_throttle ...
Verified py-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230117.070044__cd-builder_release_231_throttle ...
Verified py-extensions signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230117.070044__cd-builder_release_231_throttle ...
NOTICE: 'pending' set will be activated at next reboot...
Pass
from jnpr.junos import Device
from xml.etree import ElementTree as etree
from pprint import pprint
from jnpr.junos.utils.sw import SW
dev = Device(host='xx.xx.xx.xx', user='xyz', password='xyz', gather_facts=False, port=22)
dev.open()
def myprogress(dev, report):
print("host: {}, report: {}".format( dev.hostname, report))
#pkg = "junos-install-ex-x86-64-22.4I62500TB237700_cd-builder.tgz"
#pkg1 = "jselective-update-arm-J1-arm-32-23.3I20230502_0902_somasm.tgz"
#pkg2 = "junos-install-ex-x86-64-23.1I-20230116.0.1429.tgz"
#pkg3 = "junos-arm-32-21.4R3-S3.4.tgz"
pkg2 = "junos-x86-64-23.3I-20230416_dev_common.0.1826.tgz"
sw = SW(dev)
ok, msg = sw.install(package=pkg2, validate=False, remote_path='/var/tmp', progress=myprogress, no_copy=True, force_host=False, reboot=False, issu=False, cleanfs=False, vm
host=False,all_re=True, timeout=4000)
if ok:
#sw.reboot()
print("Pass")
~/pyez_release_268/py-junos-eznc/tests/functional# python test_sw_install_ex.py
host: 10.53.102.192, report: request-package-checks-pending-install rpc is not supported on given device
host: 10.53.102.192, report: installing software on RE0 ... please be patient ...
host: 10.53.102.192, report: software pkgadd package-result: 0
Output:
Verified junos-x86-64-23.3I-20230416_dev_common.0.1826 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified auto-snapshot signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-20230417.054444__cd-builder_dev_common ...
Verified fips-mode signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified jdocs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jdocs-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jfirmware signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jfirmware-x86-32-23.3I20230404_0101__devpublish ...
Verified jinsight signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jinsight-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jmrt-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jmrt-base-x86-64-20230417.054444__cd-builder_dev_common ...
Verified jmrt-test signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jmrt-test-x86-64-20230417.054444__cd-builder_dev_common ...
Verified jpfe-X signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-X-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-X960 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-X960-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-aft signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-aft-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-common signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-common-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-fips signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jpfe-spc3-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-spc3-mx-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jpfe-wrlinux signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-wrlinux-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-wrlinux9 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-wrlinux9-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-wrlinuxlts19-pmb signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-wrlinuxlts19-pmb-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jphone-home signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsd-jet-1 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-23.3I-20230416_dev_common.0.1826-jet-1 ...
Verified jsdn signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jservices-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-crypto-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jservices-crypto-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-crypto-base-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-ipsec signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-ipsec-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-rtcom signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-rtcom-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-ssl signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-ssl-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-tcp-log signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-tcp-log-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jservices-aacl signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-aacl-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-alg signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-alg-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-appid signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-appid-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-cos signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-cos-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-cpcd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-cpcd-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-dnsf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-dnsf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-hcm signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-hcm-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-idp signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-idp-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-ids signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-ids-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-jdpi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-jdpi-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-jflow signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-jflow-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-llpdf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-llpdf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-lrf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-lrf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-mobile signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-mobile-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-mss signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-mss-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-nat signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-nat-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-pcef signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-pcef-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-rpm signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-rpm-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-sfw signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-sfw-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-softwire signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-softwire-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-telemetry-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-traffic-dird signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-traffic-dird-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-urlf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-urlf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-pfe-internal signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-pfe-internal-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-pfe-vmx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-pfe-vmx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-pfe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-pfe-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-wrlinux signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-wrlinux-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jtpm2 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jtpm2-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-appidd-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-appidd-mx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-appidd-srx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-attestation signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-bbe-up signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-bbe-up-x86-64-23.3I-20230416_dev_common.0.1826 ...
Verified junos-daemons-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-daemons signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-dp-crypto-support-mtx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-mtx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-ike-debug signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-ike signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-jsqlsync signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-jsqlsync-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-km signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-km-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-l2-rsi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230417.054444__cd-builder_dev_common ...
Verified junos-libs-compat32-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-libs-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-modules-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-modules signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-net-mtx-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-mtx-prd-x86-64-20230417.021153__cd-builder_dev_common ...
Verified junos-net-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-openconfig signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified junos-platform signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-platform-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-pppoe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-probe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-redis signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-redis-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-aggregated signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-controller-external signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-controller-external-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-controller-internal signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-controller-internal-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-lsys signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-mpls-oam-advanced signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-advanced-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-rpd-telemetry-application signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-rpd-telemetry-application-x86-64-23.3I-20230416_dev_common.0.1826 ...
Verified junos-runtime-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-mx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-secintel signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-secintel-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-security-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-sysmond-full signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-sysmond-full-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-unified-services signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-vmguest-mtx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-vmguest-nfx-3 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jweb-srx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jweb signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified na-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified oam-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Installing OAM volume contents ...
The OAM volume is now installed
Updating OAM boot
Updating OAM loader
Verified os-boot-junos-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Updating /boot junos-boot.tar ...
Updating /boot loader-ve-boot.tar ...
Adding os-boot-junos-ve-x86-32-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-forward-compat-11 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-kernel-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-modules-net signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-modules-net-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-package signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-package-20230405.180908__ci_fbsd_builder_stable_12 ...
Verified os-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-vmguest-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-zoneinfo signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified py-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230417.054444__cd-builder_dev_common ...
Verified py-extensions signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230417.054444__cd-builder_dev_common ...
Verified sflow-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding sflow-mx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified vrr-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
NOTICE: 'pending' set will be activated at next reboot...
host: 10.53.102.192, report: installing software on RE1 ... please be patient ...
host: 10.53.102.192, report: software pkgadd package-result: 0
Output:
Pushing /var/tmp/junos-x86-64-23.3I-20230416_dev_common.0.1826.tgz to re1:/var/tmp/junos-x86-64-23.3I-20230416_dev_common.0.1826.tgz
Verified junos-x86-64-23.3I-20230416_dev_common.0.1826 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified auto-snapshot signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified deebe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified dsa signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding dsa-x86-64-20230417.054444__cd-builder_dev_common ...
Verified fips-mode signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jail-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jail-runtime-x86-32-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified jdocs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jdocs-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jfirmware signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jfirmware-x86-32-23.3I20230404_0101__devpublish ...
Verified jinsight signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jinsight-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jmrt-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jmrt-base-x86-64-20230417.054444__cd-builder_dev_common ...
Verified jmrt-test signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jmrt-test-x86-64-20230417.054444__cd-builder_dev_common ...
Verified jpfe-X signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-X-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-X960 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-X960-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-aft signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-aft-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-common signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-common-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-fips signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jpfe-spc3-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-spc3-mx-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jpfe-wrlinux signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-wrlinux-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-wrlinux9 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-wrlinux9-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jpfe-wrlinuxlts19-pmb signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jpfe-wrlinuxlts19-pmb-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jphone-home signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jphone-home-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsd-jet-1 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsd-x86-32-23.3I-20230416_dev_common.0.1826-jet-1 ...
Verified jsdn signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsdn-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jservices-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-crypto-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jservices-crypto-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-crypto-base-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-ipsec signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-ipsec-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-rtcom signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-rtcom-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-ssl signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-ssl-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-tcp-log signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-tcp-log-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified jservices-aacl signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-aacl-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-alg signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-alg-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-appid signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-appid-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-cos signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-cos-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-cpcd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-cpcd-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-dnsf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-dnsf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-hcm signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-hcm-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-idp signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-idp-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-ids signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-ids-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-jdpi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-jdpi-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-jflow signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-jflow-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-llpdf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-llpdf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-lrf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-lrf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-mobile signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-mobile-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-mss signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-mss-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-nat signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-nat-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-pcef signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-pcef-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-rpm signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-rpm-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-sfw signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-sfw-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-softwire signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-softwire-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-telemetry-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-traffic-dird signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-traffic-dird-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jservices-urlf signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jservices-urlf-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-pfe-internal signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-pfe-internal-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-pfe-vmx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-pfe-vmx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-pfe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-pfe-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jsim-wrlinux signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jsim-wrlinux-x86-32-20230417.054444__cd-builder_dev_common ...
Verified jtpm2 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding jtpm2-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-appidd-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-appidd-mx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-appidd-srx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-attestation signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-bbe-up signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-bbe-up-x86-64-23.3I-20230416_dev_common.0.1826 ...
Verified junos-daemons-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-daemons signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-daemons-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-dp-crypto-support-mtx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-dp-crypto-support-mtx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-ike-debug signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-ike signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-jsqlsync signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-jsqlsync-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-km signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-km-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-l2-rsi signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-l2-rsi-20230417.054444__cd-builder_dev_common ...
Verified junos-libs-compat32-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-compat32-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-libs-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-libs-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-modules-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-mx-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-modules signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-modules-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-net-mtx-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-mtx-prd-x86-64-20230417.021153__cd-builder_dev_common ...
Verified junos-net-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-net-prd-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-openconfig signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-openconfig-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified junos-platform signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-platform-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-pppoe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-probe signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-probe-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-redis signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-redis-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-aggregated signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-aggregated-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-compat32-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-controller-external signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-controller-external-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-controller-internal signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-controller-internal-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-lsys signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-lsys-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-mpls-oam-advanced signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-advanced-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-routing-mpls-oam-basic signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-routing-mpls-oam-basic-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-rpd-telemetry-application signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-rpd-telemetry-application-x86-64-23.3I-20230416_dev_common.0.1826 ...
Verified junos-runtime-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-mx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-runtime-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-secintel signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-secintel-x86-32-20230417.054444__cd-builder_dev_common ...
Verified junos-security-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-sysmond-full signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding junos-sysmond-full-x86-64-20230417.054444__cd-builder_dev_common ...
Verified junos-unified-services signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-vmguest-mtx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-vmguest-nfx-3 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified junos-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jweb-srx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified jweb signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified na-telemetry signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding na-telemetry-x86-32-23.3I-20230416_dev_common.0.1826 ...
Verified oam-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Installing OAM volume contents ...
The OAM volume is now installed
Updating OAM boot
Updating OAM loader
Verified os-boot-junos-ve signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Updating /boot junos-boot.tar ...
Updating /boot loader-ve-boot.tar ...
Adding os-boot-junos-ve-x86-32-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-compat32-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-crypto signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-crypto-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-forward-compat-11 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Verified os-kernel-prd signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-kernel-prd-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs-compat32 signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-compat32-12-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-libs signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-libs-12-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-modules-net signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-modules-net-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-package signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-package-20230405.180908__ci_fbsd_builder_stable_12 ...
Verified os-runtime signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-runtime-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-vmguest signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-vmguest-x86-64-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified os-zoneinfo signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding os-zoneinfo-20230411.32ed862a0f7__ci_fbsd_builder_stable_12 ...
Verified py-base signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20230417.054444__cd-builder_dev_common ...
Verified py-extensions signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20230417.054444__cd-builder_dev_common ...
Verified sflow-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
Adding sflow-mx-x86-32-20230417.054444__cd-builder_dev_common ...
Verified vrr-mx signed by PackageDevelopmentECP256_2023 method ECDSA256+SHA256
NOTICE: 'pending' set will be activated at next reboot...
Pass
fix is merged https://github.com/Juniper/py-junos-eznc/pull/1263
Great to hear, thank you for the work on this issue!
Since 20.x the Juniper EX2300 and EX3400 models have the unlink option on by default when installing software. The unlink option removes the installation package when done with installing. This cannot be turned off as far as I'm aware. The approach that sw.install() uses in a virtual chassis setup is to iterate over a list of all VC members, and use pkgadd for each individual member to install the software. The problem that this causes is that when the member that is the master in the virtual chassis is finished with upgrading, the installation package is removed from the master. This installation package will be referenced again in following pkgadd commands for other members, however the file doesn't exist anymore since it is deleted because of the unlink option.
I'm working around this issue for now by altering the vc_members list order, always putting the virtual chassis master member as the last member in the list.
vc_members.remove(self.dev.facts["vc_master"])
vc_members.append(self.dev.facts["vc_master"])
https://github.com/Juniper/py-junos-eznc/blob/e19a7683be1da67140798987ac42e8c82041c393/lib/jnpr/junos/utils/sw.py#L1002-L1014