From: "Alex Bennée" <alex.bennee@linaro.org>
To: Fam Zheng <famz@redhat.com>
Cc: kwolf@redhat.com, peter.maydell@linaro.org, sw@weilnetz.de,
qemu-devel@nongnu.org, stefanha@redhat.com,
Paolo Bonzini <pbonzini@redhat.com>,
jsnow@redhat.com, david@gibson.dropbear.id.au
Subject: Re: [Qemu-devel] [PATCH v2 03/15] docker: Add images
Date: Wed, 02 Mar 2016 07:26:06 +0000 [thread overview]
Message-ID: <871t7te3xt.fsf@linaro.org> (raw)
In-Reply-To: <20160302022317.GB20565@ad.usersys.redhat.com>
Fam Zheng <famz@redhat.com> writes:
> On Tue, 03/01 09:52, Alex Bennée wrote:
>>
>> Fam Zheng <famz@redhat.com> writes:
>>
>> > On Mon, 02/29 17:18, Alex Bennée wrote:
>> >>
>> >> Fam Zheng <famz@redhat.com> writes:
>> >>
>> >> > Signed-off-by: Fam Zheng <famz@redhat.com>
>> >>
>> >> I think we need to include the dtc libs in here unless we need to ship
>> >> all submodules in the tree as well.
>> >
>> > OK, will take a look.
>> >
>> >>
>> >> Is there a way to get a plain install shell? PAUSE=1 on the test shells
>> >> doesn't seem to allow me to install anything.
>> >
>> > What is the error when you install things? I think it is an unmodified shell
>> > and "yum" or "apt-get" should just work. It's just that when the container
>> > exits the changes will be discarded.
>>
>> So running:
>>
>> make docker-test-quick@ubuntu PAUSE=1
>>
>> And I got a shell I wanted to try and get working:
>>
>> root@72d09615d5b2:/var/tmp/qemu.tmp# ./configure
>>
>> ERROR: DTC (libfdt) version >= 1.4.0 not present. Your options:
>> (1) Preferred: Install the DTC (libfdt) devel package
>> (2) Fetch the DTC submodule, using:
>> git submodule update --init dtc
>>
>> root@72d09615d5b2:/var/tmp/qemu.tmp# apt-cache search libfdt
>> libfdt-dev - Flat Device Trees manipulation library - development
>> files
>> libfdt1 - Flat Device Trees manipulation library
>> root@72d09615d5b2:/var/tmp/qemu.tmp# apt-get install libfdt-dev
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following extra packages will be installed:
>> libfdt1
>> The following NEW packages will be installed:
>> libfdt-dev libfdt1
>> 0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
>> Need to get 37.8 kB of archives.
>> After this operation, 216 kB of additional disk space will be used.
>> Do you want to continue? [Y/n]
>> Err http://archive.ubuntu.com/ubuntu/ trusty/main libfdt1 amd64
>> 1.4.0+dfsg-1
>> Could not resolve 'archive.ubuntu.com'
>> Err http://archive.ubuntu.com/ubuntu/ trusty/main libfdt-dev amd64
>> 1.4.0+dfsg-1
>> Could not resolve 'archive.ubuntu.com'
>> E: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfdt1_1.4.0+dfsg-1_amd64.deb
>> Could not resolve 'archive.ubuntu.com'
>>
>> E: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfdt-dev_1.4.0+dfsg-1_amd64.deb
>> Could not resolve 'archive.ubuntu.com'
>>
>> E: Unable to fetch some archives, maybe run apt-get update or try with
>> --fix-missing?
>> root@72d09615d5b2:/var/tmp/qemu.tmp# apt-get update
>> Err http://archive.ubuntu.com trusty InRelease
>>
>> Err http://archive.ubuntu.com trusty-updates InRelease
>>
>> Err http://archive.ubuntu.com trusty-security InRelease
>>
>> Err http://archive.ubuntu.com trusty Release.gpg
>> Could not resolve 'archive.ubuntu.com'
>> Err http://archive.ubuntu.com trusty-updates Release.gpg
>> Could not resolve 'archive.ubuntu.com'
>> Err http://archive.ubuntu.com trusty-security Release.gpg
>> Could not resolve 'archive.ubuntu.com'
>> Reading package lists... Done
>> W: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>
>> W: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
>>
>> W: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease
>>
>> W: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not
>> resolve 'archive.ubuntu.com'
>>
>> W: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg
>> Could not resolve 'archive.ubuntu.com'
>>
>> W: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg
>> Could not resolve 'archive.ubuntu.com'
>>
>> W: Some index files failed to download. They have been ignored, or old
>> ones used instead.
>>
>>
>> So it looks like networking isn't working in the test images. For
>> debugging problems I think we need to be able to install stuff on a
>> running image so we can then fix the base recipes.
>
> Oh yes, I added "-net=none" to the "docker run" command for better isolation.
> So in this case we should enable it. Let's rename PAUSE=1 to DEBUG=1 and
> enable network.
Sounds good.
>
> Fam
--
Alex Bennée
next prev parent reply other threads:[~2016-03-02 7:26 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 12:39 [Qemu-devel] [PATCH v2 00/15] tests: Introducing docker tests Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 01/15] tests: Add utilities for docker testing Fam Zheng
2016-02-29 16:46 ` Alex Bennée
2016-03-01 1:12 ` Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 02/15] Makefile: Rules " Fam Zheng
2016-02-29 17:08 ` Alex Bennée
2016-03-01 1:04 ` Fam Zheng
2016-03-01 9:56 ` Alex Bennée
2016-03-01 18:12 ` Alex Bennée
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 03/15] docker: Add images Fam Zheng
2016-02-29 17:18 ` Alex Bennée
2016-03-01 1:19 ` Fam Zheng
2016-03-01 9:52 ` Alex Bennée
2016-03-02 2:23 ` Fam Zheng
2016-03-02 7:26 ` Alex Bennée [this message]
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 04/15] docker: Add test runner Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 05/15] docker: Add common.rc Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 06/15] docker: Add quick test Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 07/15] docker: Add full test Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 08/15] docker: Add clang test Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 09/15] docker: Add mingw test Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 10/15] docker: Add travis tool Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 11/15] docs: Add text for tests/docker in build-system.txt Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 12/15] .gitignore: Ignore temporary dockerfile Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 13/15] MAINTAINERS: Add tests/docker Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 14/15] docker: Support interactive shell for debugging Fam Zheng
2016-02-16 12:39 ` [Qemu-devel] [PATCH v2 15/15] tests/docker/Makefile.include: snapshot the src for docker Fam Zheng
2016-03-01 20:16 ` Alex Bennée
2016-03-02 3:38 ` Fam Zheng
2016-02-24 7:17 ` [Qemu-devel] [PATCH v2 00/15] tests: Introducing docker tests Fam Zheng
2016-02-29 14:51 ` Alex Bennée
2016-02-29 17:22 ` Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871t7te3xt.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=david@gibson.dropbear.id.au \
--cc=famz@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.