Pull request #149 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 86335f6acaea922b63039ed338d07a5e5ea9a42e+61a361d9b68ffcf858458df79d4a2319d2580f82 (07267fd7349f1b3cd6b7a61fda99a8d2cd47ef1b) 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14110’ Running on prd-centos7-docker-4c-2g-14114 in /w/workspace/foundry_device-virtual-go_PR-149 [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_PR-149 # 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 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/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 61a361d9b68ffcf858458df79d4a2319d2580f82 into PR head commit 86335f6acaea922b63039ed338d07a5e5ea9a42e Merge succeeded, producing 86335f6acaea922b63039ed338d07a5e5ea9a42e Checking out Revision 86335f6acaea922b63039ed338d07a5e5ea9a42e (PR-149) > git config core.sparsecheckout # timeout=10 > git checkout -f 86335f6acaea922b63039ed338d07a5e5ea9a42e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 86335f6acaea922b63039ed338d07a5e5ea9a42e # timeout=10 Commit message: "build(deps): Bump modernc.org/ql from 1.0.0 to 1.2.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:35:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 0871fe5a61d3cd8b11697c7b7e6073cbb07a4934 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:35:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:35:26 ========================================================= 03:35:26 EdgeX Global Pipelines Version Info 03:35:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:35:27 ------------------- 03:35:27 stable info: 03:35:27 ------------------- 03:35:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:35:27 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 03:35:27 Message: update stable to v1.0.169 03:35:28 ------------------- 03:35:28 experimental info: 03:35:28 ------------------- 03:35:28 Commited By: **** collab-it+edgex@linuxfoundation.org 03:35:28 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 03:35:28 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:35:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 03:35:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 03:35:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86335f6acaea922b63039ed338d07a5e5ea9a42e [Pipeline] echo 03:35:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86335f6 [Pipeline] echo 03:35:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:35:32 provisioning config files... 03:35:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-149@tmp/config6365031209668641119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:32 ---> docker-login.sh 03:35:32 nexus3.edgexfoundry.org:10001 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:33 Configure a credential helper to remove this warning. See 03:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:33 03:35:33 Login Succeeded 03:35:33 nexus3.edgexfoundry.org:10002 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:33 Configure a credential helper to remove this warning. See 03:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:33 03:35:33 Login Succeeded 03:35:33 nexus3.edgexfoundry.org:10003 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:33 Configure a credential helper to remove this warning. See 03:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:33 03:35:33 Login Succeeded 03:35:33 nexus3.edgexfoundry.org:10004 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:33 Configure a credential helper to remove this warning. See 03:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:33 03:35:33 Login Succeeded 03:35:33 docker.io 03:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:34 Configure a credential helper to remove this warning. See 03:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:34 03:35:34 Login Succeeded 03:35:34 ---> docker-login.sh ends [Pipeline] } 03:35:34 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 03:35:35 + git log --format=format:%s -1 86335f6acaea922b63039ed338d07a5e5ea9a42e [Pipeline] echo 03:35:35 GIT_COMMIT: 86335f6acaea922b63039ed338d07a5e5ea9a42e, Commit Message: build(deps): Bump modernc.org/ql from 1.0.0 to 1.2.1 [Pipeline] echo 03:35:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:35:35 03:35:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:35:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:35:36 latest: Pulling from edgex-devops/git-semver 03:35:36 31603596830f: Pulling fs layer 03:35:36 2a8b12db71e7: Pulling fs layer 03:35:36 6ca5941a6612: Pulling fs layer 03:35:36 ecc8261a40a4: Pulling fs layer 03:35:36 ecc8261a40a4: Waiting 03:35:36 2a8b12db71e7: Verifying Checksum 03:35:36 2a8b12db71e7: Download complete 03:35:36 31603596830f: Verifying Checksum 03:35:36 31603596830f: Download complete 03:35:36 6ca5941a6612: Verifying Checksum 03:35:36 6ca5941a6612: Download complete 03:35:36 ecc8261a40a4: Verifying Checksum 03:35:36 ecc8261a40a4: Download complete 03:35:36 31603596830f: Pull complete 03:35:36 2a8b12db71e7: Pull complete 03:35:37 6ca5941a6612: Pull complete 03:35:37 ecc8261a40a4: Pull complete 03:35:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:35:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:35:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:35:37 prd-centos7-docker-4c-2g-14114 does not seem to be running inside a container 03:35:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-149 -v /w/workspace/foundry_device-virtual-go_PR-149:/w/workspace/foundry_device-virtual-go_PR-149:rw,z -v /w/workspace/foundry_device-virtual-go_PR-149@tmp:/w/workspace/foundry_device-virtual-go_PR-149@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:35:40 $ docker top 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:40 [ssh-agent] Looking for ssh-agent implementation... 03:35:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:41 $ docker exec 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 ssh-agent 03:35:41 SSH_AUTH_SOCK=/tmp/ssh-AH1q64yvflAa/agent.11 03:35:41 SSH_AGENT_PID=16 03:35:41 Running ssh-add (command line suppressed) 03:35:41 Identity added: /w/workspace/foundry_device-virtual-go_PR-149@tmp/private_key_5214441188591673800.key (/w/workspace/foundry_device-virtual-go_PR-149@tmp/private_key_5214441188591673800.key) 03:35:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:41 + git tag --points-at HEAD [Pipeline] } 03:35:41 $ docker exec --env ******** --env ******** 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 ssh-agent -k 03:35:42 unset SSH_AUTH_SOCK; 03:35:42 unset SSH_AGENT_PID; 03:35:42 echo Agent pid 16 killed; 03:35:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:35:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:42 [ssh-agent] Looking for ssh-agent implementation... 03:35:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:42 $ docker exec 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 ssh-agent 03:35:42 SSH_AUTH_SOCK=/tmp/ssh-DIQ12WafaQaS/agent.45 03:35:42 SSH_AGENT_PID=50 03:35:42 Running ssh-add (command line suppressed) 03:35:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-149@tmp/private_key_2188450374806255937.key (/w/workspace/foundry_device-virtual-go_PR-149@tmp/private_key_2188450374806255937.key) 03:35:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:43 + git semver init 03:35:43 # -> Open(): unable to determine branch for HEAD 03:35:43 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-149/.git 03:35:43 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-149 03:35:43 # $SEMVER_REMOTE_NAME = origin 03:35:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:35:43 # $SEMVER_USER_NAME = edgex-jenkins 03:35:43 # $SEMVER_BRANCH = PR-149 03:35:43 # $SEMVER_TEMP = /tmp/semver-602820659 03:35:43 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 03:35:43 # '/tmp/semver-602820659' -> '/w/workspace/foundry_device-virtual-go_PR-149/.semver' 03:35:43 # -> Force: false 03:35:43 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-149/.semver [Pipeline] } 03:35:43 $ docker exec --env ******** --env ******** 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 ssh-agent -k 03:35:43 unset SSH_AUTH_SOCK; 03:35:43 unset SSH_AGENT_PID; 03:35:43 echo Agent pid 50 killed; 03:35:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:44 + git semver [Pipeline] } 03:35:44 $ docker stop --time=1 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 03:35:45 $ docker rm -f 07c932a811eabafd83a6146ddc81eb85a189830b74e8dd9ac459b23aa3150bf6 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:35:46 Stashed 1 file(s) [Pipeline] echo 03:35:46 [edgeXSemver]: initialized semver on version 0.0.0 [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 03:36:01 Still waiting to schedule task 03:36:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:36:01 Still waiting to schedule task 03:36:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:37:12 Running on prd-centos7-docker-4c-2g-14119 in /w/workspace/foundry_device-virtual-go_PR-149 [Pipeline] { [Pipeline] ws 03:37:12 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 03:37:16 using credential edgex-jenkins-ssh 03:37:16 Cloning the remote Git repository 03:37:16 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:37:16 > git init /w/workspace/device-virtual-go/3 # timeout=10 03:37:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:37:16 > git --version # timeout=10 03:37:16 > git --version # 'git version 2.24.3' 03:37:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:37:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:37:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:37:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:37:17 Merging remotes/origin/master commit 61a361d9b68ffcf858458df79d4a2319d2580f82 into PR head commit 86335f6acaea922b63039ed338d07a5e5ea9a42e 03:37:17 Merge succeeded, producing 86335f6acaea922b63039ed338d07a5e5ea9a42e 03:37:17 Checking out Revision 86335f6acaea922b63039ed338d07a5e5ea9a42e (PR-149) 03:37:17 > git config core.sparsecheckout # timeout=10 03:37:17 > git checkout -f 86335f6acaea922b63039ed338d07a5e5ea9a42e # timeout=10 03:37:17 > git remote # timeout=10 03:37:17 > git config --get remote.origin.url # timeout=10 03:37:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:17 > git merge 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 03:37:17 > git rev-parse HEAD^{commit} # timeout=10 03:37:17 > git config core.sparsecheckout # timeout=10 03:37:17 > git checkout -f 86335f6acaea922b63039ed338d07a5e5ea9a42e # timeout=10 03:37:21 Commit message: "build(deps): Bump modernc.org/ql from 1.0.0 to 1.2.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:37:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:37:23 + sudo service docker restart 03:37:23 + true 03:37:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:37:25 provisioning config files... 03:37:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config7731448254588717165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:25 ---> docker-login.sh 03:37:25 nexus3.edgexfoundry.org:10001 03:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:26 Configure a credential helper to remove this warning. See 03:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:26 03:37:26 Login Succeeded 03:37:26 nexus3.edgexfoundry.org:10002 03:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:26 Configure a credential helper to remove this warning. See 03:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:26 03:37:26 Login Succeeded 03:37:26 nexus3.edgexfoundry.org:10003 03:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:26 Configure a credential helper to remove this warning. See 03:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:26 03:37:26 Login Succeeded 03:37:26 nexus3.edgexfoundry.org:10004 03:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:27 Configure a credential helper to remove this warning. See 03:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:27 03:37:27 Login Succeeded 03:37:27 docker.io 03:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:27 Configure a credential helper to remove this warning. See 03:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:27 03:37:27 Login Succeeded 03:37:27 ---> docker-login.sh ends [Pipeline] } 03:37:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:37:27 ========================================================= 03:37:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:37:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:37:28 + 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 . 03:37:28 Sending build context to Docker daemon 474.6kB 03:37:28 Step 1/8 : ARG BASE=golang:1.15-alpine 03:37:28 Step 2/8 : FROM ${BASE} 03:37:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:37:28 188c0c94c7c5: Pulling fs layer 03:37:28 0ef7d3d256c8: Pulling fs layer 03:37:28 de9db76c5a1d: Pulling fs layer 03:37:28 bca2f99d35d6: Pulling fs layer 03:37:28 93359f2a8cfa: Pulling fs layer 03:37:28 7c6f9722023f: Pulling fs layer 03:37:28 a35cf1a2eb13: Pulling fs layer 03:37:28 93359f2a8cfa: Waiting 03:37:28 7c6f9722023f: Waiting 03:37:28 a35cf1a2eb13: Waiting 03:37:28 bca2f99d35d6: Waiting 03:37:28 de9db76c5a1d: Verifying Checksum 03:37:28 de9db76c5a1d: Download complete 03:37:28 0ef7d3d256c8: Verifying Checksum 03:37:28 0ef7d3d256c8: Download complete 03:37:28 93359f2a8cfa: Verifying Checksum 03:37:28 93359f2a8cfa: Download complete 03:37:28 7c6f9722023f: Verifying Checksum 03:37:28 7c6f9722023f: Download complete 03:37:28 188c0c94c7c5: Verifying Checksum 03:37:28 188c0c94c7c5: Download complete 03:37:29 188c0c94c7c5: Pull complete 03:37:29 0ef7d3d256c8: Pull complete 03:37:29 de9db76c5a1d: Pull complete 03:37:31 a35cf1a2eb13: Verifying Checksum 03:37:31 a35cf1a2eb13: Download complete 03:37:32 bca2f99d35d6: Verifying Checksum 03:37:32 bca2f99d35d6: Download complete 03:37:40 bca2f99d35d6: Pull complete 03:37:40 93359f2a8cfa: Pull complete 03:37:40 7c6f9722023f: Pull complete 03:37:46 a35cf1a2eb13: Pull complete 03:37:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:37:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:37:46 ---> a62c8e92a672 03:37:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:37:46 ---> Running in 34b2856a4dee 03:37:46 Removing intermediate container 34b2856a4dee 03:37:46 ---> 401785270e73 03:37:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:37:46 ---> Running in 31dd183c85f3 03:37:48 Removing intermediate container 31dd183c85f3 03:37:48 ---> df40c882fdb7 03:37:48 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:37:48 ---> Running in 40bf7251ebb8 03:37:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:37:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:37:50 (1/14) Installing libmagic (5.38-r0) 03:37:50 (2/14) Installing file (5.38-r0) 03:37:50 (3/14) Installing libc-dev (0.7.2-r3) 03:37:50 (4/14) Installing g++ (9.3.0-r2) 03:37:57 (5/14) Installing fortify-headers (1.1-r0) 03:37:57 (6/14) Installing patch (2.7.6-r6) 03:37:57 (7/14) Installing build-base (0.5-r2) 03:37:57 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:37:57 (9/14) Installing libedit (20191231.3.1-r0) 03:37:57 (10/14) Installing openssh-client (8.3_p1-r0) 03:37:57 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:37:57 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:37:57 (13/14) Installing openssh-server (8.3_p1-r0) 03:37:57 (14/14) Installing openssh (8.3_p1-r0) 03:37:57 Executing busybox-1.31.1-r19.trigger 03:37:57 OK: 237 MiB in 53 packages 03:38:02 Removing intermediate container 40bf7251ebb8 03:38:02 ---> edfd9dd4cb96 03:38:02 Step 6/8 : WORKDIR /device-virtual-go 03:38:02 ---> Running in f536cdde030a 03:38:02 Removing intermediate container f536cdde030a 03:38:02 ---> 996c63740925 03:38:02 Step 7/8 : COPY . . 03:38:02 ---> 233a860d217e 03:38:02 Step 8/8 : RUN go mod download 03:38:02 ---> Running in 5959ffd1d605 03:38:25 Removing intermediate container 5959ffd1d605 03:38:25 ---> 673abc3c009c 03:38:25 Successfully built 673abc3c009c 03:38:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:38:25 + docker inspect -f . ci-base-image-x86_64 03:38:25 . [Pipeline] withDockerContainer 03:38:25 prd-centos7-docker-4c-2g-14119 does not seem to be running inside a container 03:38:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:27 $ docker top c61d5547b1ce5e1b4c49c0e532d6ddbfe401293b8cf0fe4baa1c6196de7cfddd -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:27 + go version 03:38:27 go version go1.15.5 linux/amd64 [Pipeline] } 03:38:27 $ docker stop --time=1 c61d5547b1ce5e1b4c49c0e532d6ddbfe401293b8cf0fe4baa1c6196de7cfddd 03:38:29 $ docker rm -f c61d5547b1ce5e1b4c49c0e532d6ddbfe401293b8cf0fe4baa1c6196de7cfddd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:38:30 + docker inspect -f . ci-base-image-x86_64 03:38:30 . [Pipeline] withDockerContainer 03:38:30 prd-centos7-docker-4c-2g-14119 does not seem to be running inside a container 03:38:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:30 $ docker top ff52b3ee5f73f2996f16b16a0f8e64f4ac75723b037e6dfc23968d53d27b7795 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:31 + make test 03:38:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:38:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:38:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14122 in /w/workspace/foundry_device-virtual-go_PR-149 [Pipeline] { [Pipeline] ws 03:38:46 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 03:38:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:38:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.362s coverage: 64.4% of statements 03:38:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:38:52 using credential edgex-jenkins-ssh 03:38:52 Cloning the remote Git repository 03:38:52 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:38:53 > git init /w/workspace/device-virtual-go/3 # timeout=10 03:38:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:38:53 > git --version # timeout=10 03:38:53 > git --version # 'git version 2.17.1' 03:38:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:38:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:38:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:38:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:38:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:38:54 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:38:54 Merging remotes/origin/master commit 61a361d9b68ffcf858458df79d4a2319d2580f82 into PR head commit 86335f6acaea922b63039ed338d07a5e5ea9a42e 03:38:54 gofmt -l . 03:38:54 Merge succeeded, producing 86335f6acaea922b63039ed338d07a5e5ea9a42e 03:38:54 Checking out Revision 86335f6acaea922b63039ed338d07a5e5ea9a42e (PR-149) 03:38:55 [ "`gofmt -l .`" = "" ] 03:38:55 ./bin/test-attribution-txt.sh 03:38:54 > git config core.sparsecheckout # timeout=10 03:38:54 > git checkout -f 86335f6acaea922b63039ed338d07a5e5ea9a42e # timeout=10 03:38:54 > git remote # timeout=10 03:38:54 > git config --get remote.origin.url # timeout=10 03:38:54 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:54 > git merge 61a361d9b68ffcf858458df79d4a2319d2580f82 # timeout=10 03:38:54 > git rev-parse HEAD^{commit} # timeout=10 03:38:54 > git config core.sparsecheckout # timeout=10 03:38:54 > git checkout -f 86335f6acaea922b63039ed338d07a5e5ea9a42e # timeout=10 03:38:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:38:55 $ docker stop --time=1 ff52b3ee5f73f2996f16b16a0f8e64f4ac75723b037e6dfc23968d53d27b7795 03:38:57 $ docker rm -f ff52b3ee5f73f2996f16b16a0f8e64f4ac75723b037e6dfc23968d53d27b7795 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:38:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:38:59 Commit message: "build(deps): Bump modernc.org/ql from 1.0.0 to 1.2.1" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 03:39:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:00 + ls -al . 03:39:00 total 128 03:39:00 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 2 03:38 . 03:39:00 drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 03:37 .. 03:39:00 -rw-rw-r--. 1 jenkins jenkins 6713 Dec 2 03:37 Attribution.txt 03:39:00 drwxrwxr-x. 2 jenkins jenkins 64 Dec 2 03:37 bin 03:39:00 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 03:37 cmd 03:39:00 -rw-r--r--. 1 jenkins jenkins 47242 Dec 2 03:38 coverage.out 03:39:00 -rw-rw-r--. 1 jenkins jenkins 1834 Dec 2 03:37 Dockerfile 03:39:00 -rw-rw-r--. 1 jenkins jenkins 957 Dec 2 03:37 Dockerfile.build 03:39:00 drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 03:37 .git 03:39:00 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 03:37 .github 03:39:00 -rw-rw-r--. 1 jenkins jenkins 258 Dec 2 03:37 .gitignore 03:39:00 -rw-r--r--. 1 jenkins jenkins 394 Dec 2 03:38 go.mod 03:39:00 -rw-r--r--. 1 jenkins jenkins 16597 Dec 2 03:38 go.sum 03:39:00 drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 03:37 internal 03:39:00 -rw-rw-r--. 1 jenkins jenkins 660 Dec 2 03:37 Jenkinsfile 03:39:00 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 03:37 LICENSE 03:39:00 -rw-rw-r--. 1 jenkins jenkins 873 Dec 2 03:37 Makefile 03:39:00 -rw-rw-r--. 1 jenkins jenkins 918 Dec 2 03:37 README.md 03:39:00 -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 03:35 VERSION 03:39:00 -rw-rw-r--. 1 jenkins jenkins 235 Dec 2 03:37 version.go [Pipeline] isUnix [Pipeline] sh 03:39:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 03:39:01 + 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=86335f6acaea922b63039ed338d07a5e5ea9a42e --label arch=amd64 --label version=0.0.0 . [Pipeline] sh 03:39:01 Sending build context to Docker daemon 540.2kB 03:39:01 Step 1/22 : ARG BASE=golang:1.15-alpine 03:39:01 Step 2/22 : FROM ${BASE} AS builder 03:39:01 ---> 673abc3c009c 03:39:01 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:39:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:39:01 ---> Running in fd6de68fd194 03:39:01 Removing intermediate container fd6de68fd194 03:39:01 ---> ce586c0680db 03:39:01 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 03:39:02 ---> Running in 8de0460960d9 03:39:02 Removing intermediate container 8de0460960d9 03:39:02 ---> c23ef1972c2d 03:39:02 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 03:39:02 ---> Running in 18b45591a3e6 03:39:02 + sudo service docker restart 03:39:02 + true 03:39:02 Removing intermediate container 18b45591a3e6 03:39:02 ---> 61c430b97f93 03:39:02 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:02 ---> Running in 21b1109916db 03:39:03 Removing intermediate container 21b1109916db 03:39:03 ---> d7bd1f2548d0 03:39:03 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:03 ---> Running in 0009171af800 03:39:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:39:04 provisioning config files... 03:39:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:39:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config688478541812210790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:05 ---> docker-login.sh 03:39:05 nexus3.edgexfoundry.org:10001 03:39:05 OK: 237 MiB in 53 packages 03:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:06 Removing intermediate container 0009171af800 03:39:06 ---> 1aebee07b45a 03:39:06 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 03:39:06 ---> Running in 015877b8b470 03:39:06 Removing intermediate container 015877b8b470 03:39:06 ---> 880c5d95510e 03:39:06 Step 9/22 : COPY . . 03:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:06 Configure a credential helper to remove this warning. See 03:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:06 03:39:06 Login Succeeded 03:39:06 nexus3.edgexfoundry.org:10002 03:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:07 Configure a credential helper to remove this warning. See 03:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:07 03:39:07 Login Succeeded 03:39:07 nexus3.edgexfoundry.org:10003 03:39:07 ---> da860bad19eb 03:39:07 Step 10/22 : ARG MAKE='make build' 03:39:07 ---> Running in d5d1cdbacf58 03:39:07 Removing intermediate container d5d1cdbacf58 03:39:07 ---> 45631dc267bb 03:39:07 Step 11/22 : RUN $MAKE 03:39:07 ---> Running in 2d6897b5e90d 03:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:08 Configure a credential helper to remove this warning. See 03:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:08 03:39:08 Login Succeeded 03:39:08 nexus3.edgexfoundry.org:10004 03:39:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 03:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:08 Configure a credential helper to remove this warning. See 03:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:08 03:39:08 Login Succeeded 03:39:08 docker.io 03:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:10 Configure a credential helper to remove this warning. See 03:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:10 03:39:10 Login Succeeded 03:39:10 ---> docker-login.sh ends [Pipeline] } 03:39:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:39:11 ========================================================= 03:39:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:39:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:39:11 + 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 . 03:39:11 Sending build context to Docker daemon 473.6kB 03:39:11 Step 1/8 : ARG BASE=golang:1.15-alpine 03:39:12 Step 2/8 : FROM ${BASE} 03:39:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:39:12 5f621e34cdf4: Pulling fs layer 03:39:12 a4357932f1b6: Pulling fs layer 03:39:12 18c013af1878: Pulling fs layer 03:39:12 00ac8860ef70: Pulling fs layer 03:39:12 63d7cb157983: Pulling fs layer 03:39:12 b116817d02f9: Pulling fs layer 03:39:12 745a02a5169b: Pulling fs layer 03:39:12 00ac8860ef70: Waiting 03:39:12 63d7cb157983: Waiting 03:39:12 b116817d02f9: Waiting 03:39:12 745a02a5169b: Waiting 03:39:12 18c013af1878: Verifying Checksum 03:39:12 18c013af1878: Download complete 03:39:12 a4357932f1b6: Verifying Checksum 03:39:12 a4357932f1b6: Download complete 03:39:12 63d7cb157983: Verifying Checksum 03:39:12 63d7cb157983: Download complete 03:39:12 5f621e34cdf4: Verifying Checksum 03:39:13 5f621e34cdf4: Pull complete 03:39:13 b116817d02f9: Verifying Checksum 03:39:13 b116817d02f9: Download complete 03:39:13 a4357932f1b6: Pull complete 03:39:13 18c013af1878: Pull complete 03:39:14 745a02a5169b: Verifying Checksum 03:39:14 745a02a5169b: Download complete 03:39:15 00ac8860ef70: Verifying Checksum 03:39:15 00ac8860ef70: Download complete 03:39:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:39:24 Removing intermediate container 2d6897b5e90d 03:39:24 ---> 34303f48d254 03:39:24 Step 12/22 : FROM alpine 03:39:25 latest: Pulling from library/alpine 03:39:25 00ac8860ef70: Pull complete 03:39:25 188c0c94c7c5: Already exists 03:39:25 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 03:39:25 Status: Downloaded newer image for alpine:latest 03:39:25 ---> d6e46aa2470d 03:39:25 Step 13/22 : ENV APP_PORT=49990 03:39:26 63d7cb157983: Pull complete 03:39:26 ---> Running in c3c73d52e372 03:39:26 Removing intermediate container c3c73d52e372 03:39:26 ---> 2080fd9b64cd 03:39:26 Step 14/22 : EXPOSE $APP_PORT 03:39:26 ---> Running in a1ea16328d4c 03:39:26 b116817d02f9: Pull complete 03:39:26 Removing intermediate container a1ea16328d4c 03:39:26 ---> 08ea81894090 03:39:26 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 03:39:27 ---> 58393a47fb46 03:39:27 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 03:39:27 ---> dbf41a043e1f 03:39:27 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 03:39:27 ---> ddc1185f1abd 03:39:27 Step 18/22 : ENTRYPOINT ["/device-virtual"] 03:39:27 ---> Running in 77df15167678 03:39:27 Removing intermediate container 77df15167678 03:39:27 ---> d401f1a76fae 03:39:27 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:39:27 ---> Running in 8995d8c2501e 03:39:28 Removing intermediate container 8995d8c2501e 03:39:28 ---> 47260dff9b06 03:39:28 Step 20/22 : LABEL arch=amd64 03:39:28 ---> Running in fcb8b7cf50d2 03:39:28 Removing intermediate container fcb8b7cf50d2 03:39:28 ---> f72f61234140 03:39:28 Step 21/22 : LABEL git_sha=86335f6acaea922b63039ed338d07a5e5ea9a42e 03:39:28 ---> Running in eb7ab32dd6f8 03:39:28 Removing intermediate container eb7ab32dd6f8 03:39:28 ---> c88e8de6c99f 03:39:28 Step 22/22 : LABEL version=0.0.0 03:39:28 ---> Running in 5eb7d240c022 03:39:28 Removing intermediate container 5eb7d240c022 03:39:28 ---> 4d41d3b33bf9 03:39:28 [Warning] One or more build-args [ARCH] were not consumed 03:39:28 Successfully built 4d41d3b33bf9 03:39:28 Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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] } 03:39:30 745a02a5169b: Pull complete 03:39:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:39:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:39:30 ---> b7e6874047d6 03:39:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:39:33 ---> Running in c2ee7f5db2ee 03:39:33 Removing intermediate container c2ee7f5db2ee 03:39:33 ---> e75b87814bef 03:39:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:33 ---> Running in 85ca990bc417 03:39:36 Removing intermediate container 85ca990bc417 03:39:36 ---> 9efc25ff0565 03:39:36 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:39:36 ---> Running in 92a953d50d90 03:39:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:39:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:39:39 (1/14) Installing libmagic (5.38-r0) 03:39:39 (2/14) Installing file (5.38-r0) 03:39:39 (3/14) Installing libc-dev (0.7.2-r3) 03:39:39 (4/14) Installing g++ (9.3.0-r2) 03:39:44 (5/14) Installing fortify-headers (1.1-r0) 03:39:44 (6/14) Installing patch (2.7.6-r6) 03:39:44 (7/14) Installing build-base (0.5-r2) 03:39:44 (8/14) Installing openssh-keygen (8.3_p1-r0) 03:39:44 (9/14) Installing libedit (20191231.3.1-r0) 03:39:44 (10/14) Installing openssh-client (8.3_p1-r0) 03:39:44 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 03:39:44 (12/14) Installing openssh-server-common (8.3_p1-r0) 03:39:44 (13/14) Installing openssh-server (8.3_p1-r0) 03:39:44 (14/14) Installing openssh (8.3_p1-r0) 03:39:44 Executing busybox-1.31.1-r19.trigger 03:39:44 OK: 221 MiB in 53 packages 03:39:49 Removing intermediate container 92a953d50d90 03:39:49 ---> 1dee5627f58a 03:39:49 Step 6/8 : WORKDIR /device-virtual-go 03:39:49 ---> Running in c33fc1eef605 03:39:49 Removing intermediate container c33fc1eef605 03:39:49 ---> abeb161803d3 03:39:49 Step 7/8 : COPY . . 03:39:50 ---> 372c36d7ef84 03:39:50 Step 8/8 : RUN go mod download 03:39:50 ---> Running in 1c8de3997bab 03:40:17 Removing intermediate container 1c8de3997bab 03:40:17 ---> 533fa2e7d9d2 03:40:17 Successfully built 533fa2e7d9d2 03:40:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:40:18 + docker inspect -f . ci-base-image-arm64 03:40:18 . [Pipeline] withDockerContainer 03:40:18 prd-ubuntu18.04-docker-arm64-4c-16g-14122 does not seem to be running inside a container 03:40:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:20 $ docker top 547e2f8c41b048ffe0246b822519626788e1659826f88156513a624e39ced454 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:21 + go version 03:40:21 go version go1.15.5 linux/arm64 [Pipeline] } 03:40:21 $ docker stop --time=1 547e2f8c41b048ffe0246b822519626788e1659826f88156513a624e39ced454 03:40:23 $ docker rm -f 547e2f8c41b048ffe0246b822519626788e1659826f88156513a624e39ced454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:40:24 + docker inspect -f . ci-base-image-arm64 03:40:24 . [Pipeline] withDockerContainer 03:40:24 prd-ubuntu18.04-docker-arm64-4c-16g-14122 does not seem to be running inside a container 03:40:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:26 $ docker top ae4547247b1130906544eb3ee404874a3915017c75dff70dfd9efc9bacf36d48 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:27 + make test 03:40:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:40:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:41:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:41:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.447s coverage: 64.4% of statements 03:41:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:41:26 gofmt -l . 03:41:26 [ "`gofmt -l .`" = "" ] 03:41:26 ./bin/test-attribution-txt.sh 03:41:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:41:27 $ docker stop --time=1 ae4547247b1130906544eb3ee404874a3915017c75dff70dfd9efc9bacf36d48 03:41:30 $ docker rm -f ae4547247b1130906544eb3ee404874a3915017c75dff70dfd9efc9bacf36d48 [Pipeline] // withDockerContainer [Pipeline] sh 03:41:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:41:31 Warning: overwriting stash ‘coverage-report’ 03:41:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:41:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:41:33 + ls -al . 03:41:33 total 152 03:41:33 drwxrwxr-x 7 jenkins jenkins 4096 Dec 2 03:41 . 03:41:33 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 03:38 .. 03:41:33 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 03:38 .git 03:41:33 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 03:38 .github 03:41:33 -rw-rw-r-- 1 jenkins jenkins 258 Dec 2 03:38 .gitignore 03:41:33 -rw-rw-r-- 1 jenkins jenkins 6713 Dec 2 03:38 Attribution.txt 03:41:33 -rw-rw-r-- 1 jenkins jenkins 1834 Dec 2 03:38 Dockerfile 03:41:33 -rw-rw-r-- 1 jenkins jenkins 957 Dec 2 03:38 Dockerfile.build 03:41:33 -rw-rw-r-- 1 jenkins jenkins 660 Dec 2 03:38 Jenkinsfile 03:41:33 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 03:38 LICENSE 03:41:33 -rw-rw-r-- 1 jenkins jenkins 873 Dec 2 03:38 Makefile 03:41:33 -rw-rw-r-- 1 jenkins jenkins 918 Dec 2 03:38 README.md 03:41:33 -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 03:35 VERSION 03:41:33 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 03:38 bin 03:41:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 03:38 cmd 03:41:33 -rw-r--r-- 1 jenkins jenkins 47242 Dec 2 03:41 coverage.out 03:41:33 -rw-r--r-- 1 jenkins jenkins 394 Dec 2 03:41 go.mod 03:41:33 -rw-r--r-- 1 jenkins jenkins 16597 Dec 2 03:41 go.sum 03:41:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 03:38 internal 03:41:33 -rw-rw-r-- 1 jenkins jenkins 235 Dec 2 03:38 version.go [Pipeline] isUnix [Pipeline] sh 03:41:33 + 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=86335f6acaea922b63039ed338d07a5e5ea9a42e --label arch=arm64 --label version=0.0.0 . 03:41:33 Sending build context to Docker daemon 539.1kB 03:41:34 Step 1/22 : ARG BASE=golang:1.15-alpine 03:41:34 Step 2/22 : FROM ${BASE} AS builder 03:41:34 ---> 533fa2e7d9d2 03:41:34 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:41:34 ---> Running in d948069c7159 03:41:34 Removing intermediate container d948069c7159 03:41:34 ---> 191883980691 03:41:34 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 03:41:34 ---> Running in c3763290b0b6 03:41:35 Removing intermediate container c3763290b0b6 03:41:35 ---> 32c146f560e1 03:41:35 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 03:41:35 ---> Running in 4f4e3991b4e9 03:41:36 Removing intermediate container 4f4e3991b4e9 03:41:36 ---> e16c2902aecf 03:41:36 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:36 ---> Running in 8041cc44b57c 03:41:38 Removing intermediate container 8041cc44b57c 03:41:38 ---> b7f76e5f79cc 03:41:38 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:41:38 ---> Running in 2f876ed94b35 03:41:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:41:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:41:41 OK: 221 MiB in 53 packages 03:41:42 Removing intermediate container 2f876ed94b35 03:41:42 ---> 0fd0b0d4d392 03:41:42 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 03:41:42 ---> Running in 6a2888988c85 03:41:43 Removing intermediate container 6a2888988c85 03:41:43 ---> 342188119240 03:41:43 Step 9/22 : COPY . . 03:41:44 ---> c4bb13ace5fb 03:41:44 Step 10/22 : ARG MAKE='make build' 03:41:44 ---> Running in 3e23f56f7a80 03:41:44 Removing intermediate container 3e23f56f7a80 03:41:44 ---> f97f89e974c2 03:41:44 Step 11/22 : RUN $MAKE 03:41:44 ---> Running in df303353e882 03:41:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 03:42:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:42:26 Removing intermediate container df303353e882 03:42:26 ---> 50becef904f9 03:42:26 Step 12/22 : FROM alpine 03:42:26 latest: Pulling from library/alpine 03:42:26 5f621e34cdf4: Already exists 03:42:27 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 03:42:27 Status: Downloaded newer image for alpine:latest 03:42:27 ---> 2e77e061c27f 03:42:27 Step 13/22 : ENV APP_PORT=49990 03:42:27 ---> Running in 63305750c05a 03:42:27 Removing intermediate container 63305750c05a 03:42:27 ---> 2499aca08910 03:42:27 Step 14/22 : EXPOSE $APP_PORT 03:42:27 ---> Running in 86b213134bba 03:42:28 Removing intermediate container 86b213134bba 03:42:28 ---> 5b20422db275 03:42:28 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 03:42:29 ---> e88b5e4410b9 03:42:29 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 03:42:30 ---> a74f1ec2d618 03:42:30 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 03:42:31 ---> 8dbd1d640e10 03:42:31 Step 18/22 : ENTRYPOINT ["/device-virtual"] 03:42:31 ---> Running in ebef43c7abb3 03:42:31 Removing intermediate container ebef43c7abb3 03:42:31 ---> 1f289f401ffc 03:42:31 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:42:31 ---> Running in 9766c6c6c46a 03:42:31 Removing intermediate container 9766c6c6c46a 03:42:31 ---> 243fd637c023 03:42:31 Step 20/22 : LABEL arch=arm64 03:42:32 ---> Running in 76aa5640d639 03:42:32 Removing intermediate container 76aa5640d639 03:42:32 ---> e2a42b57d0f7 03:42:32 Step 21/22 : LABEL git_sha=86335f6acaea922b63039ed338d07a5e5ea9a42e 03:42:32 ---> Running in f3cb86fdfa79 03:42:33 Removing intermediate container f3cb86fdfa79 03:42:33 ---> 86ca28d6cf6c 03:42:33 Step 22/22 : LABEL version=0.0.0 03:42:33 ---> Running in e8a0c30ba6b0 03:42:33 Removing intermediate container e8a0c30ba6b0 03:42:33 ---> b27158b398c3 03:42:33 [Warning] One or more build-args [ARCH] were not consumed 03:42:33 Successfully built b27158b398c3 03:42:33 Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 03:42:35 provisioning config files... 03:42:35 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-149@tmp/config8475327573339608187tmp [Pipeline] { [Pipeline] sh 03:42:35 + set +x 03:42:35 + curl -s https://codecov.io/bash 03:42:35 + bash -s -- 03:42:36 03:42:36 _____ _ 03:42:36 / ____| | | 03:42:36 | | ___ __| | ___ ___ _____ __ 03:42:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:42:36 | |___| (_) | (_| | __/ (_| (_) \ V / 03:42:36 \_____\___/ \__,_|\___|\___\___/ \_/ 03:42:36 Bash-20201130-cc6d3fe 03:42:36 03:42:36 03:42:36 ==> Jenkins CI detected. 03:42:36 project root: . 03:42:36 --> token set from env 03:42:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:42:36 ==> Running gcov in . (disable via -X gcov) 03:42:36 ==> Python coveragepy not found 03:42:36 ==> Searching for coverage reports in: 03:42:36 + . 03:42:36 -> Found 1 reports 03:42:36 ==> Detecting git/mercurial file structure 03:42:36 ==> Reading reports 03:42:36 + ./coverage.out bytes=47242 03:42:36 ==> Appending adjustments 03:42:36 https://docs.codecov.io/docs/fixing-reports 03:42:36 + Found adjustments 03:42:36 ==> Gzipping contents 03:42:36 8.0K /tmp/codecov.ZMR3rC.gz 03:42:36 ==> Uploading reports 03:42:36 url: https://codecov.io 03:42:36 query: branch=PR-149&commit=86335f6acaea922b63039ed338d07a5e5ea9a42e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-149%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=149&job=&cmd_args= 03:42:36 -> Pinging Codecov 03:42:36 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-149&commit=86335f6acaea922b63039ed338d07a5e5ea9a42e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-149%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=149&job=&cmd_args= 03:42:37 -> Uploading to 03:42:37 https://storage.googleapis.com/codecov/v4/raw/2020-12-02/5E52B4B073DB2E39498172D8E973AA87/86335f6acaea922b63039ed338d07a5e5ea9a42e/06b254ec-c9ff-40a2-a2e6-fa4c536363be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T034236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1ca56babc7dbbae50538790a7848efe8d6dda36cf773387554da1040edde911 03:42:37 % Total % Received % Xferd Average Speed Time Time Time Current 03:42:37 Dload Upload Total Spent Left Speed 03:42:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5794 0 0 100 5794 0 15203 --:--:-- --:--:-- --:--:-- 15247 03:42:37 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/86335f6acaea922b63039ed338d07a5e5ea9a42e [Pipeline] } 03:42:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 03:42:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:42:40 ---> package-listing.sh 03:42:40 ++ facter osfamily 03:42:40 ++ tr '[:upper:]' '[:lower:]' 03:42:40 + OS_FAMILY=redhat 03:42:40 + workspace=/w/workspace/foundry_device-virtual-go_PR-149 03:42:40 + START_PACKAGES=/tmp/packages_start.txt 03:42:40 + END_PACKAGES=/tmp/packages_end.txt 03:42:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:42:40 + PACKAGES=/tmp/packages_start.txt 03:42:40 + '[' /w/workspace/foundry_device-virtual-go_PR-149 ']' 03:42:40 + PACKAGES=/tmp/packages_end.txt 03:42:40 + case "${OS_FAMILY}" in 03:42:40 + rpm -qa 03:42:40 + sort 03:42:45 + '[' -f /tmp/packages_start.txt ']' 03:42:45 + '[' -f /tmp/packages_end.txt ']' 03:42:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:42:45 + '[' /w/workspace/foundry_device-virtual-go_PR-149 ']' 03:42:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-149/archives/ 03:42:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-149/archives/ [Pipeline] echo 03:42:45 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_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:42:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:42:46 03:42:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:42:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:42:46 alpine: Pulling from edgex-lftools-log-publisher 03:42:46 df20fa9351a1: Pulling fs layer 03:42:46 36b3adc4ff6f: Pulling fs layer 03:42:46 8ad3a11d3b57: Pulling fs layer 03:42:46 46f8f816bc3b: Pulling fs layer 03:42:46 93b61091891f: Pulling fs layer 03:42:46 93b9cdb0e59b: Pulling fs layer 03:42:46 5e14af77c1be: Pulling fs layer 03:42:46 01666e4c0597: Pulling fs layer 03:42:46 aa168da1d23b: Pulling fs layer 03:42:46 46f8f816bc3b: Waiting 03:42:46 93b61091891f: Waiting 03:42:46 5e14af77c1be: Waiting 03:42:46 01666e4c0597: Waiting 03:42:46 aa168da1d23b: Waiting 03:42:46 36b3adc4ff6f: Download complete 03:42:46 46f8f816bc3b: Verifying Checksum 03:42:46 46f8f816bc3b: Download complete 03:42:46 df20fa9351a1: Verifying Checksum 03:42:46 df20fa9351a1: Download complete 03:42:46 93b9cdb0e59b: Verifying Checksum 03:42:46 93b9cdb0e59b: Download complete 03:42:46 93b61091891f: Verifying Checksum 03:42:46 93b61091891f: Download complete 03:42:46 5e14af77c1be: Verifying Checksum 03:42:46 5e14af77c1be: Download complete 03:42:46 01666e4c0597: Verifying Checksum 03:42:46 01666e4c0597: Download complete 03:42:46 8ad3a11d3b57: Verifying Checksum 03:42:46 8ad3a11d3b57: Download complete 03:42:47 df20fa9351a1: Pull complete 03:42:47 36b3adc4ff6f: Pull complete 03:42:48 8ad3a11d3b57: Pull complete 03:42:48 aa168da1d23b: Verifying Checksum 03:42:48 aa168da1d23b: Download complete 03:42:48 46f8f816bc3b: Pull complete 03:42:49 93b61091891f: Pull complete 03:42:49 93b9cdb0e59b: Pull complete 03:42:49 5e14af77c1be: Pull complete 03:42:49 01666e4c0597: Pull complete 03:42:56 aa168da1d23b: Pull complete 03:42:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:42:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:42:56 prd-centos7-docker-4c-2g-14114 does not seem to be running inside a container 03:42:56 $ 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_PR-149/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_PR-149 -v /w/workspace/foundry_device-virtual-go_PR-149:/w/workspace/foundry_device-virtual-go_PR-149:rw,z -v /w/workspace/foundry_device-virtual-go_PR-149@tmp:/w/workspace/foundry_device-virtual-go_PR-149@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:43:00 $ docker top 32c545476432e93b5a7d2723be08e6808697adb1604e9e6f449910dc32529607 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:00 + touch /tmp/pre-build-complete [Pipeline] sh 03:43:01 + mkdir -p /var/log/sa [Pipeline] sh 03:43:01 + ls /var/log/sa-host 03:43:01 + sadf -c /var/log/sa-host/sa02 03:43:01 file_magic: OK 03:43:01 HZ: Using current value: 100 03:43:01 file_header: OK 03:43:01 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 03:43:01 Statistics: 03:43:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:43:01 File successfully converted to sysstat format version 12.2.1 03:43:01 + sadf -c /var/log/sa-host/sa23 03:43:01 file_magic: OK 03:43:01 HZ: Using current value: 100 03:43:01 file_header: OK 03:43:01 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 03:43:01 Statistics: 03:43:01 Hnuu...uuuununununu... 03:43:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:01 provisioning config files... 03:43:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-149@tmp/config3347388590621172510tmp [Pipeline] { [Pipeline] echo 03:43:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:43:02 ---> create-netrc.sh [Pipeline] } 03:43:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:43:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:43:02 ---> python-tools-install.sh [Pipeline] echo 03:43:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:43:02 ---> sudo-logs.sh 03:43:02 Archiving 'sudo' log.. [Pipeline] echo 03:43:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:43:03 ---> job-cost.sh 03:43:03 lf-activate-venv: SKIPPING 03:43:03 INFO: No Stack... 03:43:04 INFO: Retrieving Pricing Info for: v1-standard-2 03:43:04 INFO: Archiving Costs [Pipeline] echo 03:43:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:43:05 ---> logs-deploy.sh 03:43:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-149/3 03:43:05 INFO: archiving workspace using pattern(s): 03:43:07 Archives upload complete. 03:43:07 INFO: archiving logs to Nexus