Hi Liu, <div><br /></div><div>As you need to setup a proxy, you need also to set the no_proxy=127.0.0.1 env variable, so mock can find the internal repository.</div><div><br /></div><div>This is something that we need to do in our internal build job.</div><div><br /></div><div>-Erich<br /><br />--<br />Sent from Yandex.Mail for mobile<br /><br />23.11.2018, 07:27, "Liu, Changcheng" <changcheng.liu@intel.com>:<br /><blockquote type="cite">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Hi Erich,</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">      I hit lots of error when executing “build-pkgs”. Please help check it.</span></p>
<p><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"><a href="https://bugs.launchpad.net/starlingx/+bug/1804412">https://bugs.launchpad.net/starlingx/+bug/1804412</a></span></p>
<p><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">1. get stx-tools<br />
cd $HOME<br />
git clone <a href="https://git.starlingx.io/stx-tools"><span style="color:#0033AA;text-decoration:none;">https://git.starlingx.io/stx-tools</span></a><br />
cd stx-tools<br />
git checkout -b erich_base 1d2ecbb0be2</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">2. apply below patch<br />
nstcc1@nstcloudcc1:stx-tools$ git diff Dockerfile tb.sh Makefile<br />
diff --git a/Dockerfile b/Dockerfile<br />
index 87ef00b..dd730f<span>9 100644</span><br />
--- a/Dockerfile<br />
+++ b/Dockerfile<br />
@@ -13,9 +13,9 @@<br />
 FROM centos:7.4.1708</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;"> # Proxy configuration<br />
-#ENV http_proxy "<a href="http://your.actual_http_proxy.com/"><span style="color:#0033AA;text-decoration:none;">http://your.actual_http_proxy.com</span></a>:your_port"<br />
-#ENV https_proxy "<a href="https://your.actual_https_proxy.com/"><span style="color:#0033AA;text-decoration:none;">https://your.actual_https_proxy.com</span></a>:your_port"<br />
-#ENV ftp_proxy "<a href="http://your.actual_ftp_proxy.com/"><span style="color:#0033AA;text-decoration:none;">http://your.actual_ftp_proxy.com</span></a>:your_port"<br />
+ENV http_proxy "<a href="http://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">http://child-prc.intel.com:913</span></a>"<br />
+ENV https_proxy "<a href="http://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">http://child-prc.intel.com:913</span></a>"<br />
+ENV ftp_proxy "<a href="ftp://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">ftp://child-prc.intel.com:913</span></a>"</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;"> # username you will docker exec into the container as.<br />
@@ -26,6 +26,8 @@ ARG MYUID=1000</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;"> ENV container=docker</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">+RUN echo "proxy=$http_proxy" >> /etc/yum.conf && \<br />
+echo -e "export http_proxy=$http_proxy\nexport https_proxy=$https_proxy\nexport ftp_proxy=$ftp_proxy" >> /root/.bashrc<br />
 # Download required dependencies by mirror/build processes.<br />
 # Notice there are 3 invocations to yum package manage.<br />
 # 1) Enable EPEL repository.<br />
diff --git a/Makefile b/Makefile<br />
index c4ebff4..73f5f3a 100644<br />
--- a/Makefile<br />
+++ b/Makefile<br />
@@ -20,6 +20,8 @@ all:<br />
        docker build \<br />
                --build-arg MYUID=$(UID) \<br />
                --build-arg MYUNAME=$(MYUNAME) \<br />
+ --build-arg https_proxy=<a href="http://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">http://child-prc.intel.com:913</span></a> \<br />
+ --build-arg http_proxy=<a href="http://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">http://child-prc.intel.com:913</span></a> \<br />
                --ulimit core=0 \<br />
                --network host \<br />
                -t $(TC_CONTAINER_TAG) \<br />
