Pull request #365 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 4d191eb3dac98c01714bec6e3dd8edd5055992ab rather than 119d050bc5ea62958bdb28bf927861272da8c4b8 Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab 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-ssh1939968548452361227.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-ssh2700418184697673190.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-365/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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1058719254056110295.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-ssh4945136546800797811.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-365/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-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8059841094720573761.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 Running on prd-ubuntu20.04-docker-8c-8g-21947 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [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-365 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 119d050bc5ea62958bdb28bf927861272da8c4b8 Merge succeeded, producing 119d050bc5ea62958bdb28bf927861272da8c4b8 Checking out Revision 119d050bc5ea62958bdb28bf927861272da8c4b8 (PR-365) > 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/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 119d050bc5ea62958bdb28bf927861272da8c4b8 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 119d050bc5ea62958bdb28bf927861272da8c4b8 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" > git rev-list --no-walk c499bde1cf7783e7f31e98573377c438c823d05a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:32 ========================================================= 09:02:32 EdgeX Global Pipelines Version Info 09:02:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:02:33 ------------------- 09:02:33 stable info: 09:02:33 ------------------- 09:02:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:02:33 Message: update stable to v1.0.221 09:02:33 ------------------- 09:02:33 experimental info: 09:02:33 ------------------- 09:02:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:33 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 09:02:33 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 119d050bc5ea62958bdb28bf927861272da8c4b8 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 119d050 [Pipeline] echo 09:02:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:02:34 provisioning config files... 09:02:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config4905105578895595160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:34 ---> docker-login.sh 09:02:34 nexus3.edgexfoundry.org:10001 09:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:34 Configure a credential helper to remove this warning. See 09:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:34 09:02:34 Login Succeeded 09:02:34 nexus3.edgexfoundry.org:10002 09:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:34 Configure a credential helper to remove this warning. See 09:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:34 09:02:34 Login Succeeded 09:02:34 nexus3.edgexfoundry.org:10003 09:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:35 Configure a credential helper to remove this warning. See 09:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:35 09:02:35 Login Succeeded 09:02:35 nexus3.edgexfoundry.org:10004 09:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:35 Configure a credential helper to remove this warning. See 09:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:35 09:02:35 Login Succeeded 09:02:35 docker.io 09:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:35 Configure a credential helper to remove this warning. See 09:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:35 09:02:35 Login Succeeded 09:02:35 ---> docker-login.sh ends [Pipeline] } 09:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:02:35 + git rev-list -1 --merges 119d050bc5ea62958bdb28bf927861272da8c4b8~1..119d050bc5ea62958bdb28bf927861272da8c4b8 [Pipeline] echo 09:02:36 -----------> git rev-list -1 --merges 119d050bc5ea62958bdb28bf927861272da8c4b8~1..119d050bc5ea62958bdb28bf927861272da8c4b8 119d050bc5ea62958bdb28bf927861272da8c4b8 [false] [Pipeline] sh 09:02:36 + git log --format=format:%s -1 119d050bc5ea62958bdb28bf927861272da8c4b8 [Pipeline] echo 09:02:36 ========================================================= 09:02:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:02:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:36 + git log --format=format:%s -1 119d050bc5ea62958bdb28bf927861272da8c4b8 [Pipeline] echo 09:02:36 [semverPrep] GIT_COMMIT: 119d050bc5ea62958bdb28bf927861272da8c4b8, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3 [Pipeline] echo 09:02:36 [semverPrep] This is not a build commit. [Pipeline] sh 09:02:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:02:37 + grep -v github /etc/ssh/ssh_known_hosts 09:02:37 + [ -e /tmp/ssh_known_hosts ] 09:02:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:02:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:02:37 + sudo tee -a /etc/ssh/ssh_known_hosts 09:02:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:37 09:02:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:02:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:37 latest: Pulling from edgex-devops/git-semver 09:02:37 a0d0a0d46f8b: Pulling fs layer 09:02:37 3e5f54012d9b: Pulling fs layer 09:02:37 4c7163046ea9: Pulling fs layer 09:02:37 0c2d73faf560: Pulling fs layer 09:02:37 0c2d73faf560: Waiting 09:02:37 3e5f54012d9b: Verifying Checksum 09:02:37 3e5f54012d9b: Download complete 09:02:37 a0d0a0d46f8b: Download complete 09:02:37 0c2d73faf560: Verifying Checksum 09:02:37 0c2d73faf560: Download complete 09:02:37 4c7163046ea9: Verifying Checksum 09:02:37 4c7163046ea9: Download complete 09:02:37 a0d0a0d46f8b: Pull complete 09:02:37 3e5f54012d9b: Pull complete 09:02:38 4c7163046ea9: Pull complete 09:02:38 0c2d73faf560: Pull complete 09:02:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:02:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:02:38 prd-ubuntu20.04-docker-8c-8g-21947 does not seem to be running inside a container 09:02:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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:10004/edgex-devops/git-semver:latest cat 09:02:39 $ docker top de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:39 [ssh-agent] Looking for ssh-agent implementation... 09:02:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:39 $ docker exec de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 ssh-agent 09:02:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXENJFOO/agent.14 09:02:39 SSH_AGENT_PID=20 09:02:39 Running ssh-add (command line suppressed) 09:02:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_544446454915597061.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_544446454915597061.key) 09:02:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:40 + git tag --points-at HEAD [Pipeline] } 09:02:40 $ docker exec --env ******** --env ******** de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 ssh-agent -k 09:02:40 unset SSH_AUTH_SOCK; 09:02:40 unset SSH_AGENT_PID; 09:02:40 echo Agent pid 20 killed; 09:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:40 [ssh-agent] Looking for ssh-agent implementation... 09:02:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:40 $ docker exec de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 ssh-agent 09:02:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBNndD/agent.53 09:02:40 SSH_AGENT_PID=60 09:02:40 Running ssh-add (command line suppressed) 09:02:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_4613685725988449059.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_4613685725988449059.key) 09:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:40 + git semver init 09:02:40 # -> Open(): unable to determine branch for HEAD 09:02:40 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git 09:02:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 09:02:40 # $SEMVER_REMOTE_NAME = origin 09:02:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:02:40 # $SEMVER_USER_NAME = edgex-jenkins 09:02:40 # $SEMVER_BRANCH = PR-365 09:02:40 # $SEMVER_TEMP = /tmp/semver-034152036 09:02:40 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 09:02:41 # '/tmp/semver-034152036' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' 09:02:41 # -> Force: false 09:02:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } 09:02:41 $ docker exec --env ******** --env ******** de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 ssh-agent -k 09:02:41 unset SSH_AUTH_SOCK; 09:02:41 unset SSH_AGENT_PID; 09:02:41 echo Agent pid 60 killed; 09:02:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:42 + git semver [Pipeline] } 09:02:42 $ docker stop --time=1 de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 09:02:43 $ docker rm -f de0f769ff00a0f2a93878a1efecb67ce9ef12afa707b1bed4305183281ca9aa7 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:44 Stashed 1 file(s) [Pipeline] echo 09:02:44 [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 09:02:44 provisioning config files... 09:02:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config7696330180662944990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:44 ---> docker-login.sh 09:02:44 nexus3.edgexfoundry.org:10001 09:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:44 Configure a credential helper to remove this warning. See 09:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:44 09:02:44 Login Succeeded 09:02:44 nexus3.edgexfoundry.org:10002 09:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:44 Configure a credential helper to remove this warning. See 09:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:44 09:02:44 Login Succeeded 09:02:44 nexus3.edgexfoundry.org:10003 09:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:44 Configure a credential helper to remove this warning. See 09:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:44 09:02:44 Login Succeeded 09:02:44 nexus3.edgexfoundry.org:10004 09:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:45 Configure a credential helper to remove this warning. See 09:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:45 09:02:45 Login Succeeded 09:02:45 docker.io 09:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:45 Configure a credential helper to remove this warning. See 09:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:45 09:02:45 Login Succeeded 09:02:45 ---> docker-login.sh ends [Pipeline] } 09:02:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:02:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:02:45 ========================================================= 09:02:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:02:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:02:45 + 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 . 09:02:45 Sending build context to Docker daemon 5.876MB 09:02:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:02:45 Step 2/12 : FROM ${BASE} AS builder 09:02:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:02:45 59bf1c3509f3: Pulling fs layer 09:02:45 666ba61612fd: Pulling fs layer 09:02:45 8ed8ca486205: Pulling fs layer 09:02:45 4fe6c5a15a65: Pulling fs layer 09:02:45 22a0e8bec74d: Pulling fs layer 09:02:45 ca2b28591e48: Pulling fs layer 09:02:45 a51346096db8: Pulling fs layer 09:02:45 daebc70d1ce1: Pulling fs layer 09:02:45 0e18a0eac166: Pulling fs layer 09:02:45 4fe6c5a15a65: Waiting 09:02:45 22a0e8bec74d: Waiting 09:02:45 ca2b28591e48: Waiting 09:02:45 a51346096db8: Waiting 09:02:45 daebc70d1ce1: Waiting 09:02:45 0e18a0eac166: Waiting 09:02:45 8ed8ca486205: Verifying Checksum 09:02:45 8ed8ca486205: Download complete 09:02:45 666ba61612fd: Download complete 09:02:46 22a0e8bec74d: Verifying Checksum 09:02:46 22a0e8bec74d: Download complete 09:02:46 ca2b28591e48: Verifying Checksum 09:02:46 ca2b28591e48: Download complete 09:02:46 59bf1c3509f3: Verifying Checksum 09:02:46 59bf1c3509f3: Download complete 09:02:46 a51346096db8: Download complete 09:02:46 daebc70d1ce1: Verifying Checksum 09:02:46 daebc70d1ce1: Download complete 09:02:46 59bf1c3509f3: Pull complete 09:02:46 666ba61612fd: Pull complete 09:02:46 8ed8ca486205: Pull complete 09:02:46 0e18a0eac166: Download complete 09:02:46 4fe6c5a15a65: Verifying Checksum 09:02:46 4fe6c5a15a65: Download complete 09:02:50 4fe6c5a15a65: Pull complete 09:02:50 22a0e8bec74d: Pull complete 09:02:50 ca2b28591e48: Pull complete 09:02:50 a51346096db8: Pull complete 09:02:50 daebc70d1ce1: Pull complete 09:02:52 0e18a0eac166: Pull complete 09:02:52 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:02:52 ---> f018257e8ee9 09:02:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:02:54 ---> Running in b1881c470434 09:02:54 Removing intermediate container b1881c470434 09:02:54 ---> 7b7caf2329a5 09:02:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:02:54 ---> Running in 331908fe0f25 09:02:54 Removing intermediate container 331908fe0f25 09:02:54 ---> a61077b87b8a 09:02:54 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:54 ---> Running in 81497c69adff 09:02:54 Removing intermediate container 81497c69adff 09:02:54 ---> 36a7f630c24c 09:02:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:54 ---> Running in 2d8c74c87196 09:02:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:02:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:02:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:02:56 (2/4) Installing libedit (20210910.3.1-r0) 09:02:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:02:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:02:56 Executing busybox-1.34.1-r3.trigger 09:02:56 OK: 224 MiB in 56 packages 09:02:57 Removing intermediate container 2d8c74c87196 09:02:57 ---> 0447373c5fb6 09:02:57 Step 7/12 : WORKDIR /device-mqtt-go 09:02:57 ---> Running in a439ee95c6a7 09:02:57 Removing intermediate container a439ee95c6a7 09:02:57 ---> b20be05e9df9 09:02:57 Step 8/12 : COPY go.mod vendor* ./ 09:02:57 ---> 42503381d7dd 09:02:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:57 ---> Running in 00fdcf3238e3 09:02:59 Still waiting to schedule task 09:02:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21954’ 09:03:12 Removing intermediate container 00fdcf3238e3 09:03:12 ---> b63386c23b90 09:03:12 Step 10/12 : COPY . . 09:03:12 ---> 292fef67e488 09:03:12 Step 11/12 : ARG MAKE='make build' 09:03:12 ---> Running in 2a74c98d8dd3 09:03:12 Removing intermediate container 2a74c98d8dd3 09:03:12 ---> d8e28624e68f 09:03:12 Step 12/12 : RUN $MAKE 09:03:12 ---> Running in 2bd0e487d39d 09:03:12 noop 09:03:12 Removing intermediate container 2bd0e487d39d 09:03:12 ---> 225d4dff4027 09:03:12 Successfully built 225d4dff4027 09:03:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:03:12 + docker inspect -f . ci-base-image-x86_64 09:03:12 . [Pipeline] withDockerContainer 09:03:13 prd-ubuntu20.04-docker-8c-8g-21947 does not seem to be running inside a container 09:03:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:13 $ docker top 3f6c5c0281fb94f482cf9e49c79c95a5bd8ce113aa408bdae52d15f7ddf8c27d -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:13 + go version 09:03:13 go version go1.17.6 linux/amd64 [Pipeline] } 09:03:13 $ docker stop --time=1 3f6c5c0281fb94f482cf9e49c79c95a5bd8ce113aa408bdae52d15f7ddf8c27d 09:03:15 $ docker rm -f 3f6c5c0281fb94f482cf9e49c79c95a5bd8ce113aa408bdae52d15f7ddf8c27d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:15 + docker inspect -f . ci-base-image-x86_64 09:03:15 . [Pipeline] withDockerContainer 09:03:15 prd-ubuntu20.04-docker-8c-8g-21947 does not seem to be running inside a container 09:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:03:15 $ docker top 3a8fe6fbe967f98ac81656142c651e2da9b02922c130316ad8c02ae8953fd50f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:03:16 + make test 09:03:16 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:03:16 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:03:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:03:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 09:03:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:03:31 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:03:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:03:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:03:35 ./bin/test-attribution-txt.sh [Pipeline] echo 09:03:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:03:35 $ docker stop --time=1 3a8fe6fbe967f98ac81656142c651e2da9b02922c130316ad8c02ae8953fd50f 09:03:37 $ docker rm -f 3a8fe6fbe967f98ac81656142c651e2da9b02922c130316ad8c02ae8953fd50f [Pipeline] // withDockerContainer [Pipeline] sh 09:03:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:03:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:39 + ls -al . 09:03:39 total 176 09:03:39 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:03 . 09:03:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:02 .. 09:03:39 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 09:02 .dockerignore 09:03:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:02 .git 09:03:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:02 .github 09:03:39 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 09:02 .gitignore 09:03:39 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:02 .golangci.yml 09:03:39 drwx------ 3 jenkins jenkins 4096 Apr 25 09:02 .semver 09:03:39 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 25 09:02 Attribution.txt 09:03:39 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 25 09:02 CHANGELOG.md 09:03:39 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 25 09:02 Dockerfile 09:03:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:02 GOVERNANCE.md 09:03:39 -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 09:02 Jenkinsfile 09:03:39 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:02 LICENSE 09:03:39 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 25 09:02 Makefile 09:03:39 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 09:02 OWNERS.md 09:03:39 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 25 09:02 README.md 09:03:39 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:02 VERSION 09:03:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:02 bin 09:03:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:02 cmd 09:03:39 -rw-r--r-- 1 jenkins jenkins 17887 Apr 25 09:03 coverage.out 09:03:39 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 25 09:02 go.mod 09:03:39 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 25 09:02 go.sum 09:03:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:02 internal 09:03:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:02 mock 09:03:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:02 snap 09:03:39 -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 09:02 version.go [Pipeline] isUnix [Pipeline] sh 09:03:39 + 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=119d050bc5ea62958bdb28bf927861272da8c4b8 --label arch=amd64 --label version=0.0.0 . 09:03:39 Sending build context to Docker daemon 5.895MB 09:03:39 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:03:39 Step 2/24 : FROM ${BASE} AS builder 09:03:39 ---> 225d4dff4027 09:03:39 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:03:39 ---> Running in 4718a3ac175c 09:03:39 Removing intermediate container 4718a3ac175c 09:03:39 ---> c85d7f497c16 09:03:39 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:03:39 ---> Running in 9d62071a369e 09:03:39 Removing intermediate container 9d62071a369e 09:03:39 ---> 5c190cb2c9a2 09:03:39 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:39 ---> Running in 598f4d5ae927 09:03:40 Removing intermediate container 598f4d5ae927 09:03:40 ---> 5c2f00bbbe46 09:03:40 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:03:40 ---> Running in 8149da8f7893 09:03:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:03:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:03:41 OK: 224 MiB in 56 packages 09:03:41 Removing intermediate container 8149da8f7893 09:03:41 ---> ea7299190aa5 09:03:41 Step 7/24 : WORKDIR /device-mqtt-go 09:03:42 ---> Running in c3c9c6785521 09:03:42 Removing intermediate container c3c9c6785521 09:03:42 ---> 451fef85d663 09:03:42 Step 8/24 : COPY go.mod vendor* ./ 09:03:42 ---> 4076b16cd0a7 09:03:42 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:42 ---> Running in 7808517426a7 09:03:43 Removing intermediate container 7808517426a7 09:03:43 ---> 535b81456a25 09:03:43 Step 10/24 : COPY . . 09:03:43 ---> f1e505cc18c3 09:03:43 Step 11/24 : ARG MAKE='make build' 09:03:43 ---> Running in f5ac114a1714 09:03:43 Removing intermediate container f5ac114a1714 09:03:43 ---> 1baa18f6924b 09:03:43 Step 12/24 : RUN $MAKE 09:03:43 ---> Running in 33a9a8d628fb 09:03:43 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 09:04:01 Removing intermediate container 33a9a8d628fb 09:04:01 ---> 757d0efd95fb 09:04:01 Step 13/24 : FROM alpine:3.14 09:04:02 3.14: Pulling from library/alpine 09:04:02 8663204ce13b: Pulling fs layer 09:04:03 8663204ce13b: Verifying Checksum 09:04:03 8663204ce13b: Download complete 09:04:03 8663204ce13b: Pull complete 09:04:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:04:03 Status: Downloaded newer image for alpine:3.14 09:04:03 ---> e04c818066af 09:04:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:04:03 ---> Running in a96a4db8792b 09:04:03 Removing intermediate container a96a4db8792b 09:04:03 ---> d0935ff65a60 09:04:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:04:03 ---> Running in 0d770d0e768e 09:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:04:03 (1/6) Installing dumb-init (1.2.5-r1) 09:04:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:04:03 (3/6) Installing libsodium (1.0.18-r0) 09:04:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:04:03 (5/6) Installing libzmq (4.3.4-r0) 09:04:03 (6/6) Installing zeromq (4.3.4-r0) 09:04:03 Executing busybox-1.33.1-r7.trigger 09:04:03 OK: 8 MiB in 20 packages 09:04:04 Removing intermediate container 0d770d0e768e 09:04:04 ---> 947465a085e4 09:04:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:04:04 ---> f8698a434957 09:04:04 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:04:04 ---> a6dac017e9c6 09:04:04 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:04:05 ---> e80ff6fcf18d 09:04:05 Step 19/24 : EXPOSE 59982 09:04:05 ---> Running in 212d49989636 09:04:05 Removing intermediate container 212d49989636 09:04:05 ---> 4c86b8109ba9 09:04:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:04:05 ---> Running in eadc0a22912d 09:04:05 Removing intermediate container eadc0a22912d 09:04:05 ---> 526647bbc0b0 09:04:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:04:05 ---> Running in fcb8f02b5588 09:04:05 Removing intermediate container fcb8f02b5588 09:04:05 ---> cfacb31f5049 09:04:05 Step 22/24 : LABEL arch=amd64 09:04:05 ---> Running in 30e2d02c6780 09:04:05 Removing intermediate container 30e2d02c6780 09:04:05 ---> 5c70181bdeb1 09:04:05 Step 23/24 : LABEL git_sha=119d050bc5ea62958bdb28bf927861272da8c4b8 09:04:05 ---> Running in 10a7103c43b4 09:04:05 Removing intermediate container 10a7103c43b4 09:04:05 ---> 996edbcc8e86 09:04:05 Step 24/24 : LABEL version=0.0.0 09:04:05 ---> Running in 11083de54886 09:04:05 Removing intermediate container 11083de54886 09:04:05 ---> 2dced550f5a3 09:04:05 [Warning] One or more build-args [ARCH] were not consumed 09:04:05 Successfully built 2dced550f5a3 09:04:05 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 09:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:06 09:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:06 latest: Pulling from edgex-lftools-log-publisher 09:04:06 5eb5b503b376: Pulling fs layer 09:04:06 5c69ac0246d0: Pulling fs layer 09:04:06 ec43610c2a17: Pulling fs layer 09:04:06 3a2ae6a8a46f: Pulling fs layer 09:04:06 33b1e0a273af: Pulling fs layer 09:04:06 5d3b04190fa2: Pulling fs layer 09:04:06 2f39f015ded8: Pulling fs layer 09:04:06 33b1e0a273af: Waiting 09:04:06 5d3b04190fa2: Waiting 09:04:06 2f39f015ded8: Waiting 09:04:06 3a2ae6a8a46f: Waiting 09:04:06 5c69ac0246d0: Verifying Checksum 09:04:06 5c69ac0246d0: Download complete 09:04:06 3a2ae6a8a46f: Verifying Checksum 09:04:06 3a2ae6a8a46f: Download complete 09:04:06 33b1e0a273af: Verifying Checksum 09:04:06 33b1e0a273af: Download complete 09:04:06 ec43610c2a17: Verifying Checksum 09:04:06 ec43610c2a17: Download complete 09:04:06 5d3b04190fa2: Verifying Checksum 09:04:06 5d3b04190fa2: Download complete 09:04:06 5eb5b503b376: Verifying Checksum 09:04:06 5eb5b503b376: Download complete 09:04:07 2f39f015ded8: Verifying Checksum 09:04:07 2f39f015ded8: Download complete 09:04:08 5eb5b503b376: Pull complete 09:04:08 5c69ac0246d0: Pull complete 09:04:08 ec43610c2a17: Pull complete 09:04:08 3a2ae6a8a46f: Pull complete 09:04:08 33b1e0a273af: Pull complete 09:04:09 5d3b04190fa2: Pull complete 09:04:13 2f39f015ded8: Pull complete 09:04:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:04:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:04:13 prd-ubuntu20.04-docker-8c-8g-21947 does not seem to be running inside a container 09:04:13 $ 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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:04:15 $ docker top 47d62f2bcb4481491026646da135bd928df19d5286389bcc2730bb1eea9fbaf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:04:15 ---> job-cost.sh 09:04:15 lf-activate-venv: SKIPPING 09:04:15 INFO: No Stack... 09:04:15 INFO: Retrieving Pricing Info for: v3-standard-8 09:04:16 INFO: Archiving Costs [Pipeline] sh 09:04:16 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv 09:04:16 + cut -d, -f6 [Pipeline] lock 09:04:16 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] 09:04:16 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] did not exist. Created. 09:04:16 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:04:17 + echo total: 0.8799999952316284 [Pipeline] stash 09:04:17 Stashed 1 file(s) [Pipeline] } 09:04:17 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:04:17 $ docker stop --time=1 47d62f2bcb4481491026646da135bd928df19d5286389bcc2730bb1eea9fbaf5 09:04:18 $ docker rm -f 47d62f2bcb4481491026646da135bd928df19d5286389bcc2730bb1eea9fbaf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:06:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21956 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws 09:06:24 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 09:06:24 Selected Git installation does not exist. Using Default 09:06:24 The recommended git tool is: NONE 09:06:31 using credential edgex-jenkins-ssh 09:06:31 Cloning the remote Git repository 09:06:31 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:06:31 > git init /w/workspace/device-mqtt-go/5 # timeout=10 09:06:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:06:31 > git --version # timeout=10 09:06:31 > git --version # 'git version 2.25.1' 09:06:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:06:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:06:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:06:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:06:33 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 119d050bc5ea62958bdb28bf927861272da8c4b8 09:06:33 Merge succeeded, producing 119d050bc5ea62958bdb28bf927861272da8c4b8 09:06:33 Checking out Revision 119d050bc5ea62958bdb28bf927861272da8c4b8 (PR-365) 09:06:33 > git config core.sparsecheckout # timeout=10 09:06:33 > git checkout -f 119d050bc5ea62958bdb28bf927861272da8c4b8 # timeout=10 09:06:33 > git remote # timeout=10 09:06:33 > git config --get remote.origin.url # timeout=10 09:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:33 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 09:06:33 > git rev-parse HEAD^{commit} # timeout=10 09:06:33 > git config core.sparsecheckout # timeout=10 09:06:33 > git checkout -f 119d050bc5ea62958bdb28bf927861272da8c4b8 # timeout=10 09:06:37 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:06:38 % Total % Received % Xferd Average Speed Time Time Time Current 09:06:38 Dload Upload Total Spent Left Speed 09:06:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 61362 0 --:--:-- --:--:-- --:--:-- 61362 [Pipeline] sh 09:06:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:06:39 + sudo tee /etc/docker/daemon.new 09:06:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:06:39 { 09:06:39 "registry-mirrors": [ 09:06:39 "https://nexus3.edgexfoundry.org:10001" 09:06:39 ], 09:06:39 "bip": "10.250.0.254/24", 09:06:39 "hosts": [ 09:06:39 "tcp://0.0.0.0:5555", 09:06:39 "unix:///var/run/docker.sock" 09:06:39 ], 09:06:39 "mtu": 1458, 09:06:39 "selinux-enabled": true, 09:06:39 "seccomp-profile": "/etc/docker/seccomp.json" 09:06:39 } [Pipeline] sh 09:06:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:06:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:58 provisioning config files... 09:06:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config4766890498990225256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:59 ---> docker-login.sh 09:06:59 nexus3.edgexfoundry.org:10001 09:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:59 Configure a credential helper to remove this warning. See 09:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:59 09:06:59 Login Succeeded 09:06:59 nexus3.edgexfoundry.org:10002 09:07:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:00 Configure a credential helper to remove this warning. See 09:07:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:00 09:07:00 Login Succeeded 09:07:00 nexus3.edgexfoundry.org:10003 09:07:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:01 Configure a credential helper to remove this warning. See 09:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:01 09:07:01 Login Succeeded 09:07:01 nexus3.edgexfoundry.org:10004 09:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:01 Configure a credential helper to remove this warning. See 09:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:01 09:07:01 Login Succeeded 09:07:01 docker.io 09:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:02 Configure a credential helper to remove this warning. See 09:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:02 09:07:02 Login Succeeded 09:07:02 ---> docker-login.sh ends [Pipeline] } 09:07:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:07:03 ========================================================= 09:07:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:07:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:07:03 + 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 . 09:07:03 Sending build context to Docker daemon 3.092MB 09:07:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:07:04 Step 2/12 : FROM ${BASE} AS builder 09:07:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:07:04 9b3977197b4f: Pulling fs layer 09:07:04 1a89e8eeedd5: Pulling fs layer 09:07:04 94645a83ff95: Pulling fs layer 09:07:04 3f3a8bcf1eab: Pulling fs layer 09:07:04 0c92f367c5e7: Pulling fs layer 09:07:04 3096ccb668a1: Pulling fs layer 09:07:04 e8cf19c19ddd: Pulling fs layer 09:07:04 a4caa8a26152: Pulling fs layer 09:07:04 3f3a8bcf1eab: Waiting 09:07:04 0c92f367c5e7: Waiting 09:07:04 3096ccb668a1: Waiting 09:07:04 e8cf19c19ddd: Waiting 09:07:04 94645a83ff95: Verifying Checksum 09:07:04 94645a83ff95: Download complete 09:07:04 1a89e8eeedd5: Download complete 09:07:04 0c92f367c5e7: Verifying Checksum 09:07:04 0c92f367c5e7: Download complete 09:07:04 3096ccb668a1: Verifying Checksum 09:07:04 3096ccb668a1: Download complete 09:07:04 e8cf19c19ddd: Download complete 09:07:04 9b3977197b4f: Download complete 09:07:04 9b3977197b4f: Pull complete 09:07:05 1a89e8eeedd5: Pull complete 09:07:05 94645a83ff95: Pull complete 09:07:06 a4caa8a26152: Verifying Checksum 09:07:06 a4caa8a26152: Download complete 09:07:06 3f3a8bcf1eab: Verifying Checksum 09:07:06 3f3a8bcf1eab: Download complete 09:07:19 3f3a8bcf1eab: Pull complete 09:07:19 0c92f367c5e7: Pull complete 09:07:19 3096ccb668a1: Pull complete 09:07:19 e8cf19c19ddd: Pull complete 09:07:25 a4caa8a26152: Pull complete 09:07:25 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:07:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:07:25 ---> 725f1c02e7f9 09:07:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:07:26 ---> Running in b34b196a7cde 09:07:26 Removing intermediate container b34b196a7cde 09:07:26 ---> d5a90f919a1d 09:07:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:07:27 ---> Running in 0ef0ef9df72b 09:07:27 Removing intermediate container 0ef0ef9df72b 09:07:27 ---> 6ac2dd1c2845 09:07:27 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:27 ---> Running in d77966b62806 09:07:29 Removing intermediate container d77966b62806 09:07:29 ---> 80042b44f300 09:07:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:29 ---> Running in 7a7844f14c77 09:07:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:07:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:07:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:07:33 (2/4) Installing libedit (20210910.3.1-r0) 09:07:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:07:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:07:33 Executing busybox-1.34.1-r3.trigger 09:07:33 OK: 224 MiB in 56 packages 09:07:34 Removing intermediate container 7a7844f14c77 09:07:34 ---> 74c08a978902 09:07:34 Step 7/12 : WORKDIR /device-mqtt-go 09:07:35 ---> Running in 0beb202fef18 09:07:35 Removing intermediate container 0beb202fef18 09:07:35 ---> c715adc4acd6 09:07:35 Step 8/12 : COPY go.mod vendor* ./ 09:07:35 ---> d4a94bd4dfb2 09:07:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:35 ---> Running in 63bee378e852 09:08:32 Removing intermediate container 63bee378e852 09:08:32 ---> e5085b63070a 09:08:32 Step 10/12 : COPY . . 09:08:32 ---> 9e545a144e78 09:08:32 Step 11/12 : ARG MAKE='make build' 09:08:32 ---> Running in cc051cff4646 09:08:32 Removing intermediate container cc051cff4646 09:08:32 ---> af4aecd63c94 09:08:32 Step 12/12 : RUN $MAKE 09:08:32 ---> Running in 23874750cc04 09:08:32 noop 09:08:32 Removing intermediate container 23874750cc04 09:08:32 ---> 7fb3b3e49237 09:08:32 Successfully built 7fb3b3e49237 09:08:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:08:32 + docker inspect -f . ci-base-image-arm64 09:08:32 . [Pipeline] withDockerContainer 09:08:33 prd-ubuntu20.04-docker-arm64-4c-16g-21956 does not seem to be running inside a container 09:08:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:08:34 $ docker top 77b3b9e0d0ba002c86785fcfdae8865032c7f36f62c9158bb9186b8e8f31ebb4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:35 + go version 09:08:35 go version go1.17.6 linux/arm64 [Pipeline] } 09:08:35 $ docker stop --time=1 77b3b9e0d0ba002c86785fcfdae8865032c7f36f62c9158bb9186b8e8f31ebb4 09:08:36 $ docker rm -f 77b3b9e0d0ba002c86785fcfdae8865032c7f36f62c9158bb9186b8e8f31ebb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:08:37 + docker inspect -f . ci-base-image-arm64 09:08:37 . [Pipeline] withDockerContainer 09:08:37 prd-ubuntu20.04-docker-arm64-4c-16g-21956 does not seem to be running inside a container 09:08:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:08:38 $ docker top 3ecd94dc2719525bb6a9905366b61d86ff5cf4d1c95fb248d3c48ec540f5f0f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:08:39 + make test 09:08:39 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:08:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:10:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:10:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 09:10:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:10:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:10:03 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:10:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:10:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:10:29 ./bin/test-attribution-txt.sh [Pipeline] echo 09:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:10:30 $ docker stop --time=1 3ecd94dc2719525bb6a9905366b61d86ff5cf4d1c95fb248d3c48ec540f5f0f3 09:10:32 $ docker rm -f 3ecd94dc2719525bb6a9905366b61d86ff5cf4d1c95fb248d3c48ec540f5f0f3 [Pipeline] // withDockerContainer [Pipeline] sh 09:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:33 Warning: overwriting stash ‘coverage-report’ 09:10:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:34 + ls -al . 09:10:34 total 172 09:10:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:10 . 09:10:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:06 .. 09:10:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 09:06 .dockerignore 09:10:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:06 .git 09:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:06 .github 09:10:34 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 09:06 .gitignore 09:10:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:06 .golangci.yml 09:10:34 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 25 09:06 Attribution.txt 09:10:34 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 25 09:06 CHANGELOG.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 25 09:06 Dockerfile 09:10:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:06 GOVERNANCE.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 09:06 Jenkinsfile 09:10:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:06 LICENSE 09:10:34 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 25 09:06 Makefile 09:10:34 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 09:06 OWNERS.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 25 09:06 README.md 09:10:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:02 VERSION 09:10:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:06 bin 09:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:06 cmd 09:10:34 -rw-r--r-- 1 jenkins jenkins 17887 Apr 25 09:09 coverage.out 09:10:34 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 25 09:06 go.mod 09:10:34 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 25 09:06 go.sum 09:10:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:06 internal 09:10:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:06 mock 09:10:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:06 snap 09:10:34 -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 09:06 version.go [Pipeline] isUnix [Pipeline] sh 09:10:34 + 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=119d050bc5ea62958bdb28bf927861272da8c4b8 --label arch=arm64 --label version=0.0.0 . 09:10:34 Sending build context to Docker daemon 3.11MB 09:10:34 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:10:34 Step 2/24 : FROM ${BASE} AS builder 09:10:34 ---> 7fb3b3e49237 09:10:34 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:10:35 ---> Running in 0079ccb7abbb 09:10:35 Removing intermediate container 0079ccb7abbb 09:10:35 ---> f1668649c7ba 09:10:35 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:10:35 ---> Running in f1b4ee985c0c 09:10:35 Removing intermediate container f1b4ee985c0c 09:10:35 ---> 0ff831f2e700 09:10:35 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:35 ---> Running in a46e6a385fee 09:10:37 Removing intermediate container a46e6a385fee 09:10:37 ---> 3072b0ebfc60 09:10:37 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:37 ---> Running in dbb137f2d1f3 09:10:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:10:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:10:40 OK: 224 MiB in 56 packages 09:10:41 Removing intermediate container dbb137f2d1f3 09:10:41 ---> 39f753cfb6ab 09:10:41 Step 7/24 : WORKDIR /device-mqtt-go 09:10:41 ---> Running in cabf61668b27 09:10:41 Removing intermediate container cabf61668b27 09:10:41 ---> f3f2050f37a6 09:10:41 Step 8/24 : COPY go.mod vendor* ./ 09:10:42 ---> ec771e7c637b 09:10:42 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:42 ---> Running in ed0609a5aece 09:10:44 Removing intermediate container ed0609a5aece 09:10:44 ---> 66c03fb9c79c 09:10:44 Step 10/24 : COPY . . 09:10:45 ---> 741c09ff5cd5 09:10:45 Step 11/24 : ARG MAKE='make build' 09:10:45 ---> Running in 9ce81578017d 09:10:45 Removing intermediate container 9ce81578017d 09:10:45 ---> 2ee2db3120d4 09:10:45 Step 12/24 : RUN $MAKE 09:10:45 ---> Running in 78967fb0c54c 09:10:46 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 09:12:53 Removing intermediate container 78967fb0c54c 09:12:53 ---> 96dadd5500db 09:12:53 Step 13/24 : FROM alpine:3.14 09:12:53 3.14: Pulling from library/alpine 09:12:53 455c02918c45: Pulling fs layer 09:12:53 455c02918c45: Verifying Checksum 09:12:53 455c02918c45: Download complete 09:12:53 455c02918c45: Pull complete 09:12:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:12:53 Status: Downloaded newer image for alpine:3.14 09:12:53 ---> ac73e934f311 09:12:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:12:53 ---> Running in db48efead1c3 09:12:53 Removing intermediate container db48efead1c3 09:12:53 ---> 85b071dbe90e 09:12:53 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:12:53 ---> Running in d6cd2d4a8213 09:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:12:53 (1/6) Installing dumb-init (1.2.5-r1) 09:12:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:12:53 (3/6) Installing libsodium (1.0.18-r0) 09:12:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:12:53 (5/6) Installing libzmq (4.3.4-r0) 09:12:53 (6/6) Installing zeromq (4.3.4-r0) 09:12:53 Executing busybox-1.33.1-r7.trigger 09:12:53 OK: 8 MiB in 20 packages 09:12:53 Removing intermediate container d6cd2d4a8213 09:12:53 ---> 4aa07045953a 09:12:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:12:53 ---> 0e577ea04407 09:12:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:12:54 ---> 462006eb3ee3 09:12:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:12:54 ---> feb3d289bf20 09:12:54 Step 19/24 : EXPOSE 59982 09:12:54 ---> Running in 9133c7217fa8 09:12:55 Removing intermediate container 9133c7217fa8 09:12:55 ---> 3696622a0789 09:12:55 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:12:55 ---> Running in 7409016e1d1b 09:12:55 Removing intermediate container 7409016e1d1b 09:12:55 ---> a5a7634decd0 09:12:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:12:55 ---> Running in a9ee7e5b524e 09:12:56 Removing intermediate container a9ee7e5b524e 09:12:56 ---> 7bc3d3c14895 09:12:56 Step 22/24 : LABEL arch=arm64 09:12:56 ---> Running in 048baf73cfbf 09:12:56 Removing intermediate container 048baf73cfbf 09:12:56 ---> bce1da646213 09:12:56 Step 23/24 : LABEL git_sha=119d050bc5ea62958bdb28bf927861272da8c4b8 09:12:56 ---> Running in a3cbc839ddf9 09:12:56 Removing intermediate container a3cbc839ddf9 09:12:56 ---> 7620142cd767 09:12:56 Step 24/24 : LABEL version=0.0.0 09:12:56 ---> Running in e3bea39d769f 09:12:57 Removing intermediate container e3bea39d769f 09:12:57 ---> 3f76f8d98706 09:12:57 [Warning] One or more build-args [ARCH] were not consumed 09:12:57 Successfully built 3f76f8d98706 09:12:57 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 09:12:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:57 09:12:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:12:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:12:58 arm64: Pulling from edgex-lftools-log-publisher 09:12:58 8998bd30e6a1: Pulling fs layer 09:12:58 04944245beec: Pulling fs layer 09:12:58 699f458cf7ca: Pulling fs layer 09:12:58 765212b225bb: Pulling fs layer 09:12:58 f23df028b6ca: Pulling fs layer 09:12:58 d65c8cfc05b1: Pulling fs layer 09:12:58 2437ff75d9bd: Pulling fs layer 09:12:58 765212b225bb: Waiting 09:12:58 f23df028b6ca: Waiting 09:12:58 d65c8cfc05b1: Waiting 09:12:58 2437ff75d9bd: Waiting 09:12:58 04944245beec: Verifying Checksum 09:12:58 04944245beec: Download complete 09:12:58 765212b225bb: Verifying Checksum 09:12:58 765212b225bb: Download complete 09:12:58 f23df028b6ca: Verifying Checksum 09:12:58 f23df028b6ca: Download complete 09:12:58 d65c8cfc05b1: Verifying Checksum 09:12:58 d65c8cfc05b1: Download complete 09:12:58 699f458cf7ca: Verifying Checksum 09:12:58 699f458cf7ca: Download complete 09:12:59 8998bd30e6a1: Verifying Checksum 09:12:59 8998bd30e6a1: Download complete 09:13:01 2437ff75d9bd: Verifying Checksum 09:13:01 2437ff75d9bd: Download complete 09:13:03 8998bd30e6a1: Pull complete 09:13:04 04944245beec: Pull complete 09:13:06 699f458cf7ca: Pull complete 09:13:06 765212b225bb: Pull complete 09:13:07 f23df028b6ca: Pull complete 09:13:07 d65c8cfc05b1: Pull complete 09:13:22 2437ff75d9bd: Pull complete 09:13:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:13:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:13:22 prd-ubuntu20.04-docker-arm64-4c-16g-21956 does not seem to be running inside a container 09:13:22 $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:13:25 $ docker top ddb7365ef14e940facb03e4aaff31774cdaaaed91c998f4773af65b8d38adfb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:26 ---> job-cost.sh 09:13:26 lf-activate-venv: SKIPPING 09:13:26 INFO: No Stack... 09:13:26 INFO: Retrieving Pricing Info for: v3-standard-4 09:13:27 INFO: Archiving Costs [Pipeline] sh 09:13:28 + cat /w/workspace/device-mqtt-go/5/archives/cost.csv 09:13:28 + cut -d, -f6 [Pipeline] lock 09:13:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] 09:13:28 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] did not exist. Created. 09:13:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:13:29 /w/workspace/device-mqtt-go/5@tmp/durable-b6466969/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:13:30 + echo total: 0.10999999940395355 [Pipeline] stash 09:13:30 Warning: overwriting stash ‘stack-cost’ 09:13:30 Stashed 1 file(s) [Pipeline] } 09:13:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:13:30 $ docker stop --time=1 ddb7365ef14e940facb03e4aaff31774cdaaaed91c998f4773af65b8d38adfb0 09:13:31 $ docker rm -f ddb7365ef14e940facb03e4aaff31774cdaaaed91c998f4773af65b8d38adfb0 [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 09:13:32 provisioning config files... 09:13:32 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5289238297887983397tmp [Pipeline] { [Pipeline] sh 09:13:32 + set +x 09:13:32 + curl -s https://codecov.io/bash 09:13:32 + bash -s -- 09:13:32 09:13:32 _____ _ 09:13:32 / ____| | | 09:13:32 | | ___ __| | ___ ___ _____ __ 09:13:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:13:32 | |___| (_) | (_| | __/ (_| (_) \ V / 09:13:32 \_____\___/ \__,_|\___|\___\___/ \_/ 09:13:32 Bash-1.0.6 09:13:32 09:13:32 09:13:32 ==> git version 2.25.1 found 09:13:32 ==> 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 09:13:32 Release-Date: 2020-01-08 09:13:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:13:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:13:32 ==> Jenkins CI detected. 09:13:32 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 09:13:32 project root: . 09:13:32 --> token set from env 09:13:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:13:32 ==> Running gcov in . (disable via -X gcov) 09:13:32 ==> Python coveragepy not found 09:13:32 ==> Searching for coverage reports in: 09:13:32 + . 09:13:32 -> Found 1 reports 09:13:32 ==> Detecting git/mercurial file structure 09:13:32 ==> Reading reports 09:13:32 + ./coverage.out bytes=17887 09:13:32 ==> Appending adjustments 09:13:32 https://docs.codecov.io/docs/fixing-reports 09:13:32 + Found adjustments 09:13:32 ==> Gzipping contents 09:13:32 4.0K /tmp/codecov.TAAP5B.gz 09:13:32 ==> Uploading reports 09:13:32 url: https://codecov.io 09:13:32 query: branch=PR-365&commit=119d050bc5ea62958bdb28bf927861272da8c4b8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 09:13:32 -> Pinging Codecov 09:13:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-365&commit=119d050bc5ea62958bdb28bf927861272da8c4b8&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 09:13:33 -> Uploading to 09:13:33 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/7D719EC7BBE17E464838252E33014C33/119d050bc5ea62958bdb28bf927861272da8c4b8/8db6f521-61fe-48b2-9d0b-709f561587c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T091333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1648c9c2eea6e4ed43bf24c687e9d9ae865fbac969c486051ca976f503b599d1 09:13:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:13:33 Dload Upload Total Spent Left Speed 09:13:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 14698 --:--:-- --:--:-- --:--:-- 14632 100 3263 0 0 100 3263 0 13944 --:--:-- --:--:-- --:--:-- 13885 09:13:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/119d050bc5ea62958bdb28bf927861272da8c4b8 [Pipeline] } 09:13:33 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 09:13:34 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] 09:13:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:13:34 total 16 09:13:34 drwxr-xr-x 3 root root 4096 Apr 25 09:04 . 09:13:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 09:04 .. 09:13:34 drwxr-xr-x 2 root root 4096 Apr 25 09:04 cost 09:13:34 -rw-r--r-- 1 root root 87 Apr 25 09:04 cost.csv 09:13:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:13:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:13:34 total 16 09:13:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:04 . 09:13:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 09:04 .. 09:13:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:04 cost 09:13:34 -rw-r--r-- 1 jenkins jenkins 87 Apr 25 09:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:13:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:13:35 ---> package-listing.sh 09:13:35 ++ facter osfamily 09:13:35 ++ tr '[:upper:]' '[:lower:]' 09:13:35 + OS_FAMILY=debian 09:13:35 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 09:13:35 + START_PACKAGES=/tmp/packages_start.txt 09:13:35 + END_PACKAGES=/tmp/packages_end.txt 09:13:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:13:35 + PACKAGES=/tmp/packages_start.txt 09:13:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 09:13:35 + PACKAGES=/tmp/packages_end.txt 09:13:35 + case "${OS_FAMILY}" in 09:13:35 + dpkg -l 09:13:35 + grep '^ii' 09:13:35 + '[' -f /tmp/packages_start.txt ']' 09:13:35 + '[' -f /tmp/packages_end.txt ']' 09:13:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:13:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 09:13:35 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ 09:13:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [Pipeline] echo 09:13:35 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:13:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:36 . [Pipeline] withDockerContainer 09:13:36 prd-ubuntu20.04-docker-8c-8g-21947 does not seem to be running inside a container 09:13:36 $ 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-365/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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:13:36 $ docker top 1327beeaa901a1736b0f81c499b12c3c684c710869cfeab1dd32d4747123acb4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:37 + touch /tmp/pre-build-complete [Pipeline] sh 09:13:37 + mkdir -p /var/log/sysstat [Pipeline] sh 09:13:37 + ls /var/log/sa-host 09:13:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:37 provisioning config files... 09:13:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config1201350632109130415tmp [Pipeline] { [Pipeline] echo 09:13:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:13:38 ---> create-netrc.sh [Pipeline] } 09:13:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:13:38 ---> python-tools-install.sh [Pipeline] echo 09:13:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:13:38 ---> sudo-logs.sh 09:13:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:13:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:13:39 ---> job-cost.sh 09:13:39 lf-activate-venv: SKIPPING 09:13:39 DEBUG: total: 0.8799999952316284 09:13:39 INFO: Retrieving Stack Cost... 09:13:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:13:40 INFO: Archiving Costs [Pipeline] echo 09:13:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:13:40 ---> logs-deploy.sh 09:13:40 lf-activate-venv: SKIPPING 09:13:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/5 09:13:40 INFO: archiving workspace using pattern(s): 09:13:41 Archives upload complete. 09:13:41 INFO: archiving logs to Nexus 09:13:42 ---> uname -a: 09:13:42 Linux prd-ubuntu20-04-docker-8c-8g-21947 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 09:13:42 09:13:42 09:13:42 ---> lscpu: 09:13:42 Architecture: x86_64 09:13:42 CPU op-mode(s): 32-bit, 64-bit 09:13:42 Byte Order: Little Endian 09:13:42 Address sizes: 40 bits physical, 48 bits virtual 09:13:42 CPU(s): 8 09:13:42 On-line CPU(s) list: 0-7 09:13:42 Thread(s) per core: 1 09:13:42 Core(s) per socket: 1 09:13:42 Socket(s): 8 09:13:42 NUMA node(s): 1 09:13:42 Vendor ID: AuthenticAMD 09:13:42 CPU family: 23 09:13:42 Model: 49 09:13:42 Model name: AMD EPYC-Rome Processor 09:13:42 Stepping: 0 09:13:42 CPU MHz: 2799.998 09:13:42 BogoMIPS: 5599.99 09:13:42 Virtualization: AMD-V 09:13:42 Hypervisor vendor: KVM 09:13:42 Virtualization type: full 09:13:42 L1d cache: 256 KiB 09:13:42 L1i cache: 256 KiB 09:13:42 L2 cache: 4 MiB 09:13:42 L3 cache: 128 MiB 09:13:42 NUMA node0 CPU(s): 0-7 09:13:42 Vulnerability Itlb multihit: Not affected 09:13:42 Vulnerability L1tf: Not affected 09:13:42 Vulnerability Mds: Not affected 09:13:42 Vulnerability Meltdown: Not affected 09:13:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:13:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:13:42 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:13:42 Vulnerability Srbds: Not affected 09:13:42 Vulnerability Tsx async abort: Not affected 09:13:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:13:42 09:13:42