Pull request #203 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 09803946b1061887119f8356daeca5dbb16be082+cdd6c33d41f01dc10b68606080ac8b6263924bf1 (565126b583c6d071850fac72c27d3c1cc0749cde) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-203/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-203/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt-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: true 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19469 in /w/workspace/gexfoundry_device-mqtt-go_PR-203 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-203 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 09803946b1061887119f8356daeca5dbb16be082 Merge succeeded, producing 09803946b1061887119f8356daeca5dbb16be082 Checking out Revision 09803946b1061887119f8356daeca5dbb16be082 (PR-203) > git config core.sparsecheckout # timeout=10 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # 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 cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:06:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:06:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:06:18 ========================================================= 08:06:18 EdgeX Global Pipelines Version Info 08:06:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:06:20 ------------------- 08:06:20 stable info: 08:06:20 ------------------- 08:06:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:06:20 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 08:06:20 Message: update stable to v1.0.173 08:06:21 ------------------- 08:06:21 experimental info: 08:06:21 ------------------- 08:06:21 Commited By: **** collab-it+edgex@linuxfoundation.org 08:06:21 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 08:06:21 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:06:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:06:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:06:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:06:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:06:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09803946b1061887119f8356daeca5dbb16be082 [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0980394 [Pipeline] echo 08:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:06:26 provisioning config files... 08:06:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/config4992508287190998760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:26 ---> docker-login.sh 08:06:26 nexus3.edgexfoundry.org:10001 08:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 nexus3.edgexfoundry.org:10002 08:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 nexus3.edgexfoundry.org:10003 08:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 nexus3.edgexfoundry.org:10004 08:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:27 Configure a credential helper to remove this warning. See 08:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:27 08:06:27 Login Succeeded 08:06:27 docker.io 08:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:28 Configure a credential helper to remove this warning. See 08:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:28 08:06:28 Login Succeeded 08:06:28 ---> docker-login.sh ends [Pipeline] } 08:06:28 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 08:06:29 + git log --format=format:%s -1 09803946b1061887119f8356daeca5dbb16be082 [Pipeline] echo 08:06:29 GIT_COMMIT: 09803946b1061887119f8356daeca5dbb16be082, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 08:06:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:30 08:06:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:06:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:30 latest: Pulling from edgex-devops/git-semver 08:06:30 31603596830f: Pulling fs layer 08:06:30 2a8b12db71e7: Pulling fs layer 08:06:30 6ca5941a6612: Pulling fs layer 08:06:30 ecc8261a40a4: Pulling fs layer 08:06:30 ecc8261a40a4: Waiting 08:06:30 2a8b12db71e7: Download complete 08:06:30 31603596830f: Verifying Checksum 08:06:30 31603596830f: Download complete 08:06:30 6ca5941a6612: Verifying Checksum 08:06:30 6ca5941a6612: Download complete 08:06:31 ecc8261a40a4: Verifying Checksum 08:06:31 ecc8261a40a4: Download complete 08:06:31 31603596830f: Pull complete 08:06:31 2a8b12db71e7: Pull complete 08:06:32 6ca5941a6612: Pull complete 08:06:32 ecc8261a40a4: Pull complete 08:06:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:06:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:06:32 prd-centos7-docker-4c-2g-19469 does not seem to be running inside a container 08:06:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-203 -v /w/workspace/gexfoundry_device-mqtt-go_PR-203:/w/workspace/gexfoundry_device-mqtt-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-203@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:06:34 $ docker top 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:06:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:06:35 [ssh-agent] Looking for ssh-agent implementation... 08:06:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:06:35 $ docker exec 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent 08:06:35 SSH_AUTH_SOCK=/tmp/ssh-IEVY5NapH1LB/agent.11 08:06:35 SSH_AGENT_PID=17 08:06:35 Running ssh-add (command line suppressed) 08:06:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_5510518580437723869.key (/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_5510518580437723869.key) 08:06:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:06:36 + git tag --points-at HEAD [Pipeline] } 08:06:36 $ docker exec --env ******** --env ******** 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent -k 08:06:36 unset SSH_AUTH_SOCK; 08:06:36 unset SSH_AGENT_PID; 08:06:36 echo Agent pid 17 killed; 08:06:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:06:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:06:36 [ssh-agent] Looking for ssh-agent implementation... 08:06:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:06:36 $ docker exec 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent 08:06:36 SSH_AUTH_SOCK=/tmp/ssh-4mP3e3LJfeuy/agent.45 08:06:36 SSH_AGENT_PID=51 08:06:36 Running ssh-add (command line suppressed) 08:06:36 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_7331821911419576838.key (/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/private_key_7331821911419576838.key) 08:06:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:06:37 + git semver init 08:06:37 # -> Open(): unable to determine branch for HEAD 08:06:37 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-203/.git 08:06:37 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-203 08:06:37 # $SEMVER_REMOTE_NAME = origin 08:06:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:06:37 # $SEMVER_USER_NAME = edgex-jenkins 08:06:37 # $SEMVER_BRANCH = PR-203 08:06:37 # $SEMVER_TEMP = /tmp/semver-889737970 08:06:37 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 08:06:37 # '/tmp/semver-889737970' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-203/.semver' 08:06:37 # -> Force: false 08:06:37 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-203/.semver [Pipeline] } 08:06:37 $ docker exec --env ******** --env ******** 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 ssh-agent -k 08:06:38 unset SSH_AUTH_SOCK; 08:06:38 unset SSH_AGENT_PID; 08:06:38 echo Agent pid 51 killed; 08:06:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:06:38 + git semver [Pipeline] } 08:06:38 $ docker stop --time=1 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 08:06:40 $ docker rm -f 145e5fd79fb5e749333f1111844ed5db8d398d2f7c340b5ffac513671bd5c957 [Pipeline] // withDockerContainer [Pipeline] sh 08:06:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:06:41 Stashed 1 file(s) [Pipeline] echo 08:06:41 [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 08:06:57 Still waiting to schedule task 08:06:57 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19470’ is offline; ‘prd-centos7-docker-4c-2g-19471’ is offline; ‘prd-centos7-docker-4c-2g-19472’ is offline; ‘prd-centos7-docker-4c-2g-19473’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 08:06:57 Still waiting to schedule task 08:06:57 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:07:58 Running on prd-centos7-docker-4c-2g-19476 in /w/workspace/gexfoundry_device-mqtt-go_PR-203 [Pipeline] { [Pipeline] ws 08:07:58 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 08:08:01 using credential edgex-jenkins-ssh 08:08:01 Cloning the remote Git repository 08:08:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:08:01 > git init /w/workspace/device-mqtt-go/1 # timeout=10 08:08:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:08:01 > git --version # timeout=10 08:08:01 > git --version # 'git version 2.24.3' 08:08:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:08:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:08:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:08:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:08:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:08:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:08:04 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 09803946b1061887119f8356daeca5dbb16be082 08:08:04 Merge succeeded, producing 09803946b1061887119f8356daeca5dbb16be082 08:08:04 Checking out Revision 09803946b1061887119f8356daeca5dbb16be082 (PR-203) 08:08:04 > git config core.sparsecheckout # timeout=10 08:08:04 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 08:08:04 > git remote # timeout=10 08:08:04 > git config --get remote.origin.url # timeout=10 08:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:04 > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 08:08:04 > git rev-parse HEAD^{commit} # timeout=10 08:08:04 > git config core.sparsecheckout # timeout=10 08:08:04 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 08:08:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 08:08:08 > git --version # timeout=10 08:08:08 > git --version # 'git version 2.24.3' 08:08:08 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:08:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:08:10 + sudo service docker restart 08:08:10 + true 08:08:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:08:12 provisioning config files... 08:08:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8579224287945258999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:08:12 ---> docker-login.sh 08:08:12 nexus3.edgexfoundry.org:10001 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 nexus3.edgexfoundry.org:10002 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 nexus3.edgexfoundry.org:10003 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 nexus3.edgexfoundry.org:10004 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:13 Configure a credential helper to remove this warning. See 08:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:13 08:08:13 Login Succeeded 08:08:13 docker.io 08:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:08:14 Configure a credential helper to remove this warning. See 08:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:08:14 08:08:14 Login Succeeded 08:08:14 ---> docker-login.sh ends [Pipeline] } 08:08:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:08:14 ========================================================= 08:08:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:08:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:08:15 + 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 . 08:08:15 Sending build context to Docker daemon 493.1kB 08:08:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:08:15 Step 2/8 : FROM ${BASE} 08:08:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:08:15 188c0c94c7c5: Pulling fs layer 08:08:15 0ef7d3d256c8: Pulling fs layer 08:08:15 de9db76c5a1d: Pulling fs layer 08:08:15 bca2f99d35d6: Pulling fs layer 08:08:15 93359f2a8cfa: Pulling fs layer 08:08:15 7c6f9722023f: Pulling fs layer 08:08:15 a35cf1a2eb13: Pulling fs layer 08:08:15 bca2f99d35d6: Waiting 08:08:15 93359f2a8cfa: Waiting 08:08:15 7c6f9722023f: Waiting 08:08:15 a35cf1a2eb13: Waiting 08:08:15 de9db76c5a1d: Download complete 08:08:15 0ef7d3d256c8: Verifying Checksum 08:08:15 0ef7d3d256c8: Download complete 08:08:15 93359f2a8cfa: Verifying Checksum 08:08:15 93359f2a8cfa: Download complete 08:08:15 7c6f9722023f: Verifying Checksum 08:08:15 7c6f9722023f: Download complete 08:08:15 188c0c94c7c5: Verifying Checksum 08:08:15 188c0c94c7c5: Download complete 08:08:15 188c0c94c7c5: Pull complete 08:08:15 0ef7d3d256c8: Pull complete 08:08:16 de9db76c5a1d: Pull complete 08:08:19 a35cf1a2eb13: Verifying Checksum 08:08:19 a35cf1a2eb13: Download complete 08:08:19 bca2f99d35d6: Verifying Checksum 08:08:19 bca2f99d35d6: Download complete 08:08:26 bca2f99d35d6: Pull complete 08:08:26 93359f2a8cfa: Pull complete 08:08:26 7c6f9722023f: Pull complete 08:08:33 a35cf1a2eb13: Pull complete 08:08:33 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:08:33 ---> a62c8e92a672 08:08:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:08:33 ---> Running in 0f60bd6e708a 08:08:33 Removing intermediate container 0f60bd6e708a 08:08:33 ---> 5a2437777b5f 08:08:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:08:33 ---> Running in 05457698799f 08:08:34 Removing intermediate container 05457698799f 08:08:34 ---> 72bf7b927dda 08:08:34 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:08:34 ---> Running in 00583249561f 08:08:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:08:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:08:37 (1/14) Installing libmagic (5.38-r0) 08:08:37 (2/14) Installing file (5.38-r0) 08:08:37 (3/14) Installing libc-dev (0.7.2-r3) 08:08:37 (4/14) Installing g++ (9.3.0-r2) 08:08:50 (5/14) Installing fortify-headers (1.1-r0) 08:08:50 (6/14) Installing patch (2.7.6-r6) 08:08:50 (7/14) Installing build-base (0.5-r2) 08:08:50 (8/14) Installing openssh-keygen (8.3_p1-r1) 08:08:50 (9/14) Installing libedit (20191231.3.1-r0) 08:08:50 (10/14) Installing openssh-client (8.3_p1-r1) 08:08:50 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 08:08:50 (12/14) Installing openssh-server-common (8.3_p1-r1) 08:08:50 (13/14) Installing openssh-server (8.3_p1-r1) 08:08:50 (14/14) Installing openssh (8.3_p1-r1) 08:08:50 Executing busybox-1.31.1-r19.trigger 08:08:51 OK: 237 MiB in 53 packages 08:08:54 Removing intermediate container 00583249561f 08:08:54 ---> 1fa51f5b5e02 08:08:54 Step 6/8 : WORKDIR /device-mqtt-go 08:08:54 ---> Running in 12fba2b7ed1e 08:08:54 Removing intermediate container 12fba2b7ed1e 08:08:54 ---> 664990de1459 08:08:54 Step 7/8 : COPY . . 08:08:55 ---> 2398894bc148 08:08:55 Step 8/8 : RUN go mod download 08:08:55 ---> Running in 7379e059f42b 08:09:17 Removing intermediate container 7379e059f42b 08:09:17 ---> d7131e0086fd 08:09:17 Successfully built d7131e0086fd 08:09:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:09:18 + docker inspect -f . ci-base-image-x86_64 08:09:18 . [Pipeline] withDockerContainer 08:09:18 prd-centos7-docker-4c-2g-19476 does not seem to be running inside a container 08:09:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-x86_64 cat 08:09:19 $ docker top 5e7ebf39a639bbcacd0daae6bbdba517d80ccc3b2c4114a26180f2d2bd36b67a -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:19 + go version 08:09:19 go version go1.15.5 linux/amd64 [Pipeline] } 08:09:19 $ docker stop --time=1 5e7ebf39a639bbcacd0daae6bbdba517d80ccc3b2c4114a26180f2d2bd36b67a 08:09:21 $ docker rm -f 5e7ebf39a639bbcacd0daae6bbdba517d80ccc3b2c4114a26180f2d2bd36b67a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:09:22 + docker inspect -f . ci-base-image-x86_64 08:09:22 . [Pipeline] withDockerContainer 08:09:22 prd-centos7-docker-4c-2g-19476 does not seem to be running inside a container 08:09:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-x86_64 cat 08:09:23 $ docker top 588da14c30a68b544fbf09beca68c85d9045b82da342959910cacf5583a7313a -eo pid,comm [Pipeline] { [Pipeline] sh 08:09:24 + make test 08:09:24 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:09:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:09:32 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 08:09:32 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 08:09:32 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 08:09:32 have (string, bool, string, string) 08:09:32 want (string, string) 08:09:36 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 08:09:36 make: *** [Makefile:25: test] Error 2 [Pipeline] } 08:09:36 $ docker stop --time=1 588da14c30a68b544fbf09beca68c85d9045b82da342959910cacf5583a7313a 08:09:39 $ docker rm -f 588da14c30a68b544fbf09beca68c85d9045b82da342959910cacf5583a7313a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:09:41 Failed in branch amd64 08:10:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19483 in /w/workspace/gexfoundry_device-mqtt-go_PR-203 [Pipeline] { [Pipeline] ws 08:10:09 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 08:10:15 using credential edgex-jenkins-ssh 08:10:15 Cloning the remote Git repository 08:10:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:10:15 > git init /w/workspace/device-mqtt-go/1 # timeout=10 08:10:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:10:15 > git --version # timeout=10 08:10:15 > git --version # 'git version 2.17.1' 08:10:15 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:10:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:10:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:10:17 Merging remotes/origin/master commit cdd6c33d41f01dc10b68606080ac8b6263924bf1 into PR head commit 09803946b1061887119f8356daeca5dbb16be082 08:10:17 Merge succeeded, producing 09803946b1061887119f8356daeca5dbb16be082 08:10:17 Checking out Revision 09803946b1061887119f8356daeca5dbb16be082 (PR-203) 08:10:17 > git config core.sparsecheckout # timeout=10 08:10:17 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 08:10:17 > git remote # timeout=10 08:10:17 > git config --get remote.origin.url # timeout=10 08:10:17 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:17 > git merge cdd6c33d41f01dc10b68606080ac8b6263924bf1 # timeout=10 08:10:17 > git rev-parse HEAD^{commit} # timeout=10 08:10:17 > git config core.sparsecheckout # timeout=10 08:10:17 > git checkout -f 09803946b1061887119f8356daeca5dbb16be082 # timeout=10 08:10:22 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 08:10:22 > git --version # timeout=10 08:10:22 > git --version # 'git version 2.17.1' 08:10:22 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:10:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:10:25 + true 08:10:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:10:28 provisioning config files... 08:10:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5460766802105691514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:28 ---> docker-login.sh 08:10:28 nexus3.edgexfoundry.org:10001 08:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:29 Configure a credential helper to remove this warning. See 08:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:29 08:10:29 Login Succeeded 08:10:29 nexus3.edgexfoundry.org:10002 08:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:30 Configure a credential helper to remove this warning. See 08:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:30 08:10:30 Login Succeeded 08:10:30 nexus3.edgexfoundry.org:10003 08:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:30 Configure a credential helper to remove this warning. See 08:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:30 08:10:30 Login Succeeded 08:10:30 nexus3.edgexfoundry.org:10004 08:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:31 Configure a credential helper to remove this warning. See 08:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:31 08:10:31 Login Succeeded 08:10:31 docker.io 08:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:10:32 Configure a credential helper to remove this warning. See 08:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:10:32 08:10:32 Login Succeeded 08:10:32 ---> docker-login.sh ends [Pipeline] } 08:10:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:10:32 ========================================================= 08:10:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:10:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:10:33 + 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 . 08:10:33 Sending build context to Docker daemon 492kB 08:10:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:10:33 Step 2/8 : FROM ${BASE} 08:10:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:10:33 5f621e34cdf4: Pulling fs layer 08:10:33 a4357932f1b6: Pulling fs layer 08:10:33 18c013af1878: Pulling fs layer 08:10:33 00ac8860ef70: Pulling fs layer 08:10:33 63d7cb157983: Pulling fs layer 08:10:33 b116817d02f9: Pulling fs layer 08:10:33 745a02a5169b: Pulling fs layer 08:10:33 63d7cb157983: Waiting 08:10:33 745a02a5169b: Waiting 08:10:33 00ac8860ef70: Waiting 08:10:33 b116817d02f9: Waiting 08:10:33 18c013af1878: Verifying Checksum 08:10:33 18c013af1878: Download complete 08:10:33 a4357932f1b6: Verifying Checksum 08:10:33 a4357932f1b6: Download complete 08:10:33 63d7cb157983: Verifying Checksum 08:10:33 63d7cb157983: Download complete 08:10:33 b116817d02f9: Verifying Checksum 08:10:33 b116817d02f9: Download complete 08:10:33 5f621e34cdf4: Verifying Checksum 08:10:33 5f621e34cdf4: Download complete 08:10:34 5f621e34cdf4: Pull complete 08:10:35 a4357932f1b6: Pull complete 08:10:35 18c013af1878: Pull complete 08:10:36 745a02a5169b: Verifying Checksum 08:10:36 745a02a5169b: Download complete 08:10:37 00ac8860ef70: Verifying Checksum 08:10:37 00ac8860ef70: Download complete 08:10:49 00ac8860ef70: Pull complete 08:10:49 63d7cb157983: Pull complete 08:10:49 b116817d02f9: Pull complete 08:10:53 745a02a5169b: Pull complete 08:10:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:10:53 ---> b7e6874047d6 08:10:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:10:55 ---> Running in ab48eb152777 08:10:56 Removing intermediate container ab48eb152777 08:10:56 ---> e81482d504e7 08:10:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:10:56 ---> Running in 07b36a44acf1 08:10:59 Removing intermediate container 07b36a44acf1 08:10:59 ---> 6c37e3421cc2 08:10:59 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:10:59 ---> Running in 436ddebfee47 08:11:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:11:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:11:02 (1/14) Installing libmagic (5.38-r0) 08:11:03 (2/14) Installing file (5.38-r0) 08:11:03 (3/14) Installing libc-dev (0.7.2-r3) 08:11:03 (4/14) Installing g++ (9.3.0-r2) 08:11:18 (5/14) Installing fortify-headers (1.1-r0) 08:11:18 (6/14) Installing patch (2.7.6-r6) 08:11:18 (7/14) Installing build-base (0.5-r2) 08:11:18 (8/14) Installing openssh-keygen (8.3_p1-r1) 08:11:18 (9/14) Installing libedit (20191231.3.1-r0) 08:11:18 (10/14) Installing openssh-client (8.3_p1-r1) 08:11:19 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 08:11:19 (12/14) Installing openssh-server-common (8.3_p1-r1) 08:11:19 (13/14) Installing openssh-server (8.3_p1-r1) 08:11:19 (14/14) Installing openssh (8.3_p1-r1) 08:11:19 Executing busybox-1.31.1-r19.trigger 08:11:19 OK: 221 MiB in 53 packages 08:11:24 Removing intermediate container 436ddebfee47 08:11:24 ---> cfde0642f06f 08:11:24 Step 6/8 : WORKDIR /device-mqtt-go 08:11:24 ---> Running in d0410c99825c 08:11:24 Removing intermediate container d0410c99825c 08:11:24 ---> f466c9cbcd08 08:11:24 Step 7/8 : COPY . . 08:11:25 ---> a0b9b23f8093 08:11:25 Step 8/8 : RUN go mod download 08:11:25 ---> Running in a538fec697e7 08:11:52 Removing intermediate container a538fec697e7 08:11:52 ---> 551646e863c1 08:11:52 Successfully built 551646e863c1 08:11:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:11:53 + docker inspect -f . ci-base-image-arm64 08:11:53 . [Pipeline] withDockerContainer 08:11:53 prd-ubuntu18.04-docker-arm64-4c-16g-19483 does not seem to be running inside a container 08:11:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 08:11:55 $ docker top ba8059c1e397f7ee6fea61541743d81e0a0f8ee461faebf25cf5aa8714c9575b -eo pid,comm [Pipeline] { [Pipeline] sh 08:11:56 + go version 08:11:56 go version go1.15.5 linux/arm64 [Pipeline] } 08:11:56 $ docker stop --time=1 ba8059c1e397f7ee6fea61541743d81e0a0f8ee461faebf25cf5aa8714c9575b 08:11:58 $ docker rm -f ba8059c1e397f7ee6fea61541743d81e0a0f8ee461faebf25cf5aa8714c9575b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:11:59 + docker inspect -f . ci-base-image-arm64 08:11:59 . [Pipeline] withDockerContainer 08:12:00 prd-ubuntu18.04-docker-arm64-4c-16g-19483 does not seem to be running inside a container 08:12:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 08:12:01 $ docker top 9099c56a9d0024e7dcc5061a8a0e3c51e858bed59169d33e79cf4b4615dd1158 -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:02 + make test 08:12:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:12:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:12:31 # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging 08:12:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut 08:12:31 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient 08:12:31 have (string, bool, string, string) 08:12:31 want (string, string) 08:12:43 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 08:12:43 make: *** [Makefile:25: test] Error 2 [Pipeline] } 08:12:43 $ docker stop --time=1 9099c56a9d0024e7dcc5061a8a0e3c51e858bed59169d33e79cf4b4615dd1158 08:12:46 $ docker rm -f 9099c56a9d0024e7dcc5061a8a0e3c51e858bed59169d33e79cf4b4615dd1158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:12:48 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:12:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:12:53 ---> package-listing.sh 08:12:53 ++ facter osfamily 08:12:53 ++ tr '[:upper:]' '[:lower:]' 08:12:53 + OS_FAMILY=redhat 08:12:53 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-203 08:12:53 + START_PACKAGES=/tmp/packages_start.txt 08:12:53 + END_PACKAGES=/tmp/packages_end.txt 08:12:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:12:53 + PACKAGES=/tmp/packages_start.txt 08:12:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-203 ']' 08:12:53 + PACKAGES=/tmp/packages_end.txt 08:12:53 + case "${OS_FAMILY}" in 08:12:53 + rpm -qa 08:12:53 + sort 08:13:00 + '[' -f /tmp/packages_start.txt ']' 08:13:00 + '[' -f /tmp/packages_end.txt ']' 08:13:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:13:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-203 ']' 08:13:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-203/archives/ 08:13:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-203/archives/ [Pipeline] echo 08:13:00 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/gexfoundry_device-mqtt-go_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:13:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:13:01 08:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:13:01 alpine: Pulling from edgex-lftools-log-publisher 08:13:01 df20fa9351a1: Pulling fs layer 08:13:01 36b3adc4ff6f: Pulling fs layer 08:13:01 8ad3a11d3b57: Pulling fs layer 08:13:01 46f8f816bc3b: Pulling fs layer 08:13:01 93b61091891f: Pulling fs layer 08:13:01 93b9cdb0e59b: Pulling fs layer 08:13:01 5e14af77c1be: Pulling fs layer 08:13:01 01666e4c0597: Pulling fs layer 08:13:01 aa168da1d23b: Pulling fs layer 08:13:01 93b61091891f: Waiting 08:13:01 93b9cdb0e59b: Waiting 08:13:01 5e14af77c1be: Waiting 08:13:01 01666e4c0597: Waiting 08:13:01 aa168da1d23b: Waiting 08:13:01 46f8f816bc3b: Waiting 08:13:01 36b3adc4ff6f: Verifying Checksum 08:13:01 36b3adc4ff6f: Download complete 08:13:01 46f8f816bc3b: Verifying Checksum 08:13:01 46f8f816bc3b: Download complete 08:13:02 df20fa9351a1: Download complete 08:13:02 93b9cdb0e59b: Download complete 08:13:02 5e14af77c1be: Verifying Checksum 08:13:02 5e14af77c1be: Download complete 08:13:02 93b61091891f: Verifying Checksum 08:13:02 93b61091891f: Download complete 08:13:02 01666e4c0597: Verifying Checksum 08:13:02 01666e4c0597: Download complete 08:13:02 df20fa9351a1: Pull complete 08:13:02 36b3adc4ff6f: Pull complete 08:13:02 8ad3a11d3b57: Verifying Checksum 08:13:02 8ad3a11d3b57: Download complete 08:13:03 8ad3a11d3b57: Pull complete 08:13:03 46f8f816bc3b: Pull complete 08:13:04 93b61091891f: Pull complete 08:13:04 aa168da1d23b: Verifying Checksum 08:13:04 aa168da1d23b: Download complete 08:13:04 93b9cdb0e59b: Pull complete 08:13:04 5e14af77c1be: Pull complete 08:13:04 01666e4c0597: Pull complete 08:13:11 aa168da1d23b: Pull complete 08:13:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:13:11 prd-centos7-docker-4c-2g-19469 does not seem to be running inside a container 08:13:11 $ 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/gexfoundry_device-mqtt-go_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-203 -v /w/workspace/gexfoundry_device-mqtt-go_PR-203:/w/workspace/gexfoundry_device-mqtt-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-203@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:10003/edgex-lftools-log-publisher:alpine cat 08:13:15 $ docker top a4c2522eab311bc8c0ad1ba9f5fb45e3fe7d79dcd83709e593d4459c155f4342 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:16 + touch /tmp/pre-build-complete [Pipeline] sh 08:13:16 + mkdir -p /var/log/sa [Pipeline] sh 08:13:16 + ls /var/log/sa-host 08:13:16 + sadf -c /var/log/sa-host/sa11 08:13:16 file_magic: OK 08:13:16 HZ: Using current value: 100 08:13:16 file_header: OK 08:13:16 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 08:13:16 Statistics: 08:13:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:13:16 File successfully converted to sysstat format version 12.2.1 08:13:16 + sadf -c /var/log/sa-host/sa23 08:13:16 file_magic: OK 08:13:16 HZ: Using current value: 100 08:13:16 file_header: OK 08:13:16 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 08:13:16 Statistics: 08:13:16 Hnuu...uuuununununu... 08:13:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:16 provisioning config files... 08:13:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-203@tmp/config8696814549016506551tmp [Pipeline] { [Pipeline] echo 08:13:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:13:17 ---> create-netrc.sh [Pipeline] } 08:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:13:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:13:18 ---> python-tools-install.sh [Pipeline] echo 08:13:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:13:18 ---> sudo-logs.sh 08:13:18 Archiving 'sudo' log.. [Pipeline] echo 08:13:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:13:18 ---> job-cost.sh 08:13:18 lf-activate-venv: SKIPPING 08:13:18 INFO: No Stack... 08:13:19 INFO: Retrieving Pricing Info for: v1-standard-2 08:13:20 INFO: Archiving Costs [Pipeline] echo 08:13:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:13:20 ---> logs-deploy.sh 08:13:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-203/1 08:13:20 INFO: archiving workspace using pattern(s): 08:13:22 Archives upload complete. 08:13:22 INFO: archiving logs to Nexus