diff --git a/tb.sh b/tb.sh<br />
index e0508dd..9530efd 100755<br />
--- a/tb.sh<br />
+++ b/tb.sh<br />
@@ -38,11 +38,14 @@ function run_container {<br />
     docker run -it --rm \<br />
         --name ${TC_CONTAINER_NAME} \<br />
         --detach \<br />
+ -v /etc/localtime:/etc/localtime:ro \<br />
         -v ${LOCALDISK}:/${GUEST_LOCALDISK} \<br />
         -v ${HOST_MIRROR_DIR}:/import/mirrors:ro \<br />
         -v /sys/fs/cgroup:/sys/fs/cgroup:ro \<br />
         -v ~/.ssh:/mySSH:ro \<br />
         -e "container=docker" \<br />
+ --env https_proxy=<a href="http://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">http://child-prc.intel.com:913</span></a> \<br />
+ --env http_proxy=<a href="http://child-prc.intel.com:913/"><span style="color:#0033AA;text-decoration:none;">http://child-prc.intel.com:913</span></a> \<br />
         -e MYUNAME=${MYUNAME} \<br />
         --privileged=true \<br />
         --security-opt seccomp=unconfined \</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">3. build docker image<br />
make all</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">4. run docker image<br />
bash tb.sh run</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">5. execute into docker container<br />
bash tb.sh exec</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">6.<br />
[nstcc1@d8ae703a2a91 /]$ eval $(ssh-agent)<br />
Agent pid 15524</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">[nstcc1@d8ae703a2a91 /]$ ssh-add<br />
Identity added: /home/nstcc1/.ssh/id_rsa (/home/nstcc1/.ssh/id_rsa)<br />
[nstcc1@d8ae703a2a91 /]$ cd $MY_REPO_ROOT_DIR</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">[nstcc1@d8ae703a2a91 starlingx]$ repo init -u <a href="https://git.starlingx.io/stx-manifest"><span style="color:#0033AA;text-decoration:none;">https://git.starlingx.io/stx-manifest</span></a> -m
 default.xml</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">[nstcc1@d8ae703a2a91 starlingx]$ repo sync -j4</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">[nstcc1@d8ae703a2a91 starlingx]$ ln -s /import/mirrors/CentOS/stx-r1/CentOS/pike/downloads/ $MY_REPO/stx/</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">[nstcc1@d8ae703a2a91 starlingx]$ populate_downloads.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">7.<br />
nstcc1@nstcloudcc1:~$ mkdir -p $HOME/starlingx/mirror/CentOS/tis-installer</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">nstcc1@nstcloudcc1:~$ cp $HOME/starlingx/mirror/CentOS/stx-r1/CentOS/pike/Binary/images/pxeboot/initrd.img $HOME/starlingx/mirror/CentOS/tis-installer/initrd.img-stx-0.2</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">nstcc1@nstcloudcc1:~$ cp $HOME/starlingx/mirror/CentOS/stx-r1/CentOS/pike/Binary/images/pxeboot/vmlinuz $HOME/starlingx/mirror/CentOS/tis-installer/vmlinuz-stx-0.2</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">nstcc1@nstcloudcc1:~$ cp $HOME/starlingx/mirror/CentOS/stx-r1/CentOS/pike/Binary/LiveOS/squashfs.img $HOME/starlingx/mirror/CentOS/tis-installer/squashfs.img-stx-0.2</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">8.<br />
[nstcc1@d8ae703a2a91 starlingx]$ generate-cgcs-centos-repo.sh /import/mirrors/CentOS/stx-r1/CentOS/pike/</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">9.<br />
[nstcc1@d8ae703a2a91 starlingx]$ build-pkgs</span></i></p>
<p style="margin-right:0in;margin-bottom:9.6pt;margin-left:0.5in;background:white;max-width:45em;font-variant-ligatures:normal;font-variant-caps:normal;">
<i><span style="font-size:8pt;font-family:"Courier New";color:#333333;">Then, hit lots of error, the log is build-pkgs.log<br />
21:10:47 failure: repodata/repomd.xml from TisCentos7Distro: [Errno 256] No more mirrors to try.<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47 <a href="http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml"><span style="color:#0033AA;text-decoration:none;">http://127.0.0.1:8088/localdisk/designer/nstcc1/starlingx/cgcs-root/cgcs-centos-repo/Binary/repodata/repomd.xml</span></a>:
 [Errno 14] HTTP Error 503 - Service Unavailable<br />
21:10:47<br />
21:10:47 End build on 'b0': /localdisk/loadbuild/nstcc1/starlingx/std/rpmbuild/SRPMS/mariadb-10.1.28-1.el7.tis.15.src.rpm<br />
21:10:47 Error building mariadb-10.1.28-1.el7.tis.15.src.rpm on 'b0'.</span></i></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">--Thanks</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Changcheng</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><a name="_MailEndCompose00fdf9bdd5da1f5c6509edd4ccfdc6a9"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></a></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1pt;padding:3pt 0in 0in 0in;">
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><a name="_____replyseparator0efddd6e613531efe46d5570f11b369b"></a><b>From:</b> Liu, Changcheng
<br />
<b>Sent:</b> Friday, November 23, 2018 12:16 AM<br />
<b>To:</b> <a href="mailto:'starlingx-discuss@lists.starlingx.io'">'starlingx-discuss@lists.starlingx.io'</a> <<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>>; Cordoba Malibran, Erich <<a href="mailto:erich.cordoba.malibran@intel.com">erich.cordoba.malibran@intel.com</a>><br />
<b>Subject:</b> RE: stx-tools: setup stx build environment</p>
</div>
</div>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"> </p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Hi Erich,</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">     I still met with some problems after following your method to run “download_mirror.sh”.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">     Please check the comment in
<a href="https://bugs.launchpad.net/starlingx/+bug/1804412">https://bugs.launchpad.net/starlingx/+bug/1804412</a></span></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">[root@90104f541da1 logs]# wc -l *</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 K1_failmoved_url_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 K1_rpms_found_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 K1_rpms_missing_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 K1_srpms_found_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 K1_srpms_missing_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">     46 L1_failmoved_url_3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">   5306 L1_failmoved_url_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">    394 L1_failmoved_url_centos3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_rpms_found_3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_rpms_found_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_rpms_found_centos3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_rpms_missing_3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_rpms_missing_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_rpms_missing_centos3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">     23 L1_srpms_found_3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">   1936 L1_srpms_found_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">    148 L1_srpms_found_centos3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_srpms_missing_3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_srpms_missing_centos.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      0 L1_srpms_missing_centos3rdparties.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">    590 all_i686.txt</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">   9858 otherfiles_centos_download.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      1 rpm-gpg-key-missing.txt</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">     80 rpms_3rdparties_download_L1.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">    490 rpms_centos3rdparties_download_L1.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">      2 rpms_centos_download_K1.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">   6735 rpms_centos_download_L1.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">  57768 tarballs_download.log</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">  83377 total</span></i></p>
<p style="margin-left:0.5in;"><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">[root@90104f541da1 logs]#</span></i></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">      I don’t know whether the “failmoved” packages will affect the ISO image build or not.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">      I’m building another docker image for building ISO image.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">--Changcheng</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1pt;padding:3pt 0in 0in 0in;">
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><b>From:</b> Liu, Changcheng <br />
<b>Sent:</b> Wednesday, November 21, 2018 11:24 PM<br />
<b>To:</b> <a href="mailto:'starlingx-discuss@lists.starlingx.io'">'starlingx-discuss@lists.starlingx.io'</a> <<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>>; Cordoba Malibran, Erich <<a href="mailto:erich.cordoba.malibran@intel.com">erich.cordoba.malibran@intel.com</a>><br />
<b>Subject:</b> RE: stx-tools: setup stx build environment</p>
</div>
</div>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"> </p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Hi Erich,</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">     Please help check the problem. Tell me if you need more information.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">     I’m trying to run “</span><i><span style="font-size:10pt;font-family:"Courier New";color:#1F497D;">download_mirror.sh</span></i><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">”
 again.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">B.R.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Changcheng</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1pt;padding:3pt 0in 0in 0in;">
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><b>From:</b> Liu, Changcheng <br />
<b>Sent:</b> Wednesday, November 21, 2018 6:35 PM<br />
<b>To:</b> <a href="mailto:'starlingx-discuss@lists.starlingx.io'">'starlingx-discuss@lists.starlingx.io'</a> <<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>><br />
<b>Subject:</b> stx-tools: setup stx build environment</p>
</div>
</div>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"> </p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Could someone help check below bug?</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">    Title: stx-tools: failed to download required packaged</span></p>
<p><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Link:  <a href="https://bugs.launchpad.net/starlingx/+bug/1804412">https://bugs.launchpad.net/starlingx/+bug/1804412</a>
</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">B.R.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;">Changcheng</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;color:#1F497D;"> </span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1pt;padding:3pt 0in 0in 0in;">
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><b>From:</b> Liu, Changcheng <br />
<b>Sent:</b> Friday, November 16, 2018 8:31 PM<br />
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br />
<b>Subject:</b> setup stx build environment</p>
</div>
</div>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"> </p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;">Hi all,</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;">     I have one question about setting up stx build environment.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;">            Why not move lots of many basic program installation process from mirror-check.sh to Dockerfile directly?</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;"> </span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;">     Then stx community could supply one basic docker image as the base image to let developer customize it. Currently, I still need install lots of program after building
 Dockerfile into image.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;"> </span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;">B.R.</span></p>
<p style="margin:0in;margin-bottom:0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;"><span style="font-size:10pt;font-family:"Bookman Old Style",serif;">Changcheng</span></p>
</div>
</div>

<br /><p>_______________________________________________<br />Starlingx-discuss mailing list<br /><a href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a><br /><a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br /></p></blockquote></div>