Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 465447

Summary: gef4master build fails when trying to access pages from wiki.eclipse.org
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: RelEngAssignee: gef-inbox <gef-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: blocker    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 465457    
Bug Blocks:    

Description Alexander Nyßen CLA 2015-04-24 14:07:54 EDT
gef4master generates reference documentation by retrieving pages from wiki.eclipse.org via mylyn wikitext. Without any change to the wiki structure, nor the way it is retrieved (the scripts and mylyn wikitext libraries within gef4.releng have not been touched for over a year), the build suddenly started to fail when retrieving wiki contents and continues to do so. 

In build https://hudson.eclipse.org/hudson/job/gef4-master/2311/ it still passed the common.doc bundle's doc generation but failed when doing so for graph.doc:

[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-doc) on project org.eclipse.gef4.graph.doc: An Ant BuildException has occured: The following error occurred while executing this line:
/opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.releng/scripts/generateWikitext.xml:19: Cannot read from http://wiki.eclipse.org/index.php?title=GEF%2FGEF4%2FGraph&action=raw: http://wiki.eclipse.org/index.php?title=GEF%2FGEF4%2FGraph&action=raw
around Ant part ...<ant antfile="/opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.graph.doc/../org.eclipse.gef4.releng/scripts/generateWikitext.xml" inheritRefs="true"/>... @ 8:164 in /opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.graph.doc/target/antrun/build-main.xml
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-doc) on project org.eclipse.gef4.graph.doc: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.releng/scripts/generateWikitext.xml:19: Cannot read from http://wiki.eclipse.org/index.php?title=GEF%2FGEF4%2FGraph&action=raw: http://wiki.eclipse.org/index.php?title=GEF%2FGEF4%2FGraph&action=raw
[ERROR] around Ant part ...<ant antfile="/opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.graph.doc/../org.eclipse.gef4.releng/scripts/generateWikitext.xml" inheritRefs="true"/>... @ 8:164 in /opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.graph.doc/target/antrun/build-main.xml
[ERROR] -> [Help 1]

Since build https://hudson.eclipse.org/hudson/job/gef4-master/2312/ it now already fails when extracting wiki contents for common.doc:

[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-doc) on project org.eclipse.gef4.common.doc: An Ant BuildException has occured: The following error occurred while executing this line:
/opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.releng/scripts/generateWikitext.xml:19: Cannot read from http://wiki.eclipse.org/index.php?title=GEF%2FGEF4%2FCommon&action=raw: http://wiki.eclipse.org/index.php?title=GEF%2FGEF4%2FCommon&action=raw
around Ant part ...<ant antfile="/opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.common.doc/../org.eclipse.gef4.releng/scripts/generateWikitext.xml" inheritRefs="true"/>... @ 8:165 in /opt/public/jobs/gef4-master/workspace/org.eclipse.gef4.common.doc/target/antrun/build-main.xml

There are no changes to the code base (and I do not see any related to the wiki either) between both builds.
Comment 1 Alexander Nyßen CLA 2015-04-24 16:09:54 EDT
Running the build locally on my machine, everything works fine. Seems to thus be a problem on hudson.eclipse.org.
Comment 2 Alexander Nyßen CLA 2015-04-25 03:06:24 EDT
Whatever it was, https://hudson.eclipse.org/hudson/job/gef4-master/2315/ succeeded again. Resolving this as WORKSFORME.