Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d98ab64770a8aa8499d3ed372f913abb779305df Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-17027 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Checking out Revision d98ab64770a8aa8499d3ed372f913abb779305df (master) Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 Commit message: "Merge pull request #159 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.1-dev.11" > git rev-list --no-walk 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:34:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:34:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:34:38 ========================================================= 06:34:38 EdgeX Global Pipelines Version Info 06:34:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:34:41 ------------------- 06:34:41 stable info: 06:34:41 ------------------- 06:34:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:34:41 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:34:41 Message: update stable to v1.0.173 06:34:42 ------------------- 06:34:42 experimental info: 06:34:42 ------------------- 06:34:42 Commited By: **** collab-it+edgex@linuxfoundation.org 06:34:42 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:34:42 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d98ab64770a8aa8499d3ed372f913abb779305df [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d98ab64 [Pipeline] echo 06:34:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:34:46 provisioning config files... 06:34:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5719322675069741892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:46 ---> docker-login.sh 06:34:46 nexus3.edgexfoundry.org:10001 06:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:47 Configure a credential helper to remove this warning. See 06:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:47 06:34:47 Login Succeeded 06:34:47 nexus3.edgexfoundry.org:10002 06:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:47 Configure a credential helper to remove this warning. See 06:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:47 06:34:47 Login Succeeded 06:34:47 nexus3.edgexfoundry.org:10003 06:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:47 Configure a credential helper to remove this warning. See 06:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:47 06:34:47 Login Succeeded 06:34:47 nexus3.edgexfoundry.org:10004 06:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:48 Configure a credential helper to remove this warning. See 06:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:48 06:34:48 Login Succeeded 06:34:48 docker.io 06:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:48 Configure a credential helper to remove this warning. See 06:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:48 06:34:48 Login Succeeded 06:34:48 ---> docker-login.sh ends [Pipeline] } 06:34:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:49 + git log --format=format:%s -1 d98ab64770a8aa8499d3ed372f913abb779305df [Pipeline] echo 06:34:49 GIT_COMMIT: d98ab64770a8aa8499d3ed372f913abb779305df, Commit Message: Merge pull request #159 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.1-dev.11 [Pipeline] echo 06:34:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:34:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:50 06:34:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:34:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:51 latest: Pulling from edgex-devops/git-semver 06:34:51 31603596830f: Pulling fs layer 06:34:51 2a8b12db71e7: Pulling fs layer 06:34:51 6ca5941a6612: Pulling fs layer 06:34:51 ecc8261a40a4: Pulling fs layer 06:34:51 ecc8261a40a4: Waiting 06:34:51 2a8b12db71e7: Verifying Checksum 06:34:51 2a8b12db71e7: Download complete 06:34:51 31603596830f: Verifying Checksum 06:34:51 31603596830f: Download complete 06:34:52 ecc8261a40a4: Verifying Checksum 06:34:52 ecc8261a40a4: Download complete 06:34:52 6ca5941a6612: Verifying Checksum 06:34:52 6ca5941a6612: Download complete 06:34:52 31603596830f: Pull complete 06:34:52 2a8b12db71e7: Pull complete 06:34:53 6ca5941a6612: Pull complete 06:34:54 ecc8261a40a4: Pull complete 06:34:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:34:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:34:54 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:34:57 $ docker top 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:57 [ssh-agent] Looking for ssh-agent implementation... 06:34:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:58 $ docker exec 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c ssh-agent 06:34:58 SSH_AUTH_SOCK=/tmp/ssh-mZuUEBeHr1jy/agent.11 06:34:58 SSH_AGENT_PID=17 06:34:58 Running ssh-add (command line suppressed) 06:34:58 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_2446277061944086049.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_2446277061944086049.key) 06:34:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:59 + git tag --points-at HEAD [Pipeline] } 06:34:59 $ docker exec --env ******** --env ******** 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c ssh-agent -k 06:34:59 unset SSH_AUTH_SOCK; 06:34:59 unset SSH_AGENT_PID; 06:34:59 echo Agent pid 17 killed; 06:34:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:59 [ssh-agent] Looking for ssh-agent implementation... 06:34:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:59 $ docker exec 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c ssh-agent 06:35:00 SSH_AUTH_SOCK=/tmp/ssh-zVhxaVwfT4zH/agent.47 06:35:00 SSH_AGENT_PID=53 06:35:00 Running ssh-add (command line suppressed) 06:35:00 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_3659485006166456367.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_3659485006166456367.key) 06:35:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:00 + git semver init 06:35:00 # -> Open(): unable to determine branch for HEAD 06:35:00 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 06:35:00 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 06:35:00 # $SEMVER_REMOTE_NAME = origin 06:35:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:35:00 # $SEMVER_USER_NAME = edgex-jenkins 06:35:00 # $SEMVER_BRANCH = master 06:35:00 # $SEMVER_TEMP = /tmp/semver-401784277 06:35:00 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 06:35:01 # '/tmp/semver-401784277' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 06:35:01 # -> Force: false 06:35:01 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 06:35:01 $ docker exec --env ******** --env ******** 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c ssh-agent -k 06:35:02 unset SSH_AUTH_SOCK; 06:35:02 unset SSH_AGENT_PID; 06:35:02 echo Agent pid 53 killed; 06:35:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:35:02 + git semver [Pipeline] } 06:35:02 $ docker stop --time=1 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c 06:35:04 $ docker rm -f 905f2fa68469258789246301ee652a8be012ae1d0431e605fbe01dae46f0215c [Pipeline] // withDockerContainer [Pipeline] sh 06:35:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:35:05 Stashed 1 file(s) [Pipeline] echo 06:35:05 [edgeXSemver]: initialized semver on version 1.3.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:35:21 Still waiting to schedule task 06:35:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:35:21 Still waiting to schedule task 06:35:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:36:47 Running on prd-centos7-docker-4c-2g-17031 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 06:36:47 Running in /w/workspace/device-virtual-go/35 [Pipeline] { [Pipeline] checkout 06:36:50 using credential edgex-jenkins-ssh 06:36:50 Cloning the remote Git repository 06:36:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:36:50 > git init /w/workspace/device-virtual-go/35 # timeout=10 06:36:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:36:50 > git --version # timeout=10 06:36:50 > git --version # 'git version 2.24.3' 06:36:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:36:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:36:50 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:36:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:36:51 Checking out Revision d98ab64770a8aa8499d3ed372f913abb779305df (master) 06:36:51 > git config core.sparsecheckout # timeout=10 06:36:51 > git checkout -f d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 06:36:55 Commit message: "Merge pull request #159 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.1-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:36:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:36:56 + true 06:36:56 + sudo service docker restart 06:36:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:36:57 provisioning config files... 06:36:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/35@tmp/config8768113241222372181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:58 ---> docker-login.sh 06:36:58 nexus3.edgexfoundry.org:10001 06:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:58 Configure a credential helper to remove this warning. See 06:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:58 06:36:58 Login Succeeded 06:36:58 nexus3.edgexfoundry.org:10002 06:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:58 Configure a credential helper to remove this warning. See 06:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:58 06:36:58 Login Succeeded 06:36:58 nexus3.edgexfoundry.org:10003 06:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:59 Configure a credential helper to remove this warning. See 06:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:59 06:36:59 Login Succeeded 06:36:59 nexus3.edgexfoundry.org:10004 06:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:59 Configure a credential helper to remove this warning. See 06:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:59 06:36:59 Login Succeeded 06:36:59 docker.io 06:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:59 Configure a credential helper to remove this warning. See 06:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:59 06:36:59 Login Succeeded 06:36:59 ---> docker-login.sh ends [Pipeline] } 06:36:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:59 ========================================================= 06:36:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:36:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:00 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:37:00 Sending build context to Docker daemon 475.6kB 06:37:00 Step 1/8 : ARG BASE=golang:1.15-alpine 06:37:00 Step 2/8 : FROM ${BASE} 06:37:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:37:00 188c0c94c7c5: Pulling fs layer 06:37:00 0ef7d3d256c8: Pulling fs layer 06:37:00 de9db76c5a1d: Pulling fs layer 06:37:00 bca2f99d35d6: Pulling fs layer 06:37:00 93359f2a8cfa: Pulling fs layer 06:37:00 7c6f9722023f: Pulling fs layer 06:37:00 a35cf1a2eb13: Pulling fs layer 06:37:00 7c6f9722023f: Waiting 06:37:00 93359f2a8cfa: Waiting 06:37:00 a35cf1a2eb13: Waiting 06:37:00 bca2f99d35d6: Waiting 06:37:00 de9db76c5a1d: Verifying Checksum 06:37:00 0ef7d3d256c8: Verifying Checksum 06:37:00 0ef7d3d256c8: Download complete 06:37:00 93359f2a8cfa: Verifying Checksum 06:37:00 93359f2a8cfa: Download complete 06:37:00 188c0c94c7c5: Verifying Checksum 06:37:00 188c0c94c7c5: Download complete 06:37:00 7c6f9722023f: Download complete 06:37:00 188c0c94c7c5: Pull complete 06:37:01 0ef7d3d256c8: Pull complete 06:37:01 de9db76c5a1d: Pull complete 06:37:02 a35cf1a2eb13: Verifying Checksum 06:37:02 a35cf1a2eb13: Download complete 06:37:03 bca2f99d35d6: Verifying Checksum 06:37:03 bca2f99d35d6: Download complete 06:37:08 bca2f99d35d6: Pull complete 06:37:08 93359f2a8cfa: Pull complete 06:37:08 7c6f9722023f: Pull complete 06:37:15 a35cf1a2eb13: Pull complete 06:37:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:37:15 ---> a62c8e92a672 06:37:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:37:15 ---> Running in d6f597d76a03 06:37:15 Removing intermediate container d6f597d76a03 06:37:15 ---> a4a95e0b8798 06:37:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:15 ---> Running in fb0dafc44f6a 06:37:16 Removing intermediate container fb0dafc44f6a 06:37:16 ---> 6ac1be32d735 06:37:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:37:17 ---> Running in 9ef993c3ebd8 06:37:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:37:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17030 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 06:37:17 Running in /w/workspace/device-virtual-go/35 [Pipeline] { [Pipeline] checkout 06:37:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:37:19 (1/14) Installing libmagic (5.38-r0) 06:37:19 (2/14) Installing file (5.38-r0) 06:37:19 (3/14) Installing libc-dev (0.7.2-r3) 06:37:19 (4/14) Installing g++ (9.3.0-r2) 06:37:22 using credential edgex-jenkins-ssh 06:37:22 Cloning the remote Git repository 06:37:24 (5/14) Installing fortify-headers (1.1-r0) 06:37:24 (6/14) Installing patch (2.7.6-r6) 06:37:24 (7/14) Installing build-base (0.5-r2) 06:37:24 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:37:24 (9/14) Installing libedit (20191231.3.1-r0) 06:37:24 (10/14) Installing openssh-client (8.3_p1-r1) 06:37:23 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:37:23 > git init /w/workspace/device-virtual-go/35 # timeout=10 06:37:23 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:37:23 > git --version # timeout=10 06:37:23 > git --version # 'git version 2.17.1' 06:37:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:24 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:37:24 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:37:24 (13/14) Installing openssh-server (8.3_p1-r1) 06:37:24 (14/14) Installing openssh (8.3_p1-r1) 06:37:24 Checking out Revision d98ab64770a8aa8499d3ed372f913abb779305df (master) 06:37:24 Executing busybox-1.31.1-r19.trigger 06:37:24 OK: 237 MiB in 53 packages 06:37:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:37:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:37:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:37:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:37:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:37:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:37:24 > git config core.sparsecheckout # timeout=10 06:37:24 > git checkout -f d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 06:37:28 Removing intermediate container 9ef993c3ebd8 06:37:28 ---> 44be5bc5545f 06:37:28 Step 6/8 : WORKDIR /device-virtual-go 06:37:28 ---> Running in 77df25cb1f2c 06:37:28 Removing intermediate container 77df25cb1f2c 06:37:28 ---> ea80fa842bc4 06:37:28 Step 7/8 : COPY . . 06:37:28 Commit message: "Merge pull request #159 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.1-dev.11" 06:37:29 ---> 35d91d421ea5 06:37:29 Step 8/8 : RUN go mod download 06:37:29 ---> Running in 0df1ea018fc9 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:30 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:37:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:37:31 + sudo service docker restart 06:37:31 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:37:33 provisioning config files... 06:37:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/35@tmp/config4028380405118370523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:33 ---> docker-login.sh 06:37:33 nexus3.edgexfoundry.org:10001 06:37:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:35 Configure a credential helper to remove this warning. See 06:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:35 06:37:35 Login Succeeded 06:37:35 nexus3.edgexfoundry.org:10002 06:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:35 Configure a credential helper to remove this warning. See 06:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:35 06:37:35 Login Succeeded 06:37:35 nexus3.edgexfoundry.org:10003 06:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:36 Configure a credential helper to remove this warning. See 06:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:36 06:37:36 Login Succeeded 06:37:36 nexus3.edgexfoundry.org:10004 06:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:36 Configure a credential helper to remove this warning. See 06:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:36 06:37:36 Login Succeeded 06:37:36 docker.io 06:37:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:37 Configure a credential helper to remove this warning. See 06:37:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:37 06:37:37 Login Succeeded 06:37:37 ---> docker-login.sh ends [Pipeline] } 06:37:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:38 ========================================================= 06:37:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:37:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:38 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:37:38 Sending build context to Docker daemon 474.6kB 06:37:38 Step 1/8 : ARG BASE=golang:1.15-alpine 06:37:38 Step 2/8 : FROM ${BASE} 06:37:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:37:38 5f621e34cdf4: Pulling fs layer 06:37:38 a4357932f1b6: Pulling fs layer 06:37:38 18c013af1878: Pulling fs layer 06:37:38 00ac8860ef70: Pulling fs layer 06:37:38 63d7cb157983: Pulling fs layer 06:37:38 00ac8860ef70: Waiting 06:37:38 b116817d02f9: Pulling fs layer 06:37:38 745a02a5169b: Pulling fs layer 06:37:38 63d7cb157983: Waiting 06:37:38 b116817d02f9: Waiting 06:37:38 745a02a5169b: Waiting 06:37:38 18c013af1878: Download complete 06:37:38 a4357932f1b6: Verifying Checksum 06:37:38 a4357932f1b6: Download complete 06:37:38 63d7cb157983: Verifying Checksum 06:37:38 63d7cb157983: Download complete 06:37:38 b116817d02f9: Verifying Checksum 06:37:38 b116817d02f9: Download complete 06:37:38 5f621e34cdf4: Verifying Checksum 06:37:38 5f621e34cdf4: Download complete 06:37:39 5f621e34cdf4: Pull complete 06:37:40 a4357932f1b6: Pull complete 06:37:40 18c013af1878: Pull complete 06:37:41 745a02a5169b: Verifying Checksum 06:37:41 745a02a5169b: Download complete 06:37:42 00ac8860ef70: Verifying Checksum 06:37:42 00ac8860ef70: Download complete 06:37:51 Removing intermediate container 0df1ea018fc9 06:37:51 ---> 3fa59e7ce3e7 06:37:51 Successfully built 3fa59e7ce3e7 06:37:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:37:51 + docker inspect -f . ci-base-image-x86_64 06:37:51 . [Pipeline] withDockerContainer 06:37:51 prd-centos7-docker-4c-2g-17031 does not seem to be running inside a container 06:37:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/35 -v /w/workspace/device-virtual-go/35:/w/workspace/device-virtual-go/35:rw,z -v /w/workspace/device-virtual-go/35@tmp:/w/workspace/device-virtual-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:37:52 $ docker top 5a2b3605e825be1e032950c8ed031f8080df30e845284d5938b16594c1d5a771 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:53 + go version 06:37:53 go version go1.15.5 linux/amd64 [Pipeline] } 06:37:53 00ac8860ef70: Pull complete 06:37:53 63d7cb157983: Pull complete 06:37:53 $ docker stop --time=1 5a2b3605e825be1e032950c8ed031f8080df30e845284d5938b16594c1d5a771 06:37:53 b116817d02f9: Pull complete 06:37:54 $ docker rm -f 5a2b3605e825be1e032950c8ed031f8080df30e845284d5938b16594c1d5a771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:55 + docker inspect -f . ci-base-image-x86_64 06:37:55 . [Pipeline] withDockerContainer 06:37:55 prd-centos7-docker-4c-2g-17031 does not seem to be running inside a container 06:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/35 -v /w/workspace/device-virtual-go/35:/w/workspace/device-virtual-go/35:rw,z -v /w/workspace/device-virtual-go/35@tmp:/w/workspace/device-virtual-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:37:55 $ docker top 169887d8833843b4b754571ecfb9a4c51c8d70a0b2a044b5ea98d954bb20bdb0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:56 + make test 06:37:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:37:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:37:57 745a02a5169b: Pull complete 06:37:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:37:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:37:57 ---> b7e6874047d6 06:37:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:38:00 ---> Running in 5b514c1507d8 06:38:00 Removing intermediate container 5b514c1507d8 06:38:00 ---> 2439570a85f2 06:38:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:00 ---> Running in 2c3f6f92fe02 06:38:03 Removing intermediate container 2c3f6f92fe02 06:38:03 ---> e18abebf42f7 06:38:03 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:38:03 ---> Running in ee60c0641121 06:38:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:38:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:38:05 (1/14) Installing libmagic (5.38-r0) 06:38:05 (2/14) Installing file (5.38-r0) 06:38:05 (3/14) Installing libc-dev (0.7.2-r3) 06:38:05 (4/14) Installing g++ (9.3.0-r2) 06:38:11 (5/14) Installing fortify-headers (1.1-r0) 06:38:11 (6/14) Installing patch (2.7.6-r6) 06:38:11 (7/14) Installing build-base (0.5-r2) 06:38:11 (8/14) Installing openssh-keygen (8.3_p1-r1) 06:38:11 (9/14) Installing libedit (20191231.3.1-r0) 06:38:11 (10/14) Installing openssh-client (8.3_p1-r1) 06:38:11 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 06:38:11 (12/14) Installing openssh-server-common (8.3_p1-r1) 06:38:11 (13/14) Installing openssh-server (8.3_p1-r1) 06:38:11 (14/14) Installing openssh (8.3_p1-r1) 06:38:11 Executing busybox-1.31.1-r19.trigger 06:38:11 OK: 221 MiB in 53 packages 06:38:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:38:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.349s coverage: 64.4% of statements 06:38:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:38:16 Removing intermediate container ee60c0641121 06:38:16 ---> 870dd41f0e7a 06:38:16 Step 6/8 : WORKDIR /device-virtual-go 06:38:16 ---> Running in e0dce4d0142a 06:38:16 Removing intermediate container e0dce4d0142a 06:38:16 ---> b3fe453c6370 06:38:16 Step 7/8 : COPY . . 06:38:17 ---> b9fe2505e623 06:38:17 Step 8/8 : RUN go mod download 06:38:17 ---> Running in 2f7bf3db79a5 06:38:17 gofmt -l . 06:38:17 [ "`gofmt -l .`" = "" ] 06:38:17 ./bin/test-attribution-txt.sh 06:38:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:38:18 $ docker stop --time=1 169887d8833843b4b754571ecfb9a4c51c8d70a0b2a044b5ea98d954bb20bdb0 06:38:20 $ docker rm -f 169887d8833843b4b754571ecfb9a4c51c8d70a0b2a044b5ea98d954bb20bdb0 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:38:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:38:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:38:24 + ls -al . 06:38:24 total 124 06:38:24 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 21 06:38 . 06:38:24 drwxrwxr-x. 4 jenkins jenkins 30 Dec 21 06:36 .. 06:38:24 -rw-rw-r--. 1 jenkins jenkins 6713 Dec 21 06:36 Attribution.txt 06:38:24 drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 06:36 bin 06:38:24 drwxrwxr-x. 3 jenkins jenkins 32 Dec 21 06:36 cmd 06:38:24 -rw-r--r--. 1 jenkins jenkins 47242 Dec 21 06:38 coverage.out 06:38:24 -rw-rw-r--. 1 jenkins jenkins 1834 Dec 21 06:36 Dockerfile 06:38:24 -rw-rw-r--. 1 jenkins jenkins 957 Dec 21 06:36 Dockerfile.build 06:38:24 drwxrwxr-x. 8 jenkins jenkins 162 Dec 21 06:36 .git 06:38:24 drwxrwxr-x. 2 jenkins jenkins 60 Dec 21 06:36 .github 06:38:24 -rw-rw-r--. 1 jenkins jenkins 258 Dec 21 06:36 .gitignore 06:38:24 -rw-r--r--. 1 jenkins jenkins 863 Dec 21 06:38 go.mod 06:38:24 -rw-r--r--. 1 jenkins jenkins 16360 Dec 21 06:38 go.sum 06:38:24 drwxrwxr-x. 3 jenkins jenkins 20 Dec 21 06:36 internal 06:38:24 -rw-rw-r--. 1 jenkins jenkins 660 Dec 21 06:36 Jenkinsfile 06:38:24 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 21 06:36 LICENSE 06:38:24 -rw-rw-r--. 1 jenkins jenkins 873 Dec 21 06:36 Makefile 06:38:24 -rw-rw-r--. 1 jenkins jenkins 918 Dec 21 06:36 README.md 06:38:24 -rw-rw-r--. 1 jenkins jenkins 11 Dec 21 06:35 VERSION 06:38:24 -rw-rw-r--. 1 jenkins jenkins 235 Dec 21 06:36 version.go [Pipeline] isUnix [Pipeline] sh 06:38:25 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d98ab64770a8aa8499d3ed372f913abb779305df --label arch=amd64 --label version=1.3.1-dev.2 . 06:38:25 Sending build context to Docker daemon 540.7kB 06:38:25 Step 1/22 : ARG BASE=golang:1.15-alpine 06:38:25 Step 2/22 : FROM ${BASE} AS builder 06:38:25 ---> 3fa59e7ce3e7 06:38:25 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:38:25 ---> Running in ff4d84168a45 06:38:25 Removing intermediate container ff4d84168a45 06:38:25 ---> 4ef141ec09e0 06:38:25 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:38:25 ---> Running in 1453a7e6a940 06:38:26 Removing intermediate container 1453a7e6a940 06:38:26 ---> 66d9b31a6456 06:38:26 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:38:26 ---> Running in ed8c159caf99 06:38:26 Removing intermediate container ed8c159caf99 06:38:26 ---> 9126e845f248 06:38:26 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:26 ---> Running in dcbc5b367f26 06:38:27 Removing intermediate container dcbc5b367f26 06:38:27 ---> d4195c0eb224 06:38:27 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:38:27 ---> Running in e46549a37607 06:38:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:38:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:38:28 OK: 237 MiB in 53 packages 06:38:28 Removing intermediate container e46549a37607 06:38:28 ---> 630359af284f 06:38:28 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:38:29 ---> Running in 856d0da1c700 06:38:29 Removing intermediate container 856d0da1c700 06:38:29 ---> 19ad3c7fcaf5 06:38:29 Step 9/22 : COPY . . 06:38:30 ---> cd234b8fb602 06:38:30 Step 10/22 : ARG MAKE='make build' 06:38:30 ---> Running in 1d0ef7ff6dd1 06:38:30 Removing intermediate container 1d0ef7ff6dd1 06:38:30 ---> 0ed49b2af6b1 06:38:30 Step 11/22 : RUN $MAKE 06:38:30 ---> Running in 46c8bbe2020d 06:38:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1-dev.2" -o cmd/device-virtual ./cmd 06:38:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:38:44 Removing intermediate container 2f7bf3db79a5 06:38:44 ---> 7ffb4e27e132 06:38:44 Successfully built 7ffb4e27e132 06:38:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:38:44 + docker inspect -f . ci-base-image-arm64 06:38:44 . [Pipeline] withDockerContainer 06:38:44 prd-ubuntu18.04-docker-arm64-4c-16g-17030 does not seem to be running inside a container 06:38:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/35 -v /w/workspace/device-virtual-go/35:/w/workspace/device-virtual-go/35:rw,z -v /w/workspace/device-virtual-go/35@tmp:/w/workspace/device-virtual-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:38:46 $ docker top 52d6ae1e1e49b1dc33259bd9ac4db0358d16cad4764ce1a74aa816f25021bf14 -eo pid,comm 06:38:46 Removing intermediate container 46c8bbe2020d 06:38:46 ---> ee3dfcf25547 06:38:46 Step 12/22 : FROM alpine 06:38:47 latest: Pulling from library/alpine 06:38:47 801bfaa63ef2: Pulling fs layer 06:38:47 801bfaa63ef2: Download complete 06:38:47 801bfaa63ef2: Pull complete 06:38:47 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:38:47 Status: Downloaded newer image for alpine:latest 06:38:47 ---> 389fef711851 06:38:47 Step 13/22 : ENV APP_PORT=49990 06:38:47 ---> Running in 14f10a27e9b0 06:38:48 Removing intermediate container 14f10a27e9b0 06:38:48 ---> 9bc7300b5b53 06:38:48 Step 14/22 : EXPOSE $APP_PORT 06:38:48 ---> Running in bd075b44467a 06:38:48 Removing intermediate container bd075b44467a 06:38:48 ---> 57cf5a7d0f2d 06:38:48 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:38:49 ---> 404badc3b78c 06:38:49 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:38:49 ---> d8a1a711f046 06:38:49 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:38:49 ---> 5548db04b05f 06:38:49 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:38:49 ---> Running in f4075421a53d 06:38:49 Removing intermediate container f4075421a53d 06:38:49 ---> 36d4681f71fe 06:38:49 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:38:49 ---> Running in 67497b1db2b3 06:38:49 Removing intermediate container 67497b1db2b3 06:38:49 ---> 093682cb0667 06:38:49 Step 20/22 : LABEL arch=amd64 06:38:49 ---> Running in 133ae89b2d0e 06:38:50 Removing intermediate container 133ae89b2d0e 06:38:50 ---> df232853d43b 06:38:50 Step 21/22 : LABEL git_sha=d98ab64770a8aa8499d3ed372f913abb779305df 06:38:50 ---> Running in 425e659af38b 06:38:50 Removing intermediate container 425e659af38b 06:38:50 ---> 6a9760ac019f 06:38:50 Step 22/22 : LABEL version=1.3.1-dev.2 06:38:50 ---> Running in 5fb3552ce698 [Pipeline] { 06:38:50 Removing intermediate container 5fb3552ce698 06:38:50 ---> 69647ae810f0 06:38:50 [Warning] One or more build-args [ARCH] were not consumed 06:38:50 Successfully built 69647ae810f0 06:38:50 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:38:51 provisioning config files... 06:38:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/35@tmp/config4963393136686898768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:51 + go version 06:38:51 go version go1.15.5 linux/arm64 [Pipeline] } 06:38:51 $ docker stop --time=1 52d6ae1e1e49b1dc33259bd9ac4db0358d16cad4764ce1a74aa816f25021bf14 06:38:51 ---> docker-login.sh 06:38:51 nexus3.edgexfoundry.org:10001 06:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:51 Configure a credential helper to remove this warning. See 06:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:51 06:38:51 Login Succeeded 06:38:51 nexus3.edgexfoundry.org:10002 06:38:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:51 Configure a credential helper to remove this warning. See 06:38:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:51 06:38:51 Login Succeeded 06:38:51 nexus3.edgexfoundry.org:10003 06:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:52 Configure a credential helper to remove this warning. See 06:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:52 06:38:52 Login Succeeded 06:38:52 nexus3.edgexfoundry.org:10004 06:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:52 Configure a credential helper to remove this warning. See 06:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:52 06:38:52 Login Succeeded 06:38:52 docker.io 06:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:52 Configure a credential helper to remove this warning. See 06:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:52 06:38:52 Login Succeeded 06:38:52 ---> docker-login.sh ends 06:38:53 $ docker rm -f 52d6ae1e1e49b1dc33259bd9ac4db0358d16cad4764ce1a74aa816f25021bf14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 06:38:53 Deleting 1 temporary files [Pipeline] // script [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] stage [Pipeline] { (Test) [Pipeline] echo 06:38:53 [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: 06:38:53 d98ab64770a8aa8499d3ed372f913abb779305df 06:38:53 latest 06:38:53 1.3.1-dev.2 06:38:53 d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 06:38:53 master 06:38:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:38:54 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d98ab64770a8aa8499d3ed372f913abb779305df [Pipeline] isUnix [Pipeline] sh 06:38:54 + docker inspect -f . ci-base-image-arm64 06:38:54 . [Pipeline] withDockerContainer 06:38:54 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d98ab64770a8aa8499d3ed372f913abb779305df 06:38:54 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 06:38:54 0c9fd3845951: Preparing 06:38:54 2d5050dc81e8: Preparing 06:38:54 c60b5406dd0b: Preparing 06:38:54 777b2c648970: Preparing 06:38:54 777b2c648970: Layer already exists 06:38:54 0c9fd3845951: Pushed 06:38:54 2d5050dc81e8: Pushed 06:38:54 prd-ubuntu18.04-docker-arm64-4c-16g-17030 does not seem to be running inside a container 06:38:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/35 -v /w/workspace/device-virtual-go/35:/w/workspace/device-virtual-go/35:rw,z -v /w/workspace/device-virtual-go/35@tmp:/w/workspace/device-virtual-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:38:56 c60b5406dd0b: Pushed 06:38:56 $ docker top d02f60b3caf6381dc44f001e1e695199489e040676317f067db1bc21dd403118 -eo pid,comm 06:38:56 d98ab64770a8aa8499d3ed372f913abb779305df: digest: sha256:99cfb6997d56b8b6595eb1412f91e3cc247deca90de56d6ba12aef9bebfbd861 size: 1155 [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:38:57 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh 06:38:57 + make test 06:38:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:38:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 06:38:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 06:38:57 0c9fd3845951: Preparing 06:38:57 2d5050dc81e8: Preparing 06:38:57 c60b5406dd0b: Preparing 06:38:57 777b2c648970: Preparing 06:38:57 2d5050dc81e8: Layer already exists 06:38:57 777b2c648970: Layer already exists 06:38:57 0c9fd3845951: Layer already exists 06:38:57 c60b5406dd0b: Layer already exists 06:38:57 latest: digest: sha256:99cfb6997d56b8b6595eb1412f91e3cc247deca90de56d6ba12aef9bebfbd861 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:38:57 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:38:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.2 06:38:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 06:38:57 0c9fd3845951: Preparing 06:38:57 2d5050dc81e8: Preparing 06:38:57 c60b5406dd0b: Preparing 06:38:57 777b2c648970: Preparing 06:38:57 0c9fd3845951: Layer already exists 06:38:57 c60b5406dd0b: Layer already exists 06:38:57 777b2c648970: Layer already exists 06:38:57 2d5050dc81e8: Layer already exists 06:38:57 1.3.1-dev.2: digest: sha256:99cfb6997d56b8b6595eb1412f91e3cc247deca90de56d6ba12aef9bebfbd861 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:38:58 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:38:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:38:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 06:38:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 06:38:58 0c9fd3845951: Preparing 06:38:58 2d5050dc81e8: Preparing 06:38:58 c60b5406dd0b: Preparing 06:38:58 777b2c648970: Preparing 06:38:58 c60b5406dd0b: Layer already exists 06:38:58 2d5050dc81e8: Layer already exists 06:38:58 777b2c648970: Layer already exists 06:38:58 0c9fd3845951: Layer already exists 06:38:58 d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2: digest: sha256:99cfb6997d56b8b6595eb1412f91e3cc247deca90de56d6ba12aef9bebfbd861 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:38:58 + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh 06:38:59 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master 06:38:59 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] 06:38:59 0c9fd3845951: Preparing 06:38:59 2d5050dc81e8: Preparing 06:38:59 c60b5406dd0b: Preparing 06:38:59 777b2c648970: Preparing 06:38:59 c60b5406dd0b: Layer already exists 06:38:59 0c9fd3845951: Layer already exists 06:38:59 777b2c648970: Layer already exists 06:38:59 2d5050dc81e8: Layer already exists 06:38:59 master: digest: sha256:99cfb6997d56b8b6595eb1412f91e3cc247deca90de56d6ba12aef9bebfbd861 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:38:59 ===================================================== [Pipeline] echo 06:38:59 taggedImages: 06:38:59 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d98ab64770a8aa8499d3ed372f913abb779305df 06:38:59 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest 06:38:59 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.1-dev.2 06:38:59 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 06:38:59 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:39:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:39:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.468s coverage: 64.4% of statements 06:39:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:39:56 gofmt -l . 06:39:56 [ "`gofmt -l .`" = "" ] 06:39:56 ./bin/test-attribution-txt.sh 06:39:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:39:57 $ docker stop --time=1 d02f60b3caf6381dc44f001e1e695199489e040676317f067db1bc21dd403118 06:39:59 $ docker rm -f d02f60b3caf6381dc44f001e1e695199489e040676317f067db1bc21dd403118 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:00 Warning: overwriting stash ‘coverage-report’ 06:40:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:02 + ls -al . 06:40:02 total 148 06:40:02 drwxrwxr-x 7 jenkins jenkins 4096 Dec 21 06:39 . 06:40:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 06:37 .. 06:40:02 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 06:37 .git 06:40:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 06:37 .github 06:40:02 -rw-rw-r-- 1 jenkins jenkins 258 Dec 21 06:37 .gitignore 06:40:02 -rw-rw-r-- 1 jenkins jenkins 6713 Dec 21 06:37 Attribution.txt 06:40:02 -rw-rw-r-- 1 jenkins jenkins 1834 Dec 21 06:37 Dockerfile 06:40:02 -rw-rw-r-- 1 jenkins jenkins 957 Dec 21 06:37 Dockerfile.build 06:40:02 -rw-rw-r-- 1 jenkins jenkins 660 Dec 21 06:37 Jenkinsfile 06:40:02 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 21 06:37 LICENSE 06:40:02 -rw-rw-r-- 1 jenkins jenkins 873 Dec 21 06:37 Makefile 06:40:02 -rw-rw-r-- 1 jenkins jenkins 918 Dec 21 06:37 README.md 06:40:02 -rw-rw-r-- 1 jenkins jenkins 11 Dec 21 06:35 VERSION 06:40:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 06:37 bin 06:40:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 06:37 cmd 06:40:02 -rw-r--r-- 1 jenkins jenkins 47242 Dec 21 06:39 coverage.out 06:40:02 -rw-r--r-- 1 jenkins jenkins 863 Dec 21 06:39 go.mod 06:40:02 -rw-r--r-- 1 jenkins jenkins 16360 Dec 21 06:39 go.sum 06:40:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 06:37 internal 06:40:02 -rw-rw-r-- 1 jenkins jenkins 235 Dec 21 06:37 version.go [Pipeline] isUnix [Pipeline] sh 06:40:02 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d98ab64770a8aa8499d3ed372f913abb779305df --label arch=arm64 --label version=1.3.1-dev.2 . 06:40:03 Sending build context to Docker daemon 539.6kB 06:40:03 Step 1/22 : ARG BASE=golang:1.15-alpine 06:40:03 Step 2/22 : FROM ${BASE} AS builder 06:40:03 ---> 7ffb4e27e132 06:40:03 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 06:40:03 ---> Running in a6f8b5cfd962 06:40:04 Removing intermediate container a6f8b5cfd962 06:40:04 ---> d8560a18a9ca 06:40:04 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 06:40:04 ---> Running in 42eb46c054ed 06:40:04 Removing intermediate container 42eb46c054ed 06:40:04 ---> 4c48268fa7fc 06:40:04 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 06:40:04 ---> Running in 608ec5633ed2 06:40:04 Removing intermediate container 608ec5633ed2 06:40:04 ---> d3ef6ebe0099 06:40:04 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:05 ---> Running in b070779161ac 06:40:07 Removing intermediate container b070779161ac 06:40:07 ---> 2f70e139ebfa 06:40:07 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:40:07 ---> Running in 7622af8cfc3d 06:40:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:40:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:40:09 OK: 221 MiB in 53 packages 06:40:11 Removing intermediate container 7622af8cfc3d 06:40:11 ---> 5521cd32b494 06:40:11 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 06:40:11 ---> Running in 872273ecfe03 06:40:11 Removing intermediate container 872273ecfe03 06:40:11 ---> 939d510a674d 06:40:11 Step 9/22 : COPY . . 06:40:12 ---> b11617f94bd2 06:40:12 Step 10/22 : ARG MAKE='make build' 06:40:12 ---> Running in 1b79617ade8a 06:40:12 Removing intermediate container 1b79617ade8a 06:40:12 ---> f7f3e7fcbc82 06:40:12 Step 11/22 : RUN $MAKE 06:40:13 ---> Running in 73564bcb0edc 06:40:14 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.1-dev.2" -o cmd/device-virtual ./cmd 06:40:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:40:53 Removing intermediate container 73564bcb0edc 06:40:53 ---> dd53d76ede46 06:40:53 Step 12/22 : FROM alpine 06:40:53 latest: Pulling from library/alpine 06:40:54 159e5727ea61: Pulling fs layer 06:40:54 159e5727ea61: Verifying Checksum 06:40:54 159e5727ea61: Download complete 06:40:54 159e5727ea61: Pull complete 06:40:54 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:40:54 Status: Downloaded newer image for alpine:latest 06:40:54 ---> afeebe901d6b 06:40:54 Step 13/22 : ENV APP_PORT=49990 06:40:55 ---> Running in cc090c970f52 06:40:55 Removing intermediate container cc090c970f52 06:40:55 ---> 00df3587fd15 06:40:55 Step 14/22 : EXPOSE $APP_PORT 06:40:55 ---> Running in 19da1f7fd1cf 06:40:55 Removing intermediate container 19da1f7fd1cf 06:40:55 ---> aa40d4c39939 06:40:55 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 06:40:57 ---> a67027b260d4 06:40:57 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 06:40:58 ---> 80ab4567d99d 06:40:58 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 06:40:58 ---> d925e17b799c 06:40:58 Step 18/22 : ENTRYPOINT ["/device-virtual"] 06:40:58 ---> Running in 6c555058a02b 06:40:59 Removing intermediate container 6c555058a02b 06:40:59 ---> 89a560c97433 06:40:59 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:40:59 ---> Running in 7bd3a6f4dc81 06:40:59 Removing intermediate container 7bd3a6f4dc81 06:40:59 ---> 297e6c809914 06:40:59 Step 20/22 : LABEL arch=arm64 06:40:59 ---> Running in af8b22e6ebeb 06:41:00 Removing intermediate container af8b22e6ebeb 06:41:00 ---> 98a5095d7b25 06:41:00 Step 21/22 : LABEL git_sha=d98ab64770a8aa8499d3ed372f913abb779305df 06:41:00 ---> Running in aaa17242188f 06:41:00 Removing intermediate container aaa17242188f 06:41:00 ---> 6cab1c489a22 06:41:00 Step 22/22 : LABEL version=1.3.1-dev.2 06:41:01 ---> Running in a0cad0ec811f 06:41:01 Removing intermediate container a0cad0ec811f 06:41:01 ---> fe8e6bad8913 06:41:01 [Warning] One or more build-args [ARCH] were not consumed 06:41:01 Successfully built fe8e6bad8913 06:41:01 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:41:02 provisioning config files... 06:41:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/35@tmp/config2124408065671448993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:02 ---> docker-login.sh 06:41:02 nexus3.edgexfoundry.org:10001 06:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:02 Configure a credential helper to remove this warning. See 06:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:02 06:41:02 Login Succeeded 06:41:02 nexus3.edgexfoundry.org:10002 06:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:03 Configure a credential helper to remove this warning. See 06:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:03 06:41:03 Login Succeeded 06:41:03 nexus3.edgexfoundry.org:10003 06:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:03 Configure a credential helper to remove this warning. See 06:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:03 06:41:03 Login Succeeded 06:41:03 nexus3.edgexfoundry.org:10004 06:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:04 Configure a credential helper to remove this warning. See 06:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:04 06:41:04 Login Succeeded 06:41:04 docker.io 06:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:05 Configure a credential helper to remove this warning. See 06:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:05 06:41:05 Login Succeeded 06:41:05 ---> docker-login.sh ends [Pipeline] } 06:41:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:41:05 [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: 06:41:05 d98ab64770a8aa8499d3ed372f913abb779305df 06:41:05 latest 06:41:05 1.3.1-dev.2 06:41:05 d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 06:41:05 master 06:41:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:05 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d98ab64770a8aa8499d3ed372f913abb779305df [Pipeline] isUnix [Pipeline] sh 06:41:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d98ab64770a8aa8499d3ed372f913abb779305df 06:41:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 06:41:06 719920f47f2f: Preparing 06:41:06 3bf466948957: Preparing 06:41:06 a2f228f7046d: Preparing 06:41:06 379067d0cb53: Preparing 06:41:06 379067d0cb53: Layer already exists 06:41:06 3bf466948957: Pushed 06:41:06 719920f47f2f: Pushed 06:41:09 a2f228f7046d: Pushed 06:41:09 d98ab64770a8aa8499d3ed372f913abb779305df: digest: sha256:d7571e39f4b22c6461ddd01d45a77c29573a8343f71b52cf2cc02610e90bebf6 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:41:10 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:41:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 06:41:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 06:41:10 719920f47f2f: Preparing 06:41:10 3bf466948957: Preparing 06:41:10 a2f228f7046d: Preparing 06:41:10 379067d0cb53: Preparing 06:41:10 a2f228f7046d: Layer already exists 06:41:10 379067d0cb53: Layer already exists 06:41:10 719920f47f2f: Layer already exists 06:41:10 3bf466948957: Layer already exists 06:41:10 latest: digest: sha256:d7571e39f4b22c6461ddd01d45a77c29573a8343f71b52cf2cc02610e90bebf6 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:41:11 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:41:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.2 06:41:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 06:41:11 719920f47f2f: Preparing 06:41:11 3bf466948957: Preparing 06:41:11 a2f228f7046d: Preparing 06:41:11 379067d0cb53: Preparing 06:41:11 719920f47f2f: Layer already exists 06:41:11 a2f228f7046d: Layer already exists 06:41:11 3bf466948957: Layer already exists 06:41:11 379067d0cb53: Layer already exists 06:41:11 1.3.1-dev.2: digest: sha256:d7571e39f4b22c6461ddd01d45a77c29573a8343f71b52cf2cc02610e90bebf6 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:41:12 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 [Pipeline] isUnix [Pipeline] sh 06:41:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 06:41:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 06:41:12 719920f47f2f: Preparing 06:41:12 3bf466948957: Preparing 06:41:12 a2f228f7046d: Preparing 06:41:12 379067d0cb53: Preparing 06:41:12 3bf466948957: Layer already exists 06:41:12 719920f47f2f: Layer already exists 06:41:12 379067d0cb53: Layer already exists 06:41:12 a2f228f7046d: Layer already exists 06:41:12 d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2: digest: sha256:d7571e39f4b22c6461ddd01d45a77c29573a8343f71b52cf2cc02610e90bebf6 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:41:13 + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh 06:41:13 + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master 06:41:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] 06:41:13 719920f47f2f: Preparing 06:41:13 3bf466948957: Preparing 06:41:13 a2f228f7046d: Preparing 06:41:13 379067d0cb53: Preparing 06:41:13 a2f228f7046d: Layer already exists 06:41:13 3bf466948957: Layer already exists 06:41:13 719920f47f2f: Layer already exists 06:41:13 379067d0cb53: Layer already exists 06:41:13 master: digest: sha256:d7571e39f4b22c6461ddd01d45a77c29573a8343f71b52cf2cc02610e90bebf6 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:41:13 ===================================================== [Pipeline] echo 06:41:13 taggedImages: 06:41:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d98ab64770a8aa8499d3ed372f913abb779305df 06:41:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest 06:41:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.1-dev.2 06:41:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:d98ab64770a8aa8499d3ed372f913abb779305df-1.3.1-dev.2 06:41:13 - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:41:15 provisioning config files... 06:41:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5365840313894865106tmp [Pipeline] { [Pipeline] sh 06:41:15 + set +x 06:41:15 + curl -s https://codecov.io/bash 06:41:15 + bash -s -- 06:41:16 06:41:16 _____ _ 06:41:16 / ____| | | 06:41:16 | | ___ __| | ___ ___ _____ __ 06:41:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:41:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:41:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:41:16 Bash-20201217-3d3df35 06:41:16 06:41:16 06:41:16 git version 2.24.3 found 06:41:16 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:41:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:41:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 06:41:16 ==> Jenkins CI detected. 06:41:16 project root: . 06:41:16 --> token set from env 06:41:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:41:16 ==> Running gcov in . (disable via -X gcov) 06:41:16 ==> Python coveragepy not found 06:41:16 ==> Searching for coverage reports in: 06:41:16 + . 06:41:16 -> Found 1 reports 06:41:16 ==> Detecting git/mercurial file structure 06:41:16 ==> Reading reports 06:41:16 + ./coverage.out bytes=47242 06:41:16 ==> Appending adjustments 06:41:16 https://docs.codecov.io/docs/fixing-reports 06:41:16 + Found adjustments 06:41:16 ==> Gzipping contents 06:41:16 8.0K /tmp/codecov.8Hxv6b.gz 06:41:16 ==> Uploading reports 06:41:16 url: https://codecov.io 06:41:16 query: branch=master&commit=d98ab64770a8aa8499d3ed372f913abb779305df&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:41:16 -> Pinging Codecov 06:41:16 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=master&commit=d98ab64770a8aa8499d3ed372f913abb779305df&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:41:16 -> Uploading to 06:41:16 https://storage.googleapis.com/codecov/v4/raw/2020-12-21/5E52B4B073DB2E39498172D8E973AA87/d98ab64770a8aa8499d3ed372f913abb779305df/57317a73-8fdc-4249-81d0-0224d7823905.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T064116Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eca7566ca2f296ca1f5fd279fa9d856323f9f88356e4b0f4937ab3bdb8aa7a3 06:41:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:41:16 Dload Upload Total Spent Left Speed 06:41:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5820 0 0 100 5820 0 12322 --:--:-- --:--:-- --:--:-- 12330 06:41:17 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/d98ab64770a8aa8499d3ed372f913abb779305df [Pipeline] } 06:41:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:41:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:41:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:41:18 06:41:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:41:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:41:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:41:19 188c0c94c7c5: Pulling fs layer 06:41:19 0ef7d3d256c8: Pulling fs layer 06:41:19 de9db76c5a1d: Pulling fs layer 06:41:19 0eba1c9be4d2: Pulling fs layer 06:41:19 0d57e429df01: Pulling fs layer 06:41:19 4e4be7b47b0d: Pulling fs layer 06:41:19 e1f770b5df2f: Pulling fs layer 06:41:19 85a0685a4137: Pulling fs layer 06:41:19 0eba1c9be4d2: Waiting 06:41:19 0d57e429df01: Waiting 06:41:19 4e4be7b47b0d: Waiting 06:41:19 e1f770b5df2f: Waiting 06:41:19 85a0685a4137: Waiting 06:41:19 de9db76c5a1d: Verifying Checksum 06:41:19 de9db76c5a1d: Download complete 06:41:19 0ef7d3d256c8: Verifying Checksum 06:41:19 0ef7d3d256c8: Download complete 06:41:19 0d57e429df01: Verifying Checksum 06:41:19 0d57e429df01: Download complete 06:41:19 4e4be7b47b0d: Verifying Checksum 06:41:19 4e4be7b47b0d: Download complete 06:41:19 188c0c94c7c5: Verifying Checksum 06:41:20 188c0c94c7c5: Pull complete 06:41:20 0ef7d3d256c8: Pull complete 06:41:20 de9db76c5a1d: Pull complete 06:41:21 e1f770b5df2f: Verifying Checksum 06:41:21 e1f770b5df2f: Download complete 06:41:26 85a0685a4137: Verifying Checksum 06:41:26 85a0685a4137: Download complete 06:41:27 0eba1c9be4d2: Verifying Checksum 06:41:27 0eba1c9be4d2: Download complete 06:41:39 0eba1c9be4d2: Pull complete 06:41:39 0d57e429df01: Pull complete 06:41:39 4e4be7b47b0d: Pull complete 06:41:41 e1f770b5df2f: Pull complete 06:41:54 85a0685a4137: Pull complete 06:41:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:41:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:41:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:41:54 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:41:56 $ docker top 95ac7073884e95612d4a906aaddc2161b2e069bd8a9df209c3ef77ca340c6889 -eo pid,comm [Pipeline] { [Pipeline] echo 06:41:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:41:57 + set -o pipefail 06:41:57 + snyk monitor '--org=edgex-jenkins' 06:42:12 06:42:12 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 06:42:12 06:42:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/49610a0c-2d3e-45af-a6f8-30c08b21da26 06:42:12 06:42:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:42:12 06:42:12 06:42:12 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 06:42:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:42:12 $ docker stop --time=1 95ac7073884e95612d4a906aaddc2161b2e069bd8a9df209c3ef77ca340c6889 06:42:15 $ docker rm -f 95ac7073884e95612d4a906aaddc2161b2e069bd8a9df209c3ef77ca340c6889 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:42:17 + git log --format=format:%s -1 d98ab64770a8aa8499d3ed372f913abb779305df [Pipeline] isUnix [Pipeline] sh 06:42:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:18 . [Pipeline] withDockerContainer 06:42:18 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:42:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:42:19 $ docker top 03d41db92480cd912580105770a280b01c4616f550941ae8faa8683fb95b9b00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:19 [ssh-agent] Looking for ssh-agent implementation... 06:42:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:20 $ docker exec 03d41db92480cd912580105770a280b01c4616f550941ae8faa8683fb95b9b00 ssh-agent 06:42:20 SSH_AUTH_SOCK=/tmp/ssh-SJJxrQAF7j6v/agent.11 06:42:20 SSH_AGENT_PID=17 06:42:20 Running ssh-add (command line suppressed) 06:42:20 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6015010676485871871.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6015010676485871871.key) 06:42:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:21 + git semver tag 06:42:21 # -> Open(): unable to determine branch for HEAD 06:42:21 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 06:42:21 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 06:42:21 # $SEMVER_REMOTE_NAME = origin 06:42:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:42:21 # $SEMVER_USER_NAME = edgex-jenkins 06:42:21 # $SEMVER_BRANCH = master 06:42:21 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 06:42:21 # d98ab64770a8aa8499d3ed372f913abb779305df HEAD 06:42:21 # -> Force: false 06:42:21 # f30ca5967fda91bf9001591eab2d8c7f8168f948 refs/tags/v1.3.1-dev.2 [Pipeline] } 06:42:21 $ docker exec --env ******** --env ******** 03d41db92480cd912580105770a280b01c4616f550941ae8faa8683fb95b9b00 ssh-agent -k 06:42:21 unset SSH_AUTH_SOCK; 06:42:21 unset SSH_AGENT_PID; 06:42:21 echo Agent pid 17 killed; 06:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:42:22 + git semver [Pipeline] } 06:42:22 $ docker stop --time=1 03d41db92480cd912580105770a280b01c4616f550941ae8faa8683fb95b9b00 06:42:24 $ docker rm -f 03d41db92480cd912580105770a280b01c4616f550941ae8faa8683fb95b9b00 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:42:24 06:42:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:42:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:42:25 0.23.1-centos7: Pulling from edgex-lftools 06:42:25 ab5ef0e58194: Pulling fs layer 06:42:25 9712f1f96733: Pulling fs layer 06:42:25 63f879dbbcfc: Pulling fs layer 06:42:25 0d9ebad4ef96: Pulling fs layer 06:42:25 e9a5061849ea: Pulling fs layer 06:42:25 d747dcd14b5f: Pulling fs layer 06:42:25 2de7ff778b66: Pulling fs layer 06:42:25 e9a5061849ea: Waiting 06:42:25 d747dcd14b5f: Waiting 06:42:25 2de7ff778b66: Waiting 06:42:25 0d9ebad4ef96: Waiting 06:42:25 9712f1f96733: Verifying Checksum 06:42:25 9712f1f96733: Download complete 06:42:28 63f879dbbcfc: Verifying Checksum 06:42:28 63f879dbbcfc: Download complete 06:42:29 e9a5061849ea: Verifying Checksum 06:42:29 e9a5061849ea: Download complete 06:42:29 d747dcd14b5f: Verifying Checksum 06:42:29 d747dcd14b5f: Download complete 06:42:30 ab5ef0e58194: Verifying Checksum 06:42:30 ab5ef0e58194: Download complete 06:42:30 2de7ff778b66: Verifying Checksum 06:42:30 2de7ff778b66: Download complete 06:42:30 0d9ebad4ef96: Verifying Checksum 06:42:30 0d9ebad4ef96: Download complete 06:42:39 ab5ef0e58194: Pull complete 06:42:39 9712f1f96733: Pull complete 06:42:41 63f879dbbcfc: Pull complete 06:42:51 0d9ebad4ef96: Pull complete 06:42:52 e9a5061849ea: Pull complete 06:42:53 d747dcd14b5f: Pull complete 06:42:56 2de7ff778b66: Pull complete 06:42:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:42:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:42:57 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:42:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:43:01 $ docker top 6f4eb0cbe000d1efc94a9d15c01dc98cab715faec29efbbd9079e4a5d97865d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:43:01 provisioning config files... 06:43:01 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8060159032468653091tmp 06:43:01 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2468457817817220038tmp 06:43:01 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8819166039895613702tmp [Pipeline] { [Pipeline] echo 06:43:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:43:02 ---> sigul-configuration.sh 06:43:02 gpg: directory `/root/.gnupg' created 06:43:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:43:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:43:02 gpg: keyring `/root/.gnupg/secring.gpg' created 06:43:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:43:02 gpg: CAST5 encrypted data 06:43:02 gpg: encrypted with 1 passphrase 06:43:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:43:02 + mkdir /home/jenkins 06:43:02 + mkdir /home/jenkins/sigul [Pipeline] sh 06:43:03 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:43:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:43:03 ---> sigul-install.sh 06:43:10 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 06:43:10 + git tag --list 06:43:10 v1.0.0 06:43:10 v1.1.0 06:43:10 v1.1.1 06:43:10 v1.2.1 06:43:10 v1.2.2 06:43:10 v1.2.3 06:43:10 v1.2.3-dev.1 06:43:10 v1.2.3-dev.2 06:43:10 v1.2.4-dev.1 06:43:10 v1.2.4-dev.10 06:43:10 v1.2.4-dev.11 06:43:10 v1.2.4-dev.2 06:43:10 v1.2.4-dev.3 06:43:10 v1.2.4-dev.4 06:43:10 v1.2.4-dev.5 06:43:10 v1.2.4-dev.6 06:43:10 v1.2.4-dev.7 06:43:10 v1.2.4-dev.8 06:43:10 v1.2.4-dev.9 06:43:10 v1.3.0 06:43:10 v1.3.1-dev.1 06:43:10 v1.3.1-dev.2 [Pipeline] sh 06:43:11 + lftools sign git-tag v1.3.1-dev.2 06:43:12 Signing Git tag with Sigul... 06:43:12 Signing v1.3.1-dev.2 [Pipeline] echo 06:43:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:43:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:43:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:43:14 $ docker stop --time=1 6f4eb0cbe000d1efc94a9d15c01dc98cab715faec29efbbd9079e4a5d97865d3 06:43:16 $ docker rm -f 6f4eb0cbe000d1efc94a9d15c01dc98cab715faec29efbbd9079e4a5d97865d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:43:17 . [Pipeline] withDockerContainer 06:43:17 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:43:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:43:18 $ docker top 50bc4916f9b38c7558a0028f68847d50b1ea9fcc6de6128f4e04f738e107a5fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:19 [ssh-agent] Looking for ssh-agent implementation... 06:43:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:19 $ docker exec 50bc4916f9b38c7558a0028f68847d50b1ea9fcc6de6128f4e04f738e107a5fc ssh-agent 06:43:20 SSH_AUTH_SOCK=/tmp/ssh-X8V568qBPvKj/agent.12 06:43:20 SSH_AGENT_PID=17 06:43:20 Running ssh-add (command line suppressed) 06:43:21 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4733755180668054980.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4733755180668054980.key) 06:43:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:22 + git semver bump pre 06:43:22 # -> Open(): unable to determine branch for HEAD 06:43:22 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 06:43:22 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 06:43:22 # $SEMVER_REMOTE_NAME = origin 06:43:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:43:22 # $SEMVER_USER_NAME = edgex-jenkins 06:43:22 # $SEMVER_BRANCH = master 06:43:22 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 06:43:22 1.3.1-dev.3 [Pipeline] } 06:43:22 $ docker exec --env ******** --env ******** 50bc4916f9b38c7558a0028f68847d50b1ea9fcc6de6128f4e04f738e107a5fc ssh-agent -k 06:43:22 unset SSH_AUTH_SOCK; 06:43:22 unset SSH_AGENT_PID; 06:43:22 echo Agent pid 17 killed; 06:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:22 + git semver [Pipeline] } 06:43:23 $ docker stop --time=1 50bc4916f9b38c7558a0028f68847d50b1ea9fcc6de6128f4e04f738e107a5fc 06:43:24 $ docker rm -f 50bc4916f9b38c7558a0028f68847d50b1ea9fcc6de6128f4e04f738e107a5fc [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:43:25 . [Pipeline] withDockerContainer 06:43:25 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:43:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:43:27 $ docker top 95233c919136ad1c509a292ee38fbff21d64569560335961b903ac0f6212bcb4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:27 [ssh-agent] Looking for ssh-agent implementation... 06:43:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:27 $ docker exec 95233c919136ad1c509a292ee38fbff21d64569560335961b903ac0f6212bcb4 ssh-agent 06:43:28 SSH_AUTH_SOCK=/tmp/ssh-z9dSUme7bJRD/agent.11 06:43:28 SSH_AGENT_PID=16 06:43:28 Running ssh-add (command line suppressed) 06:43:28 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_4380634259334406141.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_4380634259334406141.key) 06:43:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:29 + git semver push 06:43:29 # -> Open(): unable to determine branch for HEAD 06:43:29 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 06:43:29 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 06:43:29 # $SEMVER_REMOTE_NAME = origin 06:43:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:43:29 # $SEMVER_USER_NAME = edgex-jenkins 06:43:29 # $SEMVER_BRANCH = master 06:43:29 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 06:43:36 $ docker exec --env ******** --env ******** 95233c919136ad1c509a292ee38fbff21d64569560335961b903ac0f6212bcb4 ssh-agent -k 06:43:36 unset SSH_AUTH_SOCK; 06:43:36 unset SSH_AGENT_PID; 06:43:36 echo Agent pid 16 killed; 06:43:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:37 + git semver [Pipeline] } 06:43:37 $ docker stop --time=1 95233c919136ad1c509a292ee38fbff21d64569560335961b903ac0f6212bcb4 06:43:39 $ docker rm -f 95233c919136ad1c509a292ee38fbff21d64569560335961b903ac0f6212bcb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:43:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:43:41 ---> package-listing.sh 06:43:41 ++ facter osfamily 06:43:41 ++ tr '[:upper:]' '[:lower:]' 06:43:42 + OS_FAMILY=redhat 06:43:42 + workspace=/w/workspace/foundry_device-virtual-go_master 06:43:42 + START_PACKAGES=/tmp/packages_start.txt 06:43:42 + END_PACKAGES=/tmp/packages_end.txt 06:43:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:43:42 + PACKAGES=/tmp/packages_start.txt 06:43:42 + '[' /w/workspace/foundry_device-virtual-go_master ']' 06:43:42 + PACKAGES=/tmp/packages_end.txt 06:43:42 + case "${OS_FAMILY}" in 06:43:42 + rpm -qa 06:43:42 + sort 06:43:47 + '[' -f /tmp/packages_start.txt ']' 06:43:47 + '[' -f /tmp/packages_end.txt ']' 06:43:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:43:47 + '[' /w/workspace/foundry_device-virtual-go_master ']' 06:43:47 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 06:43:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 06:43:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:43:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:43:48 06:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:43:49 alpine: Pulling from edgex-lftools-log-publisher 06:43:49 df20fa9351a1: Pulling fs layer 06:43:49 36b3adc4ff6f: Pulling fs layer 06:43:49 8ad3a11d3b57: Pulling fs layer 06:43:49 46f8f816bc3b: Pulling fs layer 06:43:49 93b61091891f: Pulling fs layer 06:43:49 93b9cdb0e59b: Pulling fs layer 06:43:49 5e14af77c1be: Pulling fs layer 06:43:49 01666e4c0597: Pulling fs layer 06:43:49 aa168da1d23b: Pulling fs layer 06:43:49 93b9cdb0e59b: Waiting 06:43:49 5e14af77c1be: Waiting 06:43:49 01666e4c0597: Waiting 06:43:49 aa168da1d23b: Waiting 06:43:49 93b61091891f: Waiting 06:43:49 46f8f816bc3b: Waiting 06:43:49 36b3adc4ff6f: Verifying Checksum 06:43:49 36b3adc4ff6f: Download complete 06:43:49 46f8f816bc3b: Verifying Checksum 06:43:49 46f8f816bc3b: Download complete 06:43:49 df20fa9351a1: Download complete 06:43:49 93b9cdb0e59b: Verifying Checksum 06:43:49 93b9cdb0e59b: Download complete 06:43:49 5e14af77c1be: Verifying Checksum 06:43:49 5e14af77c1be: Download complete 06:43:49 93b61091891f: Verifying Checksum 06:43:49 93b61091891f: Download complete 06:43:49 01666e4c0597: Verifying Checksum 06:43:49 01666e4c0597: Download complete 06:43:49 8ad3a11d3b57: Verifying Checksum 06:43:49 8ad3a11d3b57: Download complete 06:43:50 df20fa9351a1: Pull complete 06:43:50 36b3adc4ff6f: Pull complete 06:43:52 8ad3a11d3b57: Pull complete 06:43:52 46f8f816bc3b: Pull complete 06:43:53 93b61091891f: Pull complete 06:43:53 93b9cdb0e59b: Pull complete 06:43:54 aa168da1d23b: Verifying Checksum 06:43:54 aa168da1d23b: Download complete 06:43:54 5e14af77c1be: Pull complete 06:43:54 01666e4c0597: Pull complete 06:44:09 aa168da1d23b: Pull complete 06:44:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:44:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:44:10 prd-centos7-docker-4c-2g-17027 does not seem to be running inside a container 06:44:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:44:13 $ docker top e9ca7b519819de71ab618555af95376ef3180745d7dac71de37596550a78fcc6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:14 + touch /tmp/pre-build-complete [Pipeline] sh 06:44:15 + mkdir -p /var/log/sa [Pipeline] sh 06:44:15 + ls /var/log/sa-host 06:44:15 + sadf -c /var/log/sa-host/sa21 06:44:15 file_magic: OK 06:44:15 HZ: Using current value: 100 06:44:15 file_header: OK 06:44:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:44:15 Statistics: 06:44:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:44:15 File successfully converted to sysstat format version 12.2.1 06:44:15 + sadf -c /var/log/sa-host/sa23 06:44:15 file_magic: OK 06:44:15 HZ: Using current value: 100 06:44:15 file_header: OK 06:44:15 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:44:15 Statistics: 06:44:15 Hnuu...uuuununununu... 06:44:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:16 provisioning config files... 06:44:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4973868510819772274tmp [Pipeline] { [Pipeline] echo 06:44:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:44:16 ---> create-netrc.sh [Pipeline] } 06:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:44:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:44:16 ---> python-tools-install.sh [Pipeline] echo 06:44:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:44:17 ---> sudo-logs.sh 06:44:17 Archiving 'sudo' log.. [Pipeline] echo 06:44:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:44:17 ---> job-cost.sh 06:44:17 lf-activate-venv: SKIPPING 06:44:17 INFO: No Stack... 06:44:19 INFO: Retrieving Pricing Info for: v1-standard-2 06:44:19 INFO: Archiving Costs [Pipeline] echo 06:44:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:19 ---> logs-deploy.sh 06:44:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/35 06:44:19 INFO: archiving workspace using pattern(s): 06:44:21 Archives upload complete. 06:44:21 INFO: archiving logs to Nexus