Hi,

I am working on SEA code removal from Nevada which involves file removal from ON and SFW gates.

Some, daemons and SMF services are removed. And the changes also involve removing some packages, modifying some others.
Removing sea, sea-config, mibiisa
Modifying library/lint, net-snmp, net-snmp/addons

The ON gate on nightly generates IPS packages and the SFW gate generates SVR4 packages.

To test my package specific changes, I created a custom repository with the modified/obsoleted packages along with necessary changes to
consolidations. The commands run are as below

Start the repository:

/usr/lib/pkg.depotd -d /mytmp -p 16000 --set-property publisher.prefix=seatest


Upload the custom packages as below:

<snip>

export PKG_REPO=http://localhost:16000

eval `pkgsend open pkg:/consolidation/osnet/[email protected],5.11-0.142`

pkgsend include /mypkg/osnet/consolidation%2Fosnet%2Fosnet-incorporation/0.5.11%2C5.11-0.142%3A20100621T175418Z/manifest

pkgsend close

eval `pkgsend open pkg:/system/management/snmp/sea/[email protected],5.11-0.143`

pkgsend import /mypkg/system%2Fmanagement%2Fsnmp%2Fsea%2Fsea-config

pkgsend close

eval `pkgsend open pkg:/system/management/snmp/[email protected],5.11-0.143`

pkgsend import /mypkg/system%2Fmanagement%2Fsnmp%2Fsea

pkgsend close

eval `pkgsend open pkg:/service/network/snmp/[email protected],5.11-0.143`

pkgsend import /mypkg/service%2Fnetwork%2Fsnmp%2Fmibiisa

pkgsend close

eval `pkgsend open pkg:/developer/library/[email protected],5.11-0.143`

pkgsend import /mypkg/developer%2Flibrary%2Flint

pkgsend close

eval `pkgsend open pkg:/[email protected],5.11-0.142`

pkgsend include /mypkg/entinc/entire/0.5.11%2C5.11-0.142%3A20100621T233642Z/manifest

pkgsend close

eval `pkgsend open pkg:/consolidation/sfw/[email protected],5.11-0.142`

pkgsend include /mypkg/sfwinc/consolidation%2Fsfw%2Fsfw-incorporation/0.5.11%2C5.11-0.143%3A20100706T172641Z/manifest

pkgsend close

eval `pkgsend open pkg:/system/management/snmp/[email protected],5.11-0.143`

pkgsend import /mypkg/SUNWnet-snmp-mgr

pkgsend import /mypkg/SUNWnet-snmp-utils

pkgsend import /mypkg/SUNWnet-snmp-core

pkgsend close

</snip>

I had to modify the consolidations osnet and sfw because to upgrade my custom packages, I had to remove those entries from the consolidations. Otherwise, pkg command would not allow them to be upgraded.

My custom repo url at http://129.158.193.98:16000/
I then used that repository to install the packages onto a test box(Running nv_142).

pkg install pkg://seatest/consolidation/osnet/[email protected],5.11-0.142 pkg install pkg://seatest/system/management/snmp/sea/[email protected],5.11-0.143
pkg install pkg://seatest/system/management/snmp/[email protected],5.11-0.143
pkg install pkg://seatest/service/network/snmp/[email protected],5.11-0.143
pkg install pkg://seatest/developer/library/[email protected],5.11-0.143
pkg install pkg://seatest/[email protected],5.11-0.142
pkg install pkg://seatest/consolidation/sfw/[email protected],5.11-0.142
pkg install pkg://seatest/system/management/snmp/[email protected],5.11-0.143

That worked fine and the packages were updated as expected.

I am not sure if this testing done is sufficient. So, I wanted to know what sort of
testing should be done when IPS/SVR4 packages are obsoleted/modified?

And, how do u test a complete image upgrade of a system to the latest modified packages? Do I need to setup a complete to do so?

Please let me know if there is any specific testing that needs to be done before I can integrate the changes to the specific gates.

Regards,
Gowtham
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to