"lava-test" is private for installation.

Bug #1028760 reported by Botao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Obsolete LAVA Test
Invalid
Undecided
Fathi Boudra

Bug Description

For command "bzr branch lp:lava-test", now it's private. I can run it with my Launchpad ID on my host, but when I run this test:

https://wiki.linaro.org/Platform/QA/TestCases/Ubuntu#Power_Management

It's failed on my Samsung Origen board, even I added my Launchpad ID later. Below is log output:

#########################################################
root@linaro-ubuntu-desktop:~# apt-get install bzr python-apt python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-setuptools is already the newest version.
python-setuptools set to manually installed.
bzr is already the newest version.
python-apt is already the newest version.
python-apt set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
root@linaro-ubuntu-desktop:~# bzr branch lp:lava-test
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: zlib.error: Error -3 while decompressing data: incorrect data check

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 920, in excee
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1131, in runr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_s
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_se
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_ws
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1447, in run
    self.add_cleanup(br_from.lock_read().unlock)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 2546, in lock_d
    self.repository.lock_read()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 180d
    self._refresh_data()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 171a
    self._pack_collection.reload_pack_names()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 146s
    first_read = self.ensure_loaded()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 108d
    for index, key, value in self._iter_disk_pack_index():
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 1005, in s
    if not self.key_count():
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 1452, in t
    self._get_root_node()
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 949, in _e
    self._get_internal_nodes([0])
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 974, in _s
    return self._get_nodes(self._internal_node_cache, node_indexes)
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 966, in _s
    found.update(self._get_and_cache_nodes(needed))
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 743, in _s
    for node_pos, node in self._read_nodes(sorted(nodes)):
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 1573, in s
    bytes = zlib.decompress(data)
error: Error -3 while decompressing data: incorrect data check

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.0.2012-07-25T07:01.crash
if a bug-reporting window does not automatically appear.
root@linaro-ubuntu-desktop:~#
root@linaro-ubuntu-desktop:~# ping www.google.com
PING www.l.google.com (74.125.237.148) 56(84) bytes of data.
64 bytes from syd01s13-in-f20.1e100.net (74.125.237.148): icmp_req=1 ttl=52 tims
64 bytes from syd01s13-in-f20.1e100.net (74.125.237.148): icmp_req=2 ttl=51 tims
64 bytes from syd01s13-in-f20.1e100.net (74.125.237.148): icmp_req=3 ttl=51 tims
^C
--- www.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 30.224/30.524/30.760/0.223 ms
root@linaro-ubuntu-desktop:~# [ 647.695000] s3c-fb exynos4-fb.0: stop latency s
[ 706.735000] s3c-fb exynos4-fb.0: start latency exceeded, new value 1625 ns

root@linaro-ubuntu-desktop:~# bzr launchpad-login botao-sun
root@linaro-ubuntu-desktop:~# bzr branch lp:lava-test
The authenticity of host 'bazaar.launchpad.net (91.189.90.11)' can't be establi.
RSA key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'bazaar.launchpad.net,91.189.90.11' (RSA) to the lis.
Permission denied (publickey).
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connecti
root@linaro-ubuntu-desktop:~# bzr branch lp:lava-test
Permission denied (publickey).
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connecti
root@linaro-ubuntu-desktop:~#
#########################################################

Therefore, can this repository back to the public which doesn't need a launchpad ID? Otherwise, there will be a bunch of preparation work to do for each board since it requires to validate the SSH Public key each.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Andy Doan (doanac) wrote :

looks like its an issue with the build you used. we run "bzr branch lp:lava-test" dozens of times a day without problems

Revision history for this message
Botao (botao-sun) wrote :
Download full text (5.0 KiB)

For Samsung Origen board, it happens again:

root@linaro-ubuntu-desktop:~# apt-get install bzr python-apt python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-setuptools is already the newest version.
python-setuptools set to manually installed.
bzr is already the newest version.
python-apt is already the newest version.
python-apt set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
root@linaro-ubuntu-desktop:~# bzr branch lp:lava-test
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: zlib.error: Error -3 while decompressing data: incorrect data check

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 920, in exce
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1131, in rur
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in runs
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_e
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_s
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1447, in run
    self.add_cleanup(br_from.lock_read().unlock)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 2546, in lockd
    self.repository.lock_read()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 18d
    self._refresh_data()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 17a
    self._pack_collection.reload_pack_names()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 14s
    first_read = self.ensure_loaded()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 10d
    for index, key, value in self._...

Read more...

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1028760] Re: "lava-test" is private for installation.

Botao Sun <email address hidden> writes:

> root@linaro-ubuntu-desktop:~# bzr branch lp:lava-test
> You have not informed bzr of your Launchpad ID, and you must do this to
> write to Launchpad or access private data. See "bzr help launchpad-login".

This bit is ignorable fluff.

> bzr: ERROR: zlib.error: Error -3 while decompressing data: incorrect data check

This bit is the real problem: somehow the data is getting corrupted.

Cheers,
mwh

Revision history for this message
Botao (botao-sun) wrote :

For Samsung Origen board with Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/leb-origen/259/leb-origen-precise_ubuntu-desktop_20120805-259.img.gz

I got these output when I run "bzr branch lp:lava-test" for test:

https://wiki.linaro.org/Platform/QA/TestCases/Ubuntu#Power_Management

root@linaro-ubuntu-desktop:~# apt-get install bzr python-apt python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-setuptools is already the newest version.
python-setuptools set to manually installed.
bzr is already the newest version.
python-apt is already the newest version.
python-apt set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@linaro-ubuntu-desktop:~# bzr branch lp:lava-test
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
[ 1953.935000] dma-pl330 dma-pl330.2: Reset Channel-0 CS-20000f FTC-2000
bzr: ERROR: Unknown working tree format: 'Bazaar-NG meta directory, format 1\n'
root@linaro-ubuntu-desktop:~#

This test works well on Panda 4430 & 4460 boards.

Revision history for this message
Fathi Boudra (fboudra) wrote :

Marking as invalid. lava-test package is preinstalled into the pre-built images.
The test instructions should be updated.

Changed in lava-test:
status: New → Invalid
assignee: nobody → Fathi Boudra (fboudra)
milestone: none → 2012.08
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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