Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Upgrade smoke-tests to use 'overlay' storage and Ubuntu 15.04 #1125

Merged
merged 2 commits into from
Jul 14, 2015

Conversation

bboreham
Copy link
Contributor

The 'overlay' driver is claimed to be the best choice right now, but requires Linux kernel 3.18.

You can feel the difference - using vfs (which our Vagrant set-up did because it didn't install the extra bits for aufs) the machine would bog down when tests were running, but with overlay you rarely notice this.

I will post some timings to illustrate the difference soon.

@tomwilkie
Copy link
Contributor

We should do the same for circle runs. Needs updates to gce.sh and a new
template generating.

On Monday, 13 July 2015, Bryan Boreham [email protected] wrote:

The 'overlay' driver is the fastest available right now, but requires
Linux kernel 3.18.

I will post some timings to illustrate the difference soon.

You can view, comment on, or merge this pull request online at:

#1125
Commit Summary

  • Upgrade to Ubuntu 15.04
  • Tell Docker to use 'overlay' storage driver

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#1125.

@rade
Copy link
Member

rade commented Jul 13, 2015

it's less important for circle since that at least uses aufs.

@bboreham
Copy link
Contributor Author

Sample timings for make run-smoketests, after all images have been pre-downloaded:

Driver Run 1 Run 2
VFS (current) 23m47s 16m32s
AUFS 8m45s 5m48s
Overlay 6m19s 6m33s

Not sure if this is conclusive between AUFS and Overlay. Maybe the 8-minute one was an outlier.

@errordeveloper
Copy link
Contributor

LGTM

bboreham added a commit that referenced this pull request Jul 14, 2015
Upgrade smoke-tests to use 'overlay' storage and Ubuntu 15.04
@bboreham bboreham merged commit 907de67 into master Jul 14, 2015
@2opremio
Copy link
Contributor

This change breaks the smoke-tests (in my local installation at least).

Using current master (907de67), after getting excited about the performance benefits of this PR and recreating the test VMs:

weave/test $ ./setup.sh
Copying weave images, scripts, and certificates to hosts, and
prefetch test images
Post http://192.168.48.11:2375/v1.19/images/load: dial tcp 192.168.48.11:2375: i/o timeout. Are you trying to connect to a TLS-enabled daemon without TLS?

It seems like 192.168.48.11:2375 cannot be accessed externally anymore when switching to ubuntu 15.

From my host:

$ docker -H tcp://192.168.48.11:2375 ps
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?`

From my vagrant dev machine:

 $ docker -H tcp://192.168.48.11:2375 ps
 Get http://192.168.48.11:2375/v1.19/containers/json: dial tcp 192.168.48.11:2375: i/o timeout. Are you trying to connect to a TLS-enabled daemon without TLS?

Reverting to 499d65e and recreating the VMs fixes it

@bboreham
Copy link
Contributor Author

Sorry, there's a fix in 6d17fe5

@rade rade deleted the smoke-overlay branch July 14, 2015 12:38
@rade rade mentioned this pull request Jul 14, 2015
@rade rade modified the milestones: current, 1.1.0 Jul 15, 2015
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.

5 participants