<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13101</bug_id>
          
          <creation_ts>2018-12-24 06:56:05 +0000</creation_ts>
          <short_desc>eclipse oxygen-master build failing consistently</short_desc>
          <delta_ts>2019-01-28 21:03:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure General</product>
          <component>infrastructure-general</component>
          <version>2.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7 M2</target_milestone>
          
          <blocked>13105</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anuj Mittal">anuj.mittal</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>akuster</cc>
    
    <cc>chin.huat.ang</cc>
    
    <cc>mhalstead</cc>
    
    <cc>tim.orling</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82590</commentid>
    <comment_count>0</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-12-24 06:56:05 +0000</bug_when>
    <thetext>====================================================================================================
Step 1/1: Running &apos;plain&apos; command cd scripts; ./setup.sh; ECLIPSE_HOME=`pwd`/eclipse/ ./build.sh oxygen-master master development (1545613400.3: 0.0)
====================================================================================================
Running &apos;cd scripts; ./setup.sh; ECLIPSE_HOME=`pwd`/eclipse/ ./build.sh oxygen-master master development&apos; with output to /home/pokybuild/yocto-worker/eclipse-plugin-oxygen/build/build/command.log.1d
====================================================================================================
ERROR: Command cd scripts; ./setup.sh; ECLIPSE_HOME=`pwd`/eclipse/ ./build.sh oxygen-master master development failed with exit code 1, see errors above. (1545613400.5: 0.2)
====================================================================================================

Please see:

https://autobuilder.yoctoproject.org/typhoon/#/builders/25/builds/371/steps/7/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/25/builds/370/steps/7/logs/stdio

And also on thud:

https://autobuilder.yoctoproject.org/typhoon/#/builders/25/builds/369/steps/7/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82602</commentid>
    <comment_count>1</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2018-12-26 02:29:22 +0000</bug_when>
    <thetext>Something&apos;s wrong with the Eclipse mirror on yoctoproject.org:

--2018-12-26 10:18:21--  http://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-12-26 10:18:22 ERROR 404: Not Found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82605</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2018-12-26 23:11:59 +0000</bug_when>
    <thetext>Our mirror is up to date. Here is the listing for the drops4 directory upstream which matches ours:

drwxrwsr-x          4,096 2018/09/26 06:39:45 P20180926-0920
drwxrwsr-x          4,096 2018/09/30 07:19:54 P20180930-1000
drwxrwsr-x          4,096 2018/09/30 23:33:51 P20181001-0215
drwxrwsr-x          4,096 2018/10/01 02:47:49 P20181001-0525
drwxrwsr-x          4,096 2018/10/03 02:19:21 P20181003-0450
drwxrwsr-x          4,096 2018/10/03 07:34:34 P20181003-1015
drwxrwsr-x          4,096 2018/10/08 03:10:59 P20181008-0545
drwxrwsr-x          4,096 2018/10/10 05:03:16 P20181010-0735
drwxrwsr-x          4,096 2018/10/10 05:44:28 P20181010-0815
drwxrwsr-x          4,096 2018/12/19 07:04:40 R-4.10-201812060815
drwxrwsr-x          4,096 2018/06/27 07:13:04 R-4.8-201806110500
drwxrwsr-x          4,096 2018/09/19 06:51:27 R-4.9-201809060745


R-4.7.3a-201803300640 appears to have been removed. In addition to the eclipse-full mirror we have a Yocto Project specific mirror which does not track upstream at http://downloads.yoctoproject.org/eclipse/downloads/drops4/. This only contains files that have been requested and they are not removed.

I think we need a way to determine which files from the full mirror should be permanently archived and to update these scripts to point at the permanent location. Who can advise?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82608</commentid>
    <comment_count>3</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2018-12-27 02:28:40 +0000</bug_when>
    <thetext>R-4.7.3a-201803300640 has been moved to: 

  https://archive.eclipse.org/eclipse/downloads/drops4/R-4.7.3a-201803300640/

It looks like downloads.eclipse.org only contains the latest 3 releases (4.8 to 4.10), while archive.eclipse.org contains every known releases since 2001 (1.0 to 4.9), except the latest release.

Can we also mirror archive.eclipse.org? If this is too much then perhaps we can limit to anything newer than 4.6.3?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82610</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-12-27 18:38:11 +0000</bug_when>
    <thetext>oxygen-4.7.2 is still available on our old eclipse partial mirror, but not the  4.7.3 or 4.7.3a versions.

