Skip to content
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

WIP: Archive test_output folder if build 'UNSTABLE' #1882

Closed
wants to merge 43 commits into from

Conversation

smlambert
Copy link
Contributor

@smlambert smlambert commented May 10, 2018

If tests fail, we archive the test output, which will include test results, gc logs, and other test artifacts.
[ci skip]
Signed-off-by: smlambert slambert@gmail.com

AdamBrousseau and others added 9 commits May 3, 2018 12:05
- Add Windows variables
- Add to nightly build
- Add PullRequest Builds
- Update README

[skip ci]

Issue eclipse-openj9#1662

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
gcc-7.3 issues -Werror=unused-const-variable= error for j9_threadCleanup
and j9_cleanup.

Removed unused constants j9_threadCleanup and j9_cleanup to allow
compilation with gcc-7.3. 

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
J9VMThreadPointerUtil.getJ9State() was copied from thrinfo.c but is
missing some checks.  This can lead to a NULL pointer dereference,
causing a CorruptDataException to be thrown.

Signed-off-by: Graham Chapman <graham_chapman@ca.ibm.com>
Signed-off-by: smlambert <slambert@gmail.com>
Signed-off-by: Dan Heidinga <daniel_heidinga@ca.ibm.com>
[skip ci]

Issue eclipse-openj9#1873

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Limit variable lifetimes to smallest enclosing scope
DanHeidinga and others added 2 commits May 10, 2018 09:19
It relied on API [Thread.stop(Throwable)] that has long since been
deprecated (and marked for removal starting with Java 9); there's
no practical replacement implementation strategy.

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
@smlambert smlambert self-assigned this May 10, 2018
@smlambert
Copy link
Contributor Author

@AdamBrousseau - if I wish to test a change to pipelines, do I need to setup a special build (that uses my branch)? If so, which sandbox build is best for me to copy from when I create it?

Copy link
Contributor

@AdamBrousseau AdamBrousseau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test this simply launch a PR build. The build will use your files.

