Pull request #555 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f03fc1d8a33200e1270beabcfc4ddd503155c2c8+fae68001f23ebf2296c35dbe56314768b083ad85 (b30c5f2c0514bba4dc1ffb6e59a5b51bcc2c3b3e) 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-ssh2397721140210638388.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17622472968248219324.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-555/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-555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16589543652535117414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17603095031008798430.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-555/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-555/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2813649684798858922.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.20 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 ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-7085’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7086’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7091’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7089’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7093 in /w/workspace/gexfoundry_device-mqtt-go_PR-555 [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-555 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fae68001f23ebf2296c35dbe56314768b083ad85 into PR head commit f03fc1d8a33200e1270beabcfc4ddd503155c2c8 > 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/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing f03fc1d8a33200e1270beabcfc4ddd503155c2c8 Checking out Revision f03fc1d8a33200e1270beabcfc4ddd503155c2c8 (PR-555) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:11:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:11:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:11:27 ========================================================= 06:11:27 EdgeX Global Pipelines Version Info 06:11:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f f03fc1d8a33200e1270beabcfc4ddd503155c2c8 # 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 fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f03fc1d8a33200e1270beabcfc4ddd503155c2c8 # timeout=10 > git rev-list --no-walk 6d838de8e54c17ab3eeb58598e0fd7d59d6a9a30 # timeout=10 06:11:28 ------------------- 06:11:28 stable info: 06:11:28 ------------------- 06:11:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:11:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:11:28 Message: update stable to v1.0.245 06:11:28 ------------------- 06:11:28 experimental info: 06:11:28 ------------------- 06:11:28 Commited By: **** collab-it+edgex@linuxfoundation.org 06:11:28 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:11:28 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-555 [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-555 [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-555 [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f03fc1d8a33200e1270beabcfc4ddd503155c2c8 [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f03fc1d [Pipeline] echo 06:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:29 provisioning config files... 06:11:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config8031814978310629696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:29 ---> docker-login.sh 06:11:29 nexus3.edgexfoundry.org:10001 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 nexus3.edgexfoundry.org:10002 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 nexus3.edgexfoundry.org:10003 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 nexus3.edgexfoundry.org:10004 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 docker.io 06:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:30 Configure a credential helper to remove this warning. See 06:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:30 06:11:30 Login Succeeded 06:11:30 ---> docker-login.sh ends [Pipeline] } 06:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:11:31 + git rev-list -1 --merges f03fc1d8a33200e1270beabcfc4ddd503155c2c8~1..f03fc1d8a33200e1270beabcfc4ddd503155c2c8 [Pipeline] echo 06:11:31 -----------> git rev-list -1 --merges f03fc1d8a33200e1270beabcfc4ddd503155c2c8~1..f03fc1d8a33200e1270beabcfc4ddd503155c2c8 f03fc1d8a33200e1270beabcfc4ddd503155c2c8 [false] [Pipeline] sh 06:11:31 + git log --format=format:%s -1 f03fc1d8a33200e1270beabcfc4ddd503155c2c8 [Pipeline] echo 06:11:31 ========================================================= 06:11:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:11:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:31 + git log --format=format:%s -1 f03fc1d8a33200e1270beabcfc4ddd503155c2c8 [Pipeline] echo 06:11:31 [semverPrep] GIT_COMMIT: f03fc1d8a33200e1270beabcfc4ddd503155c2c8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 06:11:31 [semverPrep] This is not a build commit. [Pipeline] sh 06:11:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:11:32 + grep -v github /etc/ssh/ssh_known_hosts 06:11:32 + [ -e /tmp/ssh_known_hosts ] 06:11:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:11:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:11:32 + sudo tee -a /etc/ssh/ssh_known_hosts 06:11:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:32 06:11:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:32 0.1.4: Pulling from edgex-devops/py-git-semver 06:11:32 b85a868b505f: Pulling fs layer 06:11:32 e2be974225ed: Pulling fs layer 06:11:32 339a4e72a1f5: Pulling fs layer 06:11:32 988bab9f4d93: Pulling fs layer 06:11:32 1469e6f7b9e6: Pulling fs layer 06:11:32 eaf3925da568: Pulling fs layer 06:11:32 bab4dde63d76: Pulling fs layer 06:11:32 bde34c3a00c8: Pulling fs layer 06:11:32 b352a97aabf1: Pulling fs layer 06:11:32 4872d77fe225: Pulling fs layer 06:11:32 5851b861e8e6: Pulling fs layer 06:11:32 eaf3925da568: Waiting 06:11:32 1469e6f7b9e6: Waiting 06:11:32 bab4dde63d76: Waiting 06:11:32 bde34c3a00c8: Waiting 06:11:32 4872d77fe225: Waiting 06:11:32 988bab9f4d93: Waiting 06:11:32 b352a97aabf1: Waiting 06:11:32 e2be974225ed: Download complete 06:11:32 988bab9f4d93: Verifying Checksum 06:11:32 988bab9f4d93: Download complete 06:11:32 1469e6f7b9e6: Verifying Checksum 06:11:32 1469e6f7b9e6: Download complete 06:11:32 eaf3925da568: Download complete 06:11:32 339a4e72a1f5: Verifying Checksum 06:11:32 339a4e72a1f5: Download complete 06:11:33 bde34c3a00c8: Download complete 06:11:33 b352a97aabf1: Download complete 06:11:33 4872d77fe225: Verifying Checksum 06:11:33 4872d77fe225: Download complete 06:11:33 5851b861e8e6: Verifying Checksum 06:11:33 5851b861e8e6: Download complete 06:11:33 b85a868b505f: Verifying Checksum 06:11:33 b85a868b505f: Download complete 06:11:33 bab4dde63d76: Verifying Checksum 06:11:33 bab4dde63d76: Download complete 06:11:34 b85a868b505f: Pull complete 06:11:34 e2be974225ed: Pull complete 06:11:35 339a4e72a1f5: Pull complete 06:11:35 988bab9f4d93: Pull complete 06:11:35 1469e6f7b9e6: Pull complete 06:11:35 eaf3925da568: Pull complete 06:11:37 bab4dde63d76: Pull complete 06:11:37 bde34c3a00c8: Pull complete 06:11:37 b352a97aabf1: Pull complete 06:11:37 4872d77fe225: Pull complete 06:11:37 5851b861e8e6: Pull complete 06:11:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:37 prd-ubuntu20.04-docker-8c-8g-7093 does not seem to be running inside a container 06:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:11:40 $ docker top 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 -eo pid,comm 06:11:41 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). 06:11:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:11:41 [ssh-agent] Looking for ssh-agent implementation... 06:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:11:41 $ docker exec 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 ssh-agent 06:11:41 SSH_AUTH_SOCK=/tmp/ssh-YPNdFU7s04eV/agent.31 06:11:41 SSH_AGENT_PID=37 06:11:41 Running ssh-add (command line suppressed) 06:11:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_12707856056483227706.key (/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_12707856056483227706.key) 06:11:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:11:41 + git tag --points-at HEAD [Pipeline] } 06:11:41 $ docker exec --env ******** --env ******** 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 ssh-agent -k 06:11:41 unset SSH_AUTH_SOCK; 06:11:41 unset SSH_AGENT_PID; 06:11:41 echo Agent pid 37 killed; 06:11:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:11:41 [ssh-agent] Looking for ssh-agent implementation... 06:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:11:41 $ docker exec 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 ssh-agent 06:11:42 SSH_AUTH_SOCK=/tmp/ssh-ETsRAXJqcmVg/agent.69 06:11:42 SSH_AGENT_PID=76 06:11:42 Running ssh-add (command line suppressed) 06:11:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_3371396990945420130.key (/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_3371396990945420130.key) 06:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:11:42 + git semver init 06:11:42 2023-04-07 06:11:42,659 [run_init] DEBUG init version:0.0.0 force:False 06:11:42 2023-04-07 06:11:42,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver 06:11:42 2023-04-07 06:11:42,660 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver 06:11:42 2023-04-07 06:11:42,660 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-555, universal_newlines=False, shell=None, istream=None) 06:11:43 2023-04-07 06:11:43,443 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.git/info/exclude 06:11:43 2023-04-07 06:11:43,443 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver/PR-555 with force:False 06:11:43 2023-04-07 06:11:43,443 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver/PR-555 06:11:43 2023-04-07 06:11:43,447 [execute] INFO git cat-file --batch-check 06:11:43 2023-04-07 06:11:43,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) 06:11:43 2023-04-07 06:11:43,455 [execute] INFO git cat-file --batch 06:11:43 2023-04-07 06:11:43,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) 06:11:43 2023-04-07 06:11:43,461 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver/PR-555 06:11:43 0.0.0 [Pipeline] } 06:11:43 $ docker exec --env ******** --env ******** 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 ssh-agent -k 06:11:43 unset SSH_AUTH_SOCK; 06:11:43 unset SSH_AGENT_PID; 06:11:43 echo Agent pid 76 killed; 06:11:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:11:44 + git semver [Pipeline] } 06:11:44 $ docker stop --time=1 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 06:11:45 $ docker rm -f --volumes 594eff647b3719e157288407e25ed2bd387f0d4c9d3e68909a988a181572b879 [Pipeline] // withDockerContainer [Pipeline] sh 06:11:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:11:46 Stashed 1 file(s) [Pipeline] echo 06:11:46 [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 06:11:46 provisioning config files... 06:11:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config9849230128052559846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:46 ---> docker-login.sh 06:11:46 nexus3.edgexfoundry.org:10001 06:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:46 Configure a credential helper to remove this warning. See 06:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:46 06:11:46 Login Succeeded 06:11:46 nexus3.edgexfoundry.org:10002 06:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:46 Configure a credential helper to remove this warning. See 06:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:46 06:11:46 Login Succeeded 06:11:46 nexus3.edgexfoundry.org:10003 06:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:46 Configure a credential helper to remove this warning. See 06:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:46 06:11:46 Login Succeeded 06:11:46 nexus3.edgexfoundry.org:10004 06:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:46 Configure a credential helper to remove this warning. See 06:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:46 06:11:46 Login Succeeded 06:11:46 docker.io 06:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:47 Configure a credential helper to remove this warning. See 06:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:47 06:11:47 Login Succeeded 06:11:47 ---> docker-login.sh ends [Pipeline] } 06:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:47 ========================================================= 06:11:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:11:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:11:47 Sending build context to Docker daemon 6.415MB 06:11:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:11:47 Step 2/12 : FROM ${BASE} AS builder 06:11:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:47 63b65145d645: Pulling fs layer 06:11:47 a2d21d5440eb: Pulling fs layer 06:11:47 935e6c44a52c: Pulling fs layer 06:11:47 94cc34f8dd06: Pulling fs layer 06:11:47 30dea6a524f1: Pulling fs layer 06:11:47 a2aff8979fd8: Pulling fs layer 06:11:47 6808be2612f2: Pulling fs layer 06:11:47 f25807f1079a: Pulling fs layer 06:11:47 94cc34f8dd06: Waiting 06:11:47 30dea6a524f1: Waiting 06:11:47 a2aff8979fd8: Waiting 06:11:47 6808be2612f2: Waiting 06:11:47 f25807f1079a: Waiting 06:11:47 a2d21d5440eb: Verifying Checksum 06:11:47 a2d21d5440eb: Download complete 06:11:47 94cc34f8dd06: Verifying Checksum 06:11:47 94cc34f8dd06: Download complete 06:11:47 30dea6a524f1: Download complete 06:11:47 63b65145d645: Verifying Checksum 06:11:47 63b65145d645: Download complete 06:11:47 a2aff8979fd8: Verifying Checksum 06:11:47 a2aff8979fd8: Download complete 06:11:47 63b65145d645: Pull complete 06:11:48 a2d21d5440eb: Pull complete 06:11:48 f25807f1079a: Verifying Checksum 06:11:48 f25807f1079a: Download complete 06:11:48 935e6c44a52c: Verifying Checksum 06:11:48 935e6c44a52c: Download complete 06:11:48 6808be2612f2: Verifying Checksum 06:11:48 6808be2612f2: Download complete 06:11:51 935e6c44a52c: Pull complete 06:11:51 94cc34f8dd06: Pull complete 06:11:51 30dea6a524f1: Pull complete 06:11:51 a2aff8979fd8: Pull complete 06:11:53 6808be2612f2: Pull complete 06:11:54 f25807f1079a: Pull complete 06:11:54 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:11:54 ---> 3b553350e43f 06:11:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:11:58 ---> Running in e587a97301cb 06:11:58 Removing intermediate container e587a97301cb 06:11:58 ---> c1d9325bfc82 06:11:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:58 ---> Running in b5f9f70b551d 06:11:58 Removing intermediate container b5f9f70b551d 06:11:58 ---> 017bcb4c34c4 06:11:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:11:58 ---> Running in 01d1d9edfc53 06:11:58 Removing intermediate container 01d1d9edfc53 06:11:58 ---> 1d14a51c1272 06:11:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:11:58 ---> Running in 05cbf303fcc4 06:11:58 Removing intermediate container 05cbf303fcc4 06:11:58 ---> 3e14b84d35ce 06:11:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:58 ---> Running in f19586dd01e9 06:11:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:11:59 (2/4) Installing libedit (20221030.3.1-r0) 06:11:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:11:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:11:59 Executing busybox-1.35.0-r29.trigger 06:11:59 OK: 269 MiB in 57 packages 06:12:00 Removing intermediate container f19586dd01e9 06:12:00 ---> e376b52bbaaf 06:12:00 Step 8/12 : WORKDIR /device-mqtt-go 06:12:00 ---> Running in 7f38b42f18af 06:12:00 Removing intermediate container 7f38b42f18af 06:12:00 ---> 2353aed7e819 06:12:00 Step 9/12 : COPY go.mod vendor* ./ 06:12:00 ---> fff2a992323f 06:12:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:00 ---> Running in 9c1a9dc1bc6c 06:12:01 Still waiting to schedule task 06:12:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:12:27 Removing intermediate container 9c1a9dc1bc6c 06:12:27 ---> f3b639c701ae 06:12:27 Step 11/12 : COPY . . 06:12:27 ---> 18a2c168b11c 06:12:27 Step 12/12 : RUN $MAKE 06:12:27 ---> Running in c09a926f8648 06:12:27 noop 06:12:28 Removing intermediate container c09a926f8648 06:12:28 ---> 8314dfb84b26 06:12:28 Successfully built 8314dfb84b26 06:12:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:28 + docker inspect -f . ci-base-image-x86_64 06:12:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:28 prd-ubuntu20.04-docker-8c-8g-7093 does not seem to be running inside a container 06:12:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:28 $ docker top 8c067530cfefbe04f7deba8a3e8dbe92449b575fbb1282cc4349d36ff685fe40 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:29 + go version 06:12:29 go version go1.20.2 linux/amd64 [Pipeline] } 06:12:29 $ docker stop --time=1 8c067530cfefbe04f7deba8a3e8dbe92449b575fbb1282cc4349d36ff685fe40 06:12:30 $ docker rm -f --volumes 8c067530cfefbe04f7deba8a3e8dbe92449b575fbb1282cc4349d36ff685fe40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:30 + docker inspect -f . ci-base-image-x86_64 06:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:30 prd-ubuntu20.04-docker-8c-8g-7093 does not seem to be running inside a container 06:12:30 $ 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-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:31 $ docker top 820431878e343a2fd52f806d09caba6a2121c27566eb2a2a3cdafc8ea960296d -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-555 [Pipeline] fileExists [Pipeline] sh 06:12:31 + make test 06:12:31 go test ./... -coverprofile=coverage.out ./... 06:12:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:12:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:12:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:12:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements 06:12:50 go vet ./... 06:12:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:53 ./bin/test-attribution-txt.sh 06:12:53 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:12:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:53 $ docker stop --time=1 820431878e343a2fd52f806d09caba6a2121c27566eb2a2a3cdafc8ea960296d 06:12:57 $ docker rm -f --volumes 820431878e343a2fd52f806d09caba6a2121c27566eb2a2a3cdafc8ea960296d [Pipeline] // withDockerContainer [Pipeline] sh 06:12:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:58 + ls -al . 06:12:58 total 180 06:12:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:12 . 06:12:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 .. 06:12:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 06:11 .dockerignore 06:12:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:11 .git 06:12:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 .github 06:12:58 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 06:11 .gitignore 06:12:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:11 .golangci.yml 06:12:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:11 .semver 06:12:58 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 06:11 Attribution.txt 06:12:58 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 06:11 CHANGELOG.md 06:12:58 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 06:11 Dockerfile 06:12:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:11 GOVERNANCE.md 06:12:58 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 06:11 Jenkinsfile 06:12:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:11 LICENSE 06:12:58 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 06:11 Makefile 06:12:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:11 OWNERS.md 06:12:58 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 06:11 README.md 06:12:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 06:11 VERSION 06:12:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:11 bin 06:12:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 cmd 06:12:58 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 06:12 coverage.out 06:12:58 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 06:11 go.mod 06:12:58 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 06:11 go.sum 06:12:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 internal 06:12:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:11 mock 06:12:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 snap 06:12:58 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:58 + 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=f03fc1d8a33200e1270beabcfc4ddd503155c2c8 --label arch=amd64 --label version=0.0.0 . 06:12:58 Sending build context to Docker daemon 6.434MB 06:12:58 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:12:58 Step 2/24 : FROM ${BASE} AS builder 06:12:58 ---> 8314dfb84b26 06:12:58 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:12:58 ---> Running in 741f7a756456 06:12:58 Removing intermediate container 741f7a756456 06:12:58 ---> 4a8c3efbcc97 06:12:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:58 ---> Running in c845bb90b1e8 06:12:58 Removing intermediate container c845bb90b1e8 06:12:58 ---> 4d68b69d74b7 06:12:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:12:58 ---> Running in 69d9d8c65760 06:12:59 Removing intermediate container 69d9d8c65760 06:12:59 ---> 639ef0ba0983 06:12:59 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:12:59 ---> Running in ff6572e8de2a 06:12:59 Removing intermediate container ff6572e8de2a 06:12:59 ---> f80766ec2ec7 06:12:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:59 ---> Running in 80be271fd6ee 06:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:12:59 OK: 269 MiB in 57 packages 06:13:00 Removing intermediate container 80be271fd6ee 06:13:00 ---> c136830500d8 06:13:00 Step 8/24 : WORKDIR /device-mqtt-go 06:13:00 ---> Running in 0f0fc96a794e 06:13:00 Removing intermediate container 0f0fc96a794e 06:13:00 ---> 2e7cfc601db4 06:13:00 Step 9/24 : COPY go.mod vendor* ./ 06:13:00 ---> 10ce3ebb9fba 06:13:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:00 ---> Running in 3e4133f5d464 06:13:01 Removing intermediate container 3e4133f5d464 06:13:01 ---> c76cee8601a7 06:13:01 Step 11/24 : COPY . . 06:13:01 ---> d6e8bb548d71 06:13:01 Step 12/24 : RUN $MAKE 06:13:01 ---> Running in cd69d846baa4 06:13:01 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 06:13:19 Removing intermediate container cd69d846baa4 06:13:19 ---> 004ec7395818 06:13:19 Step 13/24 : FROM alpine:3.17 06:13:19 3.17: Pulling from library/alpine 06:13:19 f56be85fc22e: Pulling fs layer 06:13:19 f56be85fc22e: Download complete 06:13:19 f56be85fc22e: Pull complete 06:13:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:13:19 Status: Downloaded newer image for alpine:3.17 06:13:19 ---> 9ed4aefc74f6 06:13:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:13:19 ---> Running in 7a77b8f9c459 06:13:19 Removing intermediate container 7a77b8f9c459 06:13:19 ---> c8c444128a04 06:13:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:13:19 ---> Running in b9d27a0e7b6a 06:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:13:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:13:20 (1/1) Installing dumb-init (1.2.5-r2) 06:13:20 Executing busybox-1.35.0-r29.trigger 06:13:20 OK: 7 MiB in 16 packages 06:13:20 Removing intermediate container b9d27a0e7b6a 06:13:20 ---> 1c92f7ae0b44 06:13:20 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:13:21 ---> a0ea3a63b3ed 06:13:21 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:13:21 ---> dc0bae3497c9 06:13:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:13:21 ---> 55697f187abd 06:13:21 Step 19/24 : EXPOSE 59982 06:13:21 ---> Running in 039c093acb2d 06:13:21 Removing intermediate container 039c093acb2d 06:13:21 ---> d46ad1dfe6bf 06:13:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:13:21 ---> Running in 72c8bf8dd658 06:13:21 Removing intermediate container 72c8bf8dd658 06:13:21 ---> 814452339b8b 06:13:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:13:21 ---> Running in e0ba2b31aa11 06:13:21 Removing intermediate container e0ba2b31aa11 06:13:21 ---> 350dad2105a3 06:13:21 Step 22/24 : LABEL arch=amd64 06:13:21 ---> Running in 37fdf5a07d9d 06:13:21 Removing intermediate container 37fdf5a07d9d 06:13:21 ---> 8d57b5510350 06:13:21 Step 23/24 : LABEL git_sha=f03fc1d8a33200e1270beabcfc4ddd503155c2c8 06:13:22 ---> Running in 6ec4e9e95570 06:13:22 Removing intermediate container 6ec4e9e95570 06:13:22 ---> 684bbca303eb 06:13:22 Step 24/24 : LABEL version=0.0.0 06:13:22 ---> Running in 0ecb29f6b644 06:13:22 Removing intermediate container 0ecb29f6b644 06:13:22 ---> 1eff146c77df 06:13:22 [Warning] One or more build-args [ARCH] were not consumed 06:13:22 Successfully built 1eff146c77df 06:13:22 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 06:13:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:22 06:13:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:22 latest: Pulling from edgex-lftools-log-publisher 06:13:22 5eb5b503b376: Pulling fs layer 06:13:22 5c69ac0246d0: Pulling fs layer 06:13:22 ec43610c2a17: Pulling fs layer 06:13:22 3a2ae6a8a46f: Pulling fs layer 06:13:22 33b1e0a273af: Pulling fs layer 06:13:22 5d3b04190fa2: Pulling fs layer 06:13:22 2f39f015ded8: Pulling fs layer 06:13:22 3a2ae6a8a46f: Waiting 06:13:22 33b1e0a273af: Waiting 06:13:22 2f39f015ded8: Waiting 06:13:22 5d3b04190fa2: Waiting 06:13:22 5c69ac0246d0: Verifying Checksum 06:13:22 5c69ac0246d0: Download complete 06:13:22 3a2ae6a8a46f: Verifying Checksum 06:13:22 3a2ae6a8a46f: Download complete 06:13:22 33b1e0a273af: Verifying Checksum 06:13:22 33b1e0a273af: Download complete 06:13:22 ec43610c2a17: Verifying Checksum 06:13:22 ec43610c2a17: Download complete 06:13:22 5d3b04190fa2: Verifying Checksum 06:13:22 5d3b04190fa2: Download complete 06:13:23 5eb5b503b376: Download complete 06:13:23 2f39f015ded8: Download complete 06:13:24 5eb5b503b376: Pull complete 06:13:24 5c69ac0246d0: Pull complete 06:13:24 ec43610c2a17: Pull complete 06:13:24 3a2ae6a8a46f: Pull complete 06:13:25 33b1e0a273af: Pull complete 06:13:25 5d3b04190fa2: Pull complete 06:13:29 2f39f015ded8: Pull complete 06:13:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:13:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:29 prd-ubuntu20.04-docker-8c-8g-7093 does not seem to be running inside a container 06:13:29 $ 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-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@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 06:13:32 $ docker top 79305725e557c8c21e53693459127e9f178c0f45e285a4ff293a198fa7780019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:32 ---> job-cost.sh 06:13:32 lf-activate-venv: SKIPPING 06:13:32 INFO: No Stack... 06:13:33 INFO: Retrieving Pricing Info for: v3-standard-8 06:13:33 INFO: Archiving Costs [Pipeline] sh 06:13:33 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives/cost.csv 06:13:33 + cut -d, -f6 [Pipeline] lock 06:13:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] 06:13:34 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] did not exist. Created. 06:13:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:34 + echo total: 0.2199999988079071 [Pipeline] stash 06:13:34 Stashed 1 file(s) [Pipeline] } 06:13:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:34 $ docker stop --time=1 79305725e557c8c21e53693459127e9f178c0f45e285a4ff293a198fa7780019 06:13:35 $ docker rm -f --volumes 79305725e557c8c21e53693459127e9f178c0f45e285a4ff293a198fa7780019 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:14:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7097 in /w/workspace/gexfoundry_device-mqtt-go_PR-555 [Pipeline] { [Pipeline] ws 06:14:08 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 06:14:08 Selected Git installation does not exist. Using Default 06:14:08 The recommended git tool is: NONE 06:14:16 using credential edgex-jenkins-ssh 06:14:16 Cloning the remote Git repository 06:14:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:14:16 > git init /w/workspace/device-mqtt-go/2 # timeout=10 06:14:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:14:16 > git --version # timeout=10 06:14:16 > git --version # 'git version 2.25.1' 06:14:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:14:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:14:20 Merging remotes/origin/main commit fae68001f23ebf2296c35dbe56314768b083ad85 into PR head commit f03fc1d8a33200e1270beabcfc4ddd503155c2c8 06:14:20 Merge succeeded, producing f03fc1d8a33200e1270beabcfc4ddd503155c2c8 06:14:20 Checking out Revision f03fc1d8a33200e1270beabcfc4ddd503155c2c8 (PR-555) 06:14:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:14:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:14:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:14:20 > git config core.sparsecheckout # timeout=10 06:14:20 > git checkout -f f03fc1d8a33200e1270beabcfc4ddd503155c2c8 # timeout=10 06:14:20 > git remote # timeout=10 06:14:20 > git config --get remote.origin.url # timeout=10 06:14:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:14:20 > git merge fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 06:14:20 > git rev-parse HEAD^{commit} # timeout=10 06:14:20 > git config core.sparsecheckout # timeout=10 06:14:20 > git checkout -f f03fc1d8a33200e1270beabcfc4ddd503155c2c8 # timeout=10 06:14:21 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:14:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:22 Dload Upload Total Spent Left Speed 06:14:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 06:14:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:14:23 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json 06:14:23 tee /etc/docker/daemon.new 06:14:23 { 06:14:23 "registry-mirrors": [ 06:14:23 "https://nexus3.edgexfoundry.org:10001" 06:14:23 ], 06:14:23 "bip": "10.250.0.254/24", 06:14:23 "hosts": [ 06:14:23 "tcp://0.0.0.0:5555", 06:14:23 "unix:///var/run/docker.sock" 06:14:23 ], 06:14:23 "mtu": 1458, 06:14:23 "selinux-enabled": true, 06:14:23 "seccomp-profile": "/etc/docker/seccomp.json" 06:14:23 } [Pipeline] sh 06:14:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:14:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:42 provisioning config files... 06:14:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config6884009801124686067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:42 ---> docker-login.sh 06:14:42 nexus3.edgexfoundry.org:10001 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:43 Configure a credential helper to remove this warning. See 06:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:43 06:14:43 Login Succeeded 06:14:43 nexus3.edgexfoundry.org:10002 06:14:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:43 Configure a credential helper to remove this warning. See 06:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:43 06:14:43 Login Succeeded 06:14:43 nexus3.edgexfoundry.org:10003 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10004 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 docker.io 06:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:45 Configure a credential helper to remove this warning. See 06:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:45 06:14:45 Login Succeeded 06:14:45 ---> docker-login.sh ends [Pipeline] } 06:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:45 ========================================================= 06:14:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:14:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:14:46 Sending build context to Docker daemon 3.321MB 06:14:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:14:46 Step 2/12 : FROM ${BASE} AS builder 06:14:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:14:46 af6eaf76a39c: Pulling fs layer 06:14:46 55522c791124: Pulling fs layer 06:14:46 ce5c4a1c91eb: Pulling fs layer 06:14:46 169dfbe0d373: Pulling fs layer 06:14:46 e1ff8fa3b103: Pulling fs layer 06:14:46 52ebb69f0ebf: Pulling fs layer 06:14:46 5abe8eddf0d5: Pulling fs layer 06:14:46 e1ff8fa3b103: Waiting 06:14:46 52ebb69f0ebf: Waiting 06:14:46 5abe8eddf0d5: Waiting 06:14:46 169dfbe0d373: Waiting 06:14:46 55522c791124: Verifying Checksum 06:14:46 55522c791124: Download complete 06:14:46 169dfbe0d373: Verifying Checksum 06:14:46 169dfbe0d373: Download complete 06:14:46 e1ff8fa3b103: Verifying Checksum 06:14:46 e1ff8fa3b103: Download complete 06:14:46 af6eaf76a39c: Verifying Checksum 06:14:46 af6eaf76a39c: Download complete 06:14:47 af6eaf76a39c: Pull complete 06:14:48 5abe8eddf0d5: Verifying Checksum 06:14:48 5abe8eddf0d5: Download complete 06:14:48 55522c791124: Pull complete 06:14:49 ce5c4a1c91eb: Verifying Checksum 06:14:49 ce5c4a1c91eb: Download complete 06:14:49 52ebb69f0ebf: Download complete 06:15:02 ce5c4a1c91eb: Pull complete 06:15:02 169dfbe0d373: Pull complete 06:15:02 e1ff8fa3b103: Pull complete 06:15:08 52ebb69f0ebf: Pull complete 06:15:10 5abe8eddf0d5: Pull complete 06:15:10 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:15:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:15:10 ---> 6cb57ee374ae 06:15:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:15:13 ---> Running in cc97a54dbd9c 06:15:13 Removing intermediate container cc97a54dbd9c 06:15:13 ---> 6d109c51a241 06:15:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:13 ---> Running in 621ef10c4fa6 06:15:13 Removing intermediate container 621ef10c4fa6 06:15:13 ---> 37591b531094 06:15:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:15:13 ---> Running in d1aa13a7dcf1 06:15:14 Removing intermediate container d1aa13a7dcf1 06:15:14 ---> ccfb72ef0096 06:15:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:15:14 ---> Running in 98c94115ab4b 06:15:14 Removing intermediate container 98c94115ab4b 06:15:14 ---> ba0f1036b374 06:15:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:14 ---> Running in 5698d6aa12c5 06:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:15:18 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:15:18 (2/4) Installing libedit (20221030.3.1-r0) 06:15:18 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:15:18 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:15:18 Executing busybox-1.35.0-r29.trigger 06:15:18 OK: 268 MiB in 57 packages 06:15:19 Removing intermediate container 5698d6aa12c5 06:15:19 ---> cae6c44c86b6 06:15:19 Step 8/12 : WORKDIR /device-mqtt-go 06:15:19 ---> Running in 32d3a77b925b 06:15:20 Removing intermediate container 32d3a77b925b 06:15:20 ---> dc9174b0ff5c 06:15:20 Step 9/12 : COPY go.mod vendor* ./ 06:15:20 ---> 00b38a8972f6 06:15:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:20 ---> Running in 2de54a4ed5a8 06:16:28 Removing intermediate container 2de54a4ed5a8 06:16:28 ---> e0c66aa7dac4 06:16:28 Step 11/12 : COPY . . 06:16:28 ---> 975f0977c7cb 06:16:28 Step 12/12 : RUN $MAKE 06:16:28 ---> Running in 53ff6f064414 06:16:28 noop 06:16:28 Removing intermediate container 53ff6f064414 06:16:28 ---> a6c9c8111eea 06:16:28 Successfully built a6c9c8111eea 06:16:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:29 + docker inspect -f . ci-base-image-arm64 06:16:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:29 prd-ubuntu20.04-docker-arm64-4c-16g-7097 does not seem to be running inside a container 06:16:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:30 $ docker top e11fd85af202d193ce15412ab3c22af2b19ba0a77476ff5d16075bcff193108c -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:31 + go version 06:16:31 go version go1.20.2 linux/arm64 [Pipeline] } 06:16:31 $ docker stop --time=1 e11fd85af202d193ce15412ab3c22af2b19ba0a77476ff5d16075bcff193108c 06:16:33 $ docker rm -f --volumes e11fd85af202d193ce15412ab3c22af2b19ba0a77476ff5d16075bcff193108c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:33 + docker inspect -f . ci-base-image-arm64 06:16:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:34 prd-ubuntu20.04-docker-arm64-4c-16g-7097 does not seem to be running inside a container 06:16:34 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:35 $ docker top f4b931e039b6d782aba0b79792b756daef2a818c52f4e2cbd17eac7047335a96 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:36 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 06:16:37 + make test 06:16:37 go test ./... -coverprofile=coverage.out ./... 06:17:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:20:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:20:04 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:20:04 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 22.2% of statements 06:20:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:20:04 go vet ./... 06:20:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:20:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:20:36 ./bin/test-attribution-txt.sh 06:20:36 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:20:36 $ docker stop --time=1 f4b931e039b6d782aba0b79792b756daef2a818c52f4e2cbd17eac7047335a96 06:20:38 $ docker rm -f --volumes f4b931e039b6d782aba0b79792b756daef2a818c52f4e2cbd17eac7047335a96 [Pipeline] // withDockerContainer [Pipeline] sh 06:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:40 Warning: overwriting stash ‘coverage-report’ 06:20:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:41 + ls -al . 06:20:41 total 176 06:20:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 06:16 . 06:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:14 .. 06:20:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 06:14 .dockerignore 06:20:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:14 .git 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:14 .github 06:20:41 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 06:14 .gitignore 06:20:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:14 .golangci.yml 06:20:41 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 06:14 Attribution.txt 06:20:41 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 06:14 CHANGELOG.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 06:14 Dockerfile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:14 GOVERNANCE.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 06:14 Jenkinsfile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:14 LICENSE 06:20:41 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 06:14 Makefile 06:20:41 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:14 OWNERS.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 06:14 README.md 06:20:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 06:11 VERSION 06:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:14 bin 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:14 cmd 06:20:41 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 06:20 coverage.out 06:20:41 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 06:14 go.mod 06:20:41 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 06:14 go.sum 06:20:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:14 internal 06:20:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:14 mock 06:20:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:14 snap 06:20:41 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:41 + 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=f03fc1d8a33200e1270beabcfc4ddd503155c2c8 --label arch=arm64 --label version=0.0.0 . 06:20:41 Sending build context to Docker daemon 3.34MB 06:20:41 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:20:41 Step 2/24 : FROM ${BASE} AS builder 06:20:41 ---> a6c9c8111eea 06:20:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:20:42 ---> Running in de03c7648d9d 06:20:43 Removing intermediate container de03c7648d9d 06:20:43 ---> 8e74da3791bf 06:20:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:43 ---> Running in b1493f9668bc 06:20:43 Removing intermediate container b1493f9668bc 06:20:43 ---> bf29198a715b 06:20:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:20:43 ---> Running in 8cdafa09411c 06:20:44 Removing intermediate container 8cdafa09411c 06:20:44 ---> feda478cc2fd 06:20:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:20:44 ---> Running in 3b6c461d4ce8 06:20:44 Removing intermediate container 3b6c461d4ce8 06:20:44 ---> c95ab414c3a3 06:20:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:44 ---> Running in c4c92fe6bb79 06:20:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:20:47 OK: 268 MiB in 57 packages 06:20:49 Removing intermediate container c4c92fe6bb79 06:20:49 ---> 97f36d0c9299 06:20:49 Step 8/24 : WORKDIR /device-mqtt-go 06:20:49 ---> Running in 4bba5816c5f9 06:20:50 Removing intermediate container 4bba5816c5f9 06:20:50 ---> 9abc75f8ddfe 06:20:50 Step 9/24 : COPY go.mod vendor* ./ 06:20:50 ---> 73ff3c8f5dca 06:20:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:50 ---> Running in ab1bea07134c 06:20:54 Removing intermediate container ab1bea07134c 06:20:54 ---> 6777656b472e 06:20:54 Step 11/24 : COPY . . 06:20:54 ---> 7cb24b7fd14b 06:20:54 Step 12/24 : RUN $MAKE 06:20:54 ---> Running in f90c5e0dd82c 06:20:55 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 06:23:32 Removing intermediate container f90c5e0dd82c 06:23:32 ---> 80b8357694f8 06:23:32 Step 13/24 : FROM alpine:3.17 06:23:32 3.17: Pulling from library/alpine 06:23:32 c41833b44d91: Pulling fs layer 06:23:32 c41833b44d91: Verifying Checksum 06:23:32 c41833b44d91: Download complete 06:23:32 c41833b44d91: Pull complete 06:23:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:23:32 Status: Downloaded newer image for alpine:3.17 06:23:32 ---> 51e60588ff2c 06:23:32 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:23:32 ---> Running in ec4b96a4a407 06:23:32 Removing intermediate container ec4b96a4a407 06:23:32 ---> 525923eba23c 06:23:32 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:23:32 ---> Running in ca212bf31da1 06:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:23:32 (1/1) Installing dumb-init (1.2.5-r2) 06:23:32 Executing busybox-1.35.0-r29.trigger 06:23:32 OK: 8 MiB in 16 packages 06:23:32 Removing intermediate container ca212bf31da1 06:23:32 ---> 68294333cea3 06:23:32 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:23:32 ---> ee934c746fff 06:23:32 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:23:32 ---> 619589297281 06:23:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:23:32 ---> 93027c56cdf8 06:23:32 Step 19/24 : EXPOSE 59982 06:23:32 ---> Running in 0ad5c433fe8c 06:23:32 Removing intermediate container 0ad5c433fe8c 06:23:32 ---> 2ed954da710f 06:23:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:23:32 ---> Running in dbbae847ed45 06:23:32 Removing intermediate container dbbae847ed45 06:23:32 ---> 32d8e4ac8e27 06:23:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:23:32 ---> Running in 83d0a4687019 06:23:32 Removing intermediate container 83d0a4687019 06:23:32 ---> b8f19402f35d 06:23:32 Step 22/24 : LABEL arch=arm64 06:23:32 ---> Running in 001ba3030dff 06:23:32 Removing intermediate container 001ba3030dff 06:23:32 ---> ef9378b882bd 06:23:32 Step 23/24 : LABEL git_sha=f03fc1d8a33200e1270beabcfc4ddd503155c2c8 06:23:32 ---> Running in 0ef5ad4256bc 06:23:32 Removing intermediate container 0ef5ad4256bc 06:23:32 ---> b6d0fc8a87e2 06:23:32 Step 24/24 : LABEL version=0.0.0 06:23:32 ---> Running in 93a79be046a6 06:23:32 Removing intermediate container 93a79be046a6 06:23:32 ---> 9f254dae59fc 06:23:32 [Warning] One or more build-args [ARCH] were not consumed 06:23:32 Successfully built 9f254dae59fc 06:23:32 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 06:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:32 06:23:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:33 arm64: Pulling from edgex-lftools-log-publisher 06:23:33 8998bd30e6a1: Pulling fs layer 06:23:33 04944245beec: Pulling fs layer 06:23:33 699f458cf7ca: Pulling fs layer 06:23:33 765212b225bb: Pulling fs layer 06:23:33 f23df028b6ca: Pulling fs layer 06:23:33 d65c8cfc05b1: Pulling fs layer 06:23:33 2437ff75d9bd: Pulling fs layer 06:23:33 f23df028b6ca: Waiting 06:23:33 d65c8cfc05b1: Waiting 06:23:33 2437ff75d9bd: Waiting 06:23:33 765212b225bb: Waiting 06:23:33 04944245beec: Verifying Checksum 06:23:33 04944245beec: Download complete 06:23:33 765212b225bb: Verifying Checksum 06:23:33 765212b225bb: Download complete 06:23:33 f23df028b6ca: Verifying Checksum 06:23:33 d65c8cfc05b1: Verifying Checksum 06:23:33 d65c8cfc05b1: Download complete 06:23:33 699f458cf7ca: Verifying Checksum 06:23:33 699f458cf7ca: Download complete 06:23:34 8998bd30e6a1: Verifying Checksum 06:23:34 8998bd30e6a1: Download complete 06:23:36 2437ff75d9bd: Verifying Checksum 06:23:36 2437ff75d9bd: Download complete 06:23:38 8998bd30e6a1: Pull complete 06:23:38 04944245beec: Pull complete 06:23:39 699f458cf7ca: Pull complete 06:23:39 765212b225bb: Pull complete 06:23:40 f23df028b6ca: Pull complete 06:23:40 d65c8cfc05b1: Pull complete 06:23:53 2437ff75d9bd: Pull complete 06:23:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-7097 does not seem to be running inside a container 06:23:53 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:23:55 $ docker top e803090d9ca8f50f24774db97f6ac7666c5355724bcb042144c43fbfc14f2bfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:56 ---> job-cost.sh 06:23:56 lf-activate-venv: SKIPPING 06:23:56 INFO: No Stack... 06:23:57 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:58 INFO: Archiving Costs [Pipeline] sh 06:23:58 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 06:23:58 + cut -d, -f6 [Pipeline] lock 06:23:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] 06:23:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] did not exist. Created. 06:23:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:59 /w/workspace/device-mqtt-go/2@tmp/durable-d0c1c133/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:59 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:59 Warning: overwriting stash ‘stack-cost’ 06:24:00 Stashed 1 file(s) [Pipeline] } 06:24:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:24:00 $ docker stop --time=1 e803090d9ca8f50f24774db97f6ac7666c5355724bcb042144c43fbfc14f2bfa 06:24:01 $ docker rm -f --volumes e803090d9ca8f50f24774db97f6ac7666c5355724bcb042144c43fbfc14f2bfa [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 06:24:01 provisioning config files... 06:24:01 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config11990348923647159349tmp [Pipeline] { [Pipeline] sh 06:24:02 + set +x 06:24:02 + bash -s -- 06:24:02 + curl -s https://codecov.io/bash 06:24:02 06:24:02 _____ _ 06:24:02 / ____| | | 06:24:02 | | ___ __| | ___ ___ _____ __ 06:24:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:24:02 | |___| (_) | (_| | __/ (_| (_) \ V / 06:24:02 \_____\___/ \__,_|\___|\___\___/ \_/ 06:24:02 Bash-1.0.6 06:24:02 06:24:02 06:24:02 ==> git version 2.25.1 found 06:24:02 ==> 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 06:24:02 Release-Date: 2020-01-08 06:24:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:24:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:24:02 ==> Jenkins CI detected. 06:24:02 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-555 06:24:02 project root: . 06:24:02 --> token set from env 06:24:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:24:02 ==> Running gcov in . (disable via -X gcov) 06:24:02 ==> Python coveragepy not found 06:24:02 ==> Searching for coverage reports in: 06:24:02 + . 06:24:02 -> Found 1 reports 06:24:02 ==> Detecting git/mercurial file structure 06:24:02 ==> Reading reports 06:24:02 + ./coverage.out bytes=18047 06:24:02 ==> Appending adjustments 06:24:02 https://docs.codecov.io/docs/fixing-reports 06:24:02 + Found adjustments 06:24:02 ==> Gzipping contents 06:24:02 4.0K /tmp/codecov.VwYDLD.gz 06:24:02 ==> Uploading reports 06:24:02 url: https://codecov.io 06:24:02 query: branch=PR-555&commit=f03fc1d8a33200e1270beabcfc4ddd503155c2c8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-555%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=555&job=&cmd_args= 06:24:02 -> Pinging Codecov 06:24:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-555&commit=f03fc1d8a33200e1270beabcfc4ddd503155c2c8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-555%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=555&job=&cmd_args= 06:24:02 -> Uploading to 06:24:02 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7D719EC7BBE17E464838252E33014C33/f03fc1d8a33200e1270beabcfc4ddd503155c2c8/c8558835-f098-4946-97d4-cf72664b8d86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T062402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7471e618dd28a9aaed97e94090900dca3c07b87bc51a43d60ad5a719b7c4366 06:24:02 % Total % Received % Xferd Average Speed Time Time Time Current 06:24:02 Dload Upload Total Spent Left Speed 06:24:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3127 0 0 100 3127 0 10185 --:--:-- --:--:-- --:--:-- 10185 06:24:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f03fc1d8a33200e1270beabcfc4ddd503155c2c8 [Pipeline] } 06:24:03 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 06:24:03 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives ] 06:24:03 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives 06:24:03 total 16 06:24:03 drwxr-xr-x 3 root root 4096 Apr 7 06:13 . 06:24:03 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:13 .. 06:24:03 drwxr-xr-x 2 root root 4096 Apr 7 06:13 cost 06:24:03 -rw-r--r-- 1 root root 86 Apr 7 06:13 cost.csv 06:24:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives 06:24:03 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives 06:24:03 total 16 06:24:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:13 . 06:24:03 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:13 .. 06:24:03 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 06:13 cost 06:24:03 -rw-r--r-- 1 jenkins jenkins 86 Apr 7 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:04 ---> package-listing.sh 06:24:04 ++ facter osfamily 06:24:04 ++ tr '[:upper:]' '[:lower:]' 06:24:05 + OS_FAMILY=debian 06:24:05 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-555 06:24:05 + START_PACKAGES=/tmp/packages_start.txt 06:24:05 + END_PACKAGES=/tmp/packages_end.txt 06:24:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:05 + PACKAGES=/tmp/packages_start.txt 06:24:05 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-555 ']' 06:24:05 + PACKAGES=/tmp/packages_end.txt 06:24:05 + case "${OS_FAMILY}" in 06:24:05 + dpkg -l 06:24:05 + grep '^ii' 06:24:05 + '[' -f /tmp/packages_start.txt ']' 06:24:05 + '[' -f /tmp/packages_end.txt ']' 06:24:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:05 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-555 ']' 06:24:05 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives/ 06:24:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives/ [Pipeline] echo 06:24:05 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-555/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:06 prd-ubuntu20.04-docker-8c-8g-7093 does not seem to be running inside a container 06:24:06 $ 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-555/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-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:24:06 $ docker top 4c5a5ff1fd7dfb24c0d52296befa346b80182fc36c3c16d91026b9c826b86699 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:06 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:07 + ls /var/log/sa-host 06:24:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:07 provisioning config files... 06:24:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config13726682493881454203tmp [Pipeline] { [Pipeline] echo 06:24:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:07 ---> create-netrc.sh [Pipeline] } 06:24:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:07 ---> python-tools-install.sh [Pipeline] echo 06:24:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:08 ---> sudo-logs.sh 06:24:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:08 ---> job-cost.sh 06:24:08 lf-activate-venv: SKIPPING 06:24:08 DEBUG: total: 0.2199999988079071 06:24:08 INFO: Retrieving Stack Cost... 06:24:08 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:09 INFO: Archiving Costs [Pipeline] echo 06:24:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:09 ---> logs-deploy.sh 06:24:09 lf-activate-venv: SKIPPING 06:24:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-555/2 06:24:09 INFO: archiving workspace using pattern(s): 06:24:10 Archives upload complete. 06:24:10 INFO: archiving logs to Nexus