Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (20513b6afbc710f645e7d71bd7dc8cb59a446d26) 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-ssh6447511063712144380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7555699915585249641.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15462018376569868653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh1061303148834440587.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14303371863646324544.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1987 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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 > 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 2c20566117211fad19a7b137cd5318ac2866fcb3 Checking out Revision 2c20566117211fad19a7b137cd5318ac2866fcb3 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c20566117211fad19a7b137cd5318ac2866fcb3 # timeout=10 Commit message: "Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 50d420a57018e78eb1c016c33d80009d72c0a09b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:24 ========================================================= 23:18:24 EdgeX Global Pipelines Version Info 23:18:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:25 ------------------- 23:18:25 stable info: 23:18:25 ------------------- 23:18:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:18:25 Message: update stable to v1.0.244 23:18:25 ------------------- 23:18:25 experimental info: 23:18:25 ------------------- 23:18:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:18:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c20566 [Pipeline] echo 23:18:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:26 provisioning config files... 23:18:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config4050279918350563100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:26 ---> docker-login.sh 23:18:26 nexus3.edgexfoundry.org:10001 23:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:26 Configure a credential helper to remove this warning. See 23:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:26 23:18:26 Login Succeeded 23:18:26 nexus3.edgexfoundry.org:10002 23:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:27 Configure a credential helper to remove this warning. See 23:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:27 23:18:27 Login Succeeded 23:18:27 nexus3.edgexfoundry.org:10003 23:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:27 Configure a credential helper to remove this warning. See 23:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:27 23:18:27 Login Succeeded 23:18:27 nexus3.edgexfoundry.org:10004 23:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:27 Configure a credential helper to remove this warning. See 23:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:27 23:18:27 Login Succeeded 23:18:27 docker.io 23:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:27 Configure a credential helper to remove this warning. See 23:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:27 23:18:27 Login Succeeded 23:18:27 ---> docker-login.sh ends [Pipeline] } 23:18:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:18:27 + git rev-list -1 --merges 2c20566117211fad19a7b137cd5318ac2866fcb3~1..2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo 23:18:27 -----------> git rev-list -1 --merges 2c20566117211fad19a7b137cd5318ac2866fcb3~1..2c20566117211fad19a7b137cd5318ac2866fcb3 2c20566117211fad19a7b137cd5318ac2866fcb3 23:18:27 2c20566117211fad19a7b137cd5318ac2866fcb3 [false] [Pipeline] sh 23:18:28 + git log --format=format:%s -1 2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo 23:18:28 ========================================================= 23:18:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:18:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:28 + git log --format=format:%s -1 2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo 23:18:28 [semverPrep] GIT_COMMIT: 2c20566117211fad19a7b137cd5318ac2866fcb3, Commit Message: Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD [Pipeline] echo 23:18:28 [semverPrep] This is not a build commit. [Pipeline] sh 23:18:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:28 + grep -v github /etc/ssh/ssh_known_hosts 23:18:28 + [ -e /tmp/ssh_known_hosts ] 23:18:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:18:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:18:28 + sudo tee -a /etc/ssh/ssh_known_hosts 23:18:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:29 23:18:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:29 0.1.4: Pulling from edgex-devops/py-git-semver 23:18:29 b85a868b505f: Pulling fs layer 23:18:29 e2be974225ed: Pulling fs layer 23:18:29 339a4e72a1f5: Pulling fs layer 23:18:29 988bab9f4d93: Pulling fs layer 23:18:29 1469e6f7b9e6: Pulling fs layer 23:18:29 eaf3925da568: Pulling fs layer 23:18:29 bab4dde63d76: Pulling fs layer 23:18:29 bde34c3a00c8: Pulling fs layer 23:18:29 b352a97aabf1: Pulling fs layer 23:18:29 4872d77fe225: Pulling fs layer 23:18:29 5851b861e8e6: Pulling fs layer 23:18:29 988bab9f4d93: Waiting 23:18:29 1469e6f7b9e6: Waiting 23:18:29 eaf3925da568: Waiting 23:18:29 bab4dde63d76: Waiting 23:18:29 bde34c3a00c8: Waiting 23:18:29 b352a97aabf1: Waiting 23:18:29 4872d77fe225: Waiting 23:18:29 5851b861e8e6: Waiting 23:18:29 e2be974225ed: Verifying Checksum 23:18:29 e2be974225ed: Download complete 23:18:29 988bab9f4d93: Verifying Checksum 23:18:29 988bab9f4d93: Download complete 23:18:29 1469e6f7b9e6: Verifying Checksum 23:18:29 1469e6f7b9e6: Download complete 23:18:29 339a4e72a1f5: Verifying Checksum 23:18:29 339a4e72a1f5: Download complete 23:18:29 eaf3925da568: Verifying Checksum 23:18:29 eaf3925da568: Download complete 23:18:29 bde34c3a00c8: Verifying Checksum 23:18:29 bde34c3a00c8: Download complete 23:18:29 b352a97aabf1: Download complete 23:18:29 4872d77fe225: Verifying Checksum 23:18:29 4872d77fe225: Download complete 23:18:29 5851b861e8e6: Verifying Checksum 23:18:29 5851b861e8e6: Download complete 23:18:29 b85a868b505f: Verifying Checksum 23:18:29 b85a868b505f: Download complete 23:18:30 bab4dde63d76: Verifying Checksum 23:18:30 bab4dde63d76: Download complete 23:18:31 b85a868b505f: Pull complete 23:18:31 e2be974225ed: Pull complete 23:18:31 339a4e72a1f5: Pull complete 23:18:31 988bab9f4d93: Pull complete 23:18:32 1469e6f7b9e6: Pull complete 23:18:32 eaf3925da568: Pull complete 23:18:34 bab4dde63d76: Pull complete 23:18:34 bde34c3a00c8: Pull complete 23:18:34 b352a97aabf1: Pull complete 23:18:34 4872d77fe225: Pull complete 23:18:34 5851b861e8e6: Pull complete 23:18:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:18:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:34 prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container 23:18:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:18:37 $ docker top 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 -eo pid,comm 23:18:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:18:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:38 [ssh-agent] Looking for ssh-agent implementation... 23:18:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:38 $ docker exec 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent 23:18:38 SSH_AUTH_SOCK=/tmp/ssh-65xvnpkCeNCT/agent.33 23:18:38 SSH_AGENT_PID=39 23:18:38 Running ssh-add (command line suppressed) 23:18:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8782286629339733539.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8782286629339733539.key) 23:18:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:38 + git tag --points-at HEAD [Pipeline] } 23:18:38 $ docker exec --env ******** --env ******** 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent -k 23:18:38 unset SSH_AUTH_SOCK; 23:18:38 unset SSH_AGENT_PID; 23:18:38 echo Agent pid 39 killed; 23:18:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:38 [ssh-agent] Looking for ssh-agent implementation... 23:18:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:38 $ docker exec 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent 23:18:39 SSH_AUTH_SOCK=/tmp/ssh-paNiXtRc5jke/agent.71 23:18:39 SSH_AGENT_PID=77 23:18:39 Running ssh-add (command line suppressed) 23:18:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1304155312656864048.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1304155312656864048.key) 23:18:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:39 + git semver init 23:18:39 2023-01-11 23:18:39,751 [run_init] DEBUG init version:0.0.0 force:False 23:18:39 2023-01-11 23:18:39,753 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 23:18:39 2023-01-11 23:18:39,753 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 23:18:39 2023-01-11 23:18:39,753 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) 23:18:40 2023-01-11 23:18:40,607 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude 23:18:40 2023-01-11 23:18:40,608 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False 23:18:40 2023-01-11 23:18:40,608 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 23:18:40 2023-01-11 23:18:40,612 [execute] INFO git cat-file --batch-check 23:18:40 2023-01-11 23:18:40,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 23:18:40 2023-01-11 23:18:40,619 [execute] INFO git cat-file --batch 23:18:40 2023-01-11 23:18:40,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 23:18:40 2023-01-11 23:18:40,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 23:18:40 0.0.0 [Pipeline] } 23:18:40 $ docker exec --env ******** --env ******** 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent -k 23:18:40 unset SSH_AUTH_SOCK; 23:18:40 unset SSH_AGENT_PID; 23:18:40 echo Agent pid 77 killed; 23:18:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:41 + git semver [Pipeline] } 23:18:41 $ docker stop --time=1 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 23:18:42 $ docker rm -f --volumes 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:43 Stashed 1 file(s) [Pipeline] echo 23:18:43 [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 23:18:43 provisioning config files... 23:18:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config10996787852788292670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:43 ---> docker-login.sh 23:18:43 nexus3.edgexfoundry.org:10001 23:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:43 Configure a credential helper to remove this warning. See 23:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:43 23:18:43 Login Succeeded 23:18:43 nexus3.edgexfoundry.org:10002 23:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:43 Configure a credential helper to remove this warning. See 23:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:43 23:18:43 Login Succeeded 23:18:43 nexus3.edgexfoundry.org:10003 23:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:43 Configure a credential helper to remove this warning. See 23:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:43 23:18:43 Login Succeeded 23:18:43 nexus3.edgexfoundry.org:10004 23:18:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:43 Configure a credential helper to remove this warning. See 23:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:43 23:18:43 Login Succeeded 23:18:43 docker.io 23:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:44 Configure a credential helper to remove this warning. See 23:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:44 23:18:44 Login Succeeded 23:18:44 ---> docker-login.sh ends [Pipeline] } 23:18:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:44 ========================================================= 23:18:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:18:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:18:44 Sending build context to Docker daemon 6.343MB 23:18:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:18:44 Step 2/12 : FROM ${BASE} AS builder 23:18:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:18:44 213ec9aee27d: Pulling fs layer 23:18:44 4583459ba037: Pulling fs layer 23:18:44 93c1e223e6f2: Pulling fs layer 23:18:44 53926ce57604: Pulling fs layer 23:18:44 21b2b0c7a3f4: Pulling fs layer 23:18:44 22ff95d597cd: Pulling fs layer 23:18:44 12d6caf4c0d1: Pulling fs layer 23:18:44 96b7cbca73a9: Pulling fs layer 23:18:44 a7acece74701: Pulling fs layer 23:18:44 22ff95d597cd: Waiting 23:18:44 12d6caf4c0d1: Waiting 23:18:44 96b7cbca73a9: Waiting 23:18:44 a7acece74701: Waiting 23:18:44 53926ce57604: Waiting 23:18:44 21b2b0c7a3f4: Waiting 23:18:44 93c1e223e6f2: Verifying Checksum 23:18:44 93c1e223e6f2: Download complete 23:18:44 4583459ba037: Verifying Checksum 23:18:44 4583459ba037: Download complete 23:18:44 21b2b0c7a3f4: Verifying Checksum 23:18:44 21b2b0c7a3f4: Download complete 23:18:44 22ff95d597cd: Download complete 23:18:44 213ec9aee27d: Verifying Checksum 23:18:44 12d6caf4c0d1: Verifying Checksum 23:18:44 12d6caf4c0d1: Download complete 23:18:44 213ec9aee27d: Pull complete 23:18:45 4583459ba037: Pull complete 23:18:45 93c1e223e6f2: Pull complete 23:18:45 a7acece74701: Verifying Checksum 23:18:45 a7acece74701: Download complete 23:18:45 96b7cbca73a9: Verifying Checksum 23:18:45 96b7cbca73a9: Download complete 23:18:45 53926ce57604: Verifying Checksum 23:18:45 53926ce57604: Download complete 23:18:49 53926ce57604: Pull complete 23:18:49 21b2b0c7a3f4: Pull complete 23:18:49 22ff95d597cd: Pull complete 23:18:49 12d6caf4c0d1: Pull complete 23:18:51 96b7cbca73a9: Pull complete 23:18:52 a7acece74701: Pull complete 23:18:52 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:18:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:18:52 ---> db6d94c90886 23:18:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:18:58 ---> Running in ddcb57d6c6e7 23:18:58 Removing intermediate container ddcb57d6c6e7 23:18:58 ---> 4a37c7800783 23:18:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:58 ---> Running in 54c79dd4244e 23:18:58 Removing intermediate container 54c79dd4244e 23:18:58 ---> b87818a4a721 23:18:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:58 ---> Running in 1c210bc281ee 23:18:58 Removing intermediate container 1c210bc281ee 23:18:58 ---> e4b26ba44942 23:18:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:18:58 ---> Running in 966c7074f418 23:18:58 Removing intermediate container 966c7074f418 23:18:58 ---> 9020ad7d3133 23:18:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:58 ---> Running in e18f7f8545e2 23:18:58 Still waiting to schedule task 23:18:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1988’ is offline 23:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:18:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:18:58 (2/4) Installing libedit (20210910.3.1-r0) 23:18:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:18:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:18:59 Executing busybox-1.35.0-r17.trigger 23:18:59 OK: 216 MiB in 55 packages 23:18:59 Removing intermediate container e18f7f8545e2 23:18:59 ---> fbf777a87230 23:18:59 Step 8/12 : WORKDIR /device-mqtt-go 23:18:59 ---> Running in 21c21732e68e 23:18:59 Removing intermediate container 21c21732e68e 23:18:59 ---> 07555dd2b4ec 23:18:59 Step 9/12 : COPY go.mod vendor* ./ 23:18:59 ---> 2fc54fb88f14 23:18:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:59 ---> Running in 7953f80cc986 23:19:26 Removing intermediate container 7953f80cc986 23:19:26 ---> 354da39b11e2 23:19:26 Step 11/12 : COPY . . 23:19:26 ---> 9a46533ae02d 23:19:26 Step 12/12 : RUN $MAKE 23:19:26 ---> Running in 8619c36ba8a9 23:19:26 noop 23:19:26 Removing intermediate container 8619c36ba8a9 23:19:26 ---> 6af33c27ccbc 23:19:26 Successfully built 6af33c27ccbc 23:19:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:26 + docker inspect -f . ci-base-image-x86_64 23:19:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:26 prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container 23:19:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat 23:19:27 $ docker top 2f715d285018280d5d480aefe67d3d616e2a370e4b5cdc76d85d7e9fd07ba155 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:27 + go version 23:19:27 go version go1.18.7 linux/amd64 [Pipeline] } 23:19:27 $ docker stop --time=1 2f715d285018280d5d480aefe67d3d616e2a370e4b5cdc76d85d7e9fd07ba155 23:19:28 $ docker rm -f --volumes 2f715d285018280d5d480aefe67d3d616e2a370e4b5cdc76d85d7e9fd07ba155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:29 + docker inspect -f . ci-base-image-x86_64 23:19:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:29 prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container 23:19:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat 23:19:29 $ docker top ab1156018fb0b7480cc1b076d2633b8e18252cd48db7252d2261146595830dd0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh 23:19:30 + make test 23:19:30 go test ./... -coverprofile=coverage.out ./... 23:19:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:19:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:19:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 23:19:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:19:46 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:19:46 go vet ./... 23:19:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:50 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:50 $ docker stop --time=1 ab1156018fb0b7480cc1b076d2633b8e18252cd48db7252d2261146595830dd0 23:19:52 $ docker rm -f --volumes ab1156018fb0b7480cc1b076d2633b8e18252cd48db7252d2261146595830dd0 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:19:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:54 + ls -al . 23:19:54 total 192 23:19:54 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 23:19 . 23:19:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:18 .. 23:19:54 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 23:18 .dockerignore 23:19:54 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 23:19 .git 23:19:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:18 .github 23:19:54 -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 23:18 .gitignore 23:19:54 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 23:18 .golangci.yml 23:19:54 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 23:18 .semver 23:19:54 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 23:18 Attribution.txt 23:19:54 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 23:18 CHANGELOG.md 23:19:54 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 23:18 Dockerfile 23:19:54 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 23:18 GOVERNANCE.md 23:19:54 -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 23:18 Jenkinsfile 23:19:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 23:18 LICENSE 23:19:54 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 23:18 Makefile 23:19:54 -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 23:18 OWNERS.md 23:19:54 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 23:18 README.md 23:19:54 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 23:18 VERSION 23:19:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:18 bin 23:19:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:18 cmd 23:19:54 -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 23:19 coverage.out 23:19:54 -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 23:18 go.mod 23:19:54 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 23:18 go.sum 23:19:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:18 internal 23:19:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:18 mock 23:19:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:18 snap 23:19:54 -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:54 + 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=2c20566117211fad19a7b137cd5318ac2866fcb3 --label arch=amd64 --label version=0.0.0 . 23:19:54 Sending build context to Docker daemon 6.362MB 23:19:54 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:19:54 Step 2/24 : FROM ${BASE} AS builder 23:19:54 ---> 6af33c27ccbc 23:19:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:19:54 ---> Running in 9e79e5901c47 23:19:54 Removing intermediate container 9e79e5901c47 23:19:54 ---> d470f1178843 23:19:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:54 ---> Running in 855e142c9b5f 23:19:54 Removing intermediate container 855e142c9b5f 23:19:54 ---> 896b26997625 23:19:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:54 ---> Running in c45d08041771 23:19:54 Removing intermediate container c45d08041771 23:19:54 ---> 7e643b7503ab 23:19:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:19:54 ---> Running in 2c5fcb1994c0 23:19:54 Removing intermediate container 2c5fcb1994c0 23:19:54 ---> e2b7cfc30278 23:19:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:54 ---> Running in 71e621b0e40c 23:19:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:19:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:19:55 OK: 216 MiB in 55 packages 23:19:55 Removing intermediate container 71e621b0e40c 23:19:55 ---> c44f5ca6f0f7 23:19:55 Step 8/24 : WORKDIR /device-mqtt-go 23:19:55 ---> Running in b57af492bc3e 23:19:55 Removing intermediate container b57af492bc3e 23:19:55 ---> d63b3b9559b3 23:19:55 Step 9/24 : COPY go.mod vendor* ./ 23:19:56 ---> fa6b8b16342c 23:19:56 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:56 ---> Running in 43b0f6bdc79f 23:19:56 Removing intermediate container 43b0f6bdc79f 23:19:56 ---> 23305ed7aae8 23:19:56 Step 11/24 : COPY . . 23:19:56 ---> 47694a49e231 23:19:56 Step 12/24 : RUN $MAKE 23:19:56 ---> Running in 485e51811480 23:19:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:20:19 Removing intermediate container 485e51811480 23:20:19 ---> 23375b5df160 23:20:19 Step 13/24 : FROM alpine:3.16 23:20:19 3.16: Pulling from library/alpine 23:20:19 ca7dd9ec2225: Pulling fs layer 23:20:19 ca7dd9ec2225: Verifying Checksum 23:20:19 ca7dd9ec2225: Download complete 23:20:19 ca7dd9ec2225: Pull complete 23:20:19 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:20:19 Status: Downloaded newer image for alpine:3.16 23:20:19 ---> bfe296a52501 23:20:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:20:19 ---> Running in d3b4fc30a711 23:20:19 Removing intermediate container d3b4fc30a711 23:20:19 ---> d147194cfd7b 23:20:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:20:19 ---> Running in e461be7a7649 23:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:20:19 (1/1) Installing dumb-init (1.2.5-r1) 23:20:19 Executing busybox-1.35.0-r17.trigger 23:20:19 OK: 6 MiB in 15 packages 23:20:19 Removing intermediate container e461be7a7649 23:20:19 ---> 44573cc90009 23:20:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:20:19 ---> 8d6127d11643 23:20:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:20:19 ---> 37053cbabb2d 23:20:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:20:19 ---> 91a5507e6b01 23:20:19 Step 19/24 : EXPOSE 59982 23:20:19 ---> Running in d187f1f5ec68 23:20:19 Removing intermediate container d187f1f5ec68 23:20:19 ---> fbcaa4fa5e3d 23:20:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:20:19 ---> Running in 87063fead6f2 23:20:19 Removing intermediate container 87063fead6f2 23:20:19 ---> 14b036d9dbce 23:20:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:20:19 ---> Running in 291d2a266cad 23:20:20 Removing intermediate container 291d2a266cad 23:20:20 ---> 6a4af40126b8 23:20:20 Step 22/24 : LABEL arch=amd64 23:20:20 ---> Running in 0e8cee9de4fe 23:20:20 Removing intermediate container 0e8cee9de4fe 23:20:20 ---> 917360a4de59 23:20:20 Step 23/24 : LABEL git_sha=2c20566117211fad19a7b137cd5318ac2866fcb3 23:20:20 ---> Running in 89d5fdbadf54 23:20:20 Removing intermediate container 89d5fdbadf54 23:20:20 ---> 094151f3825f 23:20:20 Step 24/24 : LABEL version=0.0.0 23:20:20 ---> Running in fd18ae423e92 23:20:20 Removing intermediate container fd18ae423e92 23:20:20 ---> f6b5c1d0c9c3 23:20:20 [Warning] One or more build-args [ARCH] were not consumed 23:20:20 Successfully built f6b5c1d0c9c3 23:20:20 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 23:20:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:20 23:20:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:21 latest: Pulling from edgex-lftools-log-publisher 23:20:21 5eb5b503b376: Pulling fs layer 23:20:21 5c69ac0246d0: Pulling fs layer 23:20:21 ec43610c2a17: Pulling fs layer 23:20:21 3a2ae6a8a46f: Pulling fs layer 23:20:21 33b1e0a273af: Pulling fs layer 23:20:21 5d3b04190fa2: Pulling fs layer 23:20:21 2f39f015ded8: Pulling fs layer 23:20:21 3a2ae6a8a46f: Waiting 23:20:21 33b1e0a273af: Waiting 23:20:21 5d3b04190fa2: Waiting 23:20:21 2f39f015ded8: Waiting 23:20:21 5c69ac0246d0: Verifying Checksum 23:20:21 5c69ac0246d0: Download complete 23:20:21 3a2ae6a8a46f: Download complete 23:20:21 33b1e0a273af: Verifying Checksum 23:20:21 33b1e0a273af: Download complete 23:20:21 5d3b04190fa2: Download complete 23:20:21 ec43610c2a17: Download complete 23:20:21 5eb5b503b376: Verifying Checksum 23:20:21 5eb5b503b376: Download complete 23:20:22 2f39f015ded8: Download complete 23:20:22 5eb5b503b376: Pull complete 23:20:22 5c69ac0246d0: Pull complete 23:20:23 ec43610c2a17: Pull complete 23:20:23 3a2ae6a8a46f: Pull complete 23:20:23 33b1e0a273af: Pull complete 23:20:23 5d3b04190fa2: Pull complete 23:20:27 2f39f015ded8: Pull complete 23:20:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:28 prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container 23:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 23:20:31 $ docker top 43d36a95ec2de94646b266903025befd6d5c9233de2b301a79f667b3b5c58b28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:31 ---> job-cost.sh 23:20:31 lf-activate-venv: SKIPPING 23:20:31 INFO: No Stack... 23:20:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:32 INFO: Archiving Costs [Pipeline] sh 23:20:32 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv 23:20:32 + cut -d, -f6 [Pipeline] lock 23:20:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] 23:20:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] did not exist. Created. 23:20:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:33 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:33 Stashed 1 file(s) [Pipeline] } 23:20:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:33 $ docker stop --time=1 43d36a95ec2de94646b266903025befd6d5c9233de2b301a79f667b3b5c58b28 23:20:34 $ docker rm -f --volumes 43d36a95ec2de94646b266903025befd6d5c9233de2b301a79f667b3b5c58b28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:21:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1989 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws 23:21:27 Running in /w/workspace/device-mqtt-go/10 [Pipeline] { [Pipeline] checkout 23:21:27 Selected Git installation does not exist. Using Default 23:21:27 The recommended git tool is: NONE 23:21:33 using credential edgex-jenkins-ssh 23:21:33 Cloning the remote Git repository 23:21:33 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:21:33 > git init /w/workspace/device-mqtt-go/10 # timeout=10 23:21:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:34 > git --version # timeout=10 23:21:34 > git --version # 'git version 2.25.1' 23:21:34 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:21:36 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 23:21:36 Merge succeeded, producing 63e1f520a81e698fffa9969692564bc58affcc9c 23:21:36 Checking out Revision 63e1f520a81e698fffa9969692564bc58affcc9c (PR-429) 23:21:36 > git config core.sparsecheckout # timeout=10 23:21:36 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 23:21:36 > git remote # timeout=10 23:21:36 > git config --get remote.origin.url # timeout=10 23:21:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:36 > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 23:21:36 > git rev-parse HEAD^{commit} # timeout=10 23:21:36 > git config core.sparsecheckout # timeout=10 23:21:36 > git checkout -f 63e1f520a81e698fffa9969692564bc58affcc9c # timeout=10 23:21:40 Commit message: "Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD" 23:21:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:40 > git rev-list --no-walk 50d420a57018e78eb1c016c33d80009d72c0a09b # timeout=10 23:21:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:21:41 % Total % Received % Xferd Average Speed Time Time Time Current 23:21:41 Dload Upload Total Spent Left Speed 23:21:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 23:21:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:21:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:21:42 + sudo tee /etc/docker/daemon.new 23:21:42 { 23:21:42 "registry-mirrors": [ 23:21:42 "https://nexus3.edgexfoundry.org:10001" 23:21:42 ], 23:21:42 "bip": "10.250.0.254/24", 23:21:42 "hosts": [ 23:21:42 "tcp://0.0.0.0:5555", 23:21:42 "unix:///var/run/docker.sock" 23:21:42 ], 23:21:42 "mtu": 1458, 23:21:42 "selinux-enabled": true, 23:21:42 "seccomp-profile": "/etc/docker/seccomp.json" 23:21:42 } [Pipeline] sh 23:21:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:21:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:01 provisioning config files... 23:22:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config15518400066874230523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:01 ---> docker-login.sh 23:22:01 nexus3.edgexfoundry.org:10001 23:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:02 Configure a credential helper to remove this warning. See 23:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:02 23:22:02 Login Succeeded 23:22:02 nexus3.edgexfoundry.org:10002 23:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:02 Configure a credential helper to remove this warning. See 23:22:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:02 23:22:02 Login Succeeded 23:22:02 nexus3.edgexfoundry.org:10003 23:22:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:03 Configure a credential helper to remove this warning. See 23:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:03 23:22:03 Login Succeeded 23:22:03 nexus3.edgexfoundry.org:10004 23:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:03 Configure a credential helper to remove this warning. See 23:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:03 23:22:03 Login Succeeded 23:22:03 docker.io 23:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:03 Configure a credential helper to remove this warning. See 23:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:03 23:22:03 Login Succeeded 23:22:03 ---> docker-login.sh ends [Pipeline] } 23:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:04 ========================================================= 23:22:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:22:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:22:04 Sending build context to Docker daemon 3.295MB 23:22:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:22:04 Step 2/12 : FROM ${BASE} AS builder 23:22:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:22:05 9b18e9b68314: Pulling fs layer 23:22:05 35d82f9e3411: Pulling fs layer 23:22:05 e16973657156: Pulling fs layer 23:22:05 fc693d55d65f: Pulling fs layer 23:22:05 7e9fc2657dce: Pulling fs layer 23:22:05 dda99020689f: Pulling fs layer 23:22:05 db1c61fa0a46: Pulling fs layer 23:22:05 891c053d2c06: Pulling fs layer 23:22:05 fc693d55d65f: Waiting 23:22:05 7e9fc2657dce: Waiting 23:22:05 dda99020689f: Waiting 23:22:05 891c053d2c06: Waiting 23:22:05 db1c61fa0a46: Waiting 23:22:05 e16973657156: Verifying Checksum 23:22:05 e16973657156: Download complete 23:22:05 35d82f9e3411: Verifying Checksum 23:22:05 35d82f9e3411: Download complete 23:22:05 7e9fc2657dce: Verifying Checksum 23:22:05 7e9fc2657dce: Download complete 23:22:05 dda99020689f: Verifying Checksum 23:22:05 dda99020689f: Download complete 23:22:05 9b18e9b68314: Verifying Checksum 23:22:05 9b18e9b68314: Download complete 23:22:06 9b18e9b68314: Pull complete 23:22:06 891c053d2c06: Verifying Checksum 23:22:06 891c053d2c06: Download complete 23:22:06 35d82f9e3411: Pull complete 23:22:07 e16973657156: Pull complete 23:22:07 db1c61fa0a46: Verifying Checksum 23:22:07 db1c61fa0a46: Download complete 23:22:08 fc693d55d65f: Verifying Checksum 23:22:08 fc693d55d65f: Download complete 23:22:20 fc693d55d65f: Pull complete 23:22:21 7e9fc2657dce: Pull complete 23:22:21 dda99020689f: Pull complete 23:22:28 db1c61fa0a46: Pull complete 23:22:30 891c053d2c06: Pull complete 23:22:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:22:30 ---> f96f9c87975a 23:22:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:22:31 ---> Running in ce337643ebc7 23:22:31 Removing intermediate container ce337643ebc7 23:22:31 ---> 04f76aa4d0b1 23:22:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:22:32 ---> Running in d9ffc111c815 23:22:32 Removing intermediate container d9ffc111c815 23:22:32 ---> 67044b0b1f5d 23:22:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:22:32 ---> Running in fe7004dd9468 23:22:32 Removing intermediate container fe7004dd9468 23:22:32 ---> 4a08e312fed4 23:22:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:22:32 ---> Running in d5445502ff88 23:22:33 Removing intermediate container d5445502ff88 23:22:33 ---> 5dc392b04c2b 23:22:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:22:33 ---> Running in df7587448d0e 23:22:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:22:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:22:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:22:36 (2/4) Installing libedit (20210910.3.1-r0) 23:22:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:22:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:22:36 Executing busybox-1.35.0-r17.trigger 23:22:36 OK: 226 MiB in 55 packages 23:22:37 Removing intermediate container df7587448d0e 23:22:37 ---> 4d13a623b62b 23:22:37 Step 8/12 : WORKDIR /device-mqtt-go 23:22:37 ---> Running in e131ce86ef23 23:22:37 Removing intermediate container e131ce86ef23 23:22:37 ---> f6e053b7b729 23:22:37 Step 9/12 : COPY go.mod vendor* ./ 23:22:38 ---> 2c073033dc61 23:22:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:22:38 ---> Running in cee3605e1aaf 23:23:34 Removing intermediate container cee3605e1aaf 23:23:34 ---> 00de543c2ed5 23:23:34 Step 11/12 : COPY . . 23:23:34 ---> 5fb0cc4e6161 23:23:34 Step 12/12 : RUN $MAKE 23:23:35 ---> Running in 4df7ab232dfb 23:23:36 noop 23:23:36 Removing intermediate container 4df7ab232dfb 23:23:36 ---> 96ef0294273f 23:23:36 Successfully built 96ef0294273f 23:23:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:37 + docker inspect -f . ci-base-image-arm64 23:23:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:37 prd-ubuntu20.04-docker-arm64-4c-16g-1989 does not seem to be running inside a container 23:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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 ******** ci-base-image-arm64 cat 23:23:39 $ docker top 7f28134256fea386159aaf881aa26d67e8ca3d05475e0cf5cf56344bd17f81dc -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:40 + go version 23:23:40 go version go1.18.7 linux/arm64 [Pipeline] } 23:23:40 $ docker stop --time=1 7f28134256fea386159aaf881aa26d67e8ca3d05475e0cf5cf56344bd17f81dc 23:23:42 $ docker rm -f --volumes 7f28134256fea386159aaf881aa26d67e8ca3d05475e0cf5cf56344bd17f81dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:42 + docker inspect -f . ci-base-image-arm64 23:23:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:42 prd-ubuntu20.04-docker-arm64-4c-16g-1989 does not seem to be running inside a container 23:23:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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 ******** ci-base-image-arm64 cat 23:23:44 $ docker top 5f412bc033e4fd71862893c3572f82eedaa9b07ec51d3e0b7346401607a9b6c4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:44 + git config --global --add safe.directory /w/workspace/device-mqtt-go/10 [Pipeline] fileExists [Pipeline] sh 23:23:45 + make test 23:23:45 go test ./... -coverprofile=coverage.out ./... 23:23:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:25:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:25:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 21.8% of statements 23:25:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:25:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:25:09 go vet ./... 23:25:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:31 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:31 $ docker stop --time=1 5f412bc033e4fd71862893c3572f82eedaa9b07ec51d3e0b7346401607a9b6c4 23:25:33 $ docker rm -f --volumes 5f412bc033e4fd71862893c3572f82eedaa9b07ec51d3e0b7346401607a9b6c4 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:34 Warning: overwriting stash ‘coverage-report’ 23:25:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:35 + ls -al . 23:25:35 total 188 23:25:35 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 23:23 . 23:25:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:21 .. 23:25:35 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 23:21 .dockerignore 23:25:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 23:21 .git 23:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:21 .github 23:25:35 -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 23:21 .gitignore 23:25:35 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 23:21 .golangci.yml 23:25:35 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 23:21 Attribution.txt 23:25:35 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 23:21 CHANGELOG.md 23:25:35 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 23:21 Dockerfile 23:25:35 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 23:21 GOVERNANCE.md 23:25:35 -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 23:21 Jenkinsfile 23:25:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 23:21 LICENSE 23:25:35 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 23:21 Makefile 23:25:35 -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 23:21 OWNERS.md 23:25:35 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 23:21 README.md 23:25:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 23:18 VERSION 23:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:21 bin 23:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:21 cmd 23:25:35 -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 23:25 coverage.out 23:25:35 -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 23:21 go.mod 23:25:35 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 23:21 go.sum 23:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:21 internal 23:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:21 mock 23:25:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:21 snap 23:25:35 -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:35 + 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=63e1f520a81e698fffa9969692564bc58affcc9c --label arch=arm64 --label version=0.0.0 . 23:25:36 Sending build context to Docker daemon 3.314MB 23:25:36 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:25:36 Step 2/24 : FROM ${BASE} AS builder 23:25:36 ---> 96ef0294273f 23:25:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:25:36 ---> Running in fe8aed840d1e 23:25:36 Removing intermediate container fe8aed840d1e 23:25:36 ---> de641c54f88f 23:25:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:36 ---> Running in c9f914254ad4 23:25:37 Removing intermediate container c9f914254ad4 23:25:37 ---> 9ab5e06b8a82 23:25:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:25:37 ---> Running in 49f5e7348348 23:25:37 Removing intermediate container 49f5e7348348 23:25:37 ---> f7f43f58a083 23:25:37 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:25:37 ---> Running in aa135ac6e0d8 23:25:37 Removing intermediate container aa135ac6e0d8 23:25:37 ---> f4775ecb7cd2 23:25:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:37 ---> Running in 71abdd5ece5d 23:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:25:40 OK: 226 MiB in 55 packages 23:25:41 Removing intermediate container 71abdd5ece5d 23:25:41 ---> 902669150ee4 23:25:41 Step 8/24 : WORKDIR /device-mqtt-go 23:25:41 ---> Running in 37adf38bc6be 23:25:41 Removing intermediate container 37adf38bc6be 23:25:41 ---> 0ab4e85e9b14 23:25:41 Step 9/24 : COPY go.mod vendor* ./ 23:25:41 ---> d3b55cd3cf99 23:25:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:41 ---> Running in 3bf1be4a5a21 23:25:44 Removing intermediate container 3bf1be4a5a21 23:25:44 ---> cbc14f3c4518 23:25:44 Step 11/24 : COPY . . 23:25:47 ---> f5ac006aaad4 23:25:47 Step 12/24 : RUN $MAKE 23:25:47 ---> Running in ee0fede0775f 23:25:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:28:10 Removing intermediate container ee0fede0775f 23:28:10 ---> 8945d7d79c92 23:28:10 Step 13/24 : FROM alpine:3.16 23:28:10 3.16: Pulling from library/alpine 23:28:10 6875df1f5354: Pulling fs layer 23:28:10 6875df1f5354: Verifying Checksum 23:28:10 6875df1f5354: Download complete 23:28:10 6875df1f5354: Pull complete 23:28:10 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:28:10 Status: Downloaded newer image for alpine:3.16 23:28:10 ---> 2b4661558fb8 23:28:10 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:28:10 ---> Running in 2a52c5b272a6 23:28:10 Removing intermediate container 2a52c5b272a6 23:28:10 ---> 58f1979585bd 23:28:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:28:10 ---> Running in c8b61d3e4fe2 23:28:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:28:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:28:11 (1/1) Installing dumb-init (1.2.5-r1) 23:28:11 Executing busybox-1.35.0-r17.trigger 23:28:11 OK: 5 MiB in 15 packages 23:28:12 Removing intermediate container c8b61d3e4fe2 23:28:12 ---> 2991d5f0824e 23:28:12 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:28:14 ---> 989e05e1abba 23:28:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:28:14 ---> 0f550011e6c9 23:28:14 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:28:15 ---> 5dbd79ece405 23:28:15 Step 19/24 : EXPOSE 59982 23:28:15 ---> Running in 5405134421ad 23:28:15 Removing intermediate container 5405134421ad 23:28:15 ---> 1e2185c6bb99 23:28:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:28:15 ---> Running in f4d20be08ef9 23:28:15 Removing intermediate container f4d20be08ef9 23:28:15 ---> aec36886084e 23:28:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:28:15 ---> Running in 4af7bcfa164c 23:28:15 Removing intermediate container 4af7bcfa164c 23:28:15 ---> 0973eec1d4b9 23:28:15 Step 22/24 : LABEL arch=arm64 23:28:16 ---> Running in 48a7a568a000 23:28:16 Removing intermediate container 48a7a568a000 23:28:16 ---> 9c4bcde0ba7d 23:28:16 Step 23/24 : LABEL git_sha=63e1f520a81e698fffa9969692564bc58affcc9c 23:28:16 ---> Running in fc60e2461259 23:28:16 Removing intermediate container fc60e2461259 23:28:16 ---> 0ffd339d1c26 23:28:16 Step 24/24 : LABEL version=0.0.0 23:28:16 ---> Running in a2e8a0ce5e15 23:28:16 Removing intermediate container a2e8a0ce5e15 23:28:16 ---> d634885585e9 23:28:16 [Warning] One or more build-args [ARCH] were not consumed 23:28:16 Successfully built d634885585e9 23:28:16 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 23:28:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:17 23:28:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:17 arm64: Pulling from edgex-lftools-log-publisher 23:28:17 8998bd30e6a1: Pulling fs layer 23:28:17 04944245beec: Pulling fs layer 23:28:17 699f458cf7ca: Pulling fs layer 23:28:17 765212b225bb: Pulling fs layer 23:28:17 f23df028b6ca: Pulling fs layer 23:28:17 d65c8cfc05b1: Pulling fs layer 23:28:17 2437ff75d9bd: Pulling fs layer 23:28:17 765212b225bb: Waiting 23:28:17 f23df028b6ca: Waiting 23:28:17 d65c8cfc05b1: Waiting 23:28:17 2437ff75d9bd: Waiting 23:28:18 04944245beec: Verifying Checksum 23:28:18 04944245beec: Download complete 23:28:18 765212b225bb: Verifying Checksum 23:28:18 765212b225bb: Download complete 23:28:18 f23df028b6ca: Download complete 23:28:18 d65c8cfc05b1: Verifying Checksum 23:28:18 d65c8cfc05b1: Download complete 23:28:18 699f458cf7ca: Verifying Checksum 23:28:18 699f458cf7ca: Download complete 23:28:18 8998bd30e6a1: Download complete 23:28:21 2437ff75d9bd: Verifying Checksum 23:28:21 2437ff75d9bd: Download complete 23:28:22 8998bd30e6a1: Pull complete 23:28:22 04944245beec: Pull complete 23:28:24 699f458cf7ca: Pull complete 23:28:24 765212b225bb: Pull complete 23:28:25 f23df028b6ca: Pull complete 23:28:25 d65c8cfc05b1: Pull complete 23:28:40 2437ff75d9bd: Pull complete 23:28:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:28:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:40 prd-ubuntu20.04-docker-arm64-4c-16g-1989 does not seem to be running inside a container 23:28:40 $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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:arm64 cat 23:28:43 $ docker top 153bc496f9f98ffc878acfb0b20027cfe764432ff19b9791f4dcd25d372218bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:44 ---> job-cost.sh 23:28:44 lf-activate-venv: SKIPPING 23:28:44 INFO: No Stack... 23:28:44 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:45 INFO: Archiving Costs [Pipeline] sh 23:28:45 + cut -d, -f6 23:28:45 + cat /w/workspace/device-mqtt-go/10/archives/cost.csv [Pipeline] lock 23:28:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] 23:28:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] did not exist. Created. 23:28:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:46 /w/workspace/device-mqtt-go/10@tmp/durable-51193571/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:46 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:46 Warning: overwriting stash ‘stack-cost’ 23:28:46 Stashed 1 file(s) [Pipeline] } 23:28:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:46 $ docker stop --time=1 153bc496f9f98ffc878acfb0b20027cfe764432ff19b9791f4dcd25d372218bf 23:28:48 $ docker rm -f --volumes 153bc496f9f98ffc878acfb0b20027cfe764432ff19b9791f4dcd25d372218bf [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 23:28:48 provisioning config files... 23:28:48 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config10802063470985087347tmp [Pipeline] { [Pipeline] sh 23:28:48 + set +x 23:28:48 + curl -s https://codecov.io/bash 23:28:48 + bash -s -- 23:28:48 23:28:48 _____ _ 23:28:48 / ____| | | 23:28:48 | | ___ __| | ___ ___ _____ __ 23:28:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:28:48 | |___| (_) | (_| | __/ (_| (_) \ V / 23:28:48 \_____\___/ \__,_|\___|\___\___/ \_/ 23:28:48 Bash-1.0.6 23:28:48 23:28:48 23:28:48 ==> git version 2.25.1 found 23:28:48 ==> 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 23:28:48 Release-Date: 2020-01-08 23:28:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:28:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:28:48 ==> Jenkins CI detected. 23:28:48 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 23:28:48 project root: . 23:28:48 --> token set from env 23:28:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:28:48 ==> Running gcov in . (disable via -X gcov) 23:28:48 ==> Python coveragepy not found 23:28:48 ==> Searching for coverage reports in: 23:28:48 + . 23:28:48 -> Found 1 reports 23:28:48 ==> Detecting git/mercurial file structure 23:28:48 ==> Reading reports 23:28:48 + ./coverage.out bytes=17887 23:28:48 ==> Appending adjustments 23:28:48 https://docs.codecov.io/docs/fixing-reports 23:28:49 + Found adjustments 23:28:49 ==> Gzipping contents 23:28:49 4.0K /tmp/codecov.uq69ar.gz 23:28:49 ==> Uploading reports 23:28:49 url: https://codecov.io 23:28:49 query: branch=PR-429&commit=2c20566117211fad19a7b137cd5318ac2866fcb3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 23:28:49 -> Pinging Codecov 23:28:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=2c20566117211fad19a7b137cd5318ac2866fcb3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 23:28:49 -> Uploading to 23:28:49 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7D719EC7BBE17E464838252E33014C33/2c20566117211fad19a7b137cd5318ac2866fcb3/e547489c-e583-43d3-b0d6-904167e593cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T232849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9676ee0f90aa1466bd95441a09d80c51aedea3473bd7e15214c98135d6b61301 23:28:49 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:49 Dload Upload Total Spent Left Speed 23:28:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14967 --:--:-- --:--:-- --:--:-- 14967 23:28:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] } 23:28:49 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 23:28:50 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] 23:28:50 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 23:28:50 total 16 23:28:50 drwxr-xr-x 3 root root 4096 Jan 11 23:20 . 23:28:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 23:20 .. 23:28:50 drwxr-xr-x 2 root root 4096 Jan 11 23:20 cost 23:28:50 -rw-r--r-- 1 root root 87 Jan 11 23:20 cost.csv 23:28:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 23:28:50 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 23:28:50 total 16 23:28:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 23:20 . 23:28:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 23:20 .. 23:28:50 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 23:20 cost 23:28:50 -rw-r--r-- 1 jenkins jenkins 87 Jan 11 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:51 ---> package-listing.sh 23:28:51 ++ tr '[:upper:]' '[:lower:]' 23:28:51 ++ facter osfamily 23:28:51 + OS_FAMILY=debian 23:28:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 23:28:51 + START_PACKAGES=/tmp/packages_start.txt 23:28:51 + END_PACKAGES=/tmp/packages_end.txt 23:28:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:51 + PACKAGES=/tmp/packages_start.txt 23:28:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 23:28:51 + PACKAGES=/tmp/packages_end.txt 23:28:51 + case "${OS_FAMILY}" in 23:28:51 + dpkg -l 23:28:51 + grep '^ii' 23:28:51 + '[' -f /tmp/packages_start.txt ']' 23:28:51 + '[' -f /tmp/packages_end.txt ']' 23:28:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 23:28:51 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ 23:28:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo 23:28:51 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:52 prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container 23:28:52 $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:52 $ docker top d2ac7718322511106b9a68823bae6b4b18574d87d772d557500fb6b6e11d8564 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:53 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:53 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:53 + ls /var/log/sa-host 23:28:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:53 provisioning config files... 23:28:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config2958516736877731037tmp [Pipeline] { [Pipeline] echo 23:28:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:54 ---> create-netrc.sh [Pipeline] } 23:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:54 ---> python-tools-install.sh [Pipeline] echo 23:28:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:54 ---> sudo-logs.sh 23:28:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:55 ---> job-cost.sh 23:28:55 lf-activate-venv: SKIPPING 23:28:55 DEBUG: total: 0.2199999988079071 23:28:55 INFO: Retrieving Stack Cost... 23:28:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:56 INFO: Archiving Costs [Pipeline] echo 23:28:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:56 ---> logs-deploy.sh 23:28:56 lf-activate-venv: SKIPPING 23:28:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/10 23:28:56 INFO: archiving workspace using pattern(s): 23:28:57 Archives upload complete. 23:28:57 INFO: archiving logs to Nexus