@@ -96,6 +96,12 @@ def publish() {
junit allowEmptyResults: true, keepLongStdio: true, testResults: '**/junitreports/**/*.xml'
step([$class: 'Publisher', reportFilenamePattern: '**/testng-results.xml'])
step([$class: "TapPublisher", testResults: "**/*.tap"])
withEnv(["WORKSPACE=${WORKSPACE}", "currentBuild=${currentBuild}"]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need this line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thanks, and yes, wondered as they are both global...

pshipton and others added 9 commits May 10, 2018 11:19
…_to_nightly

Add JenkinsFiles for Windows
check if the return value is BCT_ERR_OUT_OF_ROM and return the
error to increase buffer size rather than marking annotation as
malformed.

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
OpenJ9 builds are normally configured on a host compatible with the
target; only apply 'OMR_CROSS_CONFIGURE=yes' for use on J9 VMFarm
machines (when CALLED_BY_SOURCE_ZIP is 'yes').

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
gcc-7.3 issues -Werror=unused-const-variable= error for MAGENTA, BLUE,
YELLOW, GREEN and RED in linearswalk.c.

Removed unused constants MAGENTA, BLUE, YELLOW, GREEN and RED in
linearswalk.c to allow compilation with gcc-7.3.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Added spaces between literal and string macro to allow compilation with
gcc-7.3.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Removed unused constants within jvmtiExtensionMechanism.c to allow
compilation with gcc-7.3.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Buffer size doubled for actualCacheDir in order to prevent
-Werror=format-overflow= error while compiling with gcc-7.3.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
This docker file can be used to build JDK11 using OpenJ9. It installs
gcc-7.3 and g++7.3 for building JDK11.

Currently, no JDK10 with OpenJ9 releases are available at AdoptOpenJDK.
So, the AdoptOpenJDK API can't be used to download a boot JDK. So, a
nightly JDK10 OpenJ9 build is currently used as the boot JDK. Once JDK10
OpenJ9 releases are available, the following link can be used to
download the JDK10 OpenJ9 boot JDK:
https://api.adoptopenjdk.net/openjdk10-openj9/releases/x64_linux/latest/binary.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Signed-off-by: smlambert <slambert@gmail.com>
@smlambert
Copy link
Contributor Author

Jenkins test sanity jdk8 plinux

@smlambert
Copy link
Contributor Author

Jenkins test sanity plinux jdk8

babsingh and others added 4 commits May 10, 2018 17:35
software-properties-common and python-software-properties are only
needed to install add-apt-repository. add-apt-repository is not used to
add a repository. so, software-properties-common and
python-software-properties dependencies have been removed.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Several random printf's in escape analysis are turned on by
traceEscapeAnalysis. Change them to match the other tracing messages
in this opt (traceMsg by default with a commented out printf in
case someone wants/needs stdout).

Signed-off-by: Mark Stoodley <mstoodle@ca.ibm.com>
- check nested critical first to avoid atomic
- atomic-free expects VM access to be held
- enter/exit VM are aliased to acquire/release VM access in the old VM

Signed-off-by: Graham Chapman <graham_chapman@ca.ibm.com>
…mmand

Remove DDR interactive 'limit' command
Signed-off-by: smlambert <slambert@gmail.com>
@smlambert
Copy link
Contributor Author

Jenkins test sanity plinux jdk8

pshipton added 3 commits May 10, 2018 22:01
@smlambert
Copy link
Contributor Author

Jenkins test extended plinux jdk8

AdamBrousseau and others added 4 commits May 10, 2018 23:30
- Speeds up OpenJDK clone
- Allows for full cleanWs at the end of all builds
- Won't fail if ref repo does not exist
- Ref repo defined in variables file
- Ref repo is a bare clone of extensions repos
- Supports multiple ref repos in a single folder

[skip ci]

Fixes eclipse-openj9#1727

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Add reference repository to OpenJDK clone
…no_printf_by_default

Change printf tracing statements in escape analysis to traceMsg's
@smlambert
Copy link
Contributor Author

Jenkins test extended plinux jdk8

Signed-off-by: smlambert <slambert@gmail.com>
@smlambert
Copy link
Contributor Author

Jenkins test extended plinux jdk9

DanHeidinga and others added 4 commits May 11, 2018 13:35
- Set initial index to 0 instead of -1
- Move counter increment to after decoding each frame

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
The version of libffi used in OpenJ9 is only linked by the VM library,
so make libffi a static link library instead of dynamic to avoid issues
where another version of libffi has already been loaded into the
process.

Signed-off-by: Graham Chapman <graham_chapman@ca.ibm.com>
@smlambert
Copy link
Contributor Author

@AdamBrousseau - have you seen this error before?

groovy.lang.MissingPropertyException: No such property: test_target for class: groovy.lang.Binding
at groovy.lang.Binding.getVariable(Binding.java:63)

I have introduced an error in extended tests to verify that the archive of test_output_xxxx folder works if UNSTABLE, but this is a script failure that is unclear to me what is causing it? From what I can tell, test_target should be _extended.

@AdamBrousseau
Copy link
Contributor

test_target should be TEST_TARGET :)

gacholio and others added 2 commits May 12, 2018 17:56
Fix stackMapFrame index init value and increment
Signed-off-by: smlambert <slambert@gmail.com>
@smlambert
Copy link
Contributor Author

Jenkins test extended plinux jdk9

smlambert and others added 2 commits May 13, 2018 21:21
Signed-off-by: smlambert <slambert@gmail.com>
Turn libffi into a static link library
@smlambert
Copy link
Contributor Author

Jenkins test extended plinux jdk9

@smlambert smlambert closed this May 14, 2018
@smlambert smlambert deleted the gcLog1470 branch May 14, 2018 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants