Pull request #592 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 214c1642c8ee607317b11921cf526686c6e71511+c17318ed096a052cb57e06eb9991910afac7407c (75a474fa2575e6b4ecf045c88379021e227eccea) 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-ssh14624934896722317506.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-ssh16102508200932210491.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9897878454258781655.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-592/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6967683103616934024.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9210405110182622055.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-592/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-592/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4520171218666162589.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13348 in /w/workspace/gexfoundry_device-mqtt-go_PR-592 [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-592 # 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/592/head:refs/remotes/origin/PR-592 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c17318ed096a052cb57e06eb9991910afac7407c into PR head commit 214c1642c8ee607317b11921cf526686c6e71511 Merge succeeded, producing 214c1642c8ee607317b11921cf526686c6e71511 Checking out Revision 214c1642c8ee607317b11921cf526686c6e71511 (PR-592) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:01:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 214c1642c8ee607317b11921cf526686c6e71511 # 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 c17318ed096a052cb57e06eb9991910afac7407c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 214c1642c8ee607317b11921cf526686c6e71511 # timeout=10 [Pipeline] withCredentials 02:01:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:45 ========================================================= 02:01:45 EdgeX Global Pipelines Version Info 02:01:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:46 ------------------- 02:01:46 stable info: 02:01:46 ------------------- 02:01:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:01:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:46 Message: update stable to v1.0.249 02:01:46 ------------------- 02:01:46 experimental info: 02:01:46 ------------------- 02:01:46 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:46 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-592 [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-592 [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-592 [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 214c1642c8ee607317b11921cf526686c6e71511 [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 214c164 [Pipeline] echo 02:01:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:48 provisioning config files... 02:01:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/config1956760058720560684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:48 ---> docker-login.sh 02:01:48 nexus3.edgexfoundry.org:10001 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 nexus3.edgexfoundry.org:10002 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 nexus3.edgexfoundry.org:10003 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 nexus3.edgexfoundry.org:10004 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 docker.io 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 ---> docker-login.sh ends [Pipeline] } 02:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:50 + git rev-list -1 --merges 214c1642c8ee607317b11921cf526686c6e71511~1..214c1642c8ee607317b11921cf526686c6e71511 [Pipeline] echo 02:01:50 -----------> git rev-list -1 --merges 214c1642c8ee607317b11921cf526686c6e71511~1..214c1642c8ee607317b11921cf526686c6e71511 214c1642c8ee607317b11921cf526686c6e71511 [false] [Pipeline] sh 02:01:50 + git log --format=format:%s -1 214c1642c8ee607317b11921cf526686c6e71511 [Pipeline] echo 02:01:50 ========================================================= 02:01:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:51 + git log --format=format:%s -1 214c1642c8ee607317b11921cf526686c6e71511 [Pipeline] echo 02:01:51 [semverPrep] GIT_COMMIT: 214c1642c8ee607317b11921cf526686c6e71511, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:01:51 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:51 + grep -v github /etc/ssh/ssh_known_hosts 02:01:51 + [ -e /tmp/ssh_known_hosts ] 02:01:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:51 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 02:01:51 tee -a /etc/ssh/ssh_known_hosts 02:01:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:52 02:01:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:52 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:52 b85a868b505f: Pulling fs layer 02:01:52 e2be974225ed: Pulling fs layer 02:01:52 339a4e72a1f5: Pulling fs layer 02:01:52 988bab9f4d93: Pulling fs layer 02:01:52 1469e6f7b9e6: Pulling fs layer 02:01:52 eaf3925da568: Pulling fs layer 02:01:52 bab4dde63d76: Pulling fs layer 02:01:52 bde34c3a00c8: Pulling fs layer 02:01:52 b352a97aabf1: Pulling fs layer 02:01:52 4872d77fe225: Pulling fs layer 02:01:52 5851b861e8e6: Pulling fs layer 02:01:52 988bab9f4d93: Waiting 02:01:52 1469e6f7b9e6: Waiting 02:01:52 eaf3925da568: Waiting 02:01:52 bab4dde63d76: Waiting 02:01:52 4872d77fe225: Waiting 02:01:52 5851b861e8e6: Waiting 02:01:52 bde34c3a00c8: Waiting 02:01:52 b352a97aabf1: Waiting 02:01:52 e2be974225ed: Verifying Checksum 02:01:52 e2be974225ed: Download complete 02:01:52 339a4e72a1f5: Verifying Checksum 02:01:52 339a4e72a1f5: Download complete 02:01:52 1469e6f7b9e6: Verifying Checksum 02:01:52 1469e6f7b9e6: Download complete 02:01:52 eaf3925da568: Verifying Checksum 02:01:52 eaf3925da568: Download complete 02:01:52 bde34c3a00c8: Verifying Checksum 02:01:52 bde34c3a00c8: Download complete 02:01:52 b352a97aabf1: Verifying Checksum 02:01:52 b352a97aabf1: Download complete 02:01:52 4872d77fe225: Verifying Checksum 02:01:52 4872d77fe225: Download complete 02:01:52 5851b861e8e6: Verifying Checksum 02:01:52 5851b861e8e6: Download complete 02:01:52 b85a868b505f: Verifying Checksum 02:01:52 b85a868b505f: Download complete 02:01:53 bab4dde63d76: Verifying Checksum 02:01:53 bab4dde63d76: Download complete 02:01:54 b85a868b505f: Pull complete 02:01:54 e2be974225ed: Pull complete 02:01:54 339a4e72a1f5: Pull complete 02:01:54 988bab9f4d93: Pull complete 02:01:55 1469e6f7b9e6: Pull complete 02:01:55 eaf3925da568: Pull complete 02:01:57 bab4dde63d76: Pull complete 02:01:57 bde34c3a00c8: Pull complete 02:01:57 b352a97aabf1: Pull complete 02:01:57 4872d77fe225: Pull complete 02:01:57 5851b861e8e6: Pull complete 02:01:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:57 prd-ubuntu20.04-docker-8c-8g-13348 does not seem to be running inside a container 02:01:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-592 -v /w/workspace/gexfoundry_device-mqtt-go_PR-592:/w/workspace/gexfoundry_device-mqtt-go_PR-592:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-592@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:02:01 $ docker top d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a -eo pid,comm 02:02:01 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). 02:02:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:02:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:02:01 [ssh-agent] Looking for ssh-agent implementation... 02:02:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:02:01 $ docker exec d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a ssh-agent 02:02:01 SSH_AUTH_SOCK=/tmp/ssh-DJcJJGYFdPUu/agent.32 02:02:01 SSH_AGENT_PID=38 02:02:01 Running ssh-add (command line suppressed) 02:02:01 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/private_key_1567736701082328766.key (/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/private_key_1567736701082328766.key) 02:02:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:02 + git tag --points-at HEAD [Pipeline] } 02:02:02 $ docker exec --env ******** --env ******** d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a ssh-agent -k 02:02:02 unset SSH_AUTH_SOCK; 02:02:02 unset SSH_AGENT_PID; 02:02:02 echo Agent pid 38 killed; 02:02:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:02:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:02:02 [ssh-agent] Looking for ssh-agent implementation... 02:02:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:02:02 $ docker exec d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a ssh-agent 02:02:02 SSH_AUTH_SOCK=/tmp/ssh-qh0ILaVvWdqx/agent.70 02:02:02 SSH_AGENT_PID=76 02:02:02 Running ssh-add (command line suppressed) 02:02:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/private_key_10539041902032637493.key (/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/private_key_10539041902032637493.key) 02:02:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:02 + git semver init 02:02:03 2023-05-05 02:02:03,135 [run_init] DEBUG init version:0.0.0 force:False 02:02:03 2023-05-05 02:02:03,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver 02:02:03 2023-05-05 02:02:03,136 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver 02:02:03 2023-05-05 02:02:03,136 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-592, universal_newlines=False, shell=None, istream=None) 02:02:04 2023-05-05 02:02:03,923 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-592/.git/info/exclude 02:02:04 2023-05-05 02:02:03,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver/PR-592 with force:False 02:02:04 2023-05-05 02:02:03,924 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver/PR-592 02:02:04 2023-05-05 02:02:03,928 [execute] INFO git cat-file --batch-check 02:02:04 2023-05-05 02:02:03,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver, universal_newlines=False, shell=None, istream=) 02:02:04 2023-05-05 02:02:03,934 [execute] INFO git cat-file --batch 02:02:04 2023-05-05 02:02:03,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver, universal_newlines=False, shell=None, istream=) 02:02:04 2023-05-05 02:02:03,938 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-592/.semver/PR-592 02:02:04 0.0.0 [Pipeline] } 02:02:04 $ docker exec --env ******** --env ******** d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a ssh-agent -k 02:02:04 unset SSH_AUTH_SOCK; 02:02:04 unset SSH_AGENT_PID; 02:02:04 echo Agent pid 76 killed; 02:02:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:02:04 + git semver [Pipeline] } 02:02:04 $ docker stop --time=1 d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a 02:02:06 $ docker rm -f --volumes d5e8413719098aea4c05bf6e411473fb6b05a1463ad559b0fd29882f2fc2d99a [Pipeline] // withDockerContainer [Pipeline] sh 02:02:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:02:06 Stashed 1 file(s) [Pipeline] echo 02:02:06 [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 02:02:07 provisioning config files... 02:02:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/config12907524637239835370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:07 ---> docker-login.sh 02:02:07 nexus3.edgexfoundry.org:10001 02:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:07 Configure a credential helper to remove this warning. See 02:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:07 02:02:07 Login Succeeded 02:02:07 nexus3.edgexfoundry.org:10002 02:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:07 Configure a credential helper to remove this warning. See 02:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:07 02:02:07 Login Succeeded 02:02:07 nexus3.edgexfoundry.org:10003 02:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:08 Configure a credential helper to remove this warning. See 02:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:08 02:02:08 Login Succeeded 02:02:08 nexus3.edgexfoundry.org:10004 02:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:08 Configure a credential helper to remove this warning. See 02:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:08 02:02:08 Login Succeeded 02:02:08 docker.io 02:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:08 Configure a credential helper to remove this warning. See 02:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:08 02:02:08 Login Succeeded 02:02:08 ---> docker-login.sh ends [Pipeline] } 02:02:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:08 ========================================================= 02:02:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:02:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:09 + 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 . 02:02:09 Sending build context to Docker daemon 6.529MB 02:02:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:02:09 Step 2/12 : FROM ${BASE} AS builder 02:02:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:02:09 f56be85fc22e: Pulling fs layer 02:02:09 85791d961cd3: Pulling fs layer 02:02:09 d694b5ae8c79: Pulling fs layer 02:02:09 9f32a84ed3da: Pulling fs layer 02:02:09 4d19c01a9841: Pulling fs layer 02:02:09 9325e15d5711: Pulling fs layer 02:02:09 9f32a84ed3da: Waiting 02:02:09 4d19c01a9841: Waiting 02:02:09 556b6ee489ea: Pulling fs layer 02:02:09 9325e15d5711: Waiting 02:02:09 c5a4b2cf53e6: Pulling fs layer 02:02:09 556b6ee489ea: Waiting 02:02:09 c5a4b2cf53e6: Waiting 02:02:09 85791d961cd3: Download complete 02:02:09 9f32a84ed3da: Verifying Checksum 02:02:09 9f32a84ed3da: Download complete 02:02:09 4d19c01a9841: Verifying Checksum 02:02:09 4d19c01a9841: Download complete 02:02:09 f56be85fc22e: Download complete 02:02:09 9325e15d5711: Verifying Checksum 02:02:09 9325e15d5711: Download complete 02:02:09 f56be85fc22e: Pull complete 02:02:09 85791d961cd3: Pull complete 02:02:09 c5a4b2cf53e6: Verifying Checksum 02:02:09 c5a4b2cf53e6: Download complete 02:02:09 d694b5ae8c79: Verifying Checksum 02:02:09 d694b5ae8c79: Download complete 02:02:10 556b6ee489ea: Verifying Checksum 02:02:10 556b6ee489ea: Download complete 02:02:13 d694b5ae8c79: Pull complete 02:02:13 9f32a84ed3da: Pull complete 02:02:13 4d19c01a9841: Pull complete 02:02:13 9325e15d5711: Pull complete 02:02:15 556b6ee489ea: Pull complete 02:02:16 c5a4b2cf53e6: Pull complete 02:02:16 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:02:16 ---> c4be618373d6 02:02:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:02:22 Still waiting to schedule task 02:02:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:02:23 ---> Running in 999834daf15a 02:02:23 Removing intermediate container 999834daf15a 02:02:23 ---> 550cb5a62e3e 02:02:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:23 ---> Running in 6359cb17dbbf 02:02:23 Removing intermediate container 6359cb17dbbf 02:02:23 ---> 7c32b0202b61 02:02:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:23 ---> Running in a3476f6152b2 02:02:23 Removing intermediate container a3476f6152b2 02:02:23 ---> 3e29fd822854 02:02:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:02:23 ---> Running in c68401e7bd0a 02:02:23 Removing intermediate container c68401e7bd0a 02:02:23 ---> d976a860da38 02:02:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:23 ---> Running in 7c8a5f5cbf99 02:02:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:02:23 (2/4) Installing libedit (20221030.3.1-r0) 02:02:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:02:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:02:24 Executing busybox-1.35.0-r29.trigger 02:02:24 OK: 269 MiB in 57 packages 02:02:24 Removing intermediate container 7c8a5f5cbf99 02:02:24 ---> 7b217467bbd8 02:02:24 Step 8/12 : WORKDIR /device-mqtt-go 02:02:24 ---> Running in 0a234d6abee0 02:02:24 Removing intermediate container 0a234d6abee0 02:02:24 ---> 92470a36666e 02:02:24 Step 9/12 : COPY go.mod vendor* ./ 02:02:24 ---> 771d905e1ed4 02:02:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:24 ---> Running in 847e79ffcfe3 02:02:57 Removing intermediate container 847e79ffcfe3 02:02:57 ---> 1ad6b059c0d6 02:02:57 Step 11/12 : COPY . . 02:02:57 ---> 9ab760433696 02:02:57 Step 12/12 : RUN $MAKE 02:02:57 ---> Running in 2bdf9a674f0f 02:02:57 noop 02:02:57 Removing intermediate container 2bdf9a674f0f 02:02:57 ---> 586b5b6618e0 02:02:57 Successfully built 586b5b6618e0 02:02:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:57 + docker inspect -f . ci-base-image-x86_64 02:02:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:57 prd-ubuntu20.04-docker-8c-8g-13348 does not seem to be running inside a container 02:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-592 -v /w/workspace/gexfoundry_device-mqtt-go_PR-592:/w/workspace/gexfoundry_device-mqtt-go_PR-592:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-592@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 ******** ci-base-image-x86_64 cat 02:02:58 $ docker top 779b5c599aaab5d8f800d928c6b3f7c339992e681a593bf3f0912c9bf0b8a4b1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:58 + go version 02:02:58 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:58 $ docker stop --time=1 779b5c599aaab5d8f800d928c6b3f7c339992e681a593bf3f0912c9bf0b8a4b1 02:02:59 $ docker rm -f --volumes 779b5c599aaab5d8f800d928c6b3f7c339992e681a593bf3f0912c9bf0b8a4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:00 + docker inspect -f . ci-base-image-x86_64 02:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:00 prd-ubuntu20.04-docker-8c-8g-13348 does not seem to be running inside a container 02:03:00 $ 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-592 -v /w/workspace/gexfoundry_device-mqtt-go_PR-592:/w/workspace/gexfoundry_device-mqtt-go_PR-592:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-592@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 ******** ci-base-image-x86_64 cat 02:03:01 $ docker top f563b4bb1854f8ebbd6a0942dfd567d4685f3af57bc1b6e24e37360e57eb2780 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-592 [Pipeline] fileExists [Pipeline] sh 02:03:01 + make test 02:03:01 go test ./... -coverprofile=coverage.out ./... 02:03:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:03:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:03:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:03:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements 02:03:21 go vet ./... 02:03:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:03:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:03:24 ./bin/test-attribution-txt.sh [Pipeline] echo 02:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:03:24 $ docker stop --time=1 f563b4bb1854f8ebbd6a0942dfd567d4685f3af57bc1b6e24e37360e57eb2780 02:03:27 $ docker rm -f --volumes f563b4bb1854f8ebbd6a0942dfd567d4685f3af57bc1b6e24e37360e57eb2780 [Pipeline] // withDockerContainer [Pipeline] sh 02:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:03:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:03:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:29 + ls -al . 02:03:29 total 180 02:03:29 drwxrwxr-x 10 jenkins jenkins 4096 May 5 02:03 . 02:03:29 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:01 .. 02:03:29 -rw-rw-r-- 1 jenkins jenkins 140 May 5 02:01 .dockerignore 02:03:29 drwxrwxr-x 8 jenkins jenkins 4096 May 5 02:02 .git 02:03:29 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:01 .github 02:03:29 -rw-rw-r-- 1 jenkins jenkins 329 May 5 02:01 .gitignore 02:03:29 -rw-rw-r-- 1 jenkins jenkins 41 May 5 02:01 .golangci.yml 02:03:29 drwxr-xr-x 3 jenkins jenkins 4096 May 5 02:02 .semver 02:03:29 -rw-rw-r-- 1 jenkins jenkins 9417 May 5 02:01 Attribution.txt 02:03:29 -rw-rw-r-- 1 jenkins jenkins 13162 May 5 02:01 CHANGELOG.md 02:03:29 -rw-rw-r-- 1 jenkins jenkins 1689 May 5 02:01 Dockerfile 02:03:29 -rw-rw-r-- 1 jenkins jenkins 677 May 5 02:01 GOVERNANCE.md 02:03:29 -rw-rw-r-- 1 jenkins jenkins 678 May 5 02:01 Jenkinsfile 02:03:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 02:01 LICENSE 02:03:29 -rw-rw-r-- 1 jenkins jenkins 1732 May 5 02:01 Makefile 02:03:29 -rw-rw-r-- 1 jenkins jenkins 620 May 5 02:01 OWNERS.md 02:03:29 -rw-rw-r-- 1 jenkins jenkins 3165 May 5 02:01 README.md 02:03:29 -rw-rw-r-- 1 jenkins jenkins 5 May 5 02:02 VERSION 02:03:29 drwxrwxr-x 2 jenkins jenkins 4096 May 5 02:01 bin 02:03:29 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:01 cmd 02:03:29 -rw-r--r-- 1 jenkins jenkins 18144 May 5 02:03 coverage.out 02:03:29 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 02:01 go.mod 02:03:29 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 02:01 go.sum 02:03:29 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:01 internal 02:03:29 drwxrwxr-x 2 jenkins jenkins 4096 May 5 02:01 mock 02:03:29 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:01 snap 02:03:29 -rw-rw-r-- 1 jenkins jenkins 227 May 5 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:29 + 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=214c1642c8ee607317b11921cf526686c6e71511 --label arch=amd64 --label version=0.0.0 . 02:03:29 Sending build context to Docker daemon 6.547MB 02:03:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:03:29 Step 2/24 : FROM ${BASE} AS builder 02:03:29 ---> 586b5b6618e0 02:03:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:03:30 ---> Running in 57a42b6a5e13 02:03:30 Removing intermediate container 57a42b6a5e13 02:03:30 ---> 6922ef072655 02:03:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:30 ---> Running in 21cbf6ce2a87 02:03:30 Removing intermediate container 21cbf6ce2a87 02:03:30 ---> 052c7d98e9f9 02:03:30 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:03:30 ---> Running in 41c270782cc8 02:03:30 Removing intermediate container 41c270782cc8 02:03:30 ---> d748ed445730 02:03:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:03:30 ---> Running in 2b9b758bbde6 02:03:30 Removing intermediate container 2b9b758bbde6 02:03:30 ---> ce3d7e40cf6c 02:03:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:30 ---> Running in 363fa2d31818 02:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:31 OK: 269 MiB in 57 packages 02:03:31 Removing intermediate container 363fa2d31818 02:03:31 ---> c62dd539f429 02:03:31 Step 8/24 : WORKDIR /device-mqtt-go 02:03:31 ---> Running in 87294cdd1b1a 02:03:31 Removing intermediate container 87294cdd1b1a 02:03:31 ---> a611b25581fe 02:03:31 Step 9/24 : COPY go.mod vendor* ./ 02:03:31 ---> 9795eac19b27 02:03:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:31 ---> Running in d9005f4fe101 02:03:32 Removing intermediate container d9005f4fe101 02:03:32 ---> 9eca6dbbc8a4 02:03:32 Step 11/24 : COPY . . 02:03:32 ---> e00095d14923 02:03:32 Step 12/24 : RUN $MAKE 02:03:32 ---> Running in 0e8bca0e5421 02:03:33 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 02:03:55 Removing intermediate container 0e8bca0e5421 02:03:55 ---> 284a8bfa71c2 02:03:55 Step 13/24 : FROM alpine:3.17 02:03:55 3.17: Pulling from library/alpine 02:03:55 f56be85fc22e: Already exists 02:03:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:03:55 Status: Downloaded newer image for alpine:3.17 02:03:55 ---> 9ed4aefc74f6 02:03:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:03:55 ---> Running in abf8ab4d068a 02:03:55 Removing intermediate container abf8ab4d068a 02:03:55 ---> 75ce7b7f9e06 02:03:55 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:03:55 ---> Running in cfa918b66243 02:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:55 (1/1) Installing dumb-init (1.2.5-r2) 02:03:55 Executing busybox-1.35.0-r29.trigger 02:03:55 OK: 7 MiB in 16 packages 02:03:55 Removing intermediate container cfa918b66243 02:03:55 ---> 63336220dfef 02:03:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:55 ---> 370fe9853802 02:03:55 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:55 ---> ca2015a4b084 02:03:55 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:55 ---> 5e0c47c3c4ca 02:03:55 Step 19/24 : EXPOSE 59982 02:03:55 ---> Running in dbbfd4b2cee7 02:03:55 Removing intermediate container dbbfd4b2cee7 02:03:55 ---> b48f4643fdfb 02:03:55 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:55 ---> Running in b3b7feeea91e 02:03:55 Removing intermediate container b3b7feeea91e 02:03:55 ---> ec1c9b3ea913 02:03:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:55 ---> Running in e7beb434defa 02:03:55 Removing intermediate container e7beb434defa 02:03:55 ---> 1550ac1dcfbf 02:03:55 Step 22/24 : LABEL arch=amd64 02:03:55 ---> Running in c49e1448eafb 02:03:55 Removing intermediate container c49e1448eafb 02:03:55 ---> 1cf719c47906 02:03:55 Step 23/24 : LABEL git_sha=214c1642c8ee607317b11921cf526686c6e71511 02:03:55 ---> Running in 66c359ddaf8b 02:03:55 Removing intermediate container 66c359ddaf8b 02:03:55 ---> 36858c4014ac 02:03:55 Step 24/24 : LABEL version=0.0.0 02:03:55 ---> Running in b602292a04ab 02:03:55 Removing intermediate container b602292a04ab 02:03:55 ---> aaaa8b86f04b 02:03:55 [Warning] One or more build-args [ARCH] were not consumed 02:03:55 Successfully built aaaa8b86f04b 02:03:55 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 02:03:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:56 02:03:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:56 latest: Pulling from edgex-lftools-log-publisher 02:03:56 5eb5b503b376: Pulling fs layer 02:03:56 5c69ac0246d0: Pulling fs layer 02:03:56 ec43610c2a17: Pulling fs layer 02:03:56 3a2ae6a8a46f: Pulling fs layer 02:03:56 33b1e0a273af: Pulling fs layer 02:03:56 5d3b04190fa2: Pulling fs layer 02:03:56 2f39f015ded8: Pulling fs layer 02:03:56 3a2ae6a8a46f: Waiting 02:03:56 33b1e0a273af: Waiting 02:03:56 2f39f015ded8: Waiting 02:03:56 5d3b04190fa2: Waiting 02:03:56 5c69ac0246d0: Verifying Checksum 02:03:56 5c69ac0246d0: Download complete 02:03:56 3a2ae6a8a46f: Verifying Checksum 02:03:56 3a2ae6a8a46f: Download complete 02:03:56 33b1e0a273af: Verifying Checksum 02:03:56 33b1e0a273af: Download complete 02:03:56 5d3b04190fa2: Download complete 02:03:56 ec43610c2a17: Verifying Checksum 02:03:56 ec43610c2a17: Download complete 02:03:56 5eb5b503b376: Verifying Checksum 02:03:56 5eb5b503b376: Download complete 02:03:57 2f39f015ded8: Download complete 02:03:58 5eb5b503b376: Pull complete 02:03:58 5c69ac0246d0: Pull complete 02:03:58 ec43610c2a17: Pull complete 02:03:58 3a2ae6a8a46f: Pull complete 02:03:58 33b1e0a273af: Pull complete 02:03:58 5d3b04190fa2: Pull complete 02:04:03 2f39f015ded8: Pull complete 02:04:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:03 prd-ubuntu20.04-docker-8c-8g-13348 does not seem to be running inside a container 02:04:03 $ 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-592 -v /w/workspace/gexfoundry_device-mqtt-go_PR-592:/w/workspace/gexfoundry_device-mqtt-go_PR-592:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:04:08 $ docker top e97cddeaf23e554205f0d4cc710304997995a36aca94e96d37fed2daa1790397 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:09 ---> job-cost.sh 02:04:09 lf-activate-venv: SKIPPING 02:04:09 INFO: No Stack... 02:04:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:04:10 INFO: Archiving Costs [Pipeline] sh 02:04:10 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives/cost.csv 02:04:10 + cut -d, -f6 [Pipeline] lock 02:04:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] 02:04:10 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] did not exist. Created. 02:04:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:10 + echo total: 0.2199999988079071 [Pipeline] stash 02:04:10 Stashed 1 file(s) [Pipeline] } 02:04:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:04:11 $ docker stop --time=1 e97cddeaf23e554205f0d4cc710304997995a36aca94e96d37fed2daa1790397 02:04:12 $ docker rm -f --volumes e97cddeaf23e554205f0d4cc710304997995a36aca94e96d37fed2daa1790397 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:06:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13350 in /w/workspace/gexfoundry_device-mqtt-go_PR-592 [Pipeline] { [Pipeline] ws 02:06:26 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:06:26 Selected Git installation does not exist. Using Default 02:06:26 The recommended git tool is: NONE 02:06:33 using credential edgex-jenkins-ssh 02:06:33 Cloning the remote Git repository 02:06:33 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:06:33 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:06:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:06:33 > git --version # timeout=10 02:06:33 > git --version # 'git version 2.25.1' 02:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:06:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:06:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:06:36 Merging remotes/origin/main commit c17318ed096a052cb57e06eb9991910afac7407c into PR head commit 214c1642c8ee607317b11921cf526686c6e71511 02:06:36 Merge succeeded, producing 214c1642c8ee607317b11921cf526686c6e71511 02:06:36 Checking out Revision 214c1642c8ee607317b11921cf526686c6e71511 (PR-592) 02:06:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:06:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:06:36 > git config core.sparsecheckout # timeout=10 02:06:36 > git checkout -f 214c1642c8ee607317b11921cf526686c6e71511 # timeout=10 02:06:36 > git remote # timeout=10 02:06:36 > git config --get remote.origin.url # timeout=10 02:06:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:36 > git merge c17318ed096a052cb57e06eb9991910afac7407c # timeout=10 02:06:36 > git rev-parse HEAD^{commit} # timeout=10 02:06:36 > git config core.sparsecheckout # timeout=10 02:06:36 > git checkout -f 214c1642c8ee607317b11921cf526686c6e71511 # timeout=10 02:06:37 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:06:37 > git --version # timeout=10 02:06:37 > git --version # 'git version 2.25.1' 02:06:37 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:06:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:06:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:06:38 Dload Upload Total Spent Left Speed 02:06:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 02:06:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:06:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:06:39 + sudo tee /etc/docker/daemon.new 02:06:39 { 02:06:39 "registry-mirrors": [ 02:06:39 "https://nexus3.edgexfoundry.org:10001" 02:06:39 ], 02:06:39 "bip": "10.250.0.254/24", 02:06:39 "hosts": [ 02:06:39 "tcp://0.0.0.0:5555", 02:06:39 "unix:///var/run/docker.sock" 02:06:39 ], 02:06:39 "mtu": 1458, 02:06:39 "selinux-enabled": true, 02:06:39 "seccomp-profile": "/etc/docker/seccomp.json" 02:06:39 } [Pipeline] sh 02:06:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:06:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:07:02 provisioning config files... 02:07:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8179419263286983532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:02 ---> docker-login.sh 02:07:02 nexus3.edgexfoundry.org:10001 02:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:03 Configure a credential helper to remove this warning. See 02:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:03 02:07:03 Login Succeeded 02:07:03 nexus3.edgexfoundry.org:10002 02:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:03 Configure a credential helper to remove this warning. See 02:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:03 02:07:03 Login Succeeded 02:07:03 nexus3.edgexfoundry.org:10003 02:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:04 Configure a credential helper to remove this warning. See 02:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:04 02:07:04 Login Succeeded 02:07:04 nexus3.edgexfoundry.org:10004 02:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:04 Configure a credential helper to remove this warning. See 02:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:04 02:07:04 Login Succeeded 02:07:04 docker.io 02:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:05 Configure a credential helper to remove this warning. See 02:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:05 02:07:05 Login Succeeded 02:07:05 ---> docker-login.sh ends [Pipeline] } 02:07:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:07:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:07:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:07:05 ========================================================= 02:07:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:07:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:06 + 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 . 02:07:06 Sending build context to Docker daemon 3.382MB 02:07:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:07:06 Step 2/12 : FROM ${BASE} AS builder 02:07:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:07:06 c41833b44d91: Pulling fs layer 02:07:06 ed15518f5707: Pulling fs layer 02:07:06 feae8fd75edb: Pulling fs layer 02:07:06 242c74f7c9fa: Pulling fs layer 02:07:06 3cdef696dda3: Pulling fs layer 02:07:06 2ced38df9373: Pulling fs layer 02:07:06 58f1dce35555: Pulling fs layer 02:07:06 242c74f7c9fa: Waiting 02:07:06 3cdef696dda3: Waiting 02:07:06 2ced38df9373: Waiting 02:07:06 58f1dce35555: Waiting 02:07:06 ed15518f5707: Verifying Checksum 02:07:06 ed15518f5707: Download complete 02:07:06 242c74f7c9fa: Verifying Checksum 02:07:06 242c74f7c9fa: Download complete 02:07:06 3cdef696dda3: Verifying Checksum 02:07:06 3cdef696dda3: Download complete 02:07:06 c41833b44d91: Verifying Checksum 02:07:06 c41833b44d91: Download complete 02:07:08 c41833b44d91: Pull complete 02:07:08 58f1dce35555: Verifying Checksum 02:07:08 58f1dce35555: Download complete 02:07:10 2ced38df9373: Verifying Checksum 02:07:10 2ced38df9373: Download complete 02:07:10 feae8fd75edb: Verifying Checksum 02:07:10 feae8fd75edb: Download complete 02:07:11 ed15518f5707: Pull complete 02:07:26 feae8fd75edb: Pull complete 02:07:26 242c74f7c9fa: Pull complete 02:07:26 3cdef696dda3: Pull complete 02:07:33 2ced38df9373: Pull complete 02:07:34 58f1dce35555: Pull complete 02:07:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:07:34 ---> fadd8f120f05 02:07:34 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:07:35 ---> Running in fba6117219a4 02:07:35 Removing intermediate container fba6117219a4 02:07:35 ---> 69e28a86cddf 02:07:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:07:36 ---> Running in 51b9259c47d4 02:07:36 Removing intermediate container 51b9259c47d4 02:07:36 ---> 6d804bef9cfa 02:07:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:07:36 ---> Running in 9e46c02f1a63 02:07:36 Removing intermediate container 9e46c02f1a63 02:07:36 ---> f9a4abb85b0a 02:07:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:07:36 ---> Running in 654fa307ff9e 02:07:37 Removing intermediate container 654fa307ff9e 02:07:37 ---> ca1b37cc8ce7 02:07:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:07:37 ---> Running in 1dcfaa7682da 02:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:07:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:07:40 (2/4) Installing libedit (20221030.3.1-r0) 02:07:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:07:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:07:40 Executing busybox-1.35.0-r29.trigger 02:07:40 OK: 268 MiB in 57 packages 02:07:41 Removing intermediate container 1dcfaa7682da 02:07:41 ---> 62582d112356 02:07:41 Step 8/12 : WORKDIR /device-mqtt-go 02:07:41 ---> Running in 2318a52d2d90 02:07:41 Removing intermediate container 2318a52d2d90 02:07:41 ---> e1ac9e072d65 02:07:41 Step 9/12 : COPY go.mod vendor* ./ 02:07:42 ---> fe973f368251 02:07:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:07:42 ---> Running in 2a240f16a459 02:08:50 Removing intermediate container 2a240f16a459 02:08:50 ---> 394deb98c790 02:08:50 Step 11/12 : COPY . . 02:08:50 ---> 095e7bcce988 02:08:50 Step 12/12 : RUN $MAKE 02:08:50 ---> Running in e3bcc6ad3a4a 02:08:50 noop 02:08:50 Removing intermediate container e3bcc6ad3a4a 02:08:50 ---> d6db3b80c6a6 02:08:50 Successfully built d6db3b80c6a6 02:08:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:51 + docker inspect -f . ci-base-image-arm64 02:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:51 prd-ubuntu20.04-docker-arm64-4c-16g-13350 does not seem to be running inside a container 02:08:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 02:08:53 $ docker top 048c96b2609875020bf6245673b5b8f012dbb7b6d639c00ced3eb95795d5cb89 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:54 + go version 02:08:54 go version go1.20.2 linux/arm64 [Pipeline] } 02:08:54 $ docker stop --time=1 048c96b2609875020bf6245673b5b8f012dbb7b6d639c00ced3eb95795d5cb89 02:08:55 $ docker rm -f --volumes 048c96b2609875020bf6245673b5b8f012dbb7b6d639c00ced3eb95795d5cb89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:56 + docker inspect -f . ci-base-image-arm64 02:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-13350 does not seem to be running inside a container 02:08:56 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 02:08:58 $ docker top dadfb996f830215f00b4aaa8e918a3dca17dd54eeaae8a4cd03d91bd94d5b10c -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:59 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:08:59 + make test 02:08:59 go test ./... -coverprofile=coverage.out ./... 02:09:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:12:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:12:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:12:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.097s coverage: 23.1% of statements 02:12:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:12:16 go vet ./... 02:12:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:55 ./bin/test-attribution-txt.sh [Pipeline] echo 02:12:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:12:55 $ docker stop --time=1 dadfb996f830215f00b4aaa8e918a3dca17dd54eeaae8a4cd03d91bd94d5b10c 02:12:57 $ docker rm -f --volumes dadfb996f830215f00b4aaa8e918a3dca17dd54eeaae8a4cd03d91bd94d5b10c [Pipeline] // withDockerContainer [Pipeline] sh 02:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:58 Warning: overwriting stash ‘coverage-report’ 02:12:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:13:00 + ls -al . 02:13:00 total 176 02:13:00 drwxrwxr-x 9 jenkins jenkins 4096 May 5 02:09 . 02:13:00 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:06 .. 02:13:00 -rw-rw-r-- 1 jenkins jenkins 140 May 5 02:06 .dockerignore 02:13:00 drwxrwxr-x 8 jenkins jenkins 4096 May 5 02:06 .git 02:13:00 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:06 .github 02:13:00 -rw-rw-r-- 1 jenkins jenkins 329 May 5 02:06 .gitignore 02:13:00 -rw-rw-r-- 1 jenkins jenkins 41 May 5 02:06 .golangci.yml 02:13:00 -rw-rw-r-- 1 jenkins jenkins 9417 May 5 02:06 Attribution.txt 02:13:00 -rw-rw-r-- 1 jenkins jenkins 13162 May 5 02:06 CHANGELOG.md 02:13:00 -rw-rw-r-- 1 jenkins jenkins 1689 May 5 02:06 Dockerfile 02:13:00 -rw-rw-r-- 1 jenkins jenkins 677 May 5 02:06 GOVERNANCE.md 02:13:00 -rw-rw-r-- 1 jenkins jenkins 678 May 5 02:06 Jenkinsfile 02:13:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 02:06 LICENSE 02:13:00 -rw-rw-r-- 1 jenkins jenkins 1732 May 5 02:06 Makefile 02:13:00 -rw-rw-r-- 1 jenkins jenkins 620 May 5 02:06 OWNERS.md 02:13:00 -rw-rw-r-- 1 jenkins jenkins 3165 May 5 02:06 README.md 02:13:00 -rw-rw-r-- 1 jenkins jenkins 5 May 5 02:02 VERSION 02:13:00 drwxrwxr-x 2 jenkins jenkins 4096 May 5 02:06 bin 02:13:00 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:06 cmd 02:13:00 -rw-r--r-- 1 jenkins jenkins 18144 May 5 02:12 coverage.out 02:13:00 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 02:06 go.mod 02:13:00 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 02:06 go.sum 02:13:00 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:06 internal 02:13:00 drwxrwxr-x 2 jenkins jenkins 4096 May 5 02:06 mock 02:13:00 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:06 snap 02:13:00 -rw-rw-r-- 1 jenkins jenkins 227 May 5 02:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:00 + 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=214c1642c8ee607317b11921cf526686c6e71511 --label arch=arm64 --label version=0.0.0 . 02:13:00 Sending build context to Docker daemon 3.401MB 02:13:01 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:13:01 Step 2/24 : FROM ${BASE} AS builder 02:13:01 ---> d6db3b80c6a6 02:13:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:13:01 ---> Running in b8283c300009 02:13:01 Removing intermediate container b8283c300009 02:13:01 ---> aeed5256c6af 02:13:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:13:01 ---> Running in 0ac61b7eaa4a 02:13:02 Removing intermediate container 0ac61b7eaa4a 02:13:02 ---> ffe91f6cf936 02:13:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:13:02 ---> Running in e3cac83eb29a 02:13:02 Removing intermediate container e3cac83eb29a 02:13:02 ---> b105a047567b 02:13:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:13:02 ---> Running in 547bc98a0e4f 02:13:02 Removing intermediate container 547bc98a0e4f 02:13:02 ---> a1414959df7b 02:13:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:13:03 ---> Running in 5bdf4d952005 02:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:13:06 OK: 268 MiB in 57 packages 02:13:07 Removing intermediate container 5bdf4d952005 02:13:07 ---> 7acc9979188f 02:13:07 Step 8/24 : WORKDIR /device-mqtt-go 02:13:07 ---> Running in 2bb12647c091 02:13:08 Removing intermediate container 2bb12647c091 02:13:08 ---> 4e999a04dd78 02:13:08 Step 9/24 : COPY go.mod vendor* ./ 02:13:08 ---> b4705b06947e 02:13:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:08 ---> Running in e4502f13574d 02:13:12 Removing intermediate container e4502f13574d 02:13:12 ---> b51e63687d5b 02:13:12 Step 11/24 : COPY . . 02:13:13 ---> 145b4bf66c6b 02:13:13 Step 12/24 : RUN $MAKE 02:13:13 ---> Running in 89e88487300c 02:13:14 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 02:16:21 Removing intermediate container 89e88487300c 02:16:21 ---> a19136b217fc 02:16:21 Step 13/24 : FROM alpine:3.17 02:16:21 3.17: Pulling from library/alpine 02:16:21 c41833b44d91: Already exists 02:16:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:16:21 Status: Downloaded newer image for alpine:3.17 02:16:21 ---> 51e60588ff2c 02:16:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:16:21 ---> Running in 9eef7e8d0dc4 02:16:21 Removing intermediate container 9eef7e8d0dc4 02:16:21 ---> ca832cdcd470 02:16:21 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:16:21 ---> Running in 3956dd70a45c 02:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:16:21 (1/1) Installing dumb-init (1.2.5-r2) 02:16:21 Executing busybox-1.35.0-r29.trigger 02:16:21 OK: 8 MiB in 16 packages 02:16:21 Removing intermediate container 3956dd70a45c 02:16:21 ---> 24701b92acc2 02:16:21 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:16:23 ---> cba4029fb807 02:16:23 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:16:24 ---> efda096f0655 02:16:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:16:25 ---> 05ad8308cd83 02:16:25 Step 19/24 : EXPOSE 59982 02:16:25 ---> Running in 55d4076b0067 02:16:25 Removing intermediate container 55d4076b0067 02:16:25 ---> 2fb9dc73cbb3 02:16:25 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:16:25 ---> Running in 58838aa482be 02:16:26 Removing intermediate container 58838aa482be 02:16:26 ---> 28a4f9e70056 02:16:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:16:26 ---> Running in d65acbca23b7 02:16:26 Removing intermediate container d65acbca23b7 02:16:26 ---> 291c8a04a54e 02:16:26 Step 22/24 : LABEL arch=arm64 02:16:26 ---> Running in 2e787c165aa1 02:16:27 Removing intermediate container 2e787c165aa1 02:16:27 ---> 86b33c75c172 02:16:27 Step 23/24 : LABEL git_sha=214c1642c8ee607317b11921cf526686c6e71511 02:16:27 ---> Running in ac22c66c7533 02:16:27 Removing intermediate container ac22c66c7533 02:16:27 ---> 81f9745a322c 02:16:27 Step 24/24 : LABEL version=0.0.0 02:16:27 ---> Running in 979bb319d761 02:16:28 Removing intermediate container 979bb319d761 02:16:28 ---> 72d1f6ce2c03 02:16:28 [Warning] One or more build-args [ARCH] were not consumed 02:16:28 Successfully built 72d1f6ce2c03 02:16:28 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 02:16:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:16:29 02:16:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:16:30 arm64: Pulling from edgex-lftools-log-publisher 02:16:30 8998bd30e6a1: Pulling fs layer 02:16:30 04944245beec: Pulling fs layer 02:16:30 699f458cf7ca: Pulling fs layer 02:16:30 765212b225bb: Pulling fs layer 02:16:30 f23df028b6ca: Pulling fs layer 02:16:30 d65c8cfc05b1: Pulling fs layer 02:16:30 2437ff75d9bd: Pulling fs layer 02:16:30 f23df028b6ca: Waiting 02:16:30 d65c8cfc05b1: Waiting 02:16:30 2437ff75d9bd: Waiting 02:16:30 765212b225bb: Waiting 02:16:30 04944245beec: Verifying Checksum 02:16:30 04944245beec: Download complete 02:16:30 765212b225bb: Verifying Checksum 02:16:30 765212b225bb: Download complete 02:16:30 f23df028b6ca: Verifying Checksum 02:16:30 f23df028b6ca: Download complete 02:16:30 d65c8cfc05b1: Verifying Checksum 02:16:30 d65c8cfc05b1: Download complete 02:16:30 699f458cf7ca: Download complete 02:16:30 8998bd30e6a1: Verifying Checksum 02:16:30 8998bd30e6a1: Download complete 02:16:33 2437ff75d9bd: Verifying Checksum 02:16:33 2437ff75d9bd: Download complete 02:16:34 8998bd30e6a1: Pull complete 02:16:35 04944245beec: Pull complete 02:16:37 699f458cf7ca: Pull complete 02:16:37 765212b225bb: Pull complete 02:16:38 f23df028b6ca: Pull complete 02:16:38 d65c8cfc05b1: Pull complete 02:16:53 2437ff75d9bd: Pull complete 02:16:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:16:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:16:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:54 prd-ubuntu20.04-docker-arm64-4c-16g-13350 does not seem to be running inside a container 02:16:54 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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-lftools-log-publisher:arm64 cat 02:16:57 $ docker top bee1b7e9bd8a06f590b4f507f831c9c94093391e9a6f9affd5eba9bdb9c74c4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:58 ---> job-cost.sh 02:16:58 lf-activate-venv: SKIPPING 02:16:58 INFO: No Stack... 02:16:58 INFO: Retrieving Pricing Info for: v3-standard-4 02:16:59 INFO: Archiving Costs [Pipeline] sh 02:17:00 + + catcut /w/workspace/device-mqtt-go/1/archives/cost.csv -d, 02:17:00 -f6 [Pipeline] lock 02:17:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] 02:17:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] did not exist. Created. 02:17:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:17:01 /w/workspace/device-mqtt-go/1@tmp/durable-c0021868/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:17:01 + echo total: 0.10999999940395355 [Pipeline] stash 02:17:01 Warning: overwriting stash ‘stack-cost’ 02:17:02 Stashed 1 file(s) [Pipeline] } 02:17:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-592-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:17:02 $ docker stop --time=1 bee1b7e9bd8a06f590b4f507f831c9c94093391e9a6f9affd5eba9bdb9c74c4b 02:17:03 $ docker rm -f --volumes bee1b7e9bd8a06f590b4f507f831c9c94093391e9a6f9affd5eba9bdb9c74c4b [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 02:17:05 provisioning config files... 02:17:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/config12239907852867045528tmp [Pipeline] { [Pipeline] sh 02:17:05 + set +x 02:17:05 + curl -s https://codecov.io/bash 02:17:05 + bash -s -- 02:17:05 02:17:05 _____ _ 02:17:05 / ____| | | 02:17:05 | | ___ __| | ___ ___ _____ __ 02:17:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:17:05 | |___| (_) | (_| | __/ (_| (_) \ V / 02:17:05 \_____\___/ \__,_|\___|\___\___/ \_/ 02:17:05 Bash-1.0.6 02:17:05 02:17:05 02:17:05 ==> git version 2.25.1 found 02:17:05 ==> 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 02:17:05 Release-Date: 2020-01-08 02:17:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:17:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:17:05 ==> Jenkins CI detected. 02:17:05 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-592 02:17:05 project root: . 02:17:05 --> token set from env 02:17:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:17:05 ==> Running gcov in . (disable via -X gcov) 02:17:05 ==> Python coveragepy not found 02:17:05 ==> Searching for coverage reports in: 02:17:05 + . 02:17:05 -> Found 1 reports 02:17:05 ==> Detecting git/mercurial file structure 02:17:05 ==> Reading reports 02:17:05 + ./coverage.out bytes=18144 02:17:05 ==> Appending adjustments 02:17:05 https://docs.codecov.io/docs/fixing-reports 02:17:05 + Found adjustments 02:17:05 ==> Gzipping contents 02:17:05 4.0K /tmp/codecov.MPTSaE.gz 02:17:05 ==> Uploading reports 02:17:05 url: https://codecov.io 02:17:05 query: branch=PR-592&commit=214c1642c8ee607317b11921cf526686c6e71511&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=592&job=&cmd_args= 02:17:05 -> Pinging Codecov 02:17:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-592&commit=214c1642c8ee607317b11921cf526686c6e71511&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-592%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=592&job=&cmd_args= 02:17:05 -> Uploading to 02:17:05 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/7D719EC7BBE17E464838252E33014C33/214c1642c8ee607317b11921cf526686c6e71511/327a5039-0305-4eb0-aa9a-db44dfb5d222.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T021705Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee7514abe1cb751dcef0d7e4e706a5196b89f7f7fc8db15632e2de54ac15d7de 02:17:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:17:05 Dload Upload Total Spent Left Speed 02:17:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 12199 --:--:-- --:--:-- --:--:-- 12199 02:17:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/214c1642c8ee607317b11921cf526686c6e71511 [Pipeline] } 02:17:06 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 02:17:07 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives ] 02:17:07 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives 02:17:07 total 16 02:17:07 drwxr-xr-x 3 root root 4096 May 5 02:04 . 02:17:07 drwxrwxr-x 11 jenkins jenkins 4096 May 5 02:04 .. 02:17:07 drwxr-xr-x 2 root root 4096 May 5 02:04 cost 02:17:07 -rw-r--r-- 1 root root 86 May 5 02:04 cost.csv 02:17:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives 02:17:07 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives 02:17:07 total 16 02:17:07 drwxr-xr-x 3 jenkins jenkins 4096 May 5 02:04 . 02:17:07 drwxrwxr-x 11 jenkins jenkins 4096 May 5 02:04 .. 02:17:07 drwxr-xr-x 2 jenkins jenkins 4096 May 5 02:04 cost 02:17:07 -rw-r--r-- 1 jenkins jenkins 86 May 5 02:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:17:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:17:09 ---> package-listing.sh 02:17:09 ++ tr '[:upper:]' '[:lower:]' 02:17:09 ++ facter osfamily 02:17:09 + OS_FAMILY=debian 02:17:09 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-592 02:17:09 + START_PACKAGES=/tmp/packages_start.txt 02:17:09 + END_PACKAGES=/tmp/packages_end.txt 02:17:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:17:09 + PACKAGES=/tmp/packages_start.txt 02:17:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-592 ']' 02:17:09 + PACKAGES=/tmp/packages_end.txt 02:17:09 + case "${OS_FAMILY}" in 02:17:09 + dpkg -l 02:17:09 + grep '^ii' 02:17:09 + '[' -f /tmp/packages_start.txt ']' 02:17:09 + '[' -f /tmp/packages_end.txt ']' 02:17:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:17:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-592 ']' 02:17:09 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives/ 02:17:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-592/archives/ [Pipeline] echo 02:17:09 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-592/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:17:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:17:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:10 prd-ubuntu20.04-docker-8c-8g-13348 does not seem to be running inside a container 02:17:10 $ 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-592/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-592 -v /w/workspace/gexfoundry_device-mqtt-go_PR-592:/w/workspace/gexfoundry_device-mqtt-go_PR-592:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-592@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:17:10 $ docker top ee1e67f0bc057d0ffd074677dd0c489d64b6fa0ef07e96bf3ed47a44673c3aab -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:11 + touch /tmp/pre-build-complete [Pipeline] sh 02:17:11 + mkdir -p /var/log/sysstat [Pipeline] sh 02:17:11 + ls /var/log/sa-host 02:17:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:17:11 provisioning config files... 02:17:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-592@tmp/config8822536767341381096tmp [Pipeline] { [Pipeline] echo 02:17:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:17:12 ---> create-netrc.sh [Pipeline] } 02:17:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:17:12 ---> python-tools-install.sh [Pipeline] echo 02:17:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:17:13 ---> sudo-logs.sh 02:17:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:17:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:17:13 ---> job-cost.sh 02:17:13 lf-activate-venv: SKIPPING 02:17:13 DEBUG: total: 0.2199999988079071 02:17:13 INFO: Retrieving Stack Cost... 02:17:13 INFO: Retrieving Pricing Info for: v3-standard-8 02:17:14 INFO: Archiving Costs [Pipeline] echo 02:17:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:17:14 ---> logs-deploy.sh 02:17:14 lf-activate-venv: SKIPPING 02:17:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-592/1 02:17:14 INFO: archiving workspace using pattern(s): 02:17:15 Archives upload complete. 02:17:15 INFO: archiving logs to Nexus