-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: run tests #113
base: main
Are you sure you want to change the base?
ci: run tests #113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we run the test as the following? We'll need to add a profile with SECOFR authority.
java -cp staging/jt400-${{ env.project_version }}-java8.jar: test.jar test.RegressionTest -tc JDBC -tc UserSpace -tc DataArea -tc Conv -tc CommandCall -system ${{ secrets.IBMI_TEST_SYS }} -uid ${{ secrets.IBMI_TEST_USER }} -pwd ${{ secrets.IBMI_TEST_PW }} -pwrSys ${{ ${{ secrets.IBMI_PWR_USER }},secrets.IBMI_PWR_PWD }}
Is there a way to save the output of the run?
Can we check the output for the string --
Sure. Does that mean failure or success? |
Signed-off-by: John Eberhard <[email protected]> Signed-off-by: Jesse Gorzinski <[email protected]>
Squashed some commits, now getting a new failure Cleanup failed:
com.ibm.as400.access.ObjectDoesNotExistException: /QSYS.LIB/USTEST.LIB/USWRITE.USRSPC: Object does not exist.
at com.ibm.as400.access.UserSpaceImplRemote.buildException(UserSpaceImplRemote.java:62)
at com.ibm.as400.access.UserSpaceImplRemote.delete(UserSpaceImplRemote.java:188)
at com.ibm.as400.access.UserSpace.delete(UserSpace.java:403)
at test.UserSpacePgmCallTestcase.deleteUserSpace(UserSpacePgmCallTestcase.java:73)
at test.UserSpacePgmCallTestcase.Var026(UserSpacePgmCallTestcase.java:1069)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at test.Testcase.invokeVariation(Testcase.java:1720)
at test.Testcase.run(Testcase.java:2267)
at test.TestDriver.run(TestDriver.java:868)
at test.TestDriver.start(TestDriver.java:1113)
at test.RegressionTest.main(RegressionTest.java:82) |
Looks like the call to create the user space is silently failing.
That call should have created the user space. I wonder if there is an authority problem with the profile running the test. |
No description provided.