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 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 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-ssh9567849782929337875.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-ssh7392155175495087929.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-ssh6342103358970092510.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-ssh1576035141069363561.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-ssh18314150011676687449.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-23594 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 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 Merge succeeded, producing f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 Checking out Revision f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 (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 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 # 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 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" > git rev-list --no-walk 119d050bc5ea62958bdb28bf927861272da8c4b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:39:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:39:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:39:54 ========================================================= 09:39:54 EdgeX Global Pipelines Version Info 09:39:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:39:55 ------------------- 09:39:55 stable info: 09:39:55 ------------------- 09:39:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:39:55 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:39:55 Message: update stable to v1.0.221 09:39:55 ------------------- 09:39:55 experimental info: 09:39:55 ------------------- 09:39:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:39:55 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 09:39:55 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:39:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1a88f2 [Pipeline] echo 09:39:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:39:56 provisioning config files... 09:39:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config4688075050659902193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:56 ---> docker-login.sh 09:39:56 nexus3.edgexfoundry.org:10001 09:39:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:56 Configure a credential helper to remove this warning. See 09:39:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:56 09:39:56 Login Succeeded 09:39:56 nexus3.edgexfoundry.org:10002 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 nexus3.edgexfoundry.org:10003 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 nexus3.edgexfoundry.org:10004 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 docker.io 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 ---> docker-login.sh ends [Pipeline] } 09:39:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:39:58 + git rev-list -1 --merges f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7~1..f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 [Pipeline] echo 09:39:58 -----------> git rev-list -1 --merges f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7~1..f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 [false] [Pipeline] sh 09:39:58 + git log --format=format:%s -1 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 [Pipeline] echo 09:39:58 ========================================================= 09:39:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:39:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:39:59 + git log --format=format:%s -1 f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 [Pipeline] echo 09:39:59 [semverPrep] GIT_COMMIT: f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5 [Pipeline] echo 09:39:59 [semverPrep] This is not a build commit. [Pipeline] sh 09:39:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:39:59 + grep -v github /etc/ssh/ssh_known_hosts 09:39:59 + [ -e /tmp/ssh_known_hosts ] 09:39:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:39:59 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 09:39:59 -a /etc/ssh/ssh_known_hosts 09:39:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:40:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:40:00 09:40:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:40:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:40:00 latest: Pulling from edgex-devops/git-semver 09:40:00 a0d0a0d46f8b: Pulling fs layer 09:40:00 3e5f54012d9b: Pulling fs layer 09:40:00 4c7163046ea9: Pulling fs layer 09:40:00 0c2d73faf560: Pulling fs layer 09:40:00 0c2d73faf560: Waiting 09:40:00 3e5f54012d9b: Download complete 09:40:00 a0d0a0d46f8b: Verifying Checksum 09:40:00 a0d0a0d46f8b: Download complete 09:40:00 0c2d73faf560: Verifying Checksum 09:40:00 0c2d73faf560: Download complete 09:40:00 4c7163046ea9: Verifying Checksum 09:40:00 4c7163046ea9: Download complete 09:40:00 a0d0a0d46f8b: Pull complete 09:40:00 3e5f54012d9b: Pull complete 09:40:01 4c7163046ea9: Pull complete 09:40:01 0c2d73faf560: Pull complete 09:40:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:40:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:40:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:40:01 prd-ubuntu20.04-docker-8c-8g-23594 does not seem to be running inside a container 09:40:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:40:02 $ docker top 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:40:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:02 [ssh-agent] Looking for ssh-agent implementation... 09:40:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:02 $ docker exec 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 ssh-agent 09:40:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNJEpkE/agent.14 09:40:02 SSH_AGENT_PID=21 09:40:02 Running ssh-add (command line suppressed) 09:40:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_294344327746623468.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_294344327746623468.key) 09:40:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:03 + git tag --points-at HEAD [Pipeline] } 09:40:03 $ docker exec --env ******** --env ******** 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 ssh-agent -k 09:40:03 unset SSH_AUTH_SOCK; 09:40:03 unset SSH_AGENT_PID; 09:40:03 echo Agent pid 21 killed; 09:40:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:40:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:40:03 [ssh-agent] Looking for ssh-agent implementation... 09:40:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:40:03 $ docker exec 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 ssh-agent 09:40:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNbLDBJ/agent.55 09:40:03 SSH_AGENT_PID=62 09:40:03 Running ssh-add (command line suppressed) 09:40:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_6078143527120813896.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_6078143527120813896.key) 09:40:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:40:04 + git semver init 09:40:04 # -> Open(): unable to determine branch for HEAD 09:40:04 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git 09:40:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 09:40:04 # $SEMVER_REMOTE_NAME = origin 09:40:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:40:04 # $SEMVER_USER_NAME = edgex-jenkins 09:40:04 # $SEMVER_BRANCH = PR-365 09:40:04 # $SEMVER_TEMP = /tmp/semver-676831562 09:40:04 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 09:40:04 # '/tmp/semver-676831562' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' 09:40:04 # -> Force: false 09:40:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } 09:40:05 $ docker exec --env ******** --env ******** 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 ssh-agent -k 09:40:05 unset SSH_AUTH_SOCK; 09:40:05 unset SSH_AGENT_PID; 09:40:05 echo Agent pid 62 killed; 09:40:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:40:05 + git semver [Pipeline] } 09:40:05 $ docker stop --time=1 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 09:40:06 $ docker rm -f 44db26bc848a05cd5409cc92ca71e9b4c59be58bd09fb6e15b0df4c12ccd9367 [Pipeline] // withDockerContainer [Pipeline] sh 09:40:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:40:07 Stashed 1 file(s) [Pipeline] echo 09:40:07 [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:40:07 provisioning config files... 09:40:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5422480482869940855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:08 ---> docker-login.sh 09:40:08 nexus3.edgexfoundry.org:10001 09:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:08 Configure a credential helper to remove this warning. See 09:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:08 09:40:08 Login Succeeded 09:40:08 nexus3.edgexfoundry.org:10002 09:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:08 Configure a credential helper to remove this warning. See 09:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:08 09:40:08 Login Succeeded 09:40:08 nexus3.edgexfoundry.org:10003 09:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:08 Configure a credential helper to remove this warning. See 09:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:08 09:40:08 Login Succeeded 09:40:08 nexus3.edgexfoundry.org:10004 09:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:08 Configure a credential helper to remove this warning. See 09:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:08 09:40:08 Login Succeeded 09:40:08 docker.io 09:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:40:08 Configure a credential helper to remove this warning. See 09:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:40:08 09:40:08 Login Succeeded 09:40:08 ---> docker-login.sh ends [Pipeline] } 09:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:40:08 ========================================================= 09:40:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:40:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:40:09 + 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:40:09 Sending build context to Docker daemon 5.887MB 09:40:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:40:09 Step 2/12 : FROM ${BASE} AS builder 09:40:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:40:09 59bf1c3509f3: Pulling fs layer 09:40:09 666ba61612fd: Pulling fs layer 09:40:09 8ed8ca486205: Pulling fs layer 09:40:09 4fe6c5a15a65: Pulling fs layer 09:40:09 22a0e8bec74d: Pulling fs layer 09:40:09 ca2b28591e48: Pulling fs layer 09:40:09 a51346096db8: Pulling fs layer 09:40:09 daebc70d1ce1: Pulling fs layer 09:40:09 0e18a0eac166: Pulling fs layer 09:40:09 22a0e8bec74d: Waiting 09:40:09 0e18a0eac166: Waiting 09:40:09 ca2b28591e48: Waiting 09:40:09 a51346096db8: Waiting 09:40:09 4fe6c5a15a65: Waiting 09:40:09 8ed8ca486205: Download complete 09:40:09 666ba61612fd: Verifying Checksum 09:40:09 666ba61612fd: Download complete 09:40:09 22a0e8bec74d: Verifying Checksum 09:40:09 22a0e8bec74d: Download complete 09:40:09 ca2b28591e48: Verifying Checksum 09:40:09 ca2b28591e48: Download complete 09:40:09 59bf1c3509f3: Verifying Checksum 09:40:09 59bf1c3509f3: Download complete 09:40:09 a51346096db8: Verifying Checksum 09:40:09 a51346096db8: Download complete 09:40:09 daebc70d1ce1: Verifying Checksum 09:40:09 daebc70d1ce1: Download complete 09:40:09 59bf1c3509f3: Pull complete 09:40:09 666ba61612fd: Pull complete 09:40:09 8ed8ca486205: Pull complete 09:40:10 0e18a0eac166: Download complete 09:40:10 4fe6c5a15a65: Download complete 09:40:14 4fe6c5a15a65: Pull complete 09:40:14 22a0e8bec74d: Pull complete 09:40:14 ca2b28591e48: Pull complete 09:40:14 a51346096db8: Pull complete 09:40:14 daebc70d1ce1: Pull complete 09:40:17 0e18a0eac166: Pull complete 09:40:17 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:40:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:40:17 ---> f018257e8ee9 09:40:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:40:18 ---> Running in f2ae6dd9f87e 09:40:18 Removing intermediate container f2ae6dd9f87e 09:40:18 ---> 7ccbcc6dd0d8 09:40:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:40:18 ---> Running in 9e6b7c4fc3f1 09:40:18 Removing intermediate container 9e6b7c4fc3f1 09:40:18 ---> 22a934b0fd62 09:40:18 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:40:18 ---> Running in ee7593bd6550 09:40:19 Removing intermediate container ee7593bd6550 09:40:19 ---> 42275c98eefa 09:40:19 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:40:19 ---> Running in 424001c89c0d 09:40:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:40:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:40:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:40:21 (2/4) Installing libedit (20210910.3.1-r0) 09:40:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:40:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:40:21 Executing busybox-1.34.1-r3.trigger 09:40:21 OK: 224 MiB in 56 packages 09:40:21 Removing intermediate container 424001c89c0d 09:40:21 ---> 17a8f9d906d4 09:40:21 Step 7/12 : WORKDIR /device-mqtt-go 09:40:21 ---> Running in c4b73dd7b6c6 09:40:21 Removing intermediate container c4b73dd7b6c6 09:40:21 ---> 3810745de35c 09:40:21 Step 8/12 : COPY go.mod vendor* ./ 09:40:21 ---> 5fdf2afa694a 09:40:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:22 ---> Running in 292791dbc4c6 09:40:22 Still waiting to schedule task 09:40:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:40:40 Removing intermediate container 292791dbc4c6 09:40:40 ---> a19583d8d962 09:40:40 Step 10/12 : COPY . . 09:40:40 ---> 3f1d7d34b4a7 09:40:40 Step 11/12 : ARG MAKE='make build' 09:40:40 ---> Running in ac6803b9c4eb 09:40:40 Removing intermediate container ac6803b9c4eb 09:40:40 ---> e4e6ef4936b0 09:40:40 Step 12/12 : RUN $MAKE 09:40:40 ---> Running in 1952e6675da8 09:40:40 noop 09:40:41 Removing intermediate container 1952e6675da8 09:40:41 ---> 215429b2ed6f 09:40:41 Successfully built 215429b2ed6f 09:40:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:40:41 + docker inspect -f . ci-base-image-x86_64 09:40:41 . [Pipeline] withDockerContainer 09:40:41 prd-ubuntu20.04-docker-8c-8g-23594 does not seem to be running inside a container 09:40:41 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:40:41 $ docker top 7ee6ab422776481592d0ef219e1b2af887d44ba9903edb914d449694bd2cb9dd -eo pid,comm [Pipeline] { [Pipeline] sh 09:40:42 + go version 09:40:42 go version go1.17.6 linux/amd64 [Pipeline] } 09:40:42 $ docker stop --time=1 7ee6ab422776481592d0ef219e1b2af887d44ba9903edb914d449694bd2cb9dd 09:40:43 $ docker rm -f 7ee6ab422776481592d0ef219e1b2af887d44ba9903edb914d449694bd2cb9dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:40:44 + docker inspect -f . ci-base-image-x86_64 09:40:44 . [Pipeline] withDockerContainer 09:40:44 prd-ubuntu20.04-docker-8c-8g-23594 does not seem to be running inside a container 09:40:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:40:44 $ docker top 8891b880e5d56211df2f097caef87d872c5bc8a647b438d221788eb155c2c88e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:40:45 + make test 09:40:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:40:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:40:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:40:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 09:40:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:41:02 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:41:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:41:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:41:07 ./bin/test-attribution-txt.sh [Pipeline] echo 09:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:41:07 $ docker stop --time=1 8891b880e5d56211df2f097caef87d872c5bc8a647b438d221788eb155c2c88e 09:41:08 $ docker rm -f 8891b880e5d56211df2f097caef87d872c5bc8a647b438d221788eb155c2c88e [Pipeline] // withDockerContainer [Pipeline] sh 09:41:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:41:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:41:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:41:10 + ls -al . 09:41:10 total 176 09:41:10 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 09:41 . 09:41:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 09:39 .. 09:41:10 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 09:39 .dockerignore 09:41:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 09:39 .git 09:41:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 09:39 .github 09:41:10 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 09:39 .gitignore 09:41:10 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 09:39 .golangci.yml 09:41:10 drwx------ 3 jenkins jenkins 4096 Apr 26 09:40 .semver 09:41:10 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 09:39 Attribution.txt 09:41:10 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 09:39 CHANGELOG.md 09:41:10 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 09:39 Dockerfile 09:41:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 09:39 GOVERNANCE.md 09:41:10 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 09:39 Jenkinsfile 09:41:10 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 09:39 LICENSE 09:41:10 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 09:39 Makefile 09:41:10 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 09:39 OWNERS.md 09:41:10 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 09:39 README.md 09:41:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 09:40 VERSION 09:41:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 09:39 bin 09:41:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 09:39 cmd 09:41:10 -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 09:40 coverage.out 09:41:10 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 09:39 go.mod 09:41:10 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 09:39 go.sum 09:41:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 09:39 internal 09:41:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 09:39 mock 09:41:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 09:39 snap 09:41:10 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 09:39 version.go [Pipeline] isUnix [Pipeline] sh 09:41:10 + 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=f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 --label arch=amd64 --label version=0.0.0 . 09:41:10 Sending build context to Docker daemon 5.906MB 09:41:10 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:41:10 Step 2/24 : FROM ${BASE} AS builder 09:41:10 ---> 215429b2ed6f 09:41:10 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:41:10 ---> Running in 10758d4af36c 09:41:11 Removing intermediate container 10758d4af36c 09:41:11 ---> 7486546a1ac9 09:41:11 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:41:11 ---> Running in e9d56fa9b2f7 09:41:11 Removing intermediate container e9d56fa9b2f7 09:41:11 ---> af19a9c8fc38 09:41:11 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:41:11 ---> Running in d8aa825420c0 09:41:11 Removing intermediate container d8aa825420c0 09:41:11 ---> 78f1bb20f9d8 09:41:11 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:12 ---> Running in cae719971699 09:41:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:41:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:41:13 OK: 224 MiB in 56 packages 09:41:13 Removing intermediate container cae719971699 09:41:13 ---> b4604b16d8c3 09:41:13 Step 7/24 : WORKDIR /device-mqtt-go 09:41:13 ---> Running in a40b5dd79b80 09:41:14 Removing intermediate container a40b5dd79b80 09:41:14 ---> d2211b46218b 09:41:14 Step 8/24 : COPY go.mod vendor* ./ 09:41:14 ---> 44415408dbfa 09:41:14 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:14 ---> Running in 08ac2ea1f8bb 09:41:15 Removing intermediate container 08ac2ea1f8bb 09:41:15 ---> 840ca8b204a2 09:41:15 Step 10/24 : COPY . . 09:41:15 ---> 07d9dacdc0bb 09:41:15 Step 11/24 : ARG MAKE='make build' 09:41:15 ---> Running in 66750bcbd913 09:41:15 Removing intermediate container 66750bcbd913 09:41:15 ---> 210abbd651d3 09:41:15 Step 12/24 : RUN $MAKE 09:41:15 ---> Running in 325ce8f9189b 09:41:15 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:41:37 Removing intermediate container 325ce8f9189b 09:41:37 ---> cf1565d38115 09:41:37 Step 13/24 : FROM alpine:3.14 09:41:37 3.14: Pulling from library/alpine 09:41:37 8663204ce13b: Pulling fs layer 09:41:37 8663204ce13b: Verifying Checksum 09:41:37 8663204ce13b: Download complete 09:41:37 8663204ce13b: Pull complete 09:41:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:41:37 Status: Downloaded newer image for alpine:3.14 09:41:37 ---> e04c818066af 09:41:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:41:37 ---> Running in 6600c28e254e 09:41:37 Removing intermediate container 6600c28e254e 09:41:37 ---> e3a65b536fad 09:41:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:41:37 ---> Running in 33750528516f 09:41:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:41:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:41:37 (1/6) Installing dumb-init (1.2.5-r1) 09:41:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:41:37 (3/6) Installing libsodium (1.0.18-r0) 09:41:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:41:37 (5/6) Installing libzmq (4.3.4-r0) 09:41:37 (6/6) Installing zeromq (4.3.4-r0) 09:41:37 Executing busybox-1.33.1-r7.trigger 09:41:37 OK: 8 MiB in 20 packages 09:41:37 Removing intermediate container 33750528516f 09:41:37 ---> b04551dc5e53 09:41:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:41:38 ---> 6f0d8f3e6276 09:41:38 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:41:38 ---> cb62bcfbb559 09:41:38 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:41:38 ---> fa4272b77db4 09:41:38 Step 19/24 : EXPOSE 59982 09:41:38 ---> Running in cd907fbcd306 09:41:38 Removing intermediate container cd907fbcd306 09:41:38 ---> 70925254c34c 09:41:38 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:41:38 ---> Running in 9791a7e494af 09:41:38 Removing intermediate container 9791a7e494af 09:41:38 ---> 65637e34f8e5 09:41:38 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:41:38 ---> Running in 4a6ac7f96a66 09:41:38 Removing intermediate container 4a6ac7f96a66 09:41:38 ---> 5ffbf4b5b6a6 09:41:38 Step 22/24 : LABEL arch=amd64 09:41:38 ---> Running in faf4193cce19 09:41:39 Removing intermediate container faf4193cce19 09:41:39 ---> 8211394b6a80 09:41:39 Step 23/24 : LABEL git_sha=f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 09:41:39 ---> Running in 4fd0297162d4 09:41:39 Removing intermediate container 4fd0297162d4 09:41:39 ---> 12e1318c8d96 09:41:39 Step 24/24 : LABEL version=0.0.0 09:41:39 ---> Running in ce184a5fb69e 09:41:39 Removing intermediate container ce184a5fb69e 09:41:39 ---> 1d8492d07f61 09:41:39 [Warning] One or more build-args [ARCH] were not consumed 09:41:39 Successfully built 1d8492d07f61 09:41:39 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:41:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:41:39 09:41:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:41:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:41:40 latest: Pulling from edgex-lftools-log-publisher 09:41:40 5eb5b503b376: Pulling fs layer 09:41:40 5c69ac0246d0: Pulling fs layer 09:41:40 ec43610c2a17: Pulling fs layer 09:41:40 3a2ae6a8a46f: Pulling fs layer 09:41:40 33b1e0a273af: Pulling fs layer 09:41:40 5d3b04190fa2: Pulling fs layer 09:41:40 2f39f015ded8: Pulling fs layer 09:41:40 33b1e0a273af: Waiting 09:41:40 3a2ae6a8a46f: Waiting 09:41:40 5d3b04190fa2: Waiting 09:41:40 2f39f015ded8: Waiting 09:41:40 5c69ac0246d0: Download complete 09:41:40 3a2ae6a8a46f: Verifying Checksum 09:41:40 3a2ae6a8a46f: Download complete 09:41:40 33b1e0a273af: Verifying Checksum 09:41:40 33b1e0a273af: Download complete 09:41:40 ec43610c2a17: Verifying Checksum 09:41:40 ec43610c2a17: Download complete 09:41:40 5d3b04190fa2: Download complete 09:41:40 5eb5b503b376: Verifying Checksum 09:41:40 5eb5b503b376: Download complete 09:41:40 2f39f015ded8: Download complete 09:41:41 5eb5b503b376: Pull complete 09:41:41 5c69ac0246d0: Pull complete 09:41:42 ec43610c2a17: Pull complete 09:41:42 3a2ae6a8a46f: Pull complete 09:41:42 33b1e0a273af: Pull complete 09:41:42 5d3b04190fa2: Pull complete 09:41:46 2f39f015ded8: Pull complete 09:41:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:41:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:41:46 prd-ubuntu20.04-docker-8c-8g-23594 does not seem to be running inside a container 09:41:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:41:48 $ docker top 1a4ef41359b3fe0e38a9cede91771e0655ab8ed20684ef1030d5e37a248bdadc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:49 ---> job-cost.sh 09:41:49 lf-activate-venv: SKIPPING 09:41:49 INFO: No Stack... 09:41:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:41:50 INFO: Archiving Costs [Pipeline] sh 09:41:50 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv 09:41:50 + cut -d, -f6 [Pipeline] lock 09:41:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] 09:41:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] did not exist. Created. 09:41:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:41:51 + echo total: 0.2199999988079071 [Pipeline] stash 09:41:51 Stashed 1 file(s) [Pipeline] } 09:41:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:41:51 $ docker stop --time=1 1a4ef41359b3fe0e38a9cede91771e0655ab8ed20684ef1030d5e37a248bdadc 09:41:52 $ docker rm -f 1a4ef41359b3fe0e38a9cede91771e0655ab8ed20684ef1030d5e37a248bdadc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:41:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23595 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws 09:41:57 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 09:41:57 Selected Git installation does not exist. Using Default 09:41:57 The recommended git tool is: NONE 09:42:04 using credential edgex-jenkins-ssh 09:42:04 Cloning the remote Git repository 09:42:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:42:04 > git init /w/workspace/device-mqtt-go/6 # timeout=10 09:42:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:42:04 > git --version # timeout=10 09:42:04 > git --version # 'git version 2.25.1' 09:42:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:06 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 09:42:06 Merge succeeded, producing f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 09:42:06 Checking out Revision f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 (PR-365) 09:42:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:42:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:42:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:42:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:06 > 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:42:06 > git config core.sparsecheckout # timeout=10 09:42:06 > git checkout -f f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 # timeout=10 09:42:06 > git remote # timeout=10 09:42:06 > git config --get remote.origin.url # timeout=10 09:42:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:06 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 09:42:06 > git rev-parse HEAD^{commit} # timeout=10 09:42:06 > git config core.sparsecheckout # timeout=10 09:42:06 > git checkout -f f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 # timeout=10 09:42:11 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:42:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:42:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:42:11 Dload Upload Total Spent Left Speed 09:42:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh 09:42:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:42:12 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 09:42:12 09:42:12 { 09:42:12 "registry-mirrors": [ 09:42:12 "https://nexus3.edgexfoundry.org:10001" 09:42:12 ], 09:42:12 "bip": "10.250.0.254/24", 09:42:12 "hosts": [ 09:42:12 "tcp://0.0.0.0:5555", 09:42:12 "unix:///var/run/docker.sock" 09:42:12 ], 09:42:12 "mtu": 1458, 09:42:12 "selinux-enabled": true, 09:42:12 "seccomp-profile": "/etc/docker/seccomp.json" 09:42:12 } [Pipeline] sh 09:42:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:42:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:32 provisioning config files... 09:42:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config3336789651288177309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:32 ---> docker-login.sh 09:42:32 nexus3.edgexfoundry.org:10001 09:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:33 Configure a credential helper to remove this warning. See 09:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:33 09:42:33 Login Succeeded 09:42:33 nexus3.edgexfoundry.org:10002 09:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:33 Configure a credential helper to remove this warning. See 09:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:33 09:42:33 Login Succeeded 09:42:33 nexus3.edgexfoundry.org:10003 09:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:34 Configure a credential helper to remove this warning. See 09:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:34 09:42:34 Login Succeeded 09:42:34 nexus3.edgexfoundry.org:10004 09:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:34 Configure a credential helper to remove this warning. See 09:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:34 09:42:34 Login Succeeded 09:42:34 docker.io 09:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:35 Configure a credential helper to remove this warning. See 09:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:35 09:42:35 Login Succeeded 09:42:35 ---> docker-login.sh ends [Pipeline] } 09:42:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:42:35 ========================================================= 09:42:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:42:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:42:36 + 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:42:36 Sending build context to Docker daemon 3.103MB 09:42:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:42:36 Step 2/12 : FROM ${BASE} AS builder 09:42:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:42:36 9b3977197b4f: Pulling fs layer 09:42:36 1a89e8eeedd5: Pulling fs layer 09:42:36 94645a83ff95: Pulling fs layer 09:42:36 3f3a8bcf1eab: Pulling fs layer 09:42:36 0c92f367c5e7: Pulling fs layer 09:42:36 3f3a8bcf1eab: Waiting 09:42:36 0c92f367c5e7: Waiting 09:42:36 3096ccb668a1: Pulling fs layer 09:42:36 e8cf19c19ddd: Pulling fs layer 09:42:36 a4caa8a26152: Pulling fs layer 09:42:36 3096ccb668a1: Waiting 09:42:36 e8cf19c19ddd: Waiting 09:42:36 a4caa8a26152: Waiting 09:42:36 94645a83ff95: Verifying Checksum 09:42:36 94645a83ff95: Download complete 09:42:36 1a89e8eeedd5: Verifying Checksum 09:42:36 1a89e8eeedd5: Download complete 09:42:36 0c92f367c5e7: Verifying Checksum 09:42:36 0c92f367c5e7: Download complete 09:42:36 3096ccb668a1: Verifying Checksum 09:42:36 3096ccb668a1: Download complete 09:42:36 9b3977197b4f: Download complete 09:42:36 e8cf19c19ddd: Verifying Checksum 09:42:36 e8cf19c19ddd: Download complete 09:42:37 9b3977197b4f: Pull complete 09:42:38 1a89e8eeedd5: Pull complete 09:42:38 94645a83ff95: Pull complete 09:42:39 a4caa8a26152: Verifying Checksum 09:42:39 a4caa8a26152: Download complete 09:42:39 3f3a8bcf1eab: Verifying Checksum 09:42:39 3f3a8bcf1eab: Download complete 09:42:52 3f3a8bcf1eab: Pull complete 09:42:52 0c92f367c5e7: Pull complete 09:42:52 3096ccb668a1: Pull complete 09:42:52 e8cf19c19ddd: Pull complete 09:42:58 a4caa8a26152: Pull complete 09:42:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:42:58 ---> 725f1c02e7f9 09:42:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:42:59 ---> Running in 1e6e99aa29a2 09:42:59 Removing intermediate container 1e6e99aa29a2 09:42:59 ---> 2f0a442ffb00 09:42:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:42:59 ---> Running in 03c6d3dc4817 09:42:59 Removing intermediate container 03c6d3dc4817 09:42:59 ---> 7b8ece665f76 09:42:59 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:42:59 ---> Running in 86c57da1ea52 09:43:01 Removing intermediate container 86c57da1ea52 09:43:01 ---> a7aeccee8a80 09:43:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:43:01 ---> Running in 14334b9622e5 09:43:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:43:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:43:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:43:13 (2/4) Installing libedit (20210910.3.1-r0) 09:43:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:43:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:43:15 Executing busybox-1.34.1-r3.trigger 09:43:15 OK: 224 MiB in 56 packages 09:43:16 Removing intermediate container 14334b9622e5 09:43:16 ---> d46e44de90b8 09:43:16 Step 7/12 : WORKDIR /device-mqtt-go 09:43:16 ---> Running in e519b1280e45 09:43:16 Removing intermediate container e519b1280e45 09:43:16 ---> 41739db898ad 09:43:16 Step 8/12 : COPY go.mod vendor* ./ 09:43:17 ---> d32b1c416cee 09:43:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:43:17 ---> Running in a615e2ee4584 09:44:04 Removing intermediate container a615e2ee4584 09:44:04 ---> fc74abad80f9 09:44:04 Step 10/12 : COPY . . 09:44:04 ---> 2175eef3146b 09:44:04 Step 11/12 : ARG MAKE='make build' 09:44:04 ---> Running in 0dedad031f02 09:44:04 Removing intermediate container 0dedad031f02 09:44:04 ---> 188b1b6ed407 09:44:04 Step 12/12 : RUN $MAKE 09:44:04 ---> Running in b77b5a97febe 09:44:04 noop 09:44:04 Removing intermediate container b77b5a97febe 09:44:04 ---> ccd6ad4dbd2c 09:44:04 Successfully built ccd6ad4dbd2c 09:44:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:44:04 + docker inspect -f . ci-base-image-arm64 09:44:04 . [Pipeline] withDockerContainer 09:44:05 prd-ubuntu20.04-docker-arm64-4c-16g-23595 does not seem to be running inside a container 09:44:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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:44:06 $ docker top fbbfb7cb4e3dec6e6f453f44643259de28be2a92241118e01397dc0ee13f7e16 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:07 + go version 09:44:07 go version go1.17.6 linux/arm64 [Pipeline] } 09:44:07 $ docker stop --time=1 fbbfb7cb4e3dec6e6f453f44643259de28be2a92241118e01397dc0ee13f7e16 09:44:08 $ docker rm -f fbbfb7cb4e3dec6e6f453f44643259de28be2a92241118e01397dc0ee13f7e16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:44:09 + docker inspect -f . ci-base-image-arm64 09:44:09 . [Pipeline] withDockerContainer 09:44:09 prd-ubuntu20.04-docker-arm64-4c-16g-23595 does not seem to be running inside a container 09:44:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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:44:11 $ docker top dd6a578ed7b4ea5d12aa6493baf18ad80e13ae06e169e7638f95667ee97d32f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:44:12 + make test 09:44:12 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:44:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:45:35 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:45:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 09:45:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:45:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:45:35 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:45:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:45:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:45:54 ./bin/test-attribution-txt.sh [Pipeline] echo 09:45:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:45:56 $ docker stop --time=1 dd6a578ed7b4ea5d12aa6493baf18ad80e13ae06e169e7638f95667ee97d32f8 09:45:58 $ docker rm -f dd6a578ed7b4ea5d12aa6493baf18ad80e13ae06e169e7638f95667ee97d32f8 [Pipeline] // withDockerContainer [Pipeline] sh 09:45:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:45:59 Warning: overwriting stash ‘coverage-report’ 09:46:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:46:00 + ls -al . 09:46:00 total 172 09:46:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 09:45 . 09:46:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 09:42 .. 09:46:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 09:42 .dockerignore 09:46:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 09:42 .git 09:46:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 09:42 .github 09:46:00 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 09:42 .gitignore 09:46:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 09:42 .golangci.yml 09:46:00 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 09:42 Attribution.txt 09:46:00 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 09:42 CHANGELOG.md 09:46:00 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 09:42 Dockerfile 09:46:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 09:42 GOVERNANCE.md 09:46:00 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 09:42 Jenkinsfile 09:46:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 09:42 LICENSE 09:46:00 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 09:42 Makefile 09:46:00 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 09:42 OWNERS.md 09:46:00 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 09:42 README.md 09:46:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 09:40 VERSION 09:46:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 09:42 bin 09:46:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 09:42 cmd 09:46:00 -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 09:45 coverage.out 09:46:00 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 09:42 go.mod 09:46:00 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 09:42 go.sum 09:46:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 09:42 internal 09:46:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 09:42 mock 09:46:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 09:42 snap 09:46:00 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 09:42 version.go [Pipeline] isUnix [Pipeline] sh 09:46:01 + 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=f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 --label arch=arm64 --label version=0.0.0 . 09:46:01 Sending build context to Docker daemon 3.121MB 09:46:01 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:46:01 Step 2/24 : FROM ${BASE} AS builder 09:46:01 ---> ccd6ad4dbd2c 09:46:01 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:46:01 ---> Running in 064a93801605 09:46:02 Removing intermediate container 064a93801605 09:46:02 ---> e7f955c3449f 09:46:02 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:46:02 ---> Running in f5ae35b48744 09:46:02 Removing intermediate container f5ae35b48744 09:46:02 ---> 425277130071 09:46:02 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:46:02 ---> Running in 674c3f349d48 09:46:04 Removing intermediate container 674c3f349d48 09:46:04 ---> 70b0f5d19c5b 09:46:04 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:46:04 ---> Running in 1627155bae07 09:46:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:46:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:46:07 OK: 224 MiB in 56 packages 09:46:07 Removing intermediate container 1627155bae07 09:46:07 ---> d61fff2c5d9d 09:46:07 Step 7/24 : WORKDIR /device-mqtt-go 09:46:08 ---> Running in ac302ebe43a6 09:46:08 Removing intermediate container ac302ebe43a6 09:46:08 ---> 04fc5a6434c2 09:46:08 Step 8/24 : COPY go.mod vendor* ./ 09:46:09 ---> 39a56067e7b4 09:46:09 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:46:09 ---> Running in 6d08f9295426 09:46:11 Removing intermediate container 6d08f9295426 09:46:11 ---> 9d4cc2a4b091 09:46:11 Step 10/24 : COPY . . 09:46:12 ---> 3f9855aa0586 09:46:12 Step 11/24 : ARG MAKE='make build' 09:46:12 ---> Running in bb42f1237144 09:46:12 Removing intermediate container bb42f1237144 09:46:12 ---> 5814674cd905 09:46:12 Step 12/24 : RUN $MAKE 09:46:12 ---> Running in 1a720ba0dd62 09:46:13 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:48:20 Removing intermediate container 1a720ba0dd62 09:48:20 ---> 49eb9c832342 09:48:20 Step 13/24 : FROM alpine:3.14 09:48:20 3.14: Pulling from library/alpine 09:48:20 455c02918c45: Pulling fs layer 09:48:20 455c02918c45: Verifying Checksum 09:48:20 455c02918c45: Download complete 09:48:20 455c02918c45: Pull complete 09:48:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:48:20 Status: Downloaded newer image for alpine:3.14 09:48:20 ---> ac73e934f311 09:48:20 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:48:20 ---> Running in 1ae2a95d7be7 09:48:20 Removing intermediate container 1ae2a95d7be7 09:48:20 ---> 78e3dc852a10 09:48:20 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:48:20 ---> Running in c46b7de53d57 09:48:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:48:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:48:20 (1/6) Installing dumb-init (1.2.5-r1) 09:48:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:48:20 (3/6) Installing libsodium (1.0.18-r0) 09:48:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:48:20 (5/6) Installing libzmq (4.3.4-r0) 09:48:20 (6/6) Installing zeromq (4.3.4-r0) 09:48:20 Executing busybox-1.33.1-r7.trigger 09:48:20 OK: 8 MiB in 20 packages 09:48:20 Removing intermediate container c46b7de53d57 09:48:20 ---> 323814ac29bc 09:48:20 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:48:20 ---> b11dde37133f 09:48:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:48:20 ---> 51f1919d0e11 09:48:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:48:20 ---> f22656ce2bdf 09:48:20 Step 19/24 : EXPOSE 59982 09:48:20 ---> Running in 75d962a2efec 09:48:20 Removing intermediate container 75d962a2efec 09:48:20 ---> 9e86ea59d180 09:48:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:48:20 ---> Running in 26ee2b0dff53 09:48:20 Removing intermediate container 26ee2b0dff53 09:48:20 ---> c732e5e8f84f 09:48:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:48:20 ---> Running in 4d20ca8e3afd 09:48:20 Removing intermediate container 4d20ca8e3afd 09:48:20 ---> 891c08f5fa7b 09:48:20 Step 22/24 : LABEL arch=arm64 09:48:20 ---> Running in e215b0e23122 09:48:20 Removing intermediate container e215b0e23122 09:48:20 ---> 13e8685db33e 09:48:20 Step 23/24 : LABEL git_sha=f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 09:48:20 ---> Running in 7a7a2c0145a1 09:48:20 Removing intermediate container 7a7a2c0145a1 09:48:20 ---> 99007e3da154 09:48:20 Step 24/24 : LABEL version=0.0.0 09:48:20 ---> Running in 952b8b2021cb 09:48:20 Removing intermediate container 952b8b2021cb 09:48:20 ---> 949670843c87 09:48:20 [Warning] One or more build-args [ARCH] were not consumed 09:48:20 Successfully built 949670843c87 09:48:20 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:48:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:48:21 09:48:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:48:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:48:21 arm64: Pulling from edgex-lftools-log-publisher 09:48:21 8998bd30e6a1: Pulling fs layer 09:48:21 04944245beec: Pulling fs layer 09:48:21 699f458cf7ca: Pulling fs layer 09:48:21 765212b225bb: Pulling fs layer 09:48:21 f23df028b6ca: Pulling fs layer 09:48:21 d65c8cfc05b1: Pulling fs layer 09:48:21 2437ff75d9bd: Pulling fs layer 09:48:21 765212b225bb: Waiting 09:48:21 f23df028b6ca: Waiting 09:48:21 d65c8cfc05b1: Waiting 09:48:21 2437ff75d9bd: Waiting 09:48:21 04944245beec: Verifying Checksum 09:48:21 04944245beec: Download complete 09:48:21 765212b225bb: Verifying Checksum 09:48:21 765212b225bb: Download complete 09:48:21 f23df028b6ca: Verifying Checksum 09:48:21 f23df028b6ca: Download complete 09:48:21 d65c8cfc05b1: Verifying Checksum 09:48:21 d65c8cfc05b1: Download complete 09:48:22 699f458cf7ca: Verifying Checksum 09:48:22 699f458cf7ca: Download complete 09:48:22 8998bd30e6a1: Verifying Checksum 09:48:22 8998bd30e6a1: Download complete 09:48:25 2437ff75d9bd: Verifying Checksum 09:48:25 2437ff75d9bd: Download complete 09:48:27 8998bd30e6a1: Pull complete 09:48:27 04944245beec: Pull complete 09:48:28 699f458cf7ca: Pull complete 09:48:29 765212b225bb: Pull complete 09:48:29 f23df028b6ca: Pull complete 09:48:29 d65c8cfc05b1: Pull complete 09:48:44 2437ff75d9bd: Pull complete 09:48:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:48:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:48:45 prd-ubuntu20.04-docker-arm64-4c-16g-23595 does not seem to be running inside a container 09:48:45 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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:48:47 $ docker top 9c11c3ec28cbe8c112ff2b3f11e5fc490fea787cd3bb35b95ba12d5d3fad574b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:48 ---> job-cost.sh 09:48:48 lf-activate-venv: SKIPPING 09:48:48 INFO: No Stack... 09:48:49 INFO: Retrieving Pricing Info for: v3-standard-4 09:48:50 INFO: Archiving Costs [Pipeline] sh 09:48:51 + cat /w/workspace/device-mqtt-go/6/archives/cost.csv 09:48:51 + cut -d, -f6 [Pipeline] lock 09:48:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] 09:48:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] did not exist. Created. 09:48:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:48:51 /w/workspace/device-mqtt-go/6@tmp/durable-4103c8e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:48:52 + echo total: 0.10999999940395355 [Pipeline] stash 09:48:52 Warning: overwriting stash ‘stack-cost’ 09:48:52 Stashed 1 file(s) [Pipeline] } 09:48:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:48:52 $ docker stop --time=1 9c11c3ec28cbe8c112ff2b3f11e5fc490fea787cd3bb35b95ba12d5d3fad574b 09:48:54 $ docker rm -f 9c11c3ec28cbe8c112ff2b3f11e5fc490fea787cd3bb35b95ba12d5d3fad574b [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:48:54 provisioning config files... 09:48:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config3831968721567341557tmp [Pipeline] { [Pipeline] sh 09:48:54 + set +x 09:48:54 + curl -s https://codecov.io/bash 09:48:54 + bash -s -- 09:48:54 09:48:54 _____ _ 09:48:54 / ____| | | 09:48:54 | | ___ __| | ___ ___ _____ __ 09:48:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:48:54 | |___| (_) | (_| | __/ (_| (_) \ V / 09:48:54 \_____\___/ \__,_|\___|\___\___/ \_/ 09:48:54 Bash-1.0.6 09:48:54 09:48:54 09:48:54 ==> git version 2.25.1 found 09:48:54 ==> 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:48:54 Release-Date: 2020-01-08 09:48:54 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:48:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:48:54 ==> Jenkins CI detected. 09:48:54 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 09:48:54 project root: . 09:48:54 --> token set from env 09:48:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:48:54 ==> Running gcov in . (disable via -X gcov) 09:48:54 ==> Python coveragepy not found 09:48:54 ==> Searching for coverage reports in: 09:48:54 + . 09:48:54 -> Found 1 reports 09:48:54 ==> Detecting git/mercurial file structure 09:48:54 ==> Reading reports 09:48:54 + ./coverage.out bytes=17887 09:48:54 ==> Appending adjustments 09:48:54 https://docs.codecov.io/docs/fixing-reports 09:48:55 + Found adjustments 09:48:55 ==> Gzipping contents 09:48:55 4.0K /tmp/codecov.pY58kF.gz 09:48:55 ==> Uploading reports 09:48:55 url: https://codecov.io 09:48:55 query: branch=PR-365&commit=f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 09:48:55 -> Pinging Codecov 09:48:55 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=f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 09:48:55 -> Uploading to 09:48:55 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7D719EC7BBE17E464838252E33014C33/f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7/4b9fffe5-7789-4b79-a0dd-db7ca0b9c5f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T094855Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=166e7de1cb24f5cd4d9ddfb5c428dac6b8032dcd8ffccc51cfd08a1b1f7c8b90 09:48:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:48:55 Dload Upload Total Spent Left Speed 09:48:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14684 --:--:-- --:--:-- --:--:-- 14618 100 3260 0 0 100 3260 0 11358 --:--:-- --:--:-- --:--:-- 11319 09:48:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f1a88f2fa4b4ba037c78f576f9b7929cbeb91de7 [Pipeline] } 09:48:55 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:48:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] 09:48:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:48:56 total 16 09:48:56 drwxr-xr-x 3 root root 4096 Apr 26 09:41 . 09:48:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 09:41 .. 09:48:56 drwxr-xr-x 2 root root 4096 Apr 26 09:41 cost 09:48:56 -rw-r--r-- 1 root root 85 Apr 26 09:41 cost.csv 09:48:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:48:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 09:48:56 total 16 09:48:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 09:41 . 09:48:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 09:41 .. 09:48:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 09:41 cost 09:48:56 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 09:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:48:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:48:57 ---> package-listing.sh 09:48:57 ++ facter osfamily 09:48:57 ++ tr '[:upper:]' '[:lower:]' 09:48:57 + OS_FAMILY=debian 09:48:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 09:48:57 + START_PACKAGES=/tmp/packages_start.txt 09:48:57 + END_PACKAGES=/tmp/packages_end.txt 09:48:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:48:57 + PACKAGES=/tmp/packages_start.txt 09:48:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 09:48:57 + PACKAGES=/tmp/packages_end.txt 09:48:57 + case "${OS_FAMILY}" in 09:48:57 + dpkg -l 09:48:57 + grep '^ii' 09:48:57 + '[' -f /tmp/packages_start.txt ']' 09:48:57 + '[' -f /tmp/packages_end.txt ']' 09:48:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:48:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 09:48:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ 09:48:57 + 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:48:58 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:48:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:48:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:58 . [Pipeline] withDockerContainer 09:48:58 prd-ubuntu20.04-docker-8c-8g-23594 does not seem to be running inside a container 09:48:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:48:59 $ docker top 0dfce38e989b6296d144ffe802799501b2554b31acb9a054bf0c2203328dac9d -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:59 + touch /tmp/pre-build-complete [Pipeline] sh 09:48:59 + mkdir -p /var/log/sysstat [Pipeline] sh 09:49:00 + ls /var/log/sa-host 09:49:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:49:00 provisioning config files... 09:49:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config7040812962385327120tmp [Pipeline] { [Pipeline] echo 09:49:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:49:00 ---> create-netrc.sh [Pipeline] } 09:49:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:49:00 ---> python-tools-install.sh [Pipeline] echo 09:49:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:49:01 ---> sudo-logs.sh 09:49:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:49:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:49:01 ---> job-cost.sh 09:49:01 lf-activate-venv: SKIPPING 09:49:01 DEBUG: total: 0.2199999988079071 09:49:01 INFO: Retrieving Stack Cost... 09:49:02 INFO: Retrieving Pricing Info for: v3-standard-8 09:49:02 INFO: Archiving Costs [Pipeline] echo 09:49:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:49:03 ---> logs-deploy.sh 09:49:03 lf-activate-venv: SKIPPING 09:49:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/6 09:49:03 INFO: archiving workspace using pattern(s): 09:49:03 Archives upload complete. 09:49:03 INFO: archiving logs to Nexus