{"action":"created","comment":{"url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/comments/127542682","pull_request_review_id":50145234,"id":127542682,"diff_hunk":"@@ -40,16 +40,49 @@\n         VIB_URL=${match_array[1]}\n     }\n \n+    if [ -z $UPGRADE_FROM_VER ]\n+    then\n+        echo \"Enviroment variable UPGRADE_FROM_VER is not set\"\n+        exit 1\n+    fi\n+\n+    if [ -z $UPGRADE_TO_VER ]\n+    then\n+        echo \"Enviroment variable UPGRADE_FROM_VER is not set\"","path":"misc/scripts/upgrade_test.sh","position":32,"original_position":12,"commit_id":"e8d46421483007f7ab1e2974c25d4c75f9a210dd","original_commit_id":"e8d46421483007f7ab1e2974c25d4c75f9a210dd","user":{"login":"lipingxue","id":4754483,"avatar_url":"https://avatars7.githubusercontent.com/u/4754483?v=4","gravatar_id":"","url":"https://api.github.com/users/lipingxue","html_url":"https://github.com/lipingxue","followers_url":"https://api.github.com/users/lipingxue/followers","following_url":"https://api.github.com/users/lipingxue/following{/other_user}","gists_url":"https://api.github.com/users/lipingxue/gists{/gist_id}","starred_url":"https://api.github.com/users/lipingxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipingxue/subscriptions","organizations_url":"https://api.github.com/users/lipingxue/orgs","repos_url":"https://api.github.com/users/lipingxue/repos","events_url":"https://api.github.com/users/lipingxue/events{/privacy}","received_events_url":"https://api.github.com/users/lipingxue/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2017-07-14T20:32:27Z","updated_at":"2017-07-14T20:32:28Z","html_url":"https://github.com/vmware/docker-volume-vsphere/pull/1584#discussion_r127542682","pull_request_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584","_links":{"self":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/comments/127542682"},"html":{"href":"https://github.com/vmware/docker-volume-vsphere/pull/1584#discussion_r127542682"},"pull_request":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584"}}},"pull_request":{"url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584","id":130466795,"html_url":"https://github.com/vmware/docker-volume-vsphere/pull/1584","diff_url":"https://github.com/vmware/docker-volume-vsphere/pull/1584.diff","patch_url":"https://github.com/vmware/docker-volume-vsphere/pull/1584.patch","issue_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/1584","number":1584,"state":"open","locked":false,"title":"Support upgrade automation test from a tagged release to top of the tree [SKIP CI]","user":{"login":"lipingxue","id":4754483,"avatar_url":"https://avatars7.githubusercontent.com/u/4754483?v=4","gravatar_id":"","url":"https://api.github.com/users/lipingxue","html_url":"https://github.com/lipingxue","followers_url":"https://api.github.com/users/lipingxue/followers","following_url":"https://api.github.com/users/lipingxue/following{/other_user}","gists_url":"https://api.github.com/users/lipingxue/gists{/gist_id}","starred_url":"https://api.github.com/users/lipingxue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipingxue/subscriptions","organizations_url":"https://api.github.com/users/lipingxue/orgs","repos_url":"https://api.github.com/users/lipingxue/repos","events_url":"https://api.github.com/users/lipingxue/events{/privacy}","received_events_url":"https://api.github.com/users/lipingxue/received_events","type":"User","site_admin":false},"body":"Fixed #1380 \r\n\r\nThis PR includes the second part fix for issue #1380, which support the upgrade automation test from a tagged release to top of the tree.\r\n\r\nHow to run this test:\r\nUser need to set the following environment variables\r\n\"$DOCKER_HUB_REPO\" is the user id for docker hub,  and the managed plugin will be pushed to the docker hub with user id specified by this variable.\r\n\"$UPGRADE_FROM_VER\" is the release number, such as \"0.14\", \"0.15\".\r\n \"$UPGRADE_TO_VER\" need  set to \"CURRENT\".\r\n```\r\necho $DOCKER_HUB_REPO\r\nlipingxue\r\nlipingx-m01:auth_r9.liping lipingx$ echo $UPGRADE_FROM_VER\r\n0.14\r\nlipingx-m01:auth_r9.liping lipingx$ echo $UPGRADE_TO_VER\r\nCURRENT\r\n```\r\n\r\nTest result:\r\n```\r\nlipingx-m01:auth_r9.liping lipingx$ make test-upgrade\r\n/Library/Developer/CommandLineTools/usr/bin/make --directory=client_plugin test-upgrade\r\nMakefile:410: *** missing `endif'.  Stop.\r\nmake: *** [test-upgrade] Error 2\r\nlipingx-m01:auth_r9.liping lipingx$ make test-upgrade\r\n/Library/Developer/CommandLineTools/usr/bin/make --directory=client_plugin test-upgrade\r\n/Library/Developer/CommandLineTools/usr/bin/make build-all\r\n../misc/scripts/build.sh pylint\r\nmake: Entering directory '/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\nmake: Nothing to be done for 'pylint'.\r\nmake: Leaving directory '/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\n../misc/scripts/build.sh build\r\nmake: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nmake  --directory=../esx_service build\r\nmake[1]: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\nmake[1]: Nothing to be done for `build'.\r\nmake[1]: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\nmake: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\n../misc/scripts/build.sh deb\r\nmake: Entering directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nfpm --deb-no-default-config-files -p ../build -C package -s dir -n docker-volume-vsphere -v 0.15.2937814 --provides docker-volume-vsphere -m cna-storage@vmware.com --url https://github.com/vmware/docker-volume-vsphere --after-install ../misc/scripts/install/after-install.sh --before-remove ../misc/scripts/install/before-remove.sh --after-remove ../misc/scripts/install/after-remove.sh --description \"Docker Volume Driver for vSphere\" --architecture x86_64 --force -t deb .\r\n{:timestamp=>\"2017-07-13T20:12:32.047520+0000\", :message=>\"Force flag given. Overwriting package at ../build/docker-volume-vsphere_0.15.2937814_amd64.deb\", :level=>:warn}\r\n{:timestamp=>\"2017-07-13T20:12:32.561905+0000\", :message=>\"Created package\", :path=>\"../build/docker-volume-vsphere_0.15.2937814_amd64.deb\"}\r\nmake: Leaving directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\n../misc/scripts/build.sh rpm\r\nmake: Entering directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nfpm --epoch 0 -p ../build -C package -s dir -n docker-volume-vsphere -v 0.15.2937814 --provides docker-volume-vsphere -m cna-storage@vmware.com --url https://github.com/vmware/docker-volume-vsphere --after-install ../misc/scripts/install/after-install.sh --before-remove ../misc/scripts/install/before-remove.sh --after-remove ../misc/scripts/install/after-remove.sh --description \"Docker Volume Driver for vSphere\" --architecture x86_64 --force -t rpm .\r\n{:timestamp=>\"2017-07-13T20:12:35.485255+0000\", :message=>\"Force flag given. Overwriting package at ../build/docker-volume-vsphere-0.15.2937814-1.x86_64.rpm\", :level=>:warn}\r\n{:timestamp=>\"2017-07-13T20:12:37.352863+0000\", :message=>\"Created package\", :path=>\"../build/docker-volume-vsphere-0.15.2937814-1.x86_64.rpm\"}\r\nmake: Leaving directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\n/Library/Developer/CommandLineTools/usr/bin/make --directory=../plugin_dockerbuild all\r\nUsing the following config:\r\nDOCKER_HUB_REPO lipingxue EXTRA_TAG -dev VERSION_TAG 0.16\r\nPLUGIN_NAME lipingxue/docker-volume-vsphere:0.16-dev\r\n=== Cleaning work files, images and plugin(s)...\r\nrm -rf /tmp/plugin\r\nrm -f docker-volume-vsphere\r\ndocker plugin rm lipingxue/docker-volume-vsphere:0.16-dev -f\r\nlipingxue/docker-volume-vsphere:0.16-dev\r\ndocker rm -vf tempContainer\r\ntempContainer\r\ndocker rmi lipingxue/docker-volume-vsphere:rootfs\r\nUntagged: lipingxue/docker-volume-vsphere:rootfs\r\nDeleted: sha256:087799b5851fcaef5214c4f1c9ac61a2fc3c0bb88127249eadeb1a68697e3786\r\nDeleted: sha256:99442158eec8f166a6b897c158e4082adfc8bbbec2c8cdef9f24e26ecb7aff36\r\nDeleted: sha256:c0a872fa31f7f2674bfd780d43925efb3d1103d9630bf9a6cdc4def72e3cecb0\r\n== building Docker image, unpacking to ./rootfs and creating plugin...\r\ncp ../build/docker-volume-vsphere .\r\ndocker build -q -t lipingxue/docker-volume-vsphere:rootfs .\r\nsha256:27573dc3695913d2b50bbbe7cfaf90962930c8d2226373ada6f69069ccffb2bf\r\ndocker create --name tempContainer lipingxue/docker-volume-vsphere:rootfs\r\n8b851f6c270712142b346e97a1788027f021b5f8e5534d60656a4f0c40d4711f\r\nmkdir -p /tmp/plugin/rootfs\r\ndocker export  tempContainer  | tar -x -C /tmp/plugin/rootfs\r\ncp config.json docker-volume-vsphere /tmp/plugin\r\n-- Creating  plugin lipingxue/docker-volume-vsphere:0.16-dev ...\r\ndocker plugin create lipingxue/docker-volume-vsphere:0.16-dev /tmp/plugin\r\nlipingxue/docker-volume-vsphere:0.16-dev\r\nPushing lipingxue/docker-volume-vsphere:0.16-dev to dockerhub.io...\r\nThe push refers to a repository [docker.io/lipingxue/docker-volume-vsphere]\r\na7405c428f28: Pushed \r\n0.16-dev: digest: sha256:ac501b8fa07faa7abe4bbd1c325673e182a4763ca1345b37e22cb52127021bcb size: 519\r\n../misc/scripts/build.sh run-upgrade-test\r\nmake: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nESX='10.162.22.190' VM1='10.162.24.183' UPGRADE_FROM_VER='0.14' UPGRADE_TO_VER='CURRENT' lipingxue='lipingxue' ../misc/scripts/upgrade_test.sh\r\n0.15.2937814\r\nlipingxue\r\nGet version 0.14\r\n\r\nBASE_VIB_URL=https://bintray.com/vmware/vDVS/download_file?file_path=VMWare_bootbank_esx-vmdkops-service_0.14.0577889-0.0.1.vib\r\nUpgrade test step 4: deploy on 10.162.22.190 with ../build/vmware-esx-vmdkops-0.15.2937814.vib\r\n\r\n\r\n=> Deploying to ESX root@10.162.22.190 Thu Jul 13 20:13:01 UTC 2017\r\n\r\n\r\nInstallation Result:\r\n   Message: Host is not changed.\r\n   Reboot Required: false\r\n   VIBs Installed: \r\n   VIBs Removed: \r\n   VIBs Skipped: VMWare_bootbank_esx-vmdkops-service_0.15.2937814-0.0.1\r\nvmdkops-opsd is running pid=4986858\r\n4986890\r\nUpgrade test step 5.1: remove plugin vsphere:latest on 10.162.24.183\r\n\r\n\r\n=> cleanvm: Cleaning up on root@10.162.24.183 : deb Thu Jul 13 20:13:08 UTC 2017\r\n\r\n\r\nUpgrade test step 5.2: deploy plugin lipingxue/docker-volume-vsphere:0.16-dev on 10.162.24.183\r\n\r\n\r\n=> installManagedPlugin: Installing vDVS plugin [lipingxue/docker-volume-vsphere:0.16-dev] Thu Jul 13 20:13:10 UTC 2017\r\n\r\n\r\n0.16-dev: Pulling from lipingxue/docker-volume-vsphere\r\n768a13d67eed: Verifying Checksum\r\n768a13d67eed: Download complete\r\nDigest: sha256:ac501b8fa07faa7abe4bbd1c325673e182a4763ca1345b37e22cb52127021bcb\r\nStatus: Downloaded newer image for lipingxue/docker-volume-vsphere:0.16-dev\r\nInstalled plugin lipingxue/docker-volume-vsphere:0.16-dev\r\n29674\r\nbash: systemctl: command not found\r\ndocker stop/waiting\r\ndocker start/running, process 29846\r\nmake: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nlipingx-m01:auth_r9.liping lipingx$ \r\nlipingx-m01:auth_r9.liping lipingx$ \r\nlipingx-m01:auth_r9.liping lipingx$ \r\nlipingx-m01:auth_r9.liping lipingx$ clear\r\n\r\nlipingx-m01:auth_r9.liping lipingx$ \r\nlipingx-m01:auth_r9.liping lipingx$ \r\nlipingx-m01:auth_r9.liping lipingx$ make test-upgrade\r\n/Library/Developer/CommandLineTools/usr/bin/make --directory=client_plugin test-upgrade\r\n/Library/Developer/CommandLineTools/usr/bin/make build-all\r\n../misc/scripts/build.sh pylint\r\nmake: Entering directory '/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\nmake: Nothing to be done for 'pylint'.\r\nmake: Leaving directory '/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\n../misc/scripts/build.sh build\r\nmake: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nmake  --directory=../esx_service build\r\nmake[1]: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\nmake[1]: Nothing to be done for `build'.\r\nmake[1]: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/esx_service'\r\nmake: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\n../misc/scripts/build.sh deb\r\nmake: Entering directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nfpm --deb-no-default-config-files -p ../build -C package -s dir -n docker-volume-vsphere -v 0.15.2937814 --provides docker-volume-vsphere -m cna-storage@vmware.com --url https://github.com/vmware/docker-volume-vsphere --after-install ../misc/scripts/install/after-install.sh --before-remove ../misc/scripts/install/before-remove.sh --after-remove ../misc/scripts/install/after-remove.sh --description \"Docker Volume Driver for vSphere\" --architecture x86_64 --force -t deb .\r\n{:timestamp=>\"2017-07-13T20:15:07.412271+0000\", :message=>\"Force flag given. Overwriting package at ../build/docker-volume-vsphere_0.15.2937814_amd64.deb\", :level=>:warn}\r\n{:timestamp=>\"2017-07-13T20:15:07.982754+0000\", :message=>\"Created package\", :path=>\"../build/docker-volume-vsphere_0.15.2937814_amd64.deb\"}\r\nmake: Leaving directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\n../misc/scripts/build.sh rpm\r\nmake: Entering directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nfpm --epoch 0 -p ../build -C package -s dir -n docker-volume-vsphere -v 0.15.2937814 --provides docker-volume-vsphere -m cna-storage@vmware.com --url https://github.com/vmware/docker-volume-vsphere --after-install ../misc/scripts/install/after-install.sh --before-remove ../misc/scripts/install/before-remove.sh --after-remove ../misc/scripts/install/after-remove.sh --description \"Docker Volume Driver for vSphere\" --architecture x86_64 --force -t rpm .\r\n{:timestamp=>\"2017-07-13T20:15:10.406110+0000\", :message=>\"Force flag given. Overwriting package at ../build/docker-volume-vsphere-0.15.2937814-1.x86_64.rpm\", :level=>:warn}\r\n{:timestamp=>\"2017-07-13T20:15:12.282877+0000\", :message=>\"Created package\", :path=>\"../build/docker-volume-vsphere-0.15.2937814-1.x86_64.rpm\"}\r\nmake: Leaving directory '/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\n/Library/Developer/CommandLineTools/usr/bin/make --directory=../plugin_dockerbuild all\r\nUsing the following config:\r\nDOCKER_HUB_REPO lipingxue EXTRA_TAG -dev VERSION_TAG 0.16\r\nPLUGIN_NAME lipingxue/docker-volume-vsphere:0.16-dev\r\n=== Cleaning work files, images and plugin(s)...\r\nrm -rf /tmp/plugin\r\nrm -f docker-volume-vsphere\r\ndocker plugin rm lipingxue/docker-volume-vsphere:0.16-dev -f\r\nlipingxue/docker-volume-vsphere:0.16-dev\r\ndocker rm -vf tempContainer\r\ntempContainer\r\ndocker rmi lipingxue/docker-volume-vsphere:rootfs\r\nUntagged: lipingxue/docker-volume-vsphere:rootfs\r\nDeleted: sha256:27573dc3695913d2b50bbbe7cfaf90962930c8d2226373ada6f69069ccffb2bf\r\nDeleted: sha256:0334aaf2b4c4b6b064d8440b4e61ef89be8064737cdea767adb639c773799e85\r\nDeleted: sha256:5aafc46b0b87b40cc7fcf3dd2785030f06ec7e25009cc454e460027927120950\r\n== building Docker image, unpacking to ./rootfs and creating plugin...\r\ncp ../build/docker-volume-vsphere .\r\ndocker build -q -t lipingxue/docker-volume-vsphere:rootfs .\r\nsha256:420bd4d86fabfc6646d3b3a30d0ffa4caa6428e16343294705869ec7b48ce3ab\r\ndocker create --name tempContainer lipingxue/docker-volume-vsphere:rootfs\r\n79518ee2b5ffe7484935671c572ca46e0979240653cb6309d0fc726f4aae7617\r\nmkdir -p /tmp/plugin/rootfs\r\ndocker export  tempContainer  | tar -x -C /tmp/plugin/rootfs\r\ncp config.json docker-volume-vsphere /tmp/plugin\r\n-- Creating  plugin lipingxue/docker-volume-vsphere:0.16-dev ...\r\ndocker plugin create lipingxue/docker-volume-vsphere:0.16-dev /tmp/plugin\r\nlipingxue/docker-volume-vsphere:0.16-dev\r\nPushing lipingxue/docker-volume-vsphere:0.16-dev to dockerhub.io...\r\nThe push refers to a repository [docker.io/lipingxue/docker-volume-vsphere]\r\n9f0eeed2b106: Pushed \r\n0.16-dev: digest: sha256:96bb8cc873b4d9201643f894de4f327fc0743b51ea24005033cb0c3f02ba9609 size: 519\r\n../misc/scripts/build.sh run-upgrade-test\r\nmake: Entering directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nESX='10.162.22.190' VM1='10.162.24.183' UPGRADE_FROM_VER='0.14' UPGRADE_TO_VER='CURRENT' lipingxue='lipingxue' ../misc/scripts/upgrade_test.sh\r\nGet version 0.14\r\n\r\nBASE_VIB_URL=https://bintray.com/vmware/vDVS/download_file?file_path=VMWare_bootbank_esx-vmdkops-service_0.14.0577889-0.0.1.vib\r\nUpgrade test: from ver 0.14 to ver CURRENT\r\nUpgrade test step 1: deploy on 10.162.22.190 with https://bintray.com/vmware/vDVS/download_file?file_path=VMWare_bootbank_esx-vmdkops-service_0.14.0577889-0.0.1.vib\r\n\r\n\r\n=> Deploying to ESX root@10.162.22.190 Thu Jul 13 20:15:37 UTC 2017\r\n\r\n\r\nInstallation Result:\r\n   Message: Operation finished successfully.\r\n   Reboot Required: false\r\n   VIBs Installed: VMWare_bootbank_esx-vmdkops-service_0.14.0577889-0.0.1\r\n   VIBs Removed: VMWare_bootbank_esx-vmdkops-service_0.15.2937814-0.0.1\r\n   VIBs Skipped: \r\nvmdkops-opsd is running pid=5008234\r\n5008266\r\nUpgrade test step 2.1: remove plugin vsphere:latest on 10.162.24.183\r\n\r\n\r\n=> cleanvm: Cleaning up on root@10.162.24.183 : deb Thu Jul 13 20:16:04 UTC 2017\r\n\r\n\r\nUpgrade test step 2.2: deploy plugin vmware/docker-volume-vsphere:0.14 on 10.162.24.183\r\n\r\n\r\n=> installManagedPlugin: Installing vDVS plugin [vmware/docker-volume-vsphere:0.14] Thu Jul 13 20:16:06 UTC 2017\r\n\r\n\r\n0.14: Pulling from vmware/docker-volume-vsphere\r\n74f07603471d: Verifying Checksum\r\n74f07603471d: Download complete\r\nDigest: sha256:7abedf6f9e25258085c24e7e1b01d7a1d05ab6032ffc97358f22ced1e549c159\r\nStatus: Downloaded newer image for vmware/docker-volume-vsphere:0.14\r\nInstalled plugin vmware/docker-volume-vsphere:0.14\r\n30541\r\nbash: systemctl: command not found\r\ndocker stop/waiting\r\ndocker start/running, process 30717\r\nUpgrade test step 3: run pre-upgrade test\r\n=== RUN   Test\r\n2017/07/13 20:16:17 START: PreUpgradeTestSuite.TestVolumeLifecycle\r\n2017/07/13 20:16:17 Creating volume [preUpgradeTestVol] on VM [10.162.24.183]\r\n2017/07/13 20:16:22 Checking volume [preUpgradeTestVol] availability from VM [10.162.24.183]\r\n2017/07/13 20:16:23 Attaching volume [preUpgradeTestVol] on VM [10.162.24.183]\r\n2017/07/13 20:16:25 Confirming attached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:16:25 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:16:26 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:16:29 Writing data to file [hello.txt] in container [PreUpgradeTestSuite.TestVolumeLifecycle_container_277590] on VM [10.162.24.183]\r\n2017/07/13 20:16:29 docker exec -t PreUpgradeTestSuite.TestVolumeLifecycle_container_277590 /bin/sh -c 'echo \"Hello World!\" > /vol/hello.txt'\r\n2017/07/13 20:16:30 Reading from file [hello.txt] in container [PreUpgradeTestSuite.TestVolumeLifecycle_container_277590] on VM [10.162.24.183]\r\n2017/07/13 20:16:30 docker exec -t PreUpgradeTestSuite.TestVolumeLifecycle_container_277590 /bin/sh -c 'cat /vol/hello.txt'\r\n2017/07/13 20:16:30 Stopping container [PreUpgradeTestSuite.TestVolumeLifecycle_container_277590] on VM [10.162.24.183]\r\n2017/07/13 20:16:42 Confirming detached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:16:42 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:16:43 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:16:45 Starting container [PreUpgradeTestSuite.TestVolumeLifecycle_container_277590] on VM [10.162.24.183]\r\n2017/07/13 20:16:46 Reading from file [hello.txt] in container [PreUpgradeTestSuite.TestVolumeLifecycle_container_277590] on VM [10.162.24.183]\r\n2017/07/13 20:16:46 docker exec -t PreUpgradeTestSuite.TestVolumeLifecycle_container_277590 /bin/sh -c 'cat /vol/hello.txt'\r\n2017/07/13 20:16:47 Confirming attached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:16:47 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:16:48 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:16:51 Removing container [PreUpgradeTestSuite.TestVolumeLifecycle_container_277590] on VM [10.162.24.183]\r\n2017/07/13 20:16:52 Confirming detached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:16:52 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:16:53 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n--- PASS: Test (40.72s)\r\nPASS\r\nOK: 1 passed\r\nok  \r\ngithub.com/vmware/docker-volume-vsphere/tests/e2e\r\n40.721s\r\nUpgrade test step 4: deploy on 10.162.22.190 with ../build/vmware-esx-vmdkops-0.15.2937814.vib\r\n\r\n\r\n=> Deploying to ESX root@10.162.22.190 Thu Jul 13 20:16:55 UTC 2017\r\n\r\n\r\nInstallation Result:\r\n   Message: Operation finished successfully.\r\n   Reboot Required: false\r\n   VIBs Installed: VMWare_bootbank_esx-vmdkops-service_0.15.2937814-0.0.1\r\n   VIBs Removed: VMWare_bootbank_esx-vmdkops-service_0.14.0577889-0.0.1\r\n   VIBs Skipped: \r\nvmdkops-opsd is running pid=5008937\r\n5008970\r\nUpgrade test step 5.1: remove plugin vsphere:latest on 10.162.24.183\r\n\r\n\r\n=> cleanvm: Cleaning up on root@10.162.24.183 : deb Thu Jul 13 20:17:21 UTC 2017\r\n\r\n\r\nUpgrade test step 5.2: deploy plugin lipingxue/docker-volume-vsphere:0.16-dev on 10.162.24.183\r\n\r\n\r\n=> installManagedPlugin: Installing vDVS plugin [lipingxue/docker-volume-vsphere:0.16-dev] Thu Jul 13 20:17:22 UTC 2017\r\n\r\n\r\n0.16-dev: Pulling from lipingxue/docker-volume-vsphere\r\n8d0f836c37e3: Verifying Checksum\r\n8d0f836c37e3: Download complete\r\nDigest: sha256:96bb8cc873b4d9201643f894de4f327fc0743b51ea24005033cb0c3f02ba9609\r\nStatus: Downloaded newer image for lipingxue/docker-volume-vsphere:0.16-dev\r\nInstalled plugin lipingxue/docker-volume-vsphere:0.16-dev\r\n32585\r\nbash: systemctl: command not found\r\ndocker stop/waiting\r\ndocker start/running, process 32763\r\nUpgrade test step 6: run post-upgrade test\r\n=== RUN   Test\r\n2017/07/13 20:17:37 START: PostUpgradeTestSuite.TestVolumeLifecycle\r\n2017/07/13 20:17:37 Checking volume [preUpgradeTestVol] availability from VM [10.162.24.183]\r\n2017/07/13 20:17:40 Confirming detached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:17:40 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:17:40 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:17:43 Attaching volume [preUpgradeTestVol] on VM [10.162.24.183]\r\n2017/07/13 20:17:45 Confirming attached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:17:45 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:17:47 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:17:50 Reading from file [hello.txt] in container [PostUpgradeTestSuite.TestVolumeLifecycle_container_556666] on VM [10.162.24.183]\r\n2017/07/13 20:17:50 docker exec -t PostUpgradeTestSuite.TestVolumeLifecycle_container_556666 /bin/sh -c 'cat /vol/hello.txt'\r\n2017/07/13 20:17:50 Writing data to file [hello1.txt] in container [PostUpgradeTestSuite.TestVolumeLifecycle_container_556666] on VM [10.162.24.183]\r\n2017/07/13 20:17:50 docker exec -t PostUpgradeTestSuite.TestVolumeLifecycle_container_556666 /bin/sh -c 'echo \"Hello World Again!\" > /vol/hello1.txt'\r\n2017/07/13 20:17:51 Stopping container [PostUpgradeTestSuite.TestVolumeLifecycle_container_556666] on VM [10.162.24.183]\r\n2017/07/13 20:18:03 Confirming detached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:18:03 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:18:03 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:18:06 Starting container [PostUpgradeTestSuite.TestVolumeLifecycle_container_556666] on VM [10.162.24.183]\r\n2017/07/13 20:18:07 Reading from file [hello1.txt] in container [PostUpgradeTestSuite.TestVolumeLifecycle_container_556666] on VM [10.162.24.183]\r\n2017/07/13 20:18:07 docker exec -t PostUpgradeTestSuite.TestVolumeLifecycle_container_556666 /bin/sh -c 'cat /vol/hello1.txt'\r\n2017/07/13 20:18:08 Removing container [PostUpgradeTestSuite.TestVolumeLifecycle_container_556666] on VM [10.162.24.183]\r\n2017/07/13 20:18:10 Confirming detached status for volume [preUpgradeTestVol]\r\n2017/07/13 20:18:10 Fetching full name for volume [preUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:18:10 Full volume name: [preUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:18:12 Destroying volume [preUpgradeTestVol]\r\n2017/07/13 20:18:13 Creating volume [postUpgradeTestVol] on VM [10.162.24.183]\r\n2017/07/13 20:18:17 Checking volume [postUpgradeTestVol] availability from VM [10.162.24.183]\r\n2017/07/13 20:18:18 Attaching volume [postUpgradeTestVol] on VM [10.162.24.183]\r\n2017/07/13 20:18:20 Confirming attached status for volume [postUpgradeTestVol]\r\n2017/07/13 20:18:20 Fetching full name for volume [postUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:18:20 Full volume name: [postUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:18:24 Writing data to file [hello.txt] in container [PostUpgradeTestSuite.TestVolumeLifecycle_container_404809] on VM [10.162.24.183]\r\n2017/07/13 20:18:24 docker exec -t PostUpgradeTestSuite.TestVolumeLifecycle_container_404809 /bin/sh -c 'echo \"Hello World!\" > /vol/hello.txt'\r\n2017/07/13 20:18:24 Stopping container [PostUpgradeTestSuite.TestVolumeLifecycle_container_404809] on VM [10.162.24.183]\r\n2017/07/13 20:18:35 Confirming detached status for volume [postUpgradeTestVol]\r\n2017/07/13 20:18:35 Fetching full name for volume [postUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:18:37 Full volume name: [postUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:18:39 Starting container [PostUpgradeTestSuite.TestVolumeLifecycle_container_404809] on VM [10.162.24.183]\r\n2017/07/13 20:18:40 Reading from file [hello.txt] in container [PostUpgradeTestSuite.TestVolumeLifecycle_container_404809] on VM [10.162.24.183]\r\n2017/07/13 20:18:40 docker exec -t PostUpgradeTestSuite.TestVolumeLifecycle_container_404809 /bin/sh -c 'cat /vol/hello.txt'\r\n2017/07/13 20:18:41 Removing container [PostUpgradeTestSuite.TestVolumeLifecycle_container_404809] on VM [10.162.24.183]\r\n2017/07/13 20:18:42 Confirming detached status for volume [postUpgradeTestVol]\r\n2017/07/13 20:18:42 Fetching full name for volume [postUpgradeTestVol] from VM [10.162.24.183]\r\n2017/07/13 20:18:43 Full volume name: [postUpgradeTestVol@sharedVmfs-0]\r\n2017/07/13 20:18:45 Destroying volume [postUpgradeTestVol]\r\nOK: 1 passed\r\n--- PASS: Test (72.18s)\r\nPASS\r\nok  \r\ngithub.com/vmware/docker-volume-vsphere/tests/e2e\r\n72.188s\r\nmake: Leaving directory `/go/src/github.com/vmware/docker-volume-vsphere/client_plugin'\r\nlipingx-m01:auth_r9.liping lipingx$ \r\n```","created_at":"2017-07-13T21:02:06Z","updated_at":"2017-07-14T20:32:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39c082ac0617c516b2ccbfab0bb7ee23d58489fb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584/commits","review_comments_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584/comments","review_comment_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/1584/comments","statuses_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/statuses/e8d46421483007f7ab1e2974c25d4c75f9a210dd","head":{"label":"vmware:upgrade_test_part2.liping","ref":"upgrade_test_part2.liping","sha":"e8d46421483007f7ab1e2974c25d4c75f9a210dd","user":{"login":"vmware","id":473334,"avatar_url":"https://avatars4.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":49599693,"name":"docker-volume-vsphere","full_name":"vmware/docker-volume-vsphere","owner":{"login":"vmware","id":473334,"avatar_url":"https://avatars4.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/docker-volume-vsphere","description":"vSphere Docker Volume Service","fork":false,"url":"https://api.github.com/repos/vmware/docker-volume-vsphere","forks_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/forks","keys_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/teams","hooks_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/hooks","issue_events_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/events","assignees_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/tags","blobs_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/languages","stargazers_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/stargazers","contributors_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/contributors","subscribers_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/subscribers","subscription_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/subscription","commits_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/merges","archive_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/downloads","issues_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/labels{/name}","releases_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/deployments","created_at":"2016-01-13T20:25:36Z","updated_at":"2017-07-10T23:26:59Z","pushed_at":"2017-07-14T20:01:09Z","git_url":"git://github.com/vmware/docker-volume-vsphere.git","ssh_url":"git@github.com:vmware/docker-volume-vsphere.git","clone_url":"https://github.com/vmware/docker-volume-vsphere.git","svn_url":"https://github.com/vmware/docker-volume-vsphere","homepage":"https://vmware.github.io/docker-volume-vsphere","size":20068,"stargazers_count":149,"watchers_count":149,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":178,"forks":45,"open_issues":178,"watchers":149,"default_branch":"master"}},"base":{"label":"vmware:master","ref":"master","sha":"e3f0ca5c4c3b70d7a95ca298408c4f41b3beb1f8","user":{"login":"vmware","id":473334,"avatar_url":"https://avatars4.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":49599693,"name":"docker-volume-vsphere","full_name":"vmware/docker-volume-vsphere","owner":{"login":"vmware","id":473334,"avatar_url":"https://avatars4.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/docker-volume-vsphere","description":"vSphere Docker Volume Service","fork":false,"url":"https://api.github.com/repos/vmware/docker-volume-vsphere","forks_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/forks","keys_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/teams","hooks_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/hooks","issue_events_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/events","assignees_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/tags","blobs_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/languages","stargazers_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/stargazers","contributors_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/contributors","subscribers_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/subscribers","subscription_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/subscription","commits_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/merges","archive_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/downloads","issues_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/labels{/name}","releases_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/docker-volume-vsphere/deployments","created_at":"2016-01-13T20:25:36Z","updated_at":"2017-07-10T23:26:59Z","pushed_at":"2017-07-14T20:01:09Z","git_url":"git://github.com/vmware/docker-volume-vsphere.git","ssh_url":"git@github.com:vmware/docker-volume-vsphere.git","clone_url":"https://github.com/vmware/docker-volume-vsphere.git","svn_url":"https://github.com/vmware/docker-volume-vsphere","homepage":"https://vmware.github.io/docker-volume-vsphere","size":20068,"stargazers_count":149,"watchers_count":149,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":178,"forks":45,"open_issues":178,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584"},"html":{"href":"https://github.com/vmware/docker-volume-vsphere/pull/1584"},"issue":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/1584"},"comments":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/issues/1584/comments"},"review_comments":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584/comments"},"review_comment":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/pulls/1584/commits"},"statuses":{"href":"https://api.github.com/repos/vmware/docker-volume-vsphere/statuses/e8d46421483007f7ab1e2974c25d4c75f9a210dd"}}}}
{"actor":{"display_login":"lipingxue"}}