On Windows the new test fails when no Wix Toolkit is installed - I would have expected a JTreg SkippedException in this case.
On some Linux machines I see the following errors:
[01:37:47.157] STARTED jdk.jpackage.internal.cli.MainTest::testOutput '[3] TestSpec[args=[foo, bar], expectedExitCode=1, expectedStdout=[], expectedStderr=[Found 2 non-option arguments on the command line. Non-option arguments are not allowed]]'
org.opentest4j.AssertionFailedError: expected: <[Found 2 non-option arguments on the command line. Non-option arguments are not allowed]> but was: <[Found 2 non-option arguments on the command line. Non-option arguments are not allowed, Default bundling operation is undefined, Advice to fix: Add --type parameter to the command line]>
and
[01:37:47.805] STARTED jdk.jpackage.internal.cli.MainTest::testOutput '[8] TestSpec[args=[foo, --version], expectedExitCode=1, expectedStdout=[], expectedStderr=[Found 1 non-option arguments on the command line. Non-option arguments are not allowed]]'
org.opentest4j.AssertionFailedError: expected: <[Found 1 non-option arguments on the command line. Non-option arguments are not allowed]> but was: <[Found 1 non-option arguments on the command line. Non-option arguments are not allowed, Default bundling operation is undefined, Advice to fix: Add --type parameter to the command line]>
It seems that there is also "error.undefined-default-bundling-operation.advice" added as output. But I see no reason why this only happens on some Linux test machines.
On some Linux machines I see the following errors:
[01:37:47.157] STARTED jdk.jpackage.internal.cli.MainTest::testOutput '[3] TestSpec[args=[foo, bar], expectedExitCode=1, expectedStdout=[], expectedStderr=[Found 2 non-option arguments on the command line. Non-option arguments are not allowed]]'
org.opentest4j.AssertionFailedError: expected: <[Found 2 non-option arguments on the command line. Non-option arguments are not allowed]> but was: <[Found 2 non-option arguments on the command line. Non-option arguments are not allowed, Default bundling operation is undefined, Advice to fix: Add --type parameter to the command line]>
and
[01:37:47.805] STARTED jdk.jpackage.internal.cli.MainTest::testOutput '[8] TestSpec[args=[foo, --version], expectedExitCode=1, expectedStdout=[], expectedStderr=[Found 1 non-option arguments on the command line. Non-option arguments are not allowed]]'
org.opentest4j.AssertionFailedError: expected: <[Found 1 non-option arguments on the command line. Non-option arguments are not allowed]> but was: <[Found 1 non-option arguments on the command line. Non-option arguments are not allowed, Default bundling operation is undefined, Advice to fix: Add --type parameter to the command line]>
It seems that there is also "error.undefined-default-bundling-operation.advice" added as output. But I see no reason why this only happens on some Linux test machines.
- caused by
-
JDK-8333727 Use JOpt in jpackage to parse command line
-
- Resolved
-