I re-enabled the CRW master branch pipeline build [1] yesterday (for 2.0.0 CI builds) but the e2e tests are failing to compile:
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ codeready-test-e2e --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/target/classes warning: Supported source version 'RELEASE_6' from annotation processor 'org.jvnet.hudson.annotation_indexer.AnnotationProcessorImpl' less than -source '1.8' /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/main/java/com/redhat/codeready/selenium/pageobject/CodereadyOpenShiftLoginPage.java:97: warning: [MissingOverride] login overrides method in OpenShiftLoginPage; expected @Override public void login(String username, String password) { ^ (see http://errorprone.info/bugpattern/MissingOverride) Did you mean '@Override public void login(String username, String password) {'? 2 warnings [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ codeready-test-e2e --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 25 resources [INFO] [INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (unpack-dependency-core) @ codeready-test-e2e --- [INFO] Unpacking /home/nboldt/.m2/repository1/org/eclipse/che/selenium/che-selenium-core/7.0.0-RC-2.0/che-selenium-core-7.0.0-RC-2.0.jar to /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/target/bin with includes "webdriver.sh" and excludes "" [INFO] [INFO] --- maven-dependency-plugin:3.0.1:unpack-dependencies (generate-test-sources) @ codeready-test-e2e --- Downloading from repo.jenkins-ci.org: http://repo.jenkins-ci.org/public/org/eclipse/che/selenium/che-selenium-test/7.0.0-RC-2.0/che-selenium-test-7.0.0-RC-2.0-tests.jar Downloaded from repo.jenkins-ci.org: http://repo.jenkins-ci.org/public/org/eclipse/che/selenium/che-selenium-test/7.0.0-RC-2.0/che-selenium-test-7.0.0-RC-2.0-tests.jar (3.6 MB at 3.7 MB/s) [INFO] Unpacking /home/nboldt/.m2/repository1/org/eclipse/che/selenium/che-selenium-test/7.0.0-RC-2.0/che-selenium-test-7.0.0-RC-2.0-tests.jar to /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/target/test-classes with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (overwrite upstream resources) @ codeready-test-e2e --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 28 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ codeready-test-e2e --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 58 source files to /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/target/test-classes /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/CreateAndDeleteProjectsTest.java:17: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/CreateWorkspaceTest.java:16: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/CreateWorkspaceTest.java:17: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.NODE; ^ symbol: static NODE location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/organization/ShareWorkspaceOwnerTest.java:15: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/workspaces/details/WorkspaceDetailsSingleMachineTest.java:18: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.workspaces.WorkspaceDetails.WorkspaceDetailsTab.INSTALLERS; ^ symbol: static INSTALLERS location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/workspaces/NewWorkspacePageTest.java:16: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/workspaces/details/WorkspaceDetailsOverviewTest.java:17: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/CreateFactoryTest.java:15: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/workspaces/WorkspacesListTest.java:17: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class /home/nboldt/5-Che/1.github_upstream__manual-sync_to_pkgs.devel/codeready-workspaces/test/codeready-test-e2e/src/test/java/com/redhat/codeready/selenium/dashboard/organization/ShareWorkspaceMemberTest.java:18: error: cannot find symbol import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.JAVA; ^ symbol: static JAVA location: class 10 errors
The error above was from me trying to reproduce the error locally – and it does fail locally too.
I'm using:
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T14:41:47-04:00) Maven home: /opt/maven3 Java version: 11.0.1, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-11-openjdk-11.0.1.13-4.fc27.x86_64 Default locale: en_CA, platform encoding: UTF-8 OS name: "linux", version: "4.18.20-100.fc27.x86_64", arch: "amd64", family: "unix"
In Jenkins we're using:
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00) Maven home: /mnt/hudson_workspace/tools/hudson.tasks.Maven_MavenInstallation/maven-3.5.4 Java version: 1.8.0_212, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre
So looks like it's a problem for both mvn 3.5 and 3.6, JDK 8 and 11.