Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running a simple Dockerfile based on clearlinux containing an update command #4

Open
gblewis1 opened this issue Mar 12, 2019 · 1 comment

Comments

@gblewis1
Copy link

Dockerfile

FROM clearlinux:latest
RUN swupd update 
RUN swupd bundle-add scm-server

Output:

Sending build context to Docker daemon  50.28MB
Step 1/3 : FROM clearlinux:latest
 ---> cfe5f13b90b0
Step 2/3 : RUN swupd update
 ---> Running in bfd9d6caff8a
swupd-client software update 3.15.0
   Copyright (C) 2012-2018 Intel Corporation

Update started.
Attempting to download version string to memory
Preparing to update from 21150 to 21520
Downloading packs...
.

Statistics for going from version 21150 to version 21520:

    changed bundles   : 2
    new bundles       : 0
    deleted bundles   : 0

    changed files     : 38
    new files         : 73
    deleted files     : 0

Starting download of remaining update content. This may take a while...

File /usr/bin/clr_power was not in a pack
...........Finishing download of update content...
..
Staging file content
Applying update
.............
Update was applied.
Calling post-update helper scripts.
Update took 5.0 seconds
Update successful. System updated from version 21150 to version 21520
103 files were not in a pack
swupd-client software update 3.15.2
   Copyright (C) 2012-2018 Intel Corporation

Update started.
Attempting to download version string to memory
Preparing to update from 21530 to 25760
Downloading packs...
.

Statistics for going from version 21530 to version 25760:

    changed bundles   : 2
    new bundles       : 0
    deleted bundles   : 0

    changed files     : 2402
    new files         : 1846
    deleted files     : 101

Starting download of remaining update content. This may take a while...

File /usr/bin/addpart was not in a pack
............................................................................................................................................................................................................
Finishing download of update content...
Staging file content
Applying update
..........................................................................................................................................................................................................................................................................................
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:684
Out of memory[ERROR] cbm (../src/bootman/kernel.c:L258): Error opening ///usr/lib/kernel: No such file or directory
[ERROR] cbm (../src/bootman/update.c:L255): No kernels discovered in ///usr/lib/kernel, bailing
Update took 20.1 seconds
Update successful. System updated from version 21530 to version 25760
1883 files were not in a pack
Update started.
Preparing to update from 25770 to 27200
Downloading packs...
.

Statistics for going from version 25770 to version 27200:

    changed bundles   : 2
    new bundles       : 0
    deleted bundles   : 0

    changed files     : 3426
    new files         : 531
    deleted files     : 67

Starting download of remaining update content. This may take a while...
....................................................................................................................................................Finishing download of update content...

Staging file content
Applying update
.................................................................................................................................................................
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:684
Out of memoryUpdate took 17.0 seconds
1345 files were not in a pack
Update successful. System updated from version 25770 to version 27200
Update started.
Preparing to update from 27210 to 28260
Downloading packs...

Extracting os-core-webproxy pack for version 28230
.
Extracting libglib pack for version 28220

Extracting libstdcpp pack for version 28260

Extracting p11-kit pack for version 28240

Extracting os-core pack for version 28260

Extracting os-core-update pack for version 28240


Statistics for going from version 27210 to version 28260:

    changed bundles   : 2
    new bundles       : 5
    deleted bundles   : 0

    changed files     : 1142
    new files         : 3069
    deleted files     : 454

Starting download of remaining update content. This may take a while...
.....................................................................................................................................................................................
Finishing download of update content...
Staging file content
Applying update
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Update was applied.
Calling post-update helper scripts.
none
[ERROR] cbm (../src/lib/files.c:L165): Invalid block device: /
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:684
Out of memoryUpdate took 8.1 seconds
Update successful. System updated from version 27210 to version 28260
Removing intermediate container bfd9d6caff8a
 ---> 5b23fee4a7d6
Step 3/3 : RUN swupd bundle-add scm-server
 ---> Running in 766e45bf66a1
standard_init_linux.go:207: exec user process caused "no such file or directory"
The command '/bin/sh -c swupd bundle-add scm-server' returned a non-zero code: 1
@bryteise
Copy link
Member

Those error messages are cosmetic from cbm, I have a fix to http://github.com/clearlinux/clr-boot-manager/ in the works to avoid them from showing up though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants