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

tests: fix autopkgtest failures in cosmic #5666

Merged
merged 2 commits into from Aug 16, 2018
Merged

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Aug 16, 2018

The most recent autopkgtest run in cosmic had some issues that are
fixed here.

@mvo5 mvo5 added this to the 2.35 milestone Aug 16, 2018
The most recent autopkgtest run in cosmic had some issues that are
fixed here.
@codecov-io
Copy link

codecov-io commented Aug 16, 2018

Codecov Report

Merging #5666 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5666   +/-   ##
=======================================
  Coverage   78.96%   78.96%           
=======================================
  Files         522      522           
  Lines       39711    39711           
=======================================
  Hits        31358    31358           
  Misses       5807     5807           
  Partials     2546     2546

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f466e4...0d03aa3. Read the comment docs.

@@ -55,6 +55,10 @@ ensure_file_exists_backup_real() {
if [ -f "$file" ]; then
mv "$file" "$file.back"
fi
# ensure the parent dir is available
if [ ! -d "$(dirname $file)" ]; then
mkdir -p "$(dirname $file)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could just call mkdir -p ... since that's exactly what it means anyway. Not a blocker, just calling it out.

# profile="snap.test-snapd-eds.calendar" pid=19219 comm="calendar"
# family="unix" sock_type="stream" protocol=0 requested_mask="send
# receive connect" denied_mask="send connect" addr=none
# peer_addr="@/tmp/dbus-5FUilMiW8U" peer="unconfined"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a bug. I'll add a card for that to my queue.

Copy link
Collaborator

@sergiocazzolato sergiocazzolato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with first comment done by zyga, but the change LGTM. Thanks for this

@bboozzoo
Copy link
Collaborator

Some conflicts in this branch.

@bboozzoo bboozzoo merged commit 8701f63 into snapcore:master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants