Bug 1193447
| Summary: | Syntax error on Solaris 10 on applying JON 3.3.1.CR01 patch | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Sunil Kondkar <skondkar> |
| Component: | Installer | Assignee: | Libor Zoubek <lzoubek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.1 | CC: | fbrychta, loleary, lzoubek, spinder, theute |
| Target Milestone: | CR03 | ||
| Target Release: | JON 3.3.1 | ||
| Hardware: | x86_64 | ||
| OS: | Solaris | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-27 19:58:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1088046 | ||
|
Description
Sunil Kondkar
2015-02-17 11:03:29 UTC
This is regression caused when fixing Bug 1081114 Cherry-picked to release/jon3.3.x with commit: d3e4fac26b20b36b03e Moving to MODIFIED for testing in latest build. Moving to ON_QA as available to test with latest CP build: http://download.devel.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/19/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip *Note: jon-server-patch-3.3.0.GA.zip maps to CR02 build of jon-server-3.3.0.GA-update-01.zip. Tested on JON 3.3.1.CR02
When tried to apply the patch, there is no syntax error, however it shows below and the patch could not be executed:
./apply-updates.sh: test: argument expected
Steps to Reproduce:
-Install JON 3.3.0.GA
-Stop with ./rhqctl stop
-Apply the JON 3.3.1.CR02 patch with ./apply-updates.sh
# ./apply-updates.sh /export/home/JON3.3GA/jon-server-3.3.0.GA
Testing for INSTALL_PATCH_DEST[JON Server|JON agent] directory.
Successfully detected server [/export/home/JON3.3GA/jon-server-3.3.0.GA] to be upgraded. Proceeding...
Proceeding with application of patch '01' to /export/home/JON3.3GA/jon-server-3.3.0.GA
Checking [Server] file permissions...
./apply-updates.sh: test: argument expected
One more commit(2dcb4c4d66bff80b) to catch a few more changes needed for solaris to remove bash remnants to make the script more posix compliant. Available for test in the following build: http://download.devel.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/21/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip Moving to ON_QA. Verified on JON 3.3.1.CR03 The patch is applied successfully to JON 3.3.0.GA. No errors while execution of apply-updates.sh on Solaris 10. |