<?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>12877</bug_id>
          
          <creation_ts>2018-08-09 14:41:39 +0000</creation_ts>
          <short_desc>devtool sdk-update doesnt fail with broken link</short_desc>
          <delta_ts>2018-11-01 01:36:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.4.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>backport 2.4.4 and 2.5.2</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vineeth Chowdary">vineeth.chowdary</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>ross.burton</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>81280</commentid>
    <comment_count>0</comment_count>
    <who name="Vineeth Chowdary">vineeth.chowdary</who>
    <bug_when>2018-08-09 14:41:39 +0000</bug_when>
    <thetext>Rocko release (default configuration ):


Steps to repeat:
=====

$ wget http://mirrors.kernel.org/yocto/yocto/yocto-2.4/poky-rocko-18.0.0.tar.bz2
$ tar xvf poky-rocko-18.0.0.tar.bz2
$ cd poky-rocko-18.0.0
$ source oe-init-build-env
$ bitbake core-image-minimal -c do_populate_sdk_ext


(Install eSDK from installer)
$ tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.sh -p -y -d ~/sdk/sdk-1
$ . ~/sdk/sdk-1/environment-setup-i586-poky-linux

( broken link )
$ ping http://mylocal
[ ping: unknown host http://mylocal ]

(Update SDK with broken link)
$ devtool sdk-update http://mylocal


Observed Behaviour:
==================
NOTE: Starting bitbake server...
NOTE: Starting bitbake server...
NOTE: Already up-to-date


Expected Behaviour:
==================
sdk update shouldfail with proper failure message</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81281</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-08-09 14:45:46 +0000</bug_when>
    <thetext>Was this fixed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c5d7bd3ee98920281909452f8385dd441ab0ba8a ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81284</commentid>
    <comment_count>2</comment_count>
    <who name="Vineeth Chowdary">vineeth.chowdary</who>
    <bug_when>2018-08-09 15:06:08 +0000</bug_when>
    <thetext>Yes it is fixed with the provided commit.

Thank you very much</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81291</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-08-09 16:08:37 +0000</bug_when>
    <thetext>commit backport to both stable/sumo &amp; rocko test branches</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81986</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-01 01:34:57 +0000</bug_when>
    <thetext>in sumo
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts/lib/devtool/sdk.py?h=sumo&amp;id=6069ffb48d91819f4e3ef12af52cc78ed3ea267c

in rocko
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts/lib/devtool/sdk.py?h=rocko&amp;id=3259b70497355a009a2ce8159e4f851278e704a1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81987</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-11-01 01:36:05 +0000</bug_when>
    <thetext>done</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>