Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00324782a0876aff9eae568f131f671becc33ef2+956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 (80d84a07505b3d73eb43a239b1c96d266f597617) 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-ssh5694173147359692475.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh13818929910546497819.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-600/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-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5930941690125987652.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh16912617687342486728.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-600/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-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12264917528190759097.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15801 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [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-600 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 into PR head commit 00324782a0876aff9eae568f131f671becc33ef2 Merge succeeded, producing 1ba9e73f57b0df2583cb84a3b425af702e44e868 Checking out Revision 1ba9e73f57b0df2583cb84a3b425af702e44e868 (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f 00324782a0876aff9eae568f131f671becc33ef2 # 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 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ba9e73f57b0df2583cb84a3b425af702e44e868 # timeout=10 Commit message: "Merge commit '956e8fc39a0f2febe15e0cd3d023f9e8edea2df2' into HEAD" > git rev-list --no-walk 00324782a0876aff9eae568f131f671becc33ef2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:24 ========================================================= 23:17:24 EdgeX Global Pipelines Version Info 23:17:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:25 ------------------- 23:17:25 stable info: 23:17:25 ------------------- 23:17:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:17:25 Message: update stable to v1.0.249 23:17:26 ------------------- 23:17:26 experimental info: 23:17:26 ------------------- 23:17:26 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:26 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:17:26 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ba9e73f57b0df2583cb84a3b425af702e44e868 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ba9e73 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:26 provisioning config files... 23:17:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config11599703424024894590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:27 ---> docker-login.sh 23:17:27 nexus3.edgexfoundry.org:10001 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:27 Configure a credential helper to remove this warning. See 23:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:27 23:17:27 Login Succeeded 23:17:27 nexus3.edgexfoundry.org:10002 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:27 Configure a credential helper to remove this warning. See 23:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:27 23:17:27 Login Succeeded 23:17:27 nexus3.edgexfoundry.org:10003 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:28 Configure a credential helper to remove this warning. See 23:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:28 23:17:28 Login Succeeded 23:17:28 nexus3.edgexfoundry.org:10004 23:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:28 Configure a credential helper to remove this warning. See 23:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:28 23:17:28 Login Succeeded 23:17:28 docker.io 23:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:28 Configure a credential helper to remove this warning. See 23:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:28 23:17:28 Login Succeeded 23:17:28 ---> docker-login.sh ends [Pipeline] } 23:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:28 + git rev-list -1 --merges 1ba9e73f57b0df2583cb84a3b425af702e44e868~1..1ba9e73f57b0df2583cb84a3b425af702e44e868 [Pipeline] echo 23:17:28 -----------> git rev-list -1 --merges 1ba9e73f57b0df2583cb84a3b425af702e44e868~1..1ba9e73f57b0df2583cb84a3b425af702e44e868 1ba9e73f57b0df2583cb84a3b425af702e44e868 23:17:28 1ba9e73f57b0df2583cb84a3b425af702e44e868 [false] [Pipeline] sh 23:17:29 + git log --format=format:%s -1 1ba9e73f57b0df2583cb84a3b425af702e44e868 [Pipeline] echo 23:17:29 ========================================================= 23:17:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:29 + git log --format=format:%s -1 1ba9e73f57b0df2583cb84a3b425af702e44e868 [Pipeline] echo 23:17:29 [semverPrep] GIT_COMMIT: 1ba9e73f57b0df2583cb84a3b425af702e44e868, Commit Message: Merge commit '956e8fc39a0f2febe15e0cd3d023f9e8edea2df2' into HEAD [Pipeline] echo 23:17:29 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:29 + grep -v github /etc/ssh/ssh_known_hosts 23:17:29 + [ -e /tmp/ssh_known_hosts ] 23:17:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:29 + sudo tee -a /etc/ssh/ssh_known_hosts 23:17:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:30 23:17:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:30 0.1.4: Pulling from edgex-devops/py-git-semver 23:17:30 b85a868b505f: Pulling fs layer 23:17:30 e2be974225ed: Pulling fs layer 23:17:30 339a4e72a1f5: Pulling fs layer 23:17:30 988bab9f4d93: Pulling fs layer 23:17:30 1469e6f7b9e6: Pulling fs layer 23:17:30 eaf3925da568: Pulling fs layer 23:17:30 bab4dde63d76: Pulling fs layer 23:17:30 bde34c3a00c8: Pulling fs layer 23:17:30 b352a97aabf1: Pulling fs layer 23:17:30 4872d77fe225: Pulling fs layer 23:17:30 5851b861e8e6: Pulling fs layer 23:17:30 bab4dde63d76: Waiting 23:17:30 bde34c3a00c8: Waiting 23:17:30 b352a97aabf1: Waiting 23:17:30 4872d77fe225: Waiting 23:17:30 1469e6f7b9e6: Waiting 23:17:30 eaf3925da568: Waiting 23:17:30 5851b861e8e6: Waiting 23:17:30 e2be974225ed: Verifying Checksum 23:17:30 e2be974225ed: Download complete 23:17:30 988bab9f4d93: Verifying Checksum 23:17:30 988bab9f4d93: Download complete 23:17:30 1469e6f7b9e6: Verifying Checksum 23:17:30 1469e6f7b9e6: Download complete 23:17:30 eaf3925da568: Verifying Checksum 23:17:30 eaf3925da568: Download complete 23:17:30 339a4e72a1f5: Verifying Checksum 23:17:30 339a4e72a1f5: Download complete 23:17:30 bde34c3a00c8: Download complete 23:17:30 b352a97aabf1: Verifying Checksum 23:17:30 b352a97aabf1: Download complete 23:17:30 4872d77fe225: Download complete 23:17:30 5851b861e8e6: Download complete 23:17:30 b85a868b505f: Verifying Checksum 23:17:30 b85a868b505f: Download complete 23:17:31 bab4dde63d76: Verifying Checksum 23:17:31 bab4dde63d76: Download complete 23:17:32 b85a868b505f: Pull complete 23:17:32 e2be974225ed: Pull complete 23:17:32 339a4e72a1f5: Pull complete 23:17:32 988bab9f4d93: Pull complete 23:17:33 1469e6f7b9e6: Pull complete 23:17:33 eaf3925da568: Pull complete 23:17:35 bab4dde63d76: Pull complete 23:17:35 bde34c3a00c8: Pull complete 23:17:35 b352a97aabf1: Pull complete 23:17:35 4872d77fe225: Pull complete 23:17:35 5851b861e8e6: Pull complete 23:17:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:35 prd-ubuntu20.04-docker-8c-8g-15801 does not seem to be running inside a container 23:17:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:17:38 $ docker top 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 -eo pid,comm 23:17:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:17:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:38 [ssh-agent] Looking for ssh-agent implementation... 23:17:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:38 $ docker exec 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 ssh-agent 23:17:38 SSH_AUTH_SOCK=/tmp/ssh-t6dOrlYFoAga/agent.32 23:17:38 SSH_AGENT_PID=38 23:17:38 Running ssh-add (command line suppressed) 23:17:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_6080386851965827594.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_6080386851965827594.key) 23:17:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:39 + git tag --points-at HEAD [Pipeline] } 23:17:39 $ docker exec --env ******** --env ******** 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 ssh-agent -k 23:17:39 unset SSH_AUTH_SOCK; 23:17:39 unset SSH_AGENT_PID; 23:17:39 echo Agent pid 38 killed; 23:17:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:39 [ssh-agent] Looking for ssh-agent implementation... 23:17:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:39 $ docker exec 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 ssh-agent 23:17:39 SSH_AUTH_SOCK=/tmp/ssh-J57NZZsQh9J2/agent.70 23:17:39 SSH_AGENT_PID=76 23:17:39 Running ssh-add (command line suppressed) 23:17:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_14125626520413398244.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_14125626520413398244.key) 23:17:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:39 + git semver init 23:17:40 2023-05-16 23:17:40,138 [run_init] DEBUG init version:0.0.0 force:False 23:17:40 2023-05-16 23:17:40,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 23:17:40 2023-05-16 23:17:40,139 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 23:17:40 2023-05-16 23:17:40,139 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600, universal_newlines=False, shell=None, istream=None) 23:17:41 2023-05-16 23:17:40,996 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 23:17:41 2023-05-16 23:17:40,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 23:17:41 2023-05-16 23:17:40,997 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 23:17:41 2023-05-16 23:17:41,001 [execute] INFO git cat-file --batch-check 23:17:41 2023-05-16 23:17:41,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 23:17:41 2023-05-16 23:17:41,008 [execute] INFO git cat-file --batch 23:17:41 2023-05-16 23:17:41,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 23:17:41 2023-05-16 23:17:41,014 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 23:17:41 0.0.0 [Pipeline] } 23:17:41 $ docker exec --env ******** --env ******** 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 ssh-agent -k 23:17:41 unset SSH_AUTH_SOCK; 23:17:41 unset SSH_AGENT_PID; 23:17:41 echo Agent pid 76 killed; 23:17:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:41 + git semver [Pipeline] } 23:17:41 $ docker stop --time=1 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 23:17:43 $ docker rm -f --volumes 4be2ff4640507de666a60cf441e1cec2481acae99f7ada0d2e8e742f8935bb74 [Pipeline] // withDockerContainer [Pipeline] sh 23:17:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:17:43 Stashed 1 file(s) [Pipeline] echo 23:17:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:43 provisioning config files... 23:17:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config15861457988963628108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:44 ---> docker-login.sh 23:17:44 nexus3.edgexfoundry.org:10001 23:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:44 Configure a credential helper to remove this warning. See 23:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:44 23:17:44 Login Succeeded 23:17:44 nexus3.edgexfoundry.org:10002 23:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:44 Configure a credential helper to remove this warning. See 23:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:44 23:17:44 Login Succeeded 23:17:44 nexus3.edgexfoundry.org:10003 23:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:44 Configure a credential helper to remove this warning. See 23:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:44 23:17:44 Login Succeeded 23:17:44 nexus3.edgexfoundry.org:10004 23:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:44 Configure a credential helper to remove this warning. See 23:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:44 23:17:44 Login Succeeded 23:17:44 docker.io 23:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:44 Configure a credential helper to remove this warning. See 23:17:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:44 23:17:44 Login Succeeded 23:17:44 ---> docker-login.sh ends [Pipeline] } 23:17:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:17:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:44 ========================================================= 23:17:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:17:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:45 + 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 . 23:17:45 Sending build context to Docker daemon 6.563MB 23:17:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:17:45 Step 2/12 : FROM ${BASE} AS builder 23:17:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:17:45 f56be85fc22e: Pulling fs layer 23:17:45 85791d961cd3: Pulling fs layer 23:17:45 d694b5ae8c79: Pulling fs layer 23:17:45 9f32a84ed3da: Pulling fs layer 23:17:45 4d19c01a9841: Pulling fs layer 23:17:45 9325e15d5711: Pulling fs layer 23:17:45 556b6ee489ea: Pulling fs layer 23:17:45 c5a4b2cf53e6: Pulling fs layer 23:17:45 9f32a84ed3da: Waiting 23:17:45 4d19c01a9841: Waiting 23:17:45 9325e15d5711: Waiting 23:17:45 556b6ee489ea: Waiting 23:17:45 c5a4b2cf53e6: Waiting 23:17:45 85791d961cd3: Verifying Checksum 23:17:45 85791d961cd3: Download complete 23:17:45 9f32a84ed3da: Verifying Checksum 23:17:45 9f32a84ed3da: Download complete 23:17:45 4d19c01a9841: Verifying Checksum 23:17:45 4d19c01a9841: Download complete 23:17:45 f56be85fc22e: Verifying Checksum 23:17:45 f56be85fc22e: Download complete 23:17:45 9325e15d5711: Verifying Checksum 23:17:45 9325e15d5711: Download complete 23:17:45 f56be85fc22e: Pull complete 23:17:45 85791d961cd3: Pull complete 23:17:46 c5a4b2cf53e6: Verifying Checksum 23:17:46 c5a4b2cf53e6: Download complete 23:17:46 d694b5ae8c79: Download complete 23:17:46 556b6ee489ea: Verifying Checksum 23:17:46 556b6ee489ea: Download complete 23:17:50 d694b5ae8c79: Pull complete 23:17:50 9f32a84ed3da: Pull complete 23:17:50 4d19c01a9841: Pull complete 23:17:50 9325e15d5711: Pull complete 23:17:52 556b6ee489ea: Pull complete 23:17:53 c5a4b2cf53e6: Pull complete 23:17:53 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:17:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:17:53 ---> c4be618373d6 23:17:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:17:57 ---> Running in 59a24a624c37 23:17:57 Removing intermediate container 59a24a624c37 23:17:57 ---> 85922492fa45 23:17:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:57 ---> Running in f7122beecad8 23:17:57 Removing intermediate container f7122beecad8 23:17:57 ---> eeab82498451 23:17:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:17:57 ---> Running in 70fd61aee463 23:17:57 Removing intermediate container 70fd61aee463 23:17:57 ---> bda5e0c3b595 23:17:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:17:57 ---> Running in c9c994f21bec 23:17:57 Removing intermediate container c9c994f21bec 23:17:57 ---> 3feb1b724df0 23:17:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:57 ---> Running in 5f8cbf4f1b49 23:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:58 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:17:58 (2/4) Installing libedit (20221030.3.1-r0) 23:17:58 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:17:58 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:17:58 Executing busybox-1.35.0-r29.trigger 23:17:58 OK: 269 MiB in 57 packages 23:17:58 Still waiting to schedule task 23:17:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:17:59 Removing intermediate container 5f8cbf4f1b49 23:17:59 ---> 84bd72883372 23:17:59 Step 8/12 : WORKDIR /device-mqtt-go 23:17:59 ---> Running in 262d4671c00a 23:17:59 Removing intermediate container 262d4671c00a 23:17:59 ---> 2951b4c2eb46 23:17:59 Step 9/12 : COPY go.mod vendor* ./ 23:17:59 ---> f741f714f3c5 23:17:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:59 ---> Running in bfc1853efde8 23:18:31 Removing intermediate container bfc1853efde8 23:18:31 ---> 06452e7cb466 23:18:31 Step 11/12 : COPY . . 23:18:31 ---> 42b96fcf5328 23:18:31 Step 12/12 : RUN $MAKE 23:18:31 ---> Running in 8aaf2dc7cc56 23:18:31 noop 23:18:31 Removing intermediate container 8aaf2dc7cc56 23:18:31 ---> 8ba187516055 23:18:31 Successfully built 8ba187516055 23:18:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:31 + docker inspect -f . ci-base-image-x86_64 23:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:31 prd-ubuntu20.04-docker-8c-8g-15801 does not seem to be running inside a container 23:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:18:32 $ docker top cbb7792adfa43fb8769ecd6a52f572a6b9ff2f66dadfc22a5b33e77a1a56a0df -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:32 + go version 23:18:32 go version go1.20.2 linux/amd64 [Pipeline] } 23:18:32 $ docker stop --time=1 cbb7792adfa43fb8769ecd6a52f572a6b9ff2f66dadfc22a5b33e77a1a56a0df 23:18:33 $ docker rm -f --volumes cbb7792adfa43fb8769ecd6a52f572a6b9ff2f66dadfc22a5b33e77a1a56a0df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:34 + docker inspect -f . ci-base-image-x86_64 23:18:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:34 prd-ubuntu20.04-docker-8c-8g-15801 does not seem to be running inside a container 23:18:34 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:18:34 $ docker top 663f2db6e442865d38dab06151e24ac849890da2a955ecaeaf2f38743a8dbc0a -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 23:18:35 + make test 23:18:35 go test ./... -coverprofile=coverage.out ./... 23:18:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:18:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:18:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:18:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 23.1% of statements 23:18:59 go vet ./... 23:19:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:02 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:02 $ docker stop --time=1 663f2db6e442865d38dab06151e24ac849890da2a955ecaeaf2f38743a8dbc0a 23:19:06 $ docker rm -f --volumes 663f2db6e442865d38dab06151e24ac849890da2a955ecaeaf2f38743a8dbc0a [Pipeline] // withDockerContainer [Pipeline] sh 23:19:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:19:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:07 + ls -al . 23:19:07 total 180 23:19:07 drwxrwxr-x 10 jenkins jenkins 4096 May 16 23:18 . 23:19:07 drwxrwxr-x 4 jenkins jenkins 4096 May 16 23:17 .. 23:19:07 -rw-rw-r-- 1 jenkins jenkins 140 May 16 23:17 .dockerignore 23:19:07 drwxrwxr-x 8 jenkins jenkins 4096 May 16 23:17 .git 23:19:07 drwxrwxr-x 3 jenkins jenkins 4096 May 16 23:17 .github 23:19:07 -rw-rw-r-- 1 jenkins jenkins 329 May 16 23:17 .gitignore 23:19:07 -rw-rw-r-- 1 jenkins jenkins 41 May 16 23:17 .golangci.yml 23:19:07 drwxr-xr-x 3 jenkins jenkins 4096 May 16 23:17 .semver 23:19:07 -rw-rw-r-- 1 jenkins jenkins 9417 May 16 23:17 Attribution.txt 23:19:07 -rw-rw-r-- 1 jenkins jenkins 13162 May 16 23:17 CHANGELOG.md 23:19:07 -rw-rw-r-- 1 jenkins jenkins 1689 May 16 23:17 Dockerfile 23:19:07 -rw-rw-r-- 1 jenkins jenkins 677 May 16 23:17 GOVERNANCE.md 23:19:07 -rw-rw-r-- 1 jenkins jenkins 678 May 16 23:17 Jenkinsfile 23:19:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 23:17 LICENSE 23:19:07 -rw-rw-r-- 1 jenkins jenkins 1732 May 16 23:17 Makefile 23:19:07 -rw-rw-r-- 1 jenkins jenkins 620 May 16 23:17 OWNERS.md 23:19:07 -rw-rw-r-- 1 jenkins jenkins 3165 May 16 23:17 README.md 23:19:07 -rw-rw-r-- 1 jenkins jenkins 5 May 16 23:17 VERSION 23:19:07 drwxrwxr-x 2 jenkins jenkins 4096 May 16 23:17 bin 23:19:07 drwxrwxr-x 3 jenkins jenkins 4096 May 16 23:17 cmd 23:19:07 -rw-r--r-- 1 jenkins jenkins 18144 May 16 23:18 coverage.out 23:19:07 -rw-rw-r-- 1 jenkins jenkins 3333 May 16 23:17 go.mod 23:19:07 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 23:17 go.sum 23:19:07 drwxrwxr-x 3 jenkins jenkins 4096 May 16 23:17 internal 23:19:07 drwxrwxr-x 2 jenkins jenkins 4096 May 16 23:17 mock 23:19:07 drwxrwxr-x 4 jenkins jenkins 4096 May 16 23:17 snap 23:19:07 -rw-rw-r-- 1 jenkins jenkins 227 May 16 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:07 + 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=1ba9e73f57b0df2583cb84a3b425af702e44e868 --label arch=amd64 --label version=0.0.0 . 23:19:07 Sending build context to Docker daemon 6.582MB 23:19:07 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:19:07 Step 2/24 : FROM ${BASE} AS builder 23:19:07 ---> 8ba187516055 23:19:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:19:08 ---> Running in 365bfe211711 23:19:08 Removing intermediate container 365bfe211711 23:19:08 ---> a89b26e5fb82 23:19:08 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:08 ---> Running in 209d081c7bec 23:19:08 Removing intermediate container 209d081c7bec 23:19:08 ---> 2b9e2ab0444c 23:19:08 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:08 ---> Running in d1c1f8e0a483 23:19:08 Removing intermediate container d1c1f8e0a483 23:19:08 ---> 724e31715836 23:19:08 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:19:08 ---> Running in e973ef4f27f3 23:19:08 Removing intermediate container e973ef4f27f3 23:19:08 ---> d8e00a6c7d39 23:19:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:08 ---> Running in f0d00ba7c69f 23:19:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:09 OK: 269 MiB in 57 packages 23:19:09 Removing intermediate container f0d00ba7c69f 23:19:09 ---> 22358d83542f 23:19:09 Step 8/24 : WORKDIR /device-mqtt-go 23:19:09 ---> Running in a08f798357e5 23:19:09 Removing intermediate container a08f798357e5 23:19:09 ---> 078879895215 23:19:09 Step 9/24 : COPY go.mod vendor* ./ 23:19:09 ---> 37b6a93413ee 23:19:09 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:09 ---> Running in 6e0410ada5aa 23:19:10 Removing intermediate container 6e0410ada5aa 23:19:10 ---> 0bb6f999c0cd 23:19:10 Step 11/24 : COPY . . 23:19:11 ---> 08010aff3b64 23:19:11 Step 12/24 : RUN $MAKE 23:19:11 ---> Running in 33b195be90e1 23:19:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:19:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15802 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 23:19:32 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:19:32 Selected Git installation does not exist. Using Default 23:19:32 The recommended git tool is: NONE 23:19:33 Removing intermediate container 33b195be90e1 23:19:33 ---> ec2b07ba7078 23:19:33 Step 13/24 : FROM alpine:3.17 23:19:33 3.17: Pulling from library/alpine 23:19:33 f56be85fc22e: Already exists 23:19:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:19:33 Status: Downloaded newer image for alpine:3.17 23:19:33 ---> 9ed4aefc74f6 23:19:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:19:33 ---> Running in 2f704eb21aca 23:19:33 Removing intermediate container 2f704eb21aca 23:19:33 ---> be7d5b224d64 23:19:33 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:19:33 ---> Running in facec86664a5 23:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:33 (1/1) Installing dumb-init (1.2.5-r2) 23:19:33 Executing busybox-1.35.0-r29.trigger 23:19:33 OK: 7 MiB in 16 packages 23:19:33 Removing intermediate container facec86664a5 23:19:33 ---> 2420d090f9b2 23:19:33 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:19:33 ---> 5c05c20ca619 23:19:33 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:19:33 ---> db7a2870e914 23:19:33 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:19:33 ---> fb19859816bb 23:19:33 Step 19/24 : EXPOSE 59982 23:19:33 ---> Running in c33824be9c6c 23:19:33 Removing intermediate container c33824be9c6c 23:19:33 ---> 7d806769f8fd 23:19:33 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:19:33 ---> Running in cef4d7dc2ac2 23:19:33 Removing intermediate container cef4d7dc2ac2 23:19:33 ---> 81522227e24f 23:19:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:19:33 ---> Running in 352214ee9f56 23:19:33 Removing intermediate container 352214ee9f56 23:19:33 ---> eff0d23c4400 23:19:33 Step 22/24 : LABEL arch=amd64 23:19:33 ---> Running in 8aafa6df2955 23:19:33 Removing intermediate container 8aafa6df2955 23:19:33 ---> 534fb310d801 23:19:33 Step 23/24 : LABEL git_sha=1ba9e73f57b0df2583cb84a3b425af702e44e868 23:19:33 ---> Running in 54addb3628f2 23:19:33 Removing intermediate container 54addb3628f2 23:19:33 ---> ff9d245d830e 23:19:33 Step 24/24 : LABEL version=0.0.0 23:19:33 ---> Running in 0b00a6492f2f 23:19:33 Removing intermediate container 0b00a6492f2f 23:19:33 ---> 38215fef9fdd 23:19:33 [Warning] One or more build-args [ARCH] were not consumed 23:19:33 Successfully built 38215fef9fdd 23:19:33 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:34 23:19:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:34 latest: Pulling from edgex-lftools-log-publisher 23:19:34 5eb5b503b376: Pulling fs layer 23:19:34 5c69ac0246d0: Pulling fs layer 23:19:34 ec43610c2a17: Pulling fs layer 23:19:34 3a2ae6a8a46f: Pulling fs layer 23:19:34 33b1e0a273af: Pulling fs layer 23:19:34 5d3b04190fa2: Pulling fs layer 23:19:34 2f39f015ded8: Pulling fs layer 23:19:34 33b1e0a273af: Waiting 23:19:34 5d3b04190fa2: Waiting 23:19:34 2f39f015ded8: Waiting 23:19:34 3a2ae6a8a46f: Waiting 23:19:34 3a2ae6a8a46f: Verifying Checksum 23:19:34 3a2ae6a8a46f: Download complete 23:19:34 33b1e0a273af: Verifying Checksum 23:19:34 33b1e0a273af: Download complete 23:19:34 5d3b04190fa2: Verifying Checksum 23:19:34 5d3b04190fa2: Download complete 23:19:34 ec43610c2a17: Verifying Checksum 23:19:34 ec43610c2a17: Download complete 23:19:34 5eb5b503b376: Verifying Checksum 23:19:34 5eb5b503b376: Download complete 23:19:35 2f39f015ded8: Download complete 23:19:35 5eb5b503b376: Pull complete 23:19:36 5c69ac0246d0: Pull complete 23:19:36 ec43610c2a17: Pull complete 23:19:36 3a2ae6a8a46f: Pull complete 23:19:36 33b1e0a273af: Pull complete 23:19:36 5d3b04190fa2: Pull complete 23:19:39 using credential edgex-jenkins-ssh 23:19:39 Cloning the remote Git repository 23:19:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:19:39 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:19:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:39 > git --version # timeout=10 23:19:39 > git --version # 'git version 2.25.1' 23:19:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:41 2f39f015ded8: Pull complete 23:19:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:19:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:41 prd-ubuntu20.04-docker-8c-8g-15801 does not seem to be running inside a container 23:19:41 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:19:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:42 Merging remotes/origin/main commit 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 into PR head commit 00324782a0876aff9eae568f131f671becc33ef2 23:19:42 Merge succeeded, producing 85f63c053e6bb81042298f89b06a21ea03e3496c 23:19:42 Checking out Revision 85f63c053e6bb81042298f89b06a21ea03e3496c (PR-600) 23:19:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:19:42 > git config core.sparsecheckout # timeout=10 23:19:42 > git checkout -f 00324782a0876aff9eae568f131f671becc33ef2 # timeout=10 23:19:42 > git remote # timeout=10 23:19:42 > git config --get remote.origin.url # timeout=10 23:19:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:42 > git merge 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 23:19:42 > git rev-parse HEAD^{commit} # timeout=10 23:19:42 > git config core.sparsecheckout # timeout=10 23:19:42 > git checkout -f 85f63c053e6bb81042298f89b06a21ea03e3496c # timeout=10 23:19:44 $ docker top b2792f0fe1b890c0fe73038b8b229970ffa29f3878d03959476944f67ea17724 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:44 ---> job-cost.sh 23:19:44 lf-activate-venv: SKIPPING 23:19:44 INFO: No Stack... 23:19:44 INFO: Retrieving Pricing Info for: v3-standard-8 23:19:45 INFO: Archiving Costs [Pipeline] sh 23:19:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv 23:19:45 + cut -d, -f6 [Pipeline] lock 23:19:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] 23:19:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] did not exist. Created. 23:19:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:45 Commit message: "Merge commit '956e8fc39a0f2febe15e0cd3d023f9e8edea2df2' into HEAD" 23:19:46 + echo total: 0.2199999988079071 [Pipeline] stash 23:19:46 > git rev-list --no-walk 00324782a0876aff9eae568f131f671becc33ef2 # timeout=10 23:19:46 Stashed 1 file(s) [Pipeline] } 23:19:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:46 $ docker stop --time=1 b2792f0fe1b890c0fe73038b8b229970ffa29f3878d03959476944f67ea17724 23:19:46 23:19:46 GitHub has been notified of this commit’s build result 23:19:46 23:19:47 $ docker rm -f --volumes b2792f0fe1b890c0fe73038b8b229970ffa29f3878d03959476944f67ea17724 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:19:47 % Total % Received % Xferd Average Speed Time Time Time Current 23:19:47 Dload Upload Total Spent Left Speed 23:19:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 23:19:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:19:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:19:48 + sudo tee /etc/docker/daemon.new 23:19:48 { 23:19:48 "registry-mirrors": [ 23:19:48 "https://nexus3.edgexfoundry.org:10001" 23:19:48 ], 23:19:48 "bip": "10.250.0.254/24", 23:19:48 "hosts": [ 23:19:48 "tcp://0.0.0.0:5555", 23:19:48 "unix:///var/run/docker.sock" 23:19:48 ], 23:19:48 "mtu": 1458, 23:19:48 "selinux-enabled": true, 23:19:48 "seccomp-profile": "/etc/docker/seccomp.json" 23:19:48 } [Pipeline] sh 23:19:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:19:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:07 provisioning config files... 23:20:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config7576207355144716655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:08 ---> docker-login.sh 23:20:08 nexus3.edgexfoundry.org:10001 23:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:08 Configure a credential helper to remove this warning. See 23:20:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:08 23:20:08 Login Succeeded 23:20:08 nexus3.edgexfoundry.org:10002 23:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:09 Configure a credential helper to remove this warning. See 23:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:09 23:20:09 Login Succeeded 23:20:09 nexus3.edgexfoundry.org:10003 23:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:09 Configure a credential helper to remove this warning. See 23:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:09 23:20:09 Login Succeeded 23:20:09 nexus3.edgexfoundry.org:10004 23:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:09 Configure a credential helper to remove this warning. See 23:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:09 23:20:09 Login Succeeded 23:20:09 docker.io 23:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:10 Configure a credential helper to remove this warning. See 23:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:10 23:20:10 Login Succeeded 23:20:10 ---> docker-login.sh ends [Pipeline] } 23:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:10 ========================================================= 23:20:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:20:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:11 + 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 . 23:20:11 Sending build context to Docker daemon 3.412MB 23:20:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:20:11 Step 2/12 : FROM ${BASE} AS builder 23:20:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:11 c41833b44d91: Pulling fs layer 23:20:11 ed15518f5707: Pulling fs layer 23:20:11 feae8fd75edb: Pulling fs layer 23:20:11 242c74f7c9fa: Pulling fs layer 23:20:11 3cdef696dda3: Pulling fs layer 23:20:11 2ced38df9373: Pulling fs layer 23:20:11 58f1dce35555: Pulling fs layer 23:20:11 3cdef696dda3: Waiting 23:20:11 2ced38df9373: Waiting 23:20:11 58f1dce35555: Waiting 23:20:11 242c74f7c9fa: Waiting 23:20:11 ed15518f5707: Verifying Checksum 23:20:11 ed15518f5707: Download complete 23:20:11 242c74f7c9fa: Verifying Checksum 23:20:11 242c74f7c9fa: Download complete 23:20:11 3cdef696dda3: Verifying Checksum 23:20:11 3cdef696dda3: Download complete 23:20:11 c41833b44d91: Verifying Checksum 23:20:11 c41833b44d91: Download complete 23:20:12 c41833b44d91: Pull complete 23:20:13 58f1dce35555: Verifying Checksum 23:20:13 58f1dce35555: Download complete 23:20:13 ed15518f5707: Pull complete 23:20:14 feae8fd75edb: Verifying Checksum 23:20:14 feae8fd75edb: Download complete 23:20:14 2ced38df9373: Verifying Checksum 23:20:14 2ced38df9373: Download complete 23:20:26 feae8fd75edb: Pull complete 23:20:26 242c74f7c9fa: Pull complete 23:20:26 3cdef696dda3: Pull complete 23:20:35 2ced38df9373: Pull complete 23:20:37 58f1dce35555: Pull complete 23:20:37 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:20:37 ---> fadd8f120f05 23:20:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:20:38 ---> Running in 55c01148df8c 23:20:39 Removing intermediate container 55c01148df8c 23:20:39 ---> d1633496c9d3 23:20:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:39 ---> Running in f0d073250902 23:20:39 Removing intermediate container f0d073250902 23:20:39 ---> 1fc4f5a6782d 23:20:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:39 ---> Running in cc378ac05702 23:20:40 Removing intermediate container cc378ac05702 23:20:40 ---> 633a38e7a1c9 23:20:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:20:40 ---> Running in 3ebb58886ae0 23:20:40 Removing intermediate container 3ebb58886ae0 23:20:40 ---> 38037434791b 23:20:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:40 ---> Running in cc6c056f82b8 23:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:20:43 (2/4) Installing libedit (20221030.3.1-r0) 23:20:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:20:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:20:43 Executing busybox-1.35.0-r29.trigger 23:20:43 OK: 268 MiB in 57 packages 23:20:44 Removing intermediate container cc6c056f82b8 23:20:44 ---> 698dca34cbb5 23:20:44 Step 8/12 : WORKDIR /device-mqtt-go 23:20:44 ---> Running in a8cd867f8431 23:20:44 Removing intermediate container a8cd867f8431 23:20:44 ---> 731a0aabaad8 23:20:44 Step 9/12 : COPY go.mod vendor* ./ 23:20:47 ---> ecf2c5c56d27 23:20:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:47 ---> Running in 02adb590793a 23:21:55 Removing intermediate container 02adb590793a 23:21:55 ---> e9abe2ece8a1 23:21:55 Step 11/12 : COPY . . 23:21:55 ---> 4abf2d4cdfa9 23:21:55 Step 12/12 : RUN $MAKE 23:21:55 ---> Running in f9cc903436ae 23:21:55 noop 23:21:55 Removing intermediate container f9cc903436ae 23:21:55 ---> ec0f0d7448a1 23:21:55 Successfully built ec0f0d7448a1 23:21:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:56 + docker inspect -f . ci-base-image-arm64 23:21:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:56 prd-ubuntu20.04-docker-arm64-4c-16g-15802 does not seem to be running inside a container 23:21:56 $ 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 ******** -e ******** ci-base-image-arm64 cat 23:21:57 $ docker top dc01799b1562be1ecafceb33c48234770bf86e45af682f67cf5f211bad2ae6fd -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:58 + go version 23:21:58 go version go1.20.2 linux/arm64 [Pipeline] } 23:21:58 $ docker stop --time=1 dc01799b1562be1ecafceb33c48234770bf86e45af682f67cf5f211bad2ae6fd 23:22:00 $ docker rm -f --volumes dc01799b1562be1ecafceb33c48234770bf86e45af682f67cf5f211bad2ae6fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:00 + docker inspect -f . ci-base-image-arm64 23:22:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:00 prd-ubuntu20.04-docker-arm64-4c-16g-15802 does not seem to be running inside a container 23:22:00 $ 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 ******** -e ******** ci-base-image-arm64 cat 23:22:01 $ docker top 5ac93c9df117f0cde38f7dca2bbab1c9c2724146d9789c76004ba813a9f6e11c -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:02 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 23:22:03 + make test 23:22:03 go test ./... -coverprofile=coverage.out ./... 23:22:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 23.1% of statements 23:24:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:31 go vet ./... 23:24:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:57 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:24:58 $ docker stop --time=1 5ac93c9df117f0cde38f7dca2bbab1c9c2724146d9789c76004ba813a9f6e11c 23:24:59 $ docker rm -f --volumes 5ac93c9df117f0cde38f7dca2bbab1c9c2724146d9789c76004ba813a9f6e11c [Pipeline] // withDockerContainer [Pipeline] sh 23:25:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:00 Warning: overwriting stash ‘coverage-report’ 23:25:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:02 + ls -al . 23:25:02 total 176 23:25:02 drwxrwxr-x 9 jenkins jenkins 4096 May 16 23:22 . 23:25:02 drwxrwxr-x 4 jenkins jenkins 4096 May 16 23:19 .. 23:25:02 -rw-rw-r-- 1 jenkins jenkins 140 May 16 23:19 .dockerignore 23:25:02 drwxrwxr-x 8 jenkins jenkins 4096 May 16 23:19 .git 23:25:02 drwxrwxr-x 3 jenkins jenkins 4096 May 16 23:19 .github 23:25:02 -rw-rw-r-- 1 jenkins jenkins 329 May 16 23:19 .gitignore 23:25:02 -rw-rw-r-- 1 jenkins jenkins 41 May 16 23:19 .golangci.yml 23:25:02 -rw-rw-r-- 1 jenkins jenkins 9417 May 16 23:19 Attribution.txt 23:25:02 -rw-rw-r-- 1 jenkins jenkins 13162 May 16 23:19 CHANGELOG.md 23:25:02 -rw-rw-r-- 1 jenkins jenkins 1689 May 16 23:19 Dockerfile 23:25:02 -rw-rw-r-- 1 jenkins jenkins 677 May 16 23:19 GOVERNANCE.md 23:25:02 -rw-rw-r-- 1 jenkins jenkins 678 May 16 23:19 Jenkinsfile 23:25:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 23:19 LICENSE 23:25:02 -rw-rw-r-- 1 jenkins jenkins 1732 May 16 23:19 Makefile 23:25:02 -rw-rw-r-- 1 jenkins jenkins 620 May 16 23:19 OWNERS.md 23:25:02 -rw-rw-r-- 1 jenkins jenkins 3165 May 16 23:19 README.md 23:25:02 -rw-rw-r-- 1 jenkins jenkins 5 May 16 23:17 VERSION 23:25:02 drwxrwxr-x 2 jenkins jenkins 4096 May 16 23:19 bin 23:25:02 drwxrwxr-x 3 jenkins jenkins 4096 May 16 23:19 cmd 23:25:02 -rw-r--r-- 1 jenkins jenkins 18144 May 16 23:24 coverage.out 23:25:02 -rw-rw-r-- 1 jenkins jenkins 3333 May 16 23:19 go.mod 23:25:02 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 23:19 go.sum 23:25:02 drwxrwxr-x 3 jenkins jenkins 4096 May 16 23:19 internal 23:25:02 drwxrwxr-x 2 jenkins jenkins 4096 May 16 23:19 mock 23:25:02 drwxrwxr-x 4 jenkins jenkins 4096 May 16 23:19 snap 23:25:02 -rw-rw-r-- 1 jenkins jenkins 227 May 16 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:02 + 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=85f63c053e6bb81042298f89b06a21ea03e3496c --label arch=arm64 --label version=0.0.0 . 23:25:02 Sending build context to Docker daemon 3.431MB 23:25:02 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:25:02 Step 2/24 : FROM ${BASE} AS builder 23:25:02 ---> ec0f0d7448a1 23:25:02 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:25:03 ---> Running in e5a4a84c3fe5 23:25:03 Removing intermediate container e5a4a84c3fe5 23:25:03 ---> 11ec524edf01 23:25:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:03 ---> Running in af5751107d26 23:25:04 Removing intermediate container af5751107d26 23:25:04 ---> 9a72dabd0be9 23:25:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:25:04 ---> Running in 6ef66c1c6db2 23:25:04 Removing intermediate container 6ef66c1c6db2 23:25:04 ---> 3bf1709e187a 23:25:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:25:04 ---> Running in 0d7ad219e661 23:25:04 Removing intermediate container 0d7ad219e661 23:25:04 ---> a07645aa89aa 23:25:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:04 ---> Running in 46bbdae4a8dc 23:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:07 OK: 268 MiB in 57 packages 23:25:08 Removing intermediate container 46bbdae4a8dc 23:25:08 ---> 4621839af88a 23:25:08 Step 8/24 : WORKDIR /device-mqtt-go 23:25:08 ---> Running in db81169782e0 23:25:08 Removing intermediate container db81169782e0 23:25:08 ---> a3fa11402ce0 23:25:08 Step 9/24 : COPY go.mod vendor* ./ 23:25:08 ---> 48bf989a4b0b 23:25:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:09 ---> Running in 123633092c54 23:25:11 Removing intermediate container 123633092c54 23:25:11 ---> 76e70069b2ff 23:25:11 Step 11/24 : COPY . . 23:25:11 ---> 15b695af7cc5 23:25:11 Step 12/24 : RUN $MAKE 23:25:11 ---> Running in 1079c7dc19cc 23:25:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:27:19 Removing intermediate container 1079c7dc19cc 23:27:19 ---> 055114c0ea74 23:27:19 Step 13/24 : FROM alpine:3.17 23:27:19 3.17: Pulling from library/alpine 23:27:19 c41833b44d91: Already exists 23:27:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:27:19 Status: Downloaded newer image for alpine:3.17 23:27:19 ---> 51e60588ff2c 23:27:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:27:19 ---> Running in 7ed68316df86 23:27:19 Removing intermediate container 7ed68316df86 23:27:19 ---> c1af33376e59 23:27:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:27:19 ---> Running in 4ef1af9e098a 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:19 (1/1) Installing dumb-init (1.2.5-r2) 23:27:19 Executing busybox-1.35.0-r29.trigger 23:27:19 OK: 8 MiB in 16 packages 23:27:19 Removing intermediate container 4ef1af9e098a 23:27:19 ---> cc71609601cc 23:27:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:27:19 ---> 41498fc61945 23:27:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:27:19 ---> 886f660dcea6 23:27:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:27:19 ---> 76e28cec7d22 23:27:19 Step 19/24 : EXPOSE 59982 23:27:19 ---> Running in edf34a5d29d3 23:27:19 Removing intermediate container edf34a5d29d3 23:27:19 ---> bf241dc67bdd 23:27:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:27:19 ---> Running in 59a7ac40b27e 23:27:19 Removing intermediate container 59a7ac40b27e 23:27:19 ---> 32645dcb278d 23:27:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:27:19 ---> Running in 990b33d8fec3 23:27:20 Removing intermediate container 990b33d8fec3 23:27:20 ---> aa0c94fbd65b 23:27:20 Step 22/24 : LABEL arch=arm64 23:27:20 ---> Running in 87916d060b59 23:27:20 Removing intermediate container 87916d060b59 23:27:20 ---> 6651e717d273 23:27:20 Step 23/24 : LABEL git_sha=85f63c053e6bb81042298f89b06a21ea03e3496c 23:27:20 ---> Running in 15ecedfd146d 23:27:21 Removing intermediate container 15ecedfd146d 23:27:21 ---> 4f80c95bcdae 23:27:21 Step 24/24 : LABEL version=0.0.0 23:27:21 ---> Running in 94828eaf66bc 23:27:21 Removing intermediate container 94828eaf66bc 23:27:21 ---> a5c054de31b9 23:27:21 [Warning] One or more build-args [ARCH] were not consumed 23:27:21 Successfully built a5c054de31b9 23:27:21 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:21 23:27:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:22 arm64: Pulling from edgex-lftools-log-publisher 23:27:22 8998bd30e6a1: Pulling fs layer 23:27:22 04944245beec: Pulling fs layer 23:27:22 699f458cf7ca: Pulling fs layer 23:27:22 765212b225bb: Pulling fs layer 23:27:22 f23df028b6ca: Pulling fs layer 23:27:22 d65c8cfc05b1: Pulling fs layer 23:27:22 2437ff75d9bd: Pulling fs layer 23:27:22 765212b225bb: Waiting 23:27:22 f23df028b6ca: Waiting 23:27:22 d65c8cfc05b1: Waiting 23:27:22 2437ff75d9bd: Waiting 23:27:22 04944245beec: Verifying Checksum 23:27:22 04944245beec: Download complete 23:27:22 765212b225bb: Verifying Checksum 23:27:22 765212b225bb: Download complete 23:27:22 f23df028b6ca: Verifying Checksum 23:27:22 f23df028b6ca: Download complete 23:27:22 d65c8cfc05b1: Verifying Checksum 23:27:22 d65c8cfc05b1: Download complete 23:27:22 699f458cf7ca: Verifying Checksum 23:27:22 699f458cf7ca: Download complete 23:27:22 8998bd30e6a1: Verifying Checksum 23:27:22 8998bd30e6a1: Download complete 23:27:25 2437ff75d9bd: Verifying Checksum 23:27:25 2437ff75d9bd: Download complete 23:27:26 8998bd30e6a1: Pull complete 23:27:27 04944245beec: Pull complete 23:27:30 699f458cf7ca: Pull complete 23:27:30 765212b225bb: Pull complete 23:27:31 f23df028b6ca: Pull complete 23:27:31 d65c8cfc05b1: Pull complete 23:27:46 2437ff75d9bd: Pull complete 23:27:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:46 prd-ubuntu20.04-docker-arm64-4c-16g-15802 does not seem to be running inside a container 23:27:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:27:49 $ docker top 8f7d45bf4c6f50680f2a62c7568be27019c145b0ca82466e3c6d1e1859108230 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:50 ---> job-cost.sh 23:27:50 lf-activate-venv: SKIPPING 23:27:50 INFO: No Stack... 23:27:50 INFO: Retrieving Pricing Info for: v3-standard-4 23:27:51 INFO: Archiving Costs [Pipeline] sh 23:27:51 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 23:27:51 + cut -d, -f6 [Pipeline] lock 23:27:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] 23:27:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] did not exist. Created. 23:27:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:52 /w/workspace/device-mqtt-go/2@tmp/durable-cd4e7115/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:27:52 + echo total: 0.10999999940395355 [Pipeline] stash 23:27:52 Warning: overwriting stash ‘stack-cost’ 23:27:52 Stashed 1 file(s) [Pipeline] } 23:27:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:52 $ docker stop --time=1 8f7d45bf4c6f50680f2a62c7568be27019c145b0ca82466e3c6d1e1859108230 23:27:54 $ docker rm -f --volumes 8f7d45bf4c6f50680f2a62c7568be27019c145b0ca82466e3c6d1e1859108230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:27:54 provisioning config files... 23:27:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config12475002749499721138tmp [Pipeline] { [Pipeline] sh 23:27:55 + set +x 23:27:55 + curl -s https://codecov.io/bash 23:27:55 + bash -s -- 23:27:55 23:27:55 _____ _ 23:27:55 / ____| | | 23:27:55 | | ___ __| | ___ ___ _____ __ 23:27:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:27:55 | |___| (_) | (_| | __/ (_| (_) \ V / 23:27:55 \_____\___/ \__,_|\___|\___\___/ \_/ 23:27:55 Bash-1.0.6 23:27:55 23:27:55 23:27:55 ==> git version 2.25.1 found 23:27:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:27:55 Release-Date: 2020-01-08 23:27:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:27:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:27:55 ==> Jenkins CI detected. 23:27:55 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 23:27:55 project root: . 23:27:55 --> token set from env 23:27:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:27:55 ==> Running gcov in . (disable via -X gcov) 23:27:55 ==> Python coveragepy not found 23:27:55 ==> Searching for coverage reports in: 23:27:55 + . 23:27:55 -> Found 1 reports 23:27:55 ==> Detecting git/mercurial file structure 23:27:55 ==> Reading reports 23:27:55 + ./coverage.out bytes=18144 23:27:55 ==> Appending adjustments 23:27:55 https://docs.codecov.io/docs/fixing-reports 23:27:55 + Found adjustments 23:27:55 ==> Gzipping contents 23:27:55 4.0K /tmp/codecov.WMaCCl.gz 23:27:55 ==> Uploading reports 23:27:55 url: https://codecov.io 23:27:55 query: branch=PR-600&commit=1ba9e73f57b0df2583cb84a3b425af702e44e868&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 23:27:55 -> Pinging Codecov 23:27:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-600&commit=1ba9e73f57b0df2583cb84a3b425af702e44e868&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 23:27:55 -> Uploading to 23:27:55 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/7D719EC7BBE17E464838252E33014C33/1ba9e73f57b0df2583cb84a3b425af702e44e868/52511aad-9a2a-49ed-becd-8b994455041f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T232755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2131141ee0979ad1b43615dc1e13db0538d53c33a19bf5279df1d2216cd1cbe6 23:27:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:55 Dload Upload Total Spent Left Speed 23:27:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 15090 --:--:-- --:--:-- --:--:-- 15018 100 3184 0 0 100 3184 0 15018 --:--:-- --:--:-- --:--:-- 14948 23:27:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1ba9e73f57b0df2583cb84a3b425af702e44e868 [Pipeline] } 23:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:27:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 23:27:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:27:56 total 16 23:27:56 drwxr-xr-x 3 root root 4096 May 16 23:19 . 23:27:56 drwxrwxr-x 11 jenkins jenkins 4096 May 16 23:19 .. 23:27:56 drwxr-xr-x 2 root root 4096 May 16 23:19 cost 23:27:56 -rw-r--r-- 1 root root 86 May 16 23:19 cost.csv 23:27:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:27:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:27:56 total 16 23:27:56 drwxr-xr-x 3 jenkins jenkins 4096 May 16 23:19 . 23:27:56 drwxrwxr-x 11 jenkins jenkins 4096 May 16 23:19 .. 23:27:56 drwxr-xr-x 2 jenkins jenkins 4096 May 16 23:19 cost 23:27:56 -rw-r--r-- 1 jenkins jenkins 86 May 16 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:27:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:27:57 ---> package-listing.sh 23:27:57 ++ facter osfamily 23:27:57 ++ tr '[:upper:]' '[:lower:]' 23:27:58 + OS_FAMILY=debian 23:27:58 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 23:27:58 + START_PACKAGES=/tmp/packages_start.txt 23:27:58 + END_PACKAGES=/tmp/packages_end.txt 23:27:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:27:58 + PACKAGES=/tmp/packages_start.txt 23:27:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 23:27:58 + PACKAGES=/tmp/packages_end.txt 23:27:58 + case "${OS_FAMILY}" in 23:27:58 + dpkg -l 23:27:58 + grep '^ii' 23:27:58 + '[' -f /tmp/packages_start.txt ']' 23:27:58 + '[' -f /tmp/packages_end.txt ']' 23:27:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:27:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 23:27:58 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 23:27:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ [Pipeline] echo 23:27:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:27:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:58 prd-ubuntu20.04-docker-8c-8g-15801 does not seem to be running inside a container 23:27:59 $ 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-600/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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:27:59 $ docker top 27f780a70e29c2918147ad8a895789a20430242098a7f7d1c899e01c7e37ef0f -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:59 + touch /tmp/pre-build-complete [Pipeline] sh 23:27:59 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:00 + ls /var/log/sa-host 23:28:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:00 provisioning config files... 23:28:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config12437181702188077320tmp [Pipeline] { [Pipeline] echo 23:28:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> create-netrc.sh [Pipeline] } 23:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> python-tools-install.sh [Pipeline] echo 23:28:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> sudo-logs.sh 23:28:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> job-cost.sh 23:28:01 lf-activate-venv: SKIPPING 23:28:01 DEBUG: total: 0.2199999988079071 23:28:01 INFO: Retrieving Stack Cost... 23:28:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:02 INFO: Archiving Costs [Pipeline] echo 23:28:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:02 ---> logs-deploy.sh 23:28:02 lf-activate-venv: SKIPPING 23:28:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/2 23:28:02 INFO: archiving workspace using pattern(s): 23:28:03 Archives upload complete. 23:28:03 INFO: archiving logs to Nexus