Bug 578862

Summary: Tests fail to download files from github, reporting "getEBuilder.xml:1: Premature end of file"
Product: [Eclipse Project] Platform Reporter: Andrey Loskutov <loskutov>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3    
Version: 4.23   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrey Loskutov CLA 2022-02-21 04:23:07 EST
Platform builds fail on regular base trying to read some (checked in) files from github repository and fail with zero data received.

See for example
https://ci.eclipse.org/releng/view/Automated%20tests/job/ep423I-unit-cen64-gtk3-java11/121/console
https://ci.eclipse.org/releng/view/Automated%20tests/job/ep423I-unit-cen64-gtk3-java17/121/console

Last error reported:

###############

02:06:42  /home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java17
02:06:42  + set +x
02:06:42  JAVA_HOME:
02:06:42  ANT_HOME: /home/jenkins/agent/tools/hudson.tasks.Ant_AntInstallation/apache-ant-latest
02:06:42  PATH: /home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java17/java/jdk-17.0.1/bin:/home/jenkins/agent/tools/hudson.tasks.Ant_AntInstallation/apache-ant-latest/bin:/home/jenkins/agent/tools/hudson.tasks.Ant_AntInstallation/apache-ant-latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
02:06:44  Buildfile: /home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java17/getEBuilder.xml
02:06:44  
02:06:44  BUILD FAILED
02:06:44  /home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java17/getEBuilder.xml:1: Premature end of file.

##########

02:07:02  + ant -f getEBuilder.xml -Djava.io.tmpdir=/home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java11/tmp -DbuildId=I20220220-1800 -DeclipseStream=4.23.0 -DEBUILDER_HASH=d7bcb37b8326c193f2add365e37b14b54d7cffc7 -DdownloadURL=http://download.eclipse.org/eclipse/downloads/drops4/I20220220-1800 -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -DtestSuite=all -Djvm=/opt/tools/java/adoptopenjdk/hotspot-latest-lts/bin/java
02:07:02  Buildfile: /home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java11/getEBuilder.xml
02:07:02  
02:07:02  BUILD FAILED
02:07:02  /home/jenkins/agent/workspace/ep423I-unit-cen64-gtk3-java11/getEBuilder.xml:1: Premature end of file.
Comment 1 Andrey Loskutov CLA 2022-02-21 04:37:07 EST
See https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/912#note_570694

Quote:

I just found that raw.githubusercontent.com has a rate limit of about 5000 requests/hour/IP (https://github.com/github/docs/issues/8031#issuecomment-881427112). 
[...]
If the rate limit is the issue and as all Jenkins instances retrieve artifacts from raw.githubusercontent.com from the same public IP address, so there is not much we can do from the EF infra side unfortunately.
Comment 2 Andrey Loskutov CLA 2022-02-22 02:28:26 EST
Both Linux builds failed again today.

https://ci.eclipse.org/releng/view/Automated%20tests/job/ep423I-unit-cen64-gtk3-java11/124/