One option would be to mirror 4.7.3a [1] from archive (might as well do 4.7.3 [2] while we are at it) to our old eclipse partial mirror.

[1] https://archive.eclipse.org/eclipse/downloads/drops4/R-4.7.3a-201803300640/
[2] https://archive.eclipse.org/eclipse/downloads/drops4/R-4.7.3-201803010715/

Otherwise, we will have to revert to downloading from upstream, which is slow and has also caused build failures (timeouts).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82611</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-12-27 18:40:58 +0000</bug_when>
    <thetext>Ultimately, this begins to spell the end of support for Oxygen. We have already seen the same happen with Neon. Upstream has had three releases since Oxygen 4.7.3a (Photon, 2018-09 and 2018-12).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82651</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-01-03 16:10:53 +0000</bug_when>
    <thetext>found 13050, will it help ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82654</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-01-03 16:25:55 +0000</bug_when>
    <thetext>I&apos;ve downloaded the x86_64 SDK files from the archive and put them up at the following:

http://downloads.yoctoproject.org/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz

and

http://downloads.yoctoproject.org/eclipse/downloads/drops4/R-4.7.3-201803010715/eclipse-SDK-4.7.3-linux-gtk-x86_64.tar.gz

The archive is not available for mirroring at this time so I&apos;ve only put the single files in place instead of the full directory contents. 

I&apos;ve also temporarily disabled deletions on the full mirror and put http://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz back in place. I hope this will unblock while we figure out a permanent solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82664</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-01-03 21:46:34 +0000</bug_when>
    <thetext>After getting a green build I&apos;ve restored proper mirror functionality and allowed http://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz to be removed. I&apos;ve also added a redirect to  http://downloads.yoctoproject.org/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz. If this also produces green builds 2.5.2 is fine as we can leave this in place. If this doesn&apos;t work we should wait for a patch to update the download location before releasing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82669</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-01-03 23:40:07 +0000</bug_when>
    <thetext>The build uses wget with redirection enabled so I think it will work for all normal use cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82671</commentid>
    <comment_count>10</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-01-04 00:06:00 +0000</bug_when>
    <thetext>got a clean thud build.

I will launch sumo just to check.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82672</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-01-04 00:15:54 +0000</bug_when>
    <thetext>The most simple solution I can think of is to automatically copy everything from http://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4 to  http://downloads.yoctoproject.org/eclipse/downloads/drops4 after each mirror sync. It seems the only files we care about are in that directory. Then we should only point at the partial mirror at http://downloads.yoctoproject.org/eclipse/downloads/drops4 going forward.

Aside from growing over time and keeping files we don&apos;t need around are there any issues with that plan? These files aren&apos;t super large (currently 9GB) so we should be okay to keep them needed or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82673</commentid>
    <comment_count>12</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2019-01-04 02:19:27 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; found 13050, will it help ?

This is a separate issue which happens earlier than 13050, as the Eclipse build script failed to download the missing Eclipse archive. Once we figure out this, we should revisit 13050 where the build script is seeing intermittent timeout issue when downloading additional features.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82674</commentid>
    <comment_count>13</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2019-01-04 03:03:09 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; The most simple solution I can think of is to automatically copy everything
&gt; from http://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4
&gt; to  http://downloads.yoctoproject.org/eclipse/downloads/drops4 after each
&gt; mirror sync. It seems the only files we care about are in that directory.
&gt; Then we should only point at the partial mirror at
&gt; http://downloads.yoctoproject.org/eclipse/downloads/drops4 going forward.
&gt; 

How about mirror both:

  https://download.eclipse.org/eclipse/downloads/drops4/
  https://archive.eclipse.org/eclipse/downloads/drops4/

... to:

  http://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4
  http://downloads.yoctoproject.org/eclipse/eclipse/downloads/drops4

... respectively. This way the the mirrors on yoctoproject.org would be near identical to *.eclipse.org. In the future whenever upstream moves resources from download.eclipse.org to archive.eclipse.org, we&apos;ll just need to patch eclipse-yocto build script to switch from eclipse-full/ to eclipse/ on yoctoproject.org?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82720</commentid>
    <comment_count>14</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2019-01-10 02:27:07 +0000</bug_when>
    <thetext>The old approach was to manually copy what was needed to the partial mirror. We tried to get away from the manual nature of that (and the sensitivity to upstream adding new releases) by using the full mirror. This incident shows that we still need to keep track of the items that get archived by upstream.

