2019-10-09 17:19:50 UTC - Ali Ahmed: getting this error is my integration tests ``` Could not initialize class org.apache.pulsar.client.api.Schema Stacktrace java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.client.api.Schema at org.apache.pulsar.tests.integration.cli.CLITest.testJarPojoSchemaUploadJson(CLITest.java:274) 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 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54) at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ---- 2019-10-09 17:20:09 UTC - Ali Ahmed: has anyone else noticed it also ? ---- 2019-10-09 22:40:13 UTC - Ali Ahmed: I have tested locally that we can rerun failed tests in isolation using maven, maven runs are generating testng-failed.xml for failed tests that we can use to rerun those specific tests ``` mvn -Dsurefire.suiteXmlFiles=target/surefire-reports/testng-failed.xml test ``` ---- 2019-10-09 22:40:25 UTC - Ali Ahmed: this can be part of apache ci revamp ---- 2019-10-10 03:03:55 UTC - Ali Ahmed: I am making some changes to the jenkins cicd to improve stability will keep this channel updated ---- 2019-10-10 03:53:40 UTC - Addison Higham: that will be awesome! anything there will help ---- 2019-10-10 03:55:54 UTC - Ali Ahmed: phase 1 is online doc changes should not have ci cd jobs pass instantly ---- 2019-10-10 03:56:11 UTC - Ali Ahmed: apache jenkins seems to running old jobs on some nodes ---- 2019-10-10 03:56:35 UTC - Ali Ahmed: phase 2 will retry failed tests in another process after the primary job before failing ---- 2019-10-10 03:57:17 UTC - Jerry Peng: :+1: ---- 2019-10-10 03:57:41 UTC - Ali Ahmed: here is the logic being used ``` echo "Git list of files changed" BASE_HASH=$(git merge-base HEAD origin/master) FILE_CHANGES=$(git diff --name-only $BASE_HASH | grep -v site2 | wc -l)
ZERO=0 if [[ $FILE_CHANGES -eq $ZERO ]]; then echo "No Code files changed skip build" else ``` ----