[jbosstools-issues] [JBoss JIRA] (JBIDE-25671) Investigate and fix libvirt on F27 slaves

Josef Kopriva (JIRA) issues at jboss.org
Tue Jan 30 03:45:00 EST 2018


     [ https://issues.jboss.org/browse/JBIDE-25671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josef Kopriva closed JBIDE-25671.
---------------------------------
    Resolution: Done


Closing. MR is merged, new image is created.

> Investigate and fix libvirt on F27 slaves
> -----------------------------------------
>
>                 Key: JBIDE-25671
>                 URL: https://issues.jboss.org/browse/JBIDE-25671
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: integration-tests
>    Affects Versions: 4.5.3.AM1
>         Environment: F27 OpenStack slave
>            Reporter: Josef Kopriva
>            Assignee: Josef Kopriva
>             Fix For: 4.5.3.AM1
>
>
> Error log:
> {code:java}
> ------------------------------------------
> Started by upstream project "openshift.itests.jkopriva" build number 2
> originally caused by:
>  Started by user Josef
> [EnvInject] - Loading node environment variables.
> Building remotely on fedora27-x64-large-219 (fedora27-x64-large) in workspace <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/>
> [WS-CLEANUP] Deleting project workspace...
> Cloning the remote Git repository
> Cloning repository git at github.com:jbosstools/jbosstools-openshift.git
>  > git init <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/jbosstools-openshift> # timeout=10
> Fetching upstream changes from git at github.com:jbosstools/jbosstools-openshift.git
>  > git --version # timeout=10
>  > git fetch --tags --progress git at github.com:jbosstools/jbosstools-openshift.git +refs/heads/*:refs/remotes/origin/*
>  > git config remote.origin.url git at github.com:jbosstools/jbosstools-openshift.git # timeout=10
>  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > git config remote.origin.url git at github.com:jbosstools/jbosstools-openshift.git # timeout=10
> Fetching upstream changes from git at github.com:jbosstools/jbosstools-openshift.git
>  > git fetch --tags --progress git at github.com:jbosstools/jbosstools-openshift.git +refs/heads/*:refs/remotes/origin/*
> Checking out Revision 10846ca4a5b89f306f965d1a9acdc19752c34a70 (origin/master)
> Commit message: "JBIDE-25195 ITests refactoring, removing duplicated code, Fixes for OC (#1654)"
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 10846ca4a5b89f306f965d1a9acdc19752c34a70
> First time build. Skipping changelog.
> Cloning the remote Git repository
> Cloning repository https://github.com/odockal/cdk-scripts.git
>  > git init <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/cdk-scripts> # timeout=10
> Fetching upstream changes from https://github.com/odockal/cdk-scripts.git
>  > git --version # timeout=10
>  > git fetch --tags --progress https://github.com/odockal/cdk-scripts.git +refs/heads/*:refs/remotes/origin/*
>  > git config remote.origin.url https://github.com/odockal/cdk-scripts.git # timeout=10
>  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > git config remote.origin.url https://github.com/odockal/cdk-scripts.git # timeout=10
> Fetching upstream changes from https://github.com/odockal/cdk-scripts.git
>  > git fetch --tags --progress https://github.com/odockal/cdk-scripts.git +refs/heads/*:refs/remotes/origin/*
> Checking out Revision 5a42b90f63f5308266b67c39faf344237d7585aa (origin/master)
> Commit message: "Merge pull request #20 from odockal/fix-virt-win7"
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 5a42b90f63f5308266b67c39faf344237d7585aa
> First time build. Skipping changelog.
> Run condition [Boolean condition] enabling prebuild for step [BuilderChain]
> Starting xvnc
> [fedora27-x64-large] $ /usr/bin/vncserver :68 -geometry 1280x720
> New 'fedora27-x64-large-219.localdomain:68 (hudson)' desktop is fedora27-x64-large-219.localdomain:68
> Creating default startup script /home/hudson/.vnc/xstartup
> Creating default config /home/hudson/.vnc/config
> Starting applications specified in /home/hudson/.vnc/xstartup
> Log file is /home/hudson/.vnc/fedora27-x64-large-219.localdomain:68.log
> [fedora27-x64-large] $ /bin/sh -xe /tmp/jenkins2084425906506295546.sh
> + ./cdk-scripts/scripts/cdk3-virt.sh
> [INFO] Virtualization is enabled on this host...
> [INFO] Script cdk3-virt is finished sucessfully...
> ++ pwd
> + CONTENT=WORKSPACE2=<https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/>
> + echo WORKSPACE2=<https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/>
> + HYPERVISOR=HYPERVISOR=
> + BASEFILE_NAME=BASEFILE_NAME=minishift
> ++ uname
> + [[ Linux == *Darwin* ]]
> ++ uname
> + [[ Linux == *Linux* ]]
> + HYPERVISOR=HYPERVISOR=kvm
> + echo HYPERVISOR=kvm
> + echo BASEFILE_NAME=minishift
> ++ uname
> + [[ Linux == *Linux* ]]
> + echo MINISHIFT_HTTP_PROXY=http://cdkuser:cdkpass123@10.37.161.139:3128
> + echo 'Print out env. variables containing word PROXY'
> Print out env. variables containing word PROXY
> + printenv
> + grep PROXY
> MINISHIFT_PROXY=http://cdkuser:cdkpass123@10.37.161.139:3128
> USE_PROXY=true
> MINISHIFT_PROXY_FLAG=--http-proxy
> [EnvInject] - Injecting environment variables from a build step.
> [EnvInject] - Injecting as environment variables the properties file path 'local_env.properties'
> [EnvInject] - Variables injected successfully.
> [fedora27-x64-large] $ /bin/sh -xe /tmp/jenkins4244368038443559514.sh
> + cd <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/cdk-scripts/scripts>
> + ./cdk3-cleanup.sh --path <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift_temp> --url http://cdk-builds.usersys.redhat.com/builds/weekly/16-Jan-2018.cdk-3.3.0/ -e
> [WARNING] <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift_temp> does not exist, will be created
> [INFO] Trying to reach http://cdk-builds.usersys.redhat.com/builds/weekly/16-Jan-2018.cdk-3.3.0/
> [INFO] URL status: 200
> [WARNING] Erase mode is on!!!
> [INFO] User's home folder is at /home/hudson
> [WARNING] Minishift home does not exist, cannot clean old minishift configuration
> + SETUP='--force '
> ++ uname
> + [[ Linux == *CYGWIN* ]]
> + ./cdk3-install.sh -u http://cdk-builds.usersys.redhat.com/builds/weekly/16-Jan-2018.cdk-3.3.0/ -p <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift> --setup '--force '
> [INFO] Trying to reach http://cdk-builds.usersys.redhat.com/builds/weekly/16-Jan-2018.cdk-3.3.0/
> [INFO] URL status: 200
> [WARNING] <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift> does not exist, will be created
> [INFO] Creating <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift>
> [INFO] Basefile name is: minishift
> [INFO] Downloading minishift from http://cdk-builds.usersys.redhat.com/builds/weekly/16-Jan-2018.cdk-3.3.0//linux-amd64/minishift
> [INFO] to <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift>
> [INFO] Minishift setup-cdk --force  will be called
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  1  459M    1 5591k    0     0  5591k      0  0:01:24 --:--:--  0:01:24 60.6M 19  459M   19 90.4M    0     0  90.4M      0  0:00:05  0:00:01  0:00:04 83.0M 37  459M   37  174M    0     0  87.0M      0  0:00:05  0:00:02  0:00:03 83.2M 56  459M   56  260M    0     0  86.6M      0  0:00:05  0:00:03  0:00:02 84.1M 75  459M   75  346M    0     0  86.6M      0  0:00:05  0:00:04  0:00:01 84.7M 94  459M   94  432M    0     0  86.5M      0  0:00:05  0:00:05 --:--:-- 85.4M100  459M  100  459M    0     0  91.8M      0  0:00:05  0:00:05 --:--:-- 86.0M
> [INFO] Make the file executable
> [INFO] Minishift was not initialized
> [INFO] Running <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift/minishift> setup-cdk --force
> Setting up CDK 3 on host using '/home/hudson/.minishift' as Minishift's home directory
> Copying minishift-rhel7.iso to '/home/hudson/.minishift/cache/iso/minishift-rhel7.iso'
> Copying oc to '/home/hudson/.minishift/cache/oc/v3.7.14/linux/oc'
> Creating configuration file '/home/hudson/.minishift/config/config.json'
> Creating marker file '/home/hudson/.minishift/cdk'
> Default add-ons anyuid, admin-user, xpaas, registry-route, che installed
> Default add-ons anyuid, admin-user, xpaas enabled
> CDK 3 setup complete.
> [INFO] Script cdk3-install was finished successfully
> [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: $TEST_CDK_CLI)
> Run condition [Boolean condition] enabling perform for step [BuilderChain]
> [fedora27-x64-large] $ /bin/sh -xe /tmp/jenkins5726194721206119597.sh
> + cd <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/>
> + cd minishift
> + export MINISHIFT_USERNAME=odockal-tc
> + MINISHIFT_USERNAME=odockal-tc
> + export MINISHIFT_PASSWORD=klavesnice
> + MINISHIFT_PASSWORD=klavesnice
> + printenv
> + grep -i minishift
> MINISHIFT_PROXY=http://cdkuser:cdkpass123@10.37.161.139:3128
> BASEFILE_NAME=minishift
> CDK3_MINISHIFT_URL=http://cdk-builds.usersys.redhat.com/builds/weekly/16-Jan-2018.cdk-3.3.0/
> PWD=<https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift>
> MINISHIFT_HTTP_PROXY=http://cdkuser:cdkpass123@10.37.161.139:3128
> MINISHIFT_USERNAME=odockal-tc
> MINISHIFT_PROXY_FLAG=--http-proxy
> MINISHIFT_PASSWORD=klavesnice
> + PROXY=
> + '[' true == true ']'
> + PROXY='--http-proxy http://cdkuser:cdkpass123@10.37.161.139:3128'
> + LOG=
> + '[' true == true ']'
> + LOG='--show-libmachine-logs --v=5'
> + START_PARAMETERS='--show-libmachine-logs --v=5 --http-proxy http://cdkuser:cdkpass123@10.37.161.139:3128 --skip-registration'
> + ./minishift version
> minishift v1.11.0+d7f374a
> CDK v3.3.0-1
> + ./minishift config view
> - iso-url              : file:///home/hudson/.minishift/cache/iso/minishift-rhel7.iso
> - memory               : 4096
> - vm-driver            : kvm
> + echo 'Starting parameters: --show-libmachine-logs --v=5 --http-proxy http://cdkuser:cdkpass123@10.37.161.139:3128 --skip-registration'
> Starting parameters: --show-libmachine-logs --v=5 --http-proxy http://cdkuser:cdkpass123@10.37.161.139:3128 --skip-registration
> + ./minishift version
> minishift v1.11.0+d7f374a
> CDK v3.3.0-1
> + ./minishift start --show-libmachine-logs --v=5 --http-proxy http://cdkuser:cdkpass123@10.37.161.139:3128 --skip-registration
> -- minishift version: v1.11.0+d7f374a
> -- Starting profile 'minishift'
> -- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
> -- Checking if KVM driver is installed ...
>    Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
>    Checking driver binary is executable ... OK
> -- Checking if Libvirt is installed ... FAIL
>    See the 'Setting Up the Driver Plug-in' topic (https://docs.openshift.org/latest/minishift/getting-started/setting-up-driver-plugin.html) for more information
> Build step 'Conditional steps (multiple)' marked build as failure
> Terminating xvnc.
> $ /usr/bin/vncserver -kill :68
> Killing Xvnc process ID 1531
> Archiving artifacts
> Recording test results
> [PostBuildScript] - Execution post build scripts.
> [fedora27-x64-large] $ /bin/sh -xe /tmp/jenkins920568332914163715.sh
> + cd <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/cdk-scripts/scripts>
> + ./cdk3-stop.sh -p <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift/minishift>
> [INFO] Trying to stop cdk with <https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/openshift.itests.jkopriva/jdk=openjdk-1.8,label=fedora27-x64-large/ws/minishift/minishift>
> [INFO] Minishift status: Does Not Exist
> [INFO] Do nothing here
> [INFO] cdk3-stop script finished successfully...{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list