Pull request #367 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f21ae3f10c1bd5bef0e0b485021b61c5d702b45e+cac5c8aff02eeff20ea0733b686feb688efb88bb (6bf4923f32f9acb2544459bc868e12e60fb3b3f3) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1103599280329374762.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7996967421491173053.key > 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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-367/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-367/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1233661868200146256.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10754237750318925805.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-367/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-367/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2905433486498042027.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24986 in /w/workspace/gexfoundry_device-mqtt-go_PR-367 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-367 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' 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 Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit f21ae3f10c1bd5bef0e0b485021b61c5d702b45e Merge succeeded, producing f21ae3f10c1bd5bef0e0b485021b61c5d702b45e Checking out Revision f21ae3f10c1bd5bef0e0b485021b61c5d702b45e (PR-367) > 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/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 834c1a2eb117546942727c07f71b581afec85052 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:53:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:53:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:53:59 ========================================================= 15:53:59 EdgeX Global Pipelines Version Info 15:53:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:54:00 ------------------- 15:54:00 stable info: 15:54:00 ------------------- 15:54:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:54:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:54:00 Message: update stable to v1.0.221 15:54:01 ------------------- 15:54:01 experimental info: 15:54:01 ------------------- 15:54:01 Commited By: Emilio Reyes emilio.reyes@intel.com 15:54:01 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:54:01 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f21ae3f [Pipeline] echo 15:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:01 provisioning config files... 15:54:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config2274396653185775584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:02 ---> docker-login.sh 15:54:02 nexus3.edgexfoundry.org:10001 15:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:02 Configure a credential helper to remove this warning. See 15:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:02 15:54:02 Login Succeeded 15:54:02 nexus3.edgexfoundry.org:10002 15:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:02 Configure a credential helper to remove this warning. See 15:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:02 15:54:02 Login Succeeded 15:54:02 nexus3.edgexfoundry.org:10003 15:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:02 Configure a credential helper to remove this warning. See 15:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:02 15:54:02 Login Succeeded 15:54:02 nexus3.edgexfoundry.org:10004 15:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:02 Configure a credential helper to remove this warning. See 15:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:02 15:54:02 Login Succeeded 15:54:02 docker.io 15:54:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:03 Configure a credential helper to remove this warning. See 15:54:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:03 15:54:03 Login Succeeded 15:54:03 ---> docker-login.sh ends [Pipeline] } 15:54:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:54:03 + git rev-list -1 --merges f21ae3f10c1bd5bef0e0b485021b61c5d702b45e~1..f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo 15:54:03 -----------> git rev-list -1 --merges f21ae3f10c1bd5bef0e0b485021b61c5d702b45e~1..f21ae3f10c1bd5bef0e0b485021b61c5d702b45e f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [false] [Pipeline] sh 15:54:04 + git log --format=format:%s -1 f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo 15:54:04 ========================================================= 15:54:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:54:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:04 + git log --format=format:%s -1 f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo 15:54:04 [semverPrep] GIT_COMMIT: f21ae3f10c1bd5bef0e0b485021b61c5d702b45e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 15:54:04 [semverPrep] This is not a build commit. [Pipeline] sh 15:54:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:04 + grep -v github /etc/ssh/ssh_known_hosts 15:54:04 + [ -e /tmp/ssh_known_hosts ] 15:54:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:54:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:54:04 + sudo tee -a /etc/ssh/ssh_known_hosts 15:54:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:05 15:54:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:54:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:05 latest: Pulling from edgex-devops/git-semver 15:54:05 a0d0a0d46f8b: Pulling fs layer 15:54:05 3e5f54012d9b: Pulling fs layer 15:54:05 4c7163046ea9: Pulling fs layer 15:54:05 0c2d73faf560: Pulling fs layer 15:54:05 0c2d73faf560: Waiting 15:54:05 3e5f54012d9b: Verifying Checksum 15:54:05 3e5f54012d9b: Download complete 15:54:05 a0d0a0d46f8b: Download complete 15:54:05 4c7163046ea9: Verifying Checksum 15:54:05 4c7163046ea9: Download complete 15:54:05 0c2d73faf560: Verifying Checksum 15:54:05 0c2d73faf560: Download complete 15:54:05 a0d0a0d46f8b: Pull complete 15:54:05 3e5f54012d9b: Pull complete 15:54:06 4c7163046ea9: Pull complete 15:54:06 0c2d73faf560: Pull complete 15:54:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:54:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:54:06 prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container 15:54:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:54:07 $ docker top df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:07 [ssh-agent] Looking for ssh-agent implementation... 15:54:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:07 $ docker exec df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent 15:54:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXefdolN/agent.13 15:54:08 SSH_AGENT_PID=20 15:54:08 Running ssh-add (command line suppressed) 15:54:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_3077736322548586218.key (/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_3077736322548586218.key) 15:54:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:08 + git tag --points-at HEAD [Pipeline] } 15:54:08 $ docker exec --env ******** --env ******** df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent -k 15:54:08 unset SSH_AUTH_SOCK; 15:54:08 unset SSH_AGENT_PID; 15:54:08 echo Agent pid 20 killed; 15:54:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:54:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:08 [ssh-agent] Looking for ssh-agent implementation... 15:54:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:08 $ docker exec df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent 15:54:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMHNOil/agent.52 15:54:08 SSH_AGENT_PID=58 15:54:08 Running ssh-add (command line suppressed) 15:54:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_908274154905288198.key (/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_908274154905288198.key) 15:54:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:09 + git semver init 15:54:09 # -> Open(): unable to determine branch for HEAD 15:54:09 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-367/.git 15:54:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-367 15:54:09 # $SEMVER_REMOTE_NAME = origin 15:54:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:54:09 # $SEMVER_USER_NAME = edgex-jenkins 15:54:09 # $SEMVER_BRANCH = PR-367 15:54:09 # $SEMVER_TEMP = /tmp/semver-327978711 15:54:09 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 15:54:10 # '/tmp/semver-327978711' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-367/.semver' 15:54:10 # -> Force: false 15:54:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-367/.semver [Pipeline] } 15:54:10 $ docker exec --env ******** --env ******** df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent -k 15:54:10 unset SSH_AUTH_SOCK; 15:54:10 unset SSH_AGENT_PID; 15:54:10 echo Agent pid 58 killed; 15:54:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:10 + git semver [Pipeline] } 15:54:10 $ docker stop --time=1 df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc 15:54:12 $ docker rm -f df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc [Pipeline] // withDockerContainer [Pipeline] sh 15:54:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:54:12 Stashed 1 file(s) [Pipeline] echo 15:54:12 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:13 provisioning config files... 15:54:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config5501156863925642019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:13 ---> docker-login.sh 15:54:13 nexus3.edgexfoundry.org:10001 15:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:13 Configure a credential helper to remove this warning. See 15:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:13 15:54:13 Login Succeeded 15:54:13 nexus3.edgexfoundry.org:10002 15:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:13 Configure a credential helper to remove this warning. See 15:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:13 15:54:13 Login Succeeded 15:54:13 nexus3.edgexfoundry.org:10003 15:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:13 Configure a credential helper to remove this warning. See 15:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:13 15:54:13 Login Succeeded 15:54:13 nexus3.edgexfoundry.org:10004 15:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:13 Configure a credential helper to remove this warning. See 15:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:13 15:54:13 Login Succeeded 15:54:13 docker.io 15:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:14 Configure a credential helper to remove this warning. See 15:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:14 15:54:14 Login Succeeded 15:54:14 ---> docker-login.sh ends [Pipeline] } 15:54:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:54:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:14 ========================================================= 15:54:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:54:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:54:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:54:14 Sending build context to Docker daemon 5.822MB 15:54:14 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:54:14 Step 2/12 : FROM ${BASE} AS builder 15:54:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:14 59bf1c3509f3: Pulling fs layer 15:54:14 666ba61612fd: Pulling fs layer 15:54:14 8ed8ca486205: Pulling fs layer 15:54:14 4fe6c5a15a65: Pulling fs layer 15:54:14 22a0e8bec74d: Pulling fs layer 15:54:14 ca2b28591e48: Pulling fs layer 15:54:14 a51346096db8: Pulling fs layer 15:54:14 daebc70d1ce1: Pulling fs layer 15:54:14 0e18a0eac166: Pulling fs layer 15:54:14 4fe6c5a15a65: Waiting 15:54:14 ca2b28591e48: Waiting 15:54:14 daebc70d1ce1: Waiting 15:54:14 a51346096db8: Waiting 15:54:14 22a0e8bec74d: Waiting 15:54:14 0e18a0eac166: Waiting 15:54:14 8ed8ca486205: Verifying Checksum 15:54:14 8ed8ca486205: Download complete 15:54:14 666ba61612fd: Download complete 15:54:14 22a0e8bec74d: Verifying Checksum 15:54:14 22a0e8bec74d: Download complete 15:54:14 59bf1c3509f3: Verifying Checksum 15:54:14 59bf1c3509f3: Download complete 15:54:14 ca2b28591e48: Verifying Checksum 15:54:14 a51346096db8: Verifying Checksum 15:54:14 a51346096db8: Download complete 15:54:14 daebc70d1ce1: Verifying Checksum 15:54:14 daebc70d1ce1: Download complete 15:54:14 59bf1c3509f3: Pull complete 15:54:15 666ba61612fd: Pull complete 15:54:15 8ed8ca486205: Pull complete 15:54:15 0e18a0eac166: Verifying Checksum 15:54:15 0e18a0eac166: Download complete 15:54:15 4fe6c5a15a65: Verifying Checksum 15:54:15 4fe6c5a15a65: Download complete 15:54:19 4fe6c5a15a65: Pull complete 15:54:20 22a0e8bec74d: Pull complete 15:54:20 ca2b28591e48: Pull complete 15:54:20 a51346096db8: Pull complete 15:54:20 daebc70d1ce1: Pull complete 15:54:22 0e18a0eac166: Pull complete 15:54:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:54:22 ---> f018257e8ee9 15:54:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:54:24 ---> Running in 0ca8eec83860 15:54:24 Removing intermediate container 0ca8eec83860 15:54:24 ---> d68d04ac8f7f 15:54:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:54:24 ---> Running in c15bbb757772 15:54:24 Removing intermediate container c15bbb757772 15:54:24 ---> b407eff9bb8f 15:54:24 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:54:24 ---> Running in cdde10e65fb4 15:54:25 Removing intermediate container cdde10e65fb4 15:54:25 ---> 3d15e4e50109 15:54:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:25 ---> Running in 0cd485759d77 15:54:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:54:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:54:27 (2/4) Installing libedit (20210910.3.1-r0) 15:54:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:54:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:54:27 Executing busybox-1.34.1-r3.trigger 15:54:27 OK: 224 MiB in 56 packages 15:54:27 Removing intermediate container 0cd485759d77 15:54:27 ---> 85a0fcd767d9 15:54:27 Step 7/12 : WORKDIR /device-mqtt-go 15:54:27 ---> Running in 02c3a427b699 15:54:27 Removing intermediate container 02c3a427b699 15:54:27 ---> 4c21c24c5169 15:54:27 Step 8/12 : COPY go.mod vendor* ./ 15:54:28 Still waiting to schedule task 15:54:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:54:28 ---> cd33dad3c636 15:54:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:28 ---> Running in ef34633a6d71 15:54:46 Removing intermediate container ef34633a6d71 15:54:46 ---> 1e023b2e6e2e 15:54:46 Step 10/12 : COPY . . 15:54:46 ---> 4b25082192ba 15:54:46 Step 11/12 : ARG MAKE='make build' 15:54:46 ---> Running in 788cbe465ea4 15:54:46 Removing intermediate container 788cbe465ea4 15:54:46 ---> 97eaa320e948 15:54:46 Step 12/12 : RUN $MAKE 15:54:46 ---> Running in 623895f1b7d4 15:54:46 noop 15:54:46 Removing intermediate container 623895f1b7d4 15:54:46 ---> 0e789134181c 15:54:46 Successfully built 0e789134181c 15:54:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:54:47 + docker inspect -f . ci-base-image-x86_64 15:54:47 . [Pipeline] withDockerContainer 15:54:47 prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container 15:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:54:47 $ docker top 8c55462db84c872df972b873e43648a7a81e910b16cbbc53ff9384781f1ef62f -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:48 + go version 15:54:48 go version go1.17.6 linux/amd64 [Pipeline] } 15:54:48 $ docker stop --time=1 8c55462db84c872df972b873e43648a7a81e910b16cbbc53ff9384781f1ef62f 15:54:49 $ docker rm -f 8c55462db84c872df972b873e43648a7a81e910b16cbbc53ff9384781f1ef62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:49 + docker inspect -f . ci-base-image-x86_64 15:54:49 . [Pipeline] withDockerContainer 15:54:49 prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container 15:54:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:54:50 $ docker top 59e4b77948c15a01e33bd81a103aec7c92f1875a01f6a5e58626078b03181045 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:54:50 + make test 15:54:50 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:54:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:55:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:55:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 15:55:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:55:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:55:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:12 ./bin/test-attribution-txt.sh [Pipeline] echo 15:55:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:12 $ docker stop --time=1 59e4b77948c15a01e33bd81a103aec7c92f1875a01f6a5e58626078b03181045 15:55:14 $ docker rm -f 59e4b77948c15a01e33bd81a103aec7c92f1875a01f6a5e58626078b03181045 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:16 + ls -al . 15:55:16 total 196 15:55:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 15:55 . 15:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:53 .. 15:55:16 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 15:53 .dockerignore 15:55:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:53 .git 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 .github 15:55:16 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 15:53 .gitignore 15:55:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:53 .golangci.yml 15:55:16 drwx------ 3 jenkins jenkins 4096 Apr 26 15:54 .semver 15:55:16 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 15:53 Attribution.txt 15:55:16 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 15:53 CHANGELOG.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:53 Dockerfile 15:55:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:53 GOVERNANCE.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 15:53 Jenkinsfile 15:55:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:53 LICENSE 15:55:16 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:53 Makefile 15:55:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 15:53 OWNERS.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 15:53 README.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:54 VERSION 15:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:53 bin 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 cmd 15:55:16 -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 15:55 coverage.out 15:55:16 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 15:53 go.mod 15:55:16 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 26 15:53 go.sum 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 internal 15:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:53 mock 15:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:53 snap 15:55:16 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 15:53 version.go [Pipeline] isUnix [Pipeline] sh 15:55:16 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e --label arch=amd64 --label version=0.0.0 . 15:55:16 Sending build context to Docker daemon 5.84MB 15:55:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:55:16 Step 2/24 : FROM ${BASE} AS builder 15:55:16 ---> 0e789134181c 15:55:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:55:16 ---> Running in 3ada1300c04a 15:55:16 Removing intermediate container 3ada1300c04a 15:55:16 ---> becda8b634ee 15:55:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 15:55:16 ---> Running in baf29f869f93 15:55:16 Removing intermediate container baf29f869f93 15:55:16 ---> aad549489eaa 15:55:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:55:17 ---> Running in 37fe7d99d594 15:55:17 Removing intermediate container 37fe7d99d594 15:55:17 ---> b3aa77ac4c48 15:55:17 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:55:17 ---> Running in 382f6ed61f3b 15:55:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:55:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:55:19 OK: 224 MiB in 56 packages 15:55:19 Removing intermediate container 382f6ed61f3b 15:55:19 ---> 970158bccd1c 15:55:19 Step 7/24 : WORKDIR /device-mqtt-go 15:55:19 ---> Running in 28da2998d3a7 15:55:19 Removing intermediate container 28da2998d3a7 15:55:19 ---> 173f2ef1e080 15:55:19 Step 8/24 : COPY go.mod vendor* ./ 15:55:19 ---> b17bb657e658 15:55:19 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:19 ---> Running in 598d7ab4531d 15:55:20 Removing intermediate container 598d7ab4531d 15:55:20 ---> c6ac8c03b730 15:55:20 Step 10/24 : COPY . . 15:55:21 ---> 92d05ab8a151 15:55:21 Step 11/24 : ARG MAKE='make build' 15:55:21 ---> Running in 20b1987f3818 15:55:21 Removing intermediate container 20b1987f3818 15:55:21 ---> 8197bfe5b699 15:55:21 Step 12/24 : RUN $MAKE 15:55:21 ---> Running in ce9dc62210a8 15:55:21 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 15:55:43 Removing intermediate container ce9dc62210a8 15:55:43 ---> 1468a2ec2a3a 15:55:43 Step 13/24 : FROM alpine:3.14 15:55:43 3.14: Pulling from library/alpine 15:55:43 8663204ce13b: Pulling fs layer 15:55:43 8663204ce13b: Verifying Checksum 15:55:43 8663204ce13b: Download complete 15:55:43 8663204ce13b: Pull complete 15:55:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:55:43 Status: Downloaded newer image for alpine:3.14 15:55:43 ---> e04c818066af 15:55:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:55:43 ---> Running in 8ff05980f813 15:55:43 Removing intermediate container 8ff05980f813 15:55:43 ---> 457001ae81c7 15:55:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:55:43 ---> Running in ff05658293cb 15:55:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:55:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:55:44 (1/6) Installing dumb-init (1.2.5-r1) 15:55:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:55:44 (3/6) Installing libsodium (1.0.18-r0) 15:55:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:55:44 (5/6) Installing libzmq (4.3.4-r0) 15:55:44 (6/6) Installing zeromq (4.3.4-r0) 15:55:44 Executing busybox-1.33.1-r7.trigger 15:55:44 OK: 8 MiB in 20 packages 15:55:45 Removing intermediate container ff05658293cb 15:55:45 ---> accac38ea80b 15:55:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:55:45 ---> b38985cb9f14 15:55:45 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:55:45 ---> 7c0a3be49eb4 15:55:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:55:46 ---> 67b19941cc65 15:55:46 Step 19/24 : EXPOSE 59982 15:55:46 ---> Running in 5ffe5b18586f 15:55:46 Removing intermediate container 5ffe5b18586f 15:55:46 ---> a1c62a38f9bb 15:55:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:55:46 ---> Running in eef77b230634 15:55:46 Removing intermediate container eef77b230634 15:55:46 ---> 402fccf30c51 15:55:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:55:46 ---> Running in 0014ddfb47fd 15:55:46 Removing intermediate container 0014ddfb47fd 15:55:46 ---> 5a79e89a3f40 15:55:46 Step 22/24 : LABEL arch=amd64 15:55:46 ---> Running in 5851ee8e155a 15:55:46 Removing intermediate container 5851ee8e155a 15:55:46 ---> fc6a005cb662 15:55:46 Step 23/24 : LABEL git_sha=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e 15:55:46 ---> Running in 49951ddc7d43 15:55:46 Removing intermediate container 49951ddc7d43 15:55:46 ---> b35e8682d5ba 15:55:46 Step 24/24 : LABEL version=0.0.0 15:55:46 ---> Running in d8c47423cce9 15:55:46 Removing intermediate container d8c47423cce9 15:55:46 ---> 1f493acb1773 15:55:46 [Warning] One or more build-args [ARCH] were not consumed 15:55:46 Successfully built 1f493acb1773 15:55:46 Successfully tagged device-mqtt: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:47 15:55:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:55:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:47 latest: Pulling from edgex-lftools-log-publisher 15:55:47 5eb5b503b376: Pulling fs layer 15:55:47 5c69ac0246d0: Pulling fs layer 15:55:47 ec43610c2a17: Pulling fs layer 15:55:47 3a2ae6a8a46f: Pulling fs layer 15:55:47 33b1e0a273af: Pulling fs layer 15:55:47 5d3b04190fa2: Pulling fs layer 15:55:47 2f39f015ded8: Pulling fs layer 15:55:47 3a2ae6a8a46f: Waiting 15:55:47 33b1e0a273af: Waiting 15:55:47 5d3b04190fa2: Waiting 15:55:47 2f39f015ded8: Waiting 15:55:47 5c69ac0246d0: Verifying Checksum 15:55:47 5c69ac0246d0: Download complete 15:55:47 3a2ae6a8a46f: Verifying Checksum 15:55:47 33b1e0a273af: Verifying Checksum 15:55:47 33b1e0a273af: Download complete 15:55:47 5d3b04190fa2: Verifying Checksum 15:55:47 5d3b04190fa2: Download complete 15:55:47 ec43610c2a17: Verifying Checksum 15:55:47 ec43610c2a17: Download complete 15:55:47 5eb5b503b376: Verifying Checksum 15:55:47 5eb5b503b376: Download complete 15:55:48 2f39f015ded8: Download complete 15:55:49 5eb5b503b376: Pull complete 15:55:49 5c69ac0246d0: Pull complete 15:55:49 ec43610c2a17: Pull complete 15:55:49 3a2ae6a8a46f: Pull complete 15:55:49 33b1e0a273af: Pull complete 15:55:50 5d3b04190fa2: Pull complete 15:55:54 2f39f015ded8: Pull complete 15:55:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:55:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:55:54 prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container 15:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:55:56 $ docker top 836835ce52d70913125a5f94fbb04ee0950e528694a961d404ad2e2a42bac072 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:56 ---> job-cost.sh 15:55:56 lf-activate-venv: SKIPPING 15:55:56 INFO: No Stack... 15:55:57 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:57 INFO: Archiving Costs [Pipeline] sh 15:55:58 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives/cost.csv 15:55:58 + cut -d, -f6 [Pipeline] lock 15:55:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] 15:55:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] did not exist. Created. 15:55:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:58 + echo total: 0.2199999988079071 [Pipeline] stash 15:55:58 Stashed 1 file(s) [Pipeline] } 15:55:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:58 $ docker stop --time=1 836835ce52d70913125a5f94fbb04ee0950e528694a961d404ad2e2a42bac072 15:55:59 $ docker rm -f 836835ce52d70913125a5f94fbb04ee0950e528694a961d404ad2e2a42bac072 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:44:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29903 in /w/workspace/gexfoundry_device-mqtt-go_PR-367 [Pipeline] { [Pipeline] ws 16:44:52 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 16:44:52 Selected Git installation does not exist. Using Default 16:44:52 The recommended git tool is: NONE 16:44:58 using credential edgex-jenkins-ssh 16:44:58 Cloning the remote Git repository 16:44:58 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:44:58 > git init /w/workspace/device-mqtt-go/3 # timeout=10 16:44:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:44:58 > git --version # timeout=10 16:44:58 > git --version # 'git version 2.25.1' 16:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:44:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:44:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:45:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:45:00 Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit f21ae3f10c1bd5bef0e0b485021b61c5d702b45e 16:45:00 Merge succeeded, producing f21ae3f10c1bd5bef0e0b485021b61c5d702b45e 16:45:00 Checking out Revision f21ae3f10c1bd5bef0e0b485021b61c5d702b45e (PR-367) 16:45:00 > git config core.sparsecheckout # timeout=10 16:45:00 > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # timeout=10 16:45:00 > git remote # timeout=10 16:45:00 > git config --get remote.origin.url # timeout=10 16:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:45:00 > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 16:45:00 > git rev-parse HEAD^{commit} # timeout=10 16:45:00 > git config core.sparsecheckout # timeout=10 16:45:00 > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # timeout=10 16:45:05 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:45:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:45:05 Dload Upload Total Spent Left Speed 16:45:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 71775 0 --:--:-- --:--:-- --:--:-- 71775 [Pipeline] sh 16:45:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:45:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:45:06 + sudo tee /etc/docker/daemon.new 16:45:06 { 16:45:06 "registry-mirrors": [ 16:45:06 "https://nexus3.edgexfoundry.org:10001" 16:45:06 ], 16:45:06 "bip": "10.250.0.254/24", 16:45:06 "hosts": [ 16:45:06 "tcp://0.0.0.0:5555", 16:45:06 "unix:///var/run/docker.sock" 16:45:06 ], 16:45:06 "mtu": 1458, 16:45:06 "selinux-enabled": true, 16:45:06 "seccomp-profile": "/etc/docker/seccomp.json" 16:45:06 } [Pipeline] sh 16:45:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:45:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:26 provisioning config files... 16:45:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config7554770117782362533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:26 ---> docker-login.sh 16:45:26 nexus3.edgexfoundry.org:10001 16:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:27 Configure a credential helper to remove this warning. See 16:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:27 16:45:27 Login Succeeded 16:45:27 nexus3.edgexfoundry.org:10002 16:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:27 Configure a credential helper to remove this warning. See 16:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:27 16:45:27 Login Succeeded 16:45:27 nexus3.edgexfoundry.org:10003 16:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:28 Configure a credential helper to remove this warning. See 16:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:28 16:45:28 Login Succeeded 16:45:28 nexus3.edgexfoundry.org:10004 16:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:28 Configure a credential helper to remove this warning. See 16:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:28 16:45:28 Login Succeeded 16:45:28 docker.io 16:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:29 Configure a credential helper to remove this warning. See 16:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:29 16:45:29 Login Succeeded 16:45:29 ---> docker-login.sh ends [Pipeline] } 16:45:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:45:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:30 ========================================================= 16:45:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:45:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:45:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:45:30 Sending build context to Docker daemon 3.04MB 16:45:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:45:30 Step 2/12 : FROM ${BASE} AS builder 16:45:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:45:31 9b3977197b4f: Pulling fs layer 16:45:31 1a89e8eeedd5: Pulling fs layer 16:45:31 94645a83ff95: Pulling fs layer 16:45:31 3f3a8bcf1eab: Pulling fs layer 16:45:31 0c92f367c5e7: Pulling fs layer 16:45:31 3096ccb668a1: Pulling fs layer 16:45:31 e8cf19c19ddd: Pulling fs layer 16:45:31 a4caa8a26152: Pulling fs layer 16:45:31 3f3a8bcf1eab: Waiting 16:45:31 0c92f367c5e7: Waiting 16:45:31 3096ccb668a1: Waiting 16:45:31 e8cf19c19ddd: Waiting 16:45:31 a4caa8a26152: Waiting 16:45:31 94645a83ff95: Verifying Checksum 16:45:31 94645a83ff95: Download complete 16:45:31 1a89e8eeedd5: Verifying Checksum 16:45:31 1a89e8eeedd5: Download complete 16:45:31 0c92f367c5e7: Verifying Checksum 16:45:31 0c92f367c5e7: Download complete 16:45:31 9b3977197b4f: Verifying Checksum 16:45:31 9b3977197b4f: Download complete 16:45:31 3096ccb668a1: Verifying Checksum 16:45:31 3096ccb668a1: Download complete 16:45:31 e8cf19c19ddd: Verifying Checksum 16:45:31 e8cf19c19ddd: Download complete 16:45:31 9b3977197b4f: Pull complete 16:45:32 1a89e8eeedd5: Pull complete 16:45:32 94645a83ff95: Pull complete 16:45:33 a4caa8a26152: Verifying Checksum 16:45:33 a4caa8a26152: Download complete 16:45:33 3f3a8bcf1eab: Verifying Checksum 16:45:33 3f3a8bcf1eab: Download complete 16:45:46 3f3a8bcf1eab: Pull complete 16:45:46 0c92f367c5e7: Pull complete 16:45:46 3096ccb668a1: Pull complete 16:45:46 e8cf19c19ddd: Pull complete 16:45:52 a4caa8a26152: Pull complete 16:45:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:45:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:45:52 ---> 725f1c02e7f9 16:45:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:45:53 ---> Running in 50d8c37856a7 16:45:53 Removing intermediate container 50d8c37856a7 16:45:53 ---> 87ed01c41b21 16:45:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:45:53 ---> Running in 7f84cbfef940 16:45:53 Removing intermediate container 7f84cbfef940 16:45:53 ---> 4593859418d0 16:45:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:45:53 ---> Running in 05f853ab901e 16:45:55 Removing intermediate container 05f853ab901e 16:45:55 ---> 76fd1df8454c 16:45:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:45:55 ---> Running in 1e53b2862193 16:45:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:45:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:45:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:45:58 (2/4) Installing libedit (20210910.3.1-r0) 16:45:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:45:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:45:58 Executing busybox-1.34.1-r3.trigger 16:45:58 OK: 224 MiB in 56 packages 16:45:59 Removing intermediate container 1e53b2862193 16:45:59 ---> 9aac08c7a181 16:45:59 Step 7/12 : WORKDIR /device-mqtt-go 16:46:00 ---> Running in 7a3b82c32090 16:46:00 Removing intermediate container 7a3b82c32090 16:46:00 ---> f8f7864aa725 16:46:00 Step 8/12 : COPY go.mod vendor* ./ 16:46:01 ---> 69c7b9d0a9d3 16:46:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:01 ---> Running in 49ee4155610b 16:46:48 Removing intermediate container 49ee4155610b 16:46:48 ---> b04c0e49e807 16:46:48 Step 10/12 : COPY . . 16:46:48 ---> 48f6f6094189 16:46:48 Step 11/12 : ARG MAKE='make build' 16:46:48 ---> Running in b4663f695a74 16:46:48 Removing intermediate container b4663f695a74 16:46:48 ---> 40e492b028de 16:46:48 Step 12/12 : RUN $MAKE 16:46:48 ---> Running in 9d7517c6761e 16:46:48 noop 16:46:48 Removing intermediate container 9d7517c6761e 16:46:48 ---> d90cba4972ea 16:46:48 Successfully built d90cba4972ea 16:46:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:46:48 + docker inspect -f . ci-base-image-arm64 16:46:48 . [Pipeline] withDockerContainer 16:46:48 prd-ubuntu20.04-docker-arm64-4c-16g-29903 does not seem to be running inside a container 16:46:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:46:49 $ docker top 57d61d3ef8d88eb2197c5c5c2115511ca6a2f4f4dde3770be4d1c31f9fa58a79 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:50 + go version 16:46:50 go version go1.17.6 linux/arm64 [Pipeline] } 16:46:50 $ docker stop --time=1 57d61d3ef8d88eb2197c5c5c2115511ca6a2f4f4dde3770be4d1c31f9fa58a79 16:46:52 $ docker rm -f 57d61d3ef8d88eb2197c5c5c2115511ca6a2f4f4dde3770be4d1c31f9fa58a79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:46:53 + docker inspect -f . ci-base-image-arm64 16:46:53 . [Pipeline] withDockerContainer 16:46:53 prd-ubuntu20.04-docker-arm64-4c-16g-29903 does not seem to be running inside a container 16:46:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:46:54 $ docker top fa3bb2e5450361e34c73333a4f1e4e91c209b0b9bba6e0ad3d20c66cba73f44d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:46:55 + make test 16:46:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:46:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:48:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:48:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 16:48:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:48:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:48:18 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:48:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:48:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:48:41 ./bin/test-attribution-txt.sh [Pipeline] echo 16:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:48:41 $ docker stop --time=1 fa3bb2e5450361e34c73333a4f1e4e91c209b0b9bba6e0ad3d20c66cba73f44d 16:48:42 $ docker rm -f fa3bb2e5450361e34c73333a4f1e4e91c209b0b9bba6e0ad3d20c66cba73f44d [Pipeline] // withDockerContainer [Pipeline] sh 16:48:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:48:43 Warning: overwriting stash ‘coverage-report’ 16:48:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:48:45 + ls -al . 16:48:45 total 192 16:48:45 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:48 . 16:48:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:44 .. 16:48:45 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:45 .dockerignore 16:48:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:45 .git 16:48:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:45 .github 16:48:45 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 16:45 .gitignore 16:48:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:45 .golangci.yml 16:48:45 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 16:45 Attribution.txt 16:48:45 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 16:45 CHANGELOG.md 16:48:45 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:45 Dockerfile 16:48:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:45 GOVERNANCE.md 16:48:45 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 16:45 Jenkinsfile 16:48:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:45 LICENSE 16:48:45 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:45 Makefile 16:48:45 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:45 OWNERS.md 16:48:45 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 16:45 README.md 16:48:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:54 VERSION 16:48:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:45 bin 16:48:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:45 cmd 16:48:45 -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 16:48 coverage.out 16:48:45 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 16:45 go.mod 16:48:45 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 26 16:45 go.sum 16:48:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:45 internal 16:48:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:45 mock 16:48:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:45 snap 16:48:45 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 16:45 version.go [Pipeline] isUnix [Pipeline] sh 16:48:45 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e --label arch=arm64 --label version=0.0.0 . 16:48:45 Sending build context to Docker daemon 3.058MB 16:48:45 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:48:45 Step 2/24 : FROM ${BASE} AS builder 16:48:45 ---> d90cba4972ea 16:48:45 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:48:45 ---> Running in e6dbf1281afb 16:48:46 Removing intermediate container e6dbf1281afb 16:48:46 ---> 4073a151eefa 16:48:46 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 16:48:46 ---> Running in 9e36d130c5ed 16:48:46 Removing intermediate container 9e36d130c5ed 16:48:46 ---> d6075e43c25b 16:48:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:46 ---> Running in 40fec80de8d3 16:48:48 Removing intermediate container 40fec80de8d3 16:48:48 ---> 2a301bd0a35b 16:48:48 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:48 ---> Running in 8dba3f627614 16:48:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:48:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:48:51 OK: 224 MiB in 56 packages 16:48:52 Removing intermediate container 8dba3f627614 16:48:52 ---> 8e9a28f6d25b 16:48:52 Step 7/24 : WORKDIR /device-mqtt-go 16:48:52 ---> Running in d1c713ef30a4 16:48:52 Removing intermediate container d1c713ef30a4 16:48:52 ---> f90782a9fa99 16:48:52 Step 8/24 : COPY go.mod vendor* ./ 16:48:52 ---> 490953d4fa4b 16:48:52 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:52 ---> Running in e348005cfb30 16:48:54 Removing intermediate container e348005cfb30 16:48:54 ---> 51fd2927f918 16:48:54 Step 10/24 : COPY . . 16:48:55 ---> 339dbc74d5a0 16:48:55 Step 11/24 : ARG MAKE='make build' 16:48:55 ---> Running in 6fd1f1c86d16 16:48:56 Removing intermediate container 6fd1f1c86d16 16:48:56 ---> aa46f1686f99 16:48:56 Step 12/24 : RUN $MAKE 16:48:56 ---> Running in d5d0f7b980be 16:48:56 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 16:51:03 Removing intermediate container d5d0f7b980be 16:51:03 ---> ac30d3c1597d 16:51:03 Step 13/24 : FROM alpine:3.14 16:51:03 3.14: Pulling from library/alpine 16:51:03 455c02918c45: Pulling fs layer 16:51:03 455c02918c45: Download complete 16:51:03 455c02918c45: Pull complete 16:51:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:51:03 Status: Downloaded newer image for alpine:3.14 16:51:03 ---> ac73e934f311 16:51:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:51:03 ---> Running in 4850c1b9c22b 16:51:03 Removing intermediate container 4850c1b9c22b 16:51:03 ---> 2a12215a14c5 16:51:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 16:51:03 ---> Running in ad60e0eac5ad 16:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:51:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:51:03 (1/6) Installing dumb-init (1.2.5-r1) 16:51:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:51:03 (3/6) Installing libsodium (1.0.18-r0) 16:51:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:51:03 (5/6) Installing libzmq (4.3.4-r0) 16:51:03 (6/6) Installing zeromq (4.3.4-r0) 16:51:03 Executing busybox-1.33.1-r7.trigger 16:51:03 OK: 8 MiB in 20 packages 16:51:03 Removing intermediate container ad60e0eac5ad 16:51:03 ---> 9101781eb3be 16:51:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:51:03 ---> 41f538661cec 16:51:03 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:51:03 ---> 3296f5c57cbb 16:51:03 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:51:03 ---> ca8b387142be 16:51:03 Step 19/24 : EXPOSE 59982 16:51:03 ---> Running in 143fcfe55858 16:51:03 Removing intermediate container 143fcfe55858 16:51:03 ---> 231f5584b60f 16:51:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:51:03 ---> Running in c5a85f1d72da 16:51:03 Removing intermediate container c5a85f1d72da 16:51:03 ---> a88a51b7e3c8 16:51:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:51:03 ---> Running in 4aaf21f84b5e 16:51:03 Removing intermediate container 4aaf21f84b5e 16:51:03 ---> f24fffbed682 16:51:03 Step 22/24 : LABEL arch=arm64 16:51:03 ---> Running in 2b0a41fc1d55 16:51:03 Removing intermediate container 2b0a41fc1d55 16:51:03 ---> f1b271dddd34 16:51:03 Step 23/24 : LABEL git_sha=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e 16:51:03 ---> Running in 72f960093d17 16:51:03 Removing intermediate container 72f960093d17 16:51:03 ---> 9d9f12f8c4de 16:51:03 Step 24/24 : LABEL version=0.0.0 16:51:03 ---> Running in 745322cb971c 16:51:03 Removing intermediate container 745322cb971c 16:51:03 ---> 66b85e23e8a9 16:51:03 [Warning] One or more build-args [ARCH] were not consumed 16:51:03 Successfully built 66b85e23e8a9 16:51:03 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:51:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:51:04 16:51:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:51:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:51:04 arm64: Pulling from edgex-lftools-log-publisher 16:51:04 8998bd30e6a1: Pulling fs layer 16:51:04 04944245beec: Pulling fs layer 16:51:04 699f458cf7ca: Pulling fs layer 16:51:04 765212b225bb: Pulling fs layer 16:51:04 f23df028b6ca: Pulling fs layer 16:51:04 d65c8cfc05b1: Pulling fs layer 16:51:04 2437ff75d9bd: Pulling fs layer 16:51:04 f23df028b6ca: Waiting 16:51:04 d65c8cfc05b1: Waiting 16:51:04 2437ff75d9bd: Waiting 16:51:04 765212b225bb: Waiting 16:51:04 04944245beec: Download complete 16:51:04 765212b225bb: Verifying Checksum 16:51:04 765212b225bb: Download complete 16:51:04 f23df028b6ca: Download complete 16:51:04 d65c8cfc05b1: Verifying Checksum 16:51:04 d65c8cfc05b1: Download complete 16:51:05 699f458cf7ca: Verifying Checksum 16:51:05 699f458cf7ca: Download complete 16:51:05 8998bd30e6a1: Verifying Checksum 16:51:05 8998bd30e6a1: Download complete 16:51:08 2437ff75d9bd: Verifying Checksum 16:51:08 2437ff75d9bd: Download complete 16:51:10 8998bd30e6a1: Pull complete 16:51:10 04944245beec: Pull complete 16:51:11 699f458cf7ca: Pull complete 16:51:12 765212b225bb: Pull complete 16:51:13 f23df028b6ca: Pull complete 16:51:13 d65c8cfc05b1: Pull complete 16:51:28 2437ff75d9bd: Pull complete 16:51:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:51:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:51:28 prd-ubuntu20.04-docker-arm64-4c-16g-29903 does not seem to be running inside a container 16:51:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:51:31 $ docker top 1177cca22da3a43fc223c8d8b34f930f9ce80d604bde4bcd07681b24fdbe0df3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:51:31 ---> job-cost.sh 16:51:31 lf-activate-venv: SKIPPING 16:51:31 INFO: No Stack... 16:51:32 INFO: Retrieving Pricing Info for: v3-standard-4 16:51:33 INFO: Archiving Costs [Pipeline] sh 16:51:33 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 16:51:33 + cut -d, -f6 [Pipeline] lock 16:51:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] 16:51:33 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] did not exist. Created. 16:51:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:51:34 /w/workspace/device-mqtt-go/3@tmp/durable-def71aa6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:51:35 + echo total: 0.10999999940395355 [Pipeline] stash 16:51:35 Warning: overwriting stash ‘stack-cost’ 16:51:35 Stashed 1 file(s) [Pipeline] } 16:51:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:51:35 $ docker stop --time=1 1177cca22da3a43fc223c8d8b34f930f9ce80d604bde4bcd07681b24fdbe0df3 16:51:36 $ docker rm -f 1177cca22da3a43fc223c8d8b34f930f9ce80d604bde4bcd07681b24fdbe0df3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] configFileProvider 16:51:37 provisioning config files... 16:51:37 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config7130657153755501330tmp [Pipeline] { [Pipeline] sh 16:51:37 + set +x 16:51:37 + curl -s https://codecov.io/bash 16:51:37 + bash -s -- 16:51:37 16:51:37 _____ _ 16:51:37 / ____| | | 16:51:37 | | ___ __| | ___ ___ _____ __ 16:51:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:51:37 | |___| (_) | (_| | __/ (_| (_) \ V / 16:51:37 \_____\___/ \__,_|\___|\___\___/ \_/ 16:51:37 Bash-1.0.6 16:51:37 16:51:37 16:51:37 ==> git version 2.25.1 found 16:51:37 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:51:37 Release-Date: 2020-01-08 16:51:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:51:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:51:37 ==> Jenkins CI detected. 16:51:37 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-367 16:51:37 project root: . 16:51:37 --> token set from env 16:51:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:51:37 ==> Running gcov in . (disable via -X gcov) 16:51:37 ==> Python coveragepy not found 16:51:37 ==> Searching for coverage reports in: 16:51:37 + . 16:51:37 -> Found 1 reports 16:51:37 ==> Detecting git/mercurial file structure 16:51:37 ==> Reading reports 16:51:37 + ./coverage.out bytes=17887 16:51:37 ==> Appending adjustments 16:51:37 https://docs.codecov.io/docs/fixing-reports 16:51:38 + Found adjustments 16:51:38 ==> Gzipping contents 16:51:38 4.0K /tmp/codecov.Hc4BV9.gz 16:51:38 ==> Uploading reports 16:51:38 url: https://codecov.io 16:51:38 query: branch=PR-367&commit=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-367%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=367&job=&cmd_args= 16:51:38 -> Pinging Codecov 16:51:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-367&commit=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-367%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=367&job=&cmd_args= 16:51:38 -> Uploading to 16:51:38 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7D719EC7BBE17E464838252E33014C33/f21ae3f10c1bd5bef0e0b485021b61c5d702b45e/03072bf1-809b-4507-9cb3-6c4b481e8ad7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T165138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f53b39170fa5a9aaee16f2e92f0a7fdeba5f0d71255e7d702346602c756a99f3 16:51:38 % Total % Received % Xferd Average Speed Time Time Time Current 16:51:38 Dload Upload Total Spent Left Speed 16:51:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14612 --:--:-- --:--:-- --:--:-- 14547 100 3244 0 0 100 3244 0 11224 --:--:-- --:--:-- --:--:-- 11186 16:51:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] } 16:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:51:39 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives ] 16:51:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives 16:51:39 total 16 16:51:39 drwxr-xr-x 3 root root 4096 Apr 26 15:55 . 16:51:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. 16:51:39 drwxr-xr-x 2 root root 4096 Apr 26 15:55 cost 16:51:39 -rw-r--r-- 1 root root 85 Apr 26 15:55 cost.csv 16:51:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives 16:51:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives 16:51:39 total 16 16:51:39 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:55 . 16:51:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. 16:51:39 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:55 cost 16:51:39 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:51:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:51:40 ---> package-listing.sh 16:51:40 ++ facter osfamily 16:51:40 ++ tr '[:upper:]' '[:lower:]' 16:51:40 + OS_FAMILY=debian 16:51:40 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-367 16:51:40 + START_PACKAGES=/tmp/packages_start.txt 16:51:40 + END_PACKAGES=/tmp/packages_end.txt 16:51:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:51:40 + PACKAGES=/tmp/packages_start.txt 16:51:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-367 ']' 16:51:40 + PACKAGES=/tmp/packages_end.txt 16:51:40 + case "${OS_FAMILY}" in 16:51:40 + dpkg -l 16:51:40 + grep '^ii' 16:51:40 + '[' -f /tmp/packages_start.txt ']' 16:51:40 + '[' -f /tmp/packages_end.txt ']' 16:51:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:51:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-367 ']' 16:51:40 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives/ 16:51:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives/ [Pipeline] echo 16:51:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:51:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:51:41 . [Pipeline] withDockerContainer 16:51:41 prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container 16:51:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-367/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-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:51:41 $ docker top 39d8f6d6f7fefa7deab4d811c4fe3055e48d94bd8ede0e99c76221620caf6b26 -eo pid,comm [Pipeline] { [Pipeline] sh 16:51:42 + touch /tmp/pre-build-complete [Pipeline] sh 16:51:42 + mkdir -p /var/log/sysstat [Pipeline] sh 16:51:42 + ls /var/log/sa-host 16:51:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:51:42 provisioning config files... 16:51:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config5698822950336145886tmp [Pipeline] { [Pipeline] echo 16:51:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:51:43 ---> create-netrc.sh [Pipeline] } 16:51:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:51:43 ---> python-tools-install.sh [Pipeline] echo 16:51:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:51:43 ---> sudo-logs.sh 16:51:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:51:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:51:44 ---> job-cost.sh 16:51:44 lf-activate-venv: SKIPPING 16:51:44 DEBUG: total: 0.2199999988079071 16:51:44 INFO: Retrieving Stack Cost... 16:51:44 INFO: Retrieving Pricing Info for: v3-standard-8 16:51:45 INFO: Archiving Costs [Pipeline] echo 16:51:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:51:45 ---> logs-deploy.sh 16:51:45 lf-activate-venv: SKIPPING 16:51:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-367/3 16:51:45 INFO: archiving workspace using pattern(s): 16:51:46 Archives upload complete. 16:51:46 INFO: archiving logs to Nexus