We had changed the setup script to pull the SDK from our full mirror recently, because we saw some timeout issues (as Chin Huat mentioned, not directly related to 13050). However, the builds would still have failed because upstream moved the SDKs for oxygen to archive.

Michael:
If disk space is no concern, we can periodically automatically backup the full mirror to our partial mirror (or as you suggest disable deletions). I&apos;d rather not do that for EVERYTHING, but rather on what we know we need to back up. The SDKs. These are the urls like .../drops4/R-&lt;version&gt;-&lt;timestamp&gt;/R-&lt;version&gt;-&lt;timestamp&gt;-linux-gtk-x86_64.tar.gz. The R stands for Release.

In the mean time, can either Chin Huat or Chee Yang prepare a patch to update the oxygen-master setup.sh script to pull from archive.eclipse.org when the --upstream flag is set and from the http://downloads.yoctoproject.org/eclipse/downloads/drops4/{R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz} URL by default. We do not want to rely on the redirect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82721</commentid>
    <comment_count>15</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2019-01-10 02:27:59 +0000</bug_when>
    <thetext>There is also apparently no good time for vacation ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82744</commentid>
    <comment_count>16</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2019-01-10 23:15:57 +0000</bug_when>
    <thetext>Patch to download Eclipse Oxygen from archive.eclipse.org:

  https://lists.yoctoproject.org/pipermail/eclipse-yocto/2019-January/000237.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82745</commentid>
    <comment_count>17</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-01-11 00:25:05 +0000</bug_when>
    <thetext>All files matching *linux-gtk-x86_64.tar.gz from the full mirror drops4/R-* directories are copied to  http://downloads.yoctoproject.org/eclipse/downloads/drops4/ now and will be updated hours. Files won&apos;t be removed from that location but WILL be removed from the eclipse-full location when upstream moves them to archive.

All Yocto Project code should point at files in http://downloads.yoctoproject.org/eclipse/downloads/drops4/ going forward. If needed files are missing from this permanent location please raise an issue.

Will this work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82746</commentid>
    <comment_count>18</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2019-01-11 00:45:58 +0000</bug_when>
    <thetext>v2: https://lists.yoctoproject.org/pipermail/eclipse-yocto/2019-January/000239.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82749</commentid>
    <comment_count>19</comment_count>
    <who name="Chin Huat Ang">chin.huat.ang</who>
    <bug_when>2019-01-11 09:50:58 +0000</bug_when>
    <thetext>(In reply to comment #17)
... 
&gt; Will this work?

+1 from me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82757</commentid>
    <comment_count>20</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-01-11 18:11:11 +0000</bug_when>
    <thetext>Tim has merged the patch resolving this issue as far as I know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82759</commentid>
    <comment_count>21</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2019-01-11 18:33:59 +0000</bug_when>
    <thetext>Correct:
http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-yocto/commit/?h=oxygen-master&amp;id=f64e2007ecc893243e011f3d4b1bba3b2ceda428

and

http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-yocto/commit/?h=oxygen-master&amp;id=a76c846ca3e4fef3bcfe6c7b6c802f727d0e9314


From:

https://lists.yoctoproject.org/pipermail/eclipse-yocto/2019-January/000239.html

and

https://lists.yoctoproject.org/pipermail/eclipse-yocto/2019-January/000240.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82884</commentid>
    <comment_count>22</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-01-28 21:03:18 +0000</bug_when>
    <thetext>not sure if this is related.

eclipse on sumo failed this time. passed on previous build.

command timed out: 16200 seconds without output running [b&apos;/home/pokybuild/yocto-worker/eclipse-plugin-neon/yocto-autobuilder-helper/scripts/run-config&apos;, b&apos;eclipse-plugin-neon&apos;, b&apos;/home/pokybuild/yocto-worker/eclipse-plugin-neon/build/build&apos;, b&apos;stable/sumo-nmut&apos;, b&apos;git://git.yoctoproject.org/poky-contrib&apos;, b&apos;-s&apos;, b&apos;&apos;, b&apos;-b&apos;, b&apos;&apos;, b&apos;-p&apos;, b&apos;&apos;, b&apos;-u&apos;, b&apos;https://autobuilder.yoctoproject.org/typhoon/#builders/29/builds/481&apos;, b&apos;-r&apos;, b&apos;/srv/autobuilder/autobuilder.yoctoproject.org/pub/non-release/20190128-11/testresults&apos;, b&apos;-q&apos;], attempting to kill
process killed by signal 9


https://autobuilder.yoctoproject.org/typhoon/#/builders/29/builds/481</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>