<?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>12804</bug_id>
          
          <creation_ts>2018-06-20 13:09:21 +0000</creation_ts>
          <short_desc>[QA 2.6 M1 rc1 ][Build Appliance]: proxy issue in VM ware</short_desc>
          <delta_ts>2018-08-02 23:21:35 +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>Runtime</product>
          <component>build-appliance</component>
          <version>2.6</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.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pankaj yadav">pankaj-y</reporter>
          <assigned_to name="Anuj Mittal">anuj.mittal</assigned_to>
          <cc>nagarajagopalx.velu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>80847</commentid>
    <comment_count>0</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-06-20 13:09:21 +0000</bug_when>
    <thetext>Test Case ID : https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=340

Description :
core-image-minimal is succesfully builded in Previous release (2.4.3.rc2) with proxy setting.
2.6_M1.rc1 is not building the core-image-minimal , attached error log file.
wget g.co is not working with proxy configuration in 2.6_M1.rc1 build appliance image.
We will compile build-appliance-image using 2.6_M1.rc1 commit id and try to boot in VM ware , and run the test cases.

Please find the logs for the same :
WARNING: Host distribution &quot;poky-2.5+snapshot-20180607&quot; has not been validated with this version of the build system; you may possibly experience unexpected failure.
It is recommended that you use a tested distribution.
ERROR: OE-core&apos;s config sanity checker detected a potential misconfiguraition.
      Either fix the cause of this error or at your own risk disable the checker (see sanity.conf)
      Following is the list of potential problems / advisories:

      Fetcher failure for URL: &apos;https://www.example.com/&apos; . URL https://www.example.com/ doesn&apos;t work.
      Please ensure your host&apos;s network is configured correctly.
      or set BB_NO_NETWORK = &quot;1&quot; to disable network access if
      all required sources are on local disk.

Summary: There was 1 WARNING message shown
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80866</commentid>
    <comment_count>1</comment_count>
    <who name="nagarajagopal">nagarajagopalx.velu</who>
    <bug_when>2018-06-21 09:02:40 +0000</bug_when>
    <thetext>
 STATUS - FAILED
 
 ENVIRONMENT - VMWare(14.1.1) on Ubuntu OS (16.04)
 
 BUILD: 2.6_M1.rc1 - ddbd7b0cd6580ee26e11aa87e426fb294b372d64
 
 STEPS TO REPRODUCE :
 - Boot the build appliance image in VMWare
 - configure the proxy setting,
   export http_proxy=http://proxy.png.intel.com:911
   export https_proxy=https://proxy.png.intel.com:911
   export ftp_proxy=http://proxy.png.intel.com:911
   export socks_server=proxy.png.intel.com:1080
   export ALL_PROXY=socks://proxy.png.intel.com:1080
 - run &quot;bitbake core-image-minimal&quot;

ACTUAL RESULT:

 Getting below error,
 WARNING: Host distribution &quot;poky-2.5+snapshot-20180607&quot; has not been validated with this version of the build system; you may possibly experience unexpected failure.
It is recommended that you use a tested distribution.
ERROR: OE-core&apos;s config sanity checker detected a potential misconfiguraition.
      Either fix the cause of this error or at your own risk disable the checker (see sanity.conf)
      Following is the list of potential problems / advisories:

      Fetcher failure for URL: &apos;https://www.example.com/&apos; . URL https://www.example.com/ doesn&apos;t work.
      Please ensure your host&apos;s network is configured correctly.
      or set BB_NO_NETWORK = &quot;1&quot; to disable network access if
      all required sources are on local disk.

Summary: There was 1 WARNING message shown
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

EXPECTED RESULT :
 &quot;bitbake core-image-minimal&quot; should run and build successfully.

REGRESSION : 
  Regression done with 2.4.3.rc2 and 2.5. Both these images booted in VMWare and proxy can be configured. bitbake core-image-minimal is running successfully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80901</commentid>
    <comment_count>2</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-06-22 08:41:36 +0000</bug_when>
    <thetext>The problem is that we&apos;re passing a static IP using ip= from the kernel command line. So, if we do a &apos;ip set link eth0 down&apos; and then &apos;up&apos; after the image is up, eth0 should get ip using dhcp and network would work again.

The change in behavior happened because of a change I had done that had enabled qemux86-directdisk.wks instead of directdisk.wks for qemux86* images.

build-appliance-image with qemux86-64 MACHINE type uses this wks as well and as a result, isn&apos;t able to set the IP correct when booting up.

I will change this to not pass the static IP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81233</commentid>
    <comment_count>3</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2018-08-02 23:21:35 +0000</bug_when>
    <thetext>Merged: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f0977aa7c5f116a15aa396e60d28555dfb13e7f7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>