aqa-tests: Functional tests do not compile on z/OS

When functional teat compilation is attempted on z/OS, we get the following type of errors:

11:35:49     [javac] /home/jenkins/workspace/Test-sanity.functional-JDK11-zos_390-64_cmprssptrs/openjdk-tests/functional/IllegalAccessError_for_protected_method/src/org/openj9/test/Agent.java:1: error: illegal character: '\u0015'

I suspect this is due to the fact that we are not supplying the correct encoding value in the build.xml files of the functional tests.

We need to define what file encoding to be used for Java source files for tests as we do in case of system tests.

Build link: https://hyc-runtimes-jenkins.swg-devops.com/view/Test_functional/job/Test-sanity.functional-JDK11-zos_390-64_cmprssptrs/9/console

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

The Tap file issue should be fixed: #722

Thanks for @vsebe help!

@Mesbah-Alam, @renfeiw and I had the discussion. We actually have mutiple issues on zos. We will work on the following:

  • ottawa.csv cannot be parsed (@renfeiw )
  • some fucntional test does copy in ant which does not copy the proper tag. (@llxia )
  • TAP file cannot be processed in master (@renfeiw )
  • system test output contains special characters (@Mesbah-Alam )

FYI @llxia - this is the issue i was speaking about earlier.

Functional tests are using encoding="ISO-8859-1" (e.g. jsr292).

We need to update this and use IBM-1047 while on z/OS.