Test mach5 build:
https://jpg-data.us.oracle.com/artifactory/jdk-dev-local/jdk/personal/alexey.semenyuk/2022-04-12-1650563.alexey.semenyuk.jdk10
Need to create ServiceTest and UpdateServiceTest artifacts.
ServiceTest creates three packages: ServiceTest-1.0.pkg, UpdateServiceTest-1.0.pkg, and UpdateServiceTest-2.0.pkg. The test can be executed in a regular invocation of run_tests.sh script you use to produce artifacts for testing.
IMPORTANT NOTE: To reproduce this bug machine used for creating test artifacts and machine you run on should be DIFFERENT machines
Steps to Reproduce:
(1) Open terminal and run command: sudo installer -allowUntrusted -pkg ServiceTest-1.0.pkg -target /
(2) In terminal run command: cat /Applications/ServiceTest.app/Contents/app/ServiceTest.cfg
(3) Copy "Djpackage.test.appOutput" path, it will look something like "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/launcher-as-service.txt" (path will be different than this, but should be in /var/folders directory)
(4) In terminal run command: ls /copied/path/to/launcher-as-service.txt
(a) VERIFY this file exists
Expected Result:
launcher-as-service.txt file exists in path found in ServiceTest.cfg file
Actual Result:
launcher-as-service.txt file does NOT exist
This bug is only reproduced if you run on a DIFFERENT machine than the machine the test artifacts were created on
https://jpg-data.us.oracle.com/artifactory/jdk-dev-local/jdk/personal/alexey.semenyuk/2022-04-12-1650563.alexey.semenyuk.jdk10
Need to create ServiceTest and UpdateServiceTest artifacts.
ServiceTest creates three packages: ServiceTest-1.0.pkg, UpdateServiceTest-1.0.pkg, and UpdateServiceTest-2.0.pkg. The test can be executed in a regular invocation of run_tests.sh script you use to produce artifacts for testing.
IMPORTANT NOTE: To reproduce this bug machine used for creating test artifacts and machine you run on should be DIFFERENT machines
Steps to Reproduce:
(1) Open terminal and run command: sudo installer -allowUntrusted -pkg ServiceTest-1.0.pkg -target /
(2) In terminal run command: cat /Applications/ServiceTest.app/Contents/app/ServiceTest.cfg
(3) Copy "Djpackage.test.appOutput" path, it will look something like "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/launcher-as-service.txt" (path will be different than this, but should be in /var/folders directory)
(4) In terminal run command: ls /copied/path/to/launcher-as-service.txt
(a) VERIFY this file exists
Expected Result:
launcher-as-service.txt file exists in path found in ServiceTest.cfg file
Actual Result:
launcher-as-service.txt file does NOT exist
This bug is only reproduced if you run on a DIFFERENT machine than the machine the test artifacts were created on
- relates to
-
JDK-8236128 Allow jpackage create installers for services
-
- Resolved
-