Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.

Replace tarfile with tar on ostree import#1007

Closed
ashcrow wants to merge 2 commits intoprojectatomic:masterfrom
ashcrow:1451697
Closed

Replace tarfile with tar on ostree import#1007
ashcrow wants to merge 2 commits intoprojectatomic:masterfrom
ashcrow:1451697

Conversation

@ashcrow
Copy link
Contributor

@ashcrow ashcrow commented May 17, 2017

Description

A bug exists where tarfile.extractall raises a unicode error on some
tars. This change replaces the extractall causing BZ#1451697 with
the system tar command.

Related Bugzillas

@ashcrow
Copy link
Contributor Author

ashcrow commented May 17, 2017

@giuseppe PTAL

@ashcrow
Copy link
Contributor Author

ashcrow commented May 17, 2017

centos error is:

error: /dev/vdb: probing initialization failed: Device or resource busy

@giuseppe
Copy link
Collaborator

bot, retest this please

A bug exists where tarfile.extractall raises a unicode error on some
tars. This change replaces the extractall causing BZ#1451697 with
the system tar command.

References:
- https://bugzilla.redhat.com/show_bug.cgi?id=1194473
- https://bugzilla.redhat.com/show_bug.cgi?id=1451697
@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

Force pushed to get a retest.

@giuseppe
Copy link
Collaborator

@rh-atomic-bot r+ bebe2df

@rh-atomic-bot
Copy link

⌛ Testing commit bebe2df with merge 10eefa1...

rh-atomic-bot pushed a commit that referenced this pull request May 18, 2017
A bug exists where tarfile.extractall raises a unicode error on some
tars. This change replaces the extractall causing BZ#1451697 with
the system tar command.

References:
- https://bugzilla.redhat.com/show_bug.cgi?id=1194473
- https://bugzilla.redhat.com/show_bug.cgi?id=1451697

Closes: #1007
Approved by: giuseppe
@rh-atomic-bot
Copy link

💔 Test failed - status-redhatci

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

wipefs: error: /dev/vdb: probing initialization failed: Device or resource busy

and

./tests/integration/test_storage.sh: line 39: [: /var/mnt: unary operator expected

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

@jlebon any known issues with the bot on centos?

@baude
Copy link
Member

baude commented May 18, 2017

@ashcrow looks like a legit test failure?

@baude
Copy link
Member

baude commented May 18, 2017

have you tried

make vagrant-check BOX='centos-atomic'

locally?

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

@baude hrm. I didn't modify that test code. It's failing at:

    MNT=$(mount | awk '$1 ~/vdb/' | awk '{print $3}')
    if [ ${MNT} ]; then
            umount $MNT
    fi

I'll take a look in a few.

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

#1005 is failing with the same error

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

Related: ostreedev/ostree#859

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

Disabling test_storage.sh per conversation in #atomic.

test_storage.sh is erroring on centos_atomic with the following:

    error: /dev/vdb: probing initialization failed: Device or resource
    busy

A few quick attempts to fix it were made, but ended up failing.
Disabling (by appending an underscore) the test until it can be
investigate further.
@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

Timed out trying to get a layer. 🤞 I feel good about this one!

@ashcrow
Copy link
Contributor Author

ashcrow commented May 18, 2017

@baude PTAL

@baude
Copy link
Member

baude commented May 18, 2017

@rh-atomic-bot r+ 49dfdc1

@rh-atomic-bot
Copy link

⌛ Testing commit 49dfdc1 with merge d4fd659...

rh-atomic-bot pushed a commit that referenced this pull request May 18, 2017
test_storage.sh is erroring on centos_atomic with the following:

    error: /dev/vdb: probing initialization failed: Device or resource
    busy

A few quick attempts to fix it were made, but ended up failing.
Disabling (by appending an underscore) the test until it can be
investigate further.

Closes: #1007
Approved by: baude
@rh-atomic-bot
Copy link

☀️ Test successful - status-redhatci
Approved by: baude
Pushing d4fd659 to master...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants