[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Platform-releng CBI issues - Can't build Eclipse SDK

Hi Patrik,
 
For the second error: last time I've tried to build platform, I hit same error, and it has nothing to do with skip tests option. As far as I can remember, I had to run a full clean build to resolve the problem.
 
Kind regards,
Andrey Loskutov

http://google.com/+AndreyLoskutov
 
 
Gesendet: Freitag, 21. Oktober 2016 um 03:45 Uhr
Von: "Patrik Suzzi" <psuzzi@xxxxxxxxx>
An: cbi-dev@xxxxxxxxxxx
Betreff: [cbi-dev] Platform-releng CBI issues - Can't build Eclipse SDK
Hi All,

I'm building the Eclipse Platform SDK on a Linux (Ubuntu 16.04), using the instructions provided on Platform-releng/Platform Build and Thanh Ha's presentation, but I encountered two errors preventing me to complete a build with SUCCESS, both on normal build and when -DskipTests=true.
 
As I can't submit issues on CBI, I'm writing here, to ask if you're aware of these build issues, and to ask directions on how I can fix them: 

Error (1) on Standard Build: "Could not determine test framework provider" on org.eclipse.jdt.core.tests.binaries

When building normally, including tests, my build is blocked by an error in org.eclipse.jdt.core.tests.binaries.

Please see details below:

Commands used:

$ git clone –recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
$ export MAVEN_OPTS="-Xmx2048m -Declipse.p2.mirrors=false"
$ mvn clean verify

Failure reported:

[INFO]
[INFO] --- tycho-surefire-plugin:0.25.0:test (default-test) @ org.eclipse.jdt.core.tests.binaries ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] eclipse-platform-parent ............................ SUCCESS [  0.973 s]
[INFO] eclipse-sdk-prereqs ................................ SUCCESS [  0.258 s]
[INFO] eclipse.jdt ........................................ SUCCESS [  0.018 s]
[INFO] rt.equinox.framework ............................... SUCCESS [  0.016 s]
[INFO] org.eclipse.osgi ................................... SUCCESS [ 38.523 s]
       (etc..)
[INFO] org.eclipse.jdt.core.tests.model ................... SUCCESS [17:31 min]
[INFO] eclipse.jdt.core.binaries .......................... SUCCESS [  0.009 s]
[INFO] org.eclipse.jdt.core.tests.binaries ................ FAILURE [ 18.166 s]
[INFO] org.eclipse.jdt.core.tests.performance ............. SKIPPED
       (etc..)
[INFO] eclipse.platform.repository ........................ SKIPPED
[INFO] platform-aggregator ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 h
[INFO] Finished at: 2016-10-18T05:08:06+02:00
[INFO] Final Memory: 637M/1589M
[INFO] ------------------------------------------------------------------------

Error details:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.25.0:test (default-test) on project org.eclipse.jdt.core.tests.binaries: Could not determine test framework provider. Available providers: [junit4, junit3, junit47] -> [Help 1],



Error (2), on quick build: "Error adding file to archive" on eclipse.platform.repository

When building with -DskipTest=true, the build is blocked by an error on eclipse.platform.repository.

Please see details below:

Commands used:

$ git clone –recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
$ export MAVEN_OPTS="-Xmx2048m -Declipse.p2.mirrors=false"
$ mvn clean verify -DskipTests=true

Here is the error

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] eclipse-platform-parent ............................ SUCCESS [  0.992 s]
       (etc..)
[INFO] org.eclipse.platform.ide ........................... SUCCESS [02:55 min]
[INFO] org.eclipse.platform.sdk ........................... SUCCESS [ 51.390 s]
[INFO] org.eclipse.sdk.ide ................................ SUCCESS [08:06 min]
[INFO] eclipse-junit-tests ................................ FAILURE [ 18.566 s]
[INFO] eclipse.platform.repository ........................ SKIPPED
[INFO] platform-aggregator ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:03 h
[INFO] Finished at: 2016-10-20T21:59:45+02:00
[INFO] Final Memory: 841M/2024M
[INFO] ------------------------------------------------------------------------

Error details

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (make-assembly) on project eclipse-junit-tests: Failed to create assembly: Error adding file to archive: /home/myuser/git/00/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/../../eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/target/doc.bin.log -> [Help 1]

Note: At the end of the build, despite the error, I can find org.eclipse.platform.sdk-4.7.0-SNAPSHOT.zip (208 MB) under /eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/target

 
Thanks for taking the time to look into this.  

Best Regards,

Patrik Suzzi
Software Engineer, Eclipse
Platform UI Committer
https://about.me/psuzzi

 
_______________________________________________ cbi-dev mailing list cbi-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cbi-dev