lava: android: wget: bad address 'people.linaro.org'

Bug #1131048 reported by Naresh Kamboju
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LAVA Validation Lab
Fix Released
Medium
Senthil Kumaran S

Bug Description

lava job failed to fetch tarball from people.linaro.org and reports following Error message. current job tested on vexpress-tc2-01 and same issue has been reported on panda board also.

Error log:
------------
<LAVA_SIGNAL_STARTRUN 0_schedulertests 14ab3ca2-297a-42a0-85ca-658467a3ec4e>
echo LAVA_ACK
wget: bad address 'people.linaro.org'
<LAVA_TEST_RUNNER>: 0_schedulertests exited with: 1
0_schedulertests-1360979404
hwcontext
swcontext
<LAVA_TEST_RUNNER>: calling sync
<LAVA_TEST_RUNNER>: exiting

full test log:
-----------------
http://validation.linaro.org/lava-server/scheduler/job/48034/log_file

Senthil Kumaran wrote:
I think it is a temporary failure in name resolution. Lets look at it now.
http://validation.linaro.org/lava-server/scheduler/job/47810

Tags: qa-services
Changed in lava-test:
status: New → Confirmed
Fathi Boudra (fboudra)
Changed in lava-test:
status: Confirmed → New
affects: lava-test → lava-lab
Changed in lava-lab:
assignee: nobody → Senthil Kumaran S (stylesen)
Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :

above issue can be fixed by Acquiring Proxy. I found this from asac.
- "echo 'Acquire::http::Proxy "http://192.168.1.10:3128";' > /etc/apt/apt.conf.d/lava-apt-proxy"

I have modified my yaml file and submitted job. hope it will success the job this time.
http://validation.linaro.org/lava-server/scheduler/job/48637

Changed in lava-lab:
status: New → Confirmed
Revision history for this message
Senthil Kumaran S (stylesen) wrote :

As per the job runs given below, it is not a problem anymore:

Android - https://validation.linaro.org/lava-server/scheduler/job/53745
Ubuntu - https://validation.linaro.org/lava-server/scheduler/job/53742

http://staging.validation.linaro.org/scheduler/job/44838

Hence marking this bug as 'invalid'. If you feel otherwise, please re-open with fresh job run examples.

Changed in lava-lab:
importance: Undecided → Medium
milestone: none → 2013.05
status: Confirmed → In Progress
status: In Progress → Invalid
Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :

<stylesen> harigollamudi|1: nkambo: am able to reproduce it inside a shell script called from android
<stylesen> nkambo: yes we should! :)
<nkambo> stylesen, do you think it is a lava issue or android issue ?
<stylesen> nkambo: harigollamudi|1: Hope this is specific to android and not to ubuntu
<stylesen> nkambo: it is because of the /system/bin/sh shell in android
<nkambo> bhoj, ^
<stylesen> nkambo: am running the test in ubuntu to reconfirm
<harigollamudi|1> stylesen: nkambo: I have raised a bug related 'bad address' issue
<harigollamudi|1> nkambo: I do not know that this 'bad address' issue exist in ubuntu
<stylesen> harigollamudi|1: nkambo: I shall try to close this issue today
<harigollamudi|1> stylesen: thank you :)

Changed in lava-lab:
status: Invalid → In Progress
summary: - lava: wget: bad address 'people.linaro.org'
+ lava: android: wget: bad address 'people.linaro.org'
Revision history for this message
Senthil Kumaran S (stylesen) wrote :

It is a problem due to lack of nameserver config in the images! We cannot provide a resolve.conf on the fly on android images since it is a readonly filesystem. Following are the relevant lines from the log:

<snip>
<LAVA_TEST_RUNNER>: looking for installation work in /data/lava/lava-test-runner.conf-1385012580
<LAVA_TEST_RUNNER>: save hardware/software context info...
[ 25.900909] init: untracked pid 1782 exited
Error: Could not access the Package Manager. Is the system running?
<LAVA_TEST_RUNNER>: looking for work in /data/lava/lava-test-runner.conf-1385012580
<LAVA_TEST_RUNNER>: running 0_passfail under lava-test-shell...
<LAVA_SIGNAL_STARTRUN 0_passfail 84ed32c2-9cbb-4030-bc2d-9317d88d157c>
echo LAVA_ACK
./passfail-android.sh[3]: can't create /system/etc/resolv.conf: Read-only file system
wget: bad address 'people.apache.org'
<LAVA_TEST_RUNNER>: 0_passfail exited with: 1
0_passfail-1385012582
hwcontext
swcontext
<LAVA_TEST_RUNNER>: calling sync
</snip>

The relevant script used in the above job looks like the following:

<snip>
#!/system/bin/sh

echo "nameserver 8.8.8.8" > /system/etc/resolv.conf
wget http://people.apache.org/~stylesen
</snip>

Revision history for this message
HariGopal (harigopal-gollamudi) wrote :

This issue can also be rectified with the snippet

netcfg eth0 dhcp
setprop net.dns1 8.8.8.8

before calling
wget http://testdata.validation.linaro.org/tjbench/nightshot_iso_100.ppm

Revision history for this message
Senthil Kumaran S (stylesen) wrote : Re: [Bug 1131048] Re: lava: android: wget: bad address 'people.linaro.org'

On Thursday 09 May 2013 10:44 PM, HariGopal wrote:
> This issue can also be rectified with the snippet
>
> netcfg eth0 dhcp
> setprop net.dns1 8.8.8.8
>
> before calling
> wget http://testdata.validation.linaro.org/tjbench/nightshot_iso_100.ppm

Instead of saying "can also be rectified" the right thing to use here
is, "this is the solution for the issue" on android images.

I will check ubuntu based images once and then take further action on
this issue.

Thank You.
--
Senthil Kumaran
http://www.stylesen.org/
http://www.sasenthilkumaran.com/

Revision history for this message
Senthil Kumaran S (stylesen) wrote :

Solution for this bug is to set the dns properly in android as given in https://bugs.launchpad.net/lava-lab/+bug/1131048/comments/5

Changed in lava-lab:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.