[RTEMS Project] #3241: RSB sporadically fails when fetching rtems-tools
RTEMS trac
trac at rtems.org
Mon Nov 20 11:03:40 UTC 2017
#3241: RSB sporadically fails when fetching rtems-tools
--------------------------------+------------------------
Reporter: Christian Mauderer | Owner: (none)
Type: enhancement | Status: new
Priority: low | Milestone: Indefinite
Component: tool/rsb | Version: 5
Severity: minor | Keywords:
--------------------------------+------------------------
Sporadically the rtems source builder fails with a error message like the
following:
{{{
...
package: rtems-tools-HEAD-1
git: reset: git://git.rtems.org/rtems-tools.git
git: fetch: git://git.rtems.org/rtems-tools.git -> sources/git/rtems-
tools.git
error: git command failed (/usr/bin/git): 128
Build FAILED
See error report: rsb-report-rtems-tools-HEAD-1.txt
error: git command failed (/usr/bin/git): 128
Build Set: Time 0:28:42.787936
Build FAILED
}}}
The error report in rsb-report-rtems-tools-HEAD-1.txt isn't really useful
in that case:
{{{
...
script: 81: build_top=$(pwd)
script: 82: rtems_tools_source="rtems-tools.git"
script: 83: source_dir_rtems_tools=${rtems_tools_source}
source setup: rtems-tools-HEAD-1: source rtems-tools -q -n
${rtems_tools_source}
making dir: /home/EB/christian_m/Projekte/grisp-software/rtems-source-
builder/rtems/sources/git
git: reset: git://git.rtems.org/rtems-tools.git
git: fetch: git://git.rtems.org/rtems-tools.git -> sources/git/rtems-
tools.git
error: git command failed (/usr/bin/git): 128
}}}
I assume that the git fetch went wrong for some reason. That's really
annoying because it happens after the quite time consuming build of gcc.
Please correct me if I'm wrong but as far as I know, a download in advance
wouldn't do this git command. Therefore this bug can't be triggered before
the build.
I'm not that familiar with that step of the RSB but would it be possible
to to download a tar.bz2-snapshot of the correct commit from our git
server instead of doing a git clone? The git web interface shows a URL
like the following for every commit:
https://git.rtems.org/rtems-tools/snapshot/rtems-tools-
9f34b38edf2a235e8d41c3265b146b0b1a4da252.tar.bz2
With that it would be possible to do all downloads in advance and then do
the build without the risk that some download goes wrong during the build.
--
Ticket URL: <http://devel.rtems.org/ticket/3241>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list