Pull request #613 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07c0aff80f1770894ba993b82405b9303a2ed693+076aceae7774eed065da4ce17ac21a3c9dad675d (6633ac96c9d6acb3f4da661eeee69ecb87f54537) 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-ssh10512831827105252937.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-ssh9351702672186947969.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-613/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-613/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8168543922921503179.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-613/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5851287015828333828.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-ssh16780276309387930024.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-613/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-613/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10783923912180122180.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-17437 in /w/workspace/gexfoundry_device-mqtt-go_PR-613 [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-613 # 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/613/head:refs/remotes/origin/PR-613 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 076aceae7774eed065da4ce17ac21a3c9dad675d into PR head commit 07c0aff80f1770894ba993b82405b9303a2ed693 Merge succeeded, producing 07c0aff80f1770894ba993b82405b9303a2ed693 Checking out Revision 07c0aff80f1770894ba993b82405b9303a2ed693 (PR-613) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4" 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:00:55 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 07c0aff80f1770894ba993b82405b9303a2ed693 # 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 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07c0aff80f1770894ba993b82405b9303a2ed693 # timeout=10 [Pipeline] withCredentials 02:00:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:00:55 ========================================================= 02:00:55 EdgeX Global Pipelines Version Info 02:00:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:00:56 ------------------- 02:00:56 stable info: 02:00:56 ------------------- 02:00:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:00:56 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:00:56 Message: update stable to v1.0.249 02:00:56 ------------------- 02:00:56 experimental info: 02:00:56 ------------------- 02:00:56 Commited By: **** collab-it+edgex@linuxfoundation.org 02:00:56 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:00:56 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:00:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-613 [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-613 [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-613 [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07c0aff80f1770894ba993b82405b9303a2ed693 [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07c0aff [Pipeline] echo 02:00:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:58 provisioning config files... 02:00:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/config7838774393693629356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:59 ---> docker-login.sh 02:00:59 nexus3.edgexfoundry.org:10001 02:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:59 Configure a credential helper to remove this warning. See 02:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:59 02:00:59 Login Succeeded 02:00:59 nexus3.edgexfoundry.org:10002 02:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:59 Configure a credential helper to remove this warning. See 02:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:59 02:00:59 Login Succeeded 02:00:59 nexus3.edgexfoundry.org:10003 02:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:59 Configure a credential helper to remove this warning. See 02:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:59 02:00:59 Login Succeeded 02:00:59 nexus3.edgexfoundry.org:10004 02:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:00 Configure a credential helper to remove this warning. See 02:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:00 02:01:00 Login Succeeded 02:01:00 docker.io 02:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:00 Configure a credential helper to remove this warning. See 02:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:00 02:01:00 Login Succeeded 02:01:00 ---> docker-login.sh ends [Pipeline] } 02:01:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:01 + git rev-list -1 --merges 07c0aff80f1770894ba993b82405b9303a2ed693~1..07c0aff80f1770894ba993b82405b9303a2ed693 [Pipeline] echo 02:01:01 -----------> git rev-list -1 --merges 07c0aff80f1770894ba993b82405b9303a2ed693~1..07c0aff80f1770894ba993b82405b9303a2ed693 07c0aff80f1770894ba993b82405b9303a2ed693 [false] [Pipeline] sh 02:01:01 + git log --format=format:%s -1 07c0aff80f1770894ba993b82405b9303a2ed693 [Pipeline] echo 02:01:01 ========================================================= 02:01:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:01 + git log --format=format:%s -1 07c0aff80f1770894ba993b82405b9303a2ed693 [Pipeline] echo 02:01:02 [semverPrep] GIT_COMMIT: 07c0aff80f1770894ba993b82405b9303a2ed693, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 [Pipeline] echo 02:01:02 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:02 + grep -v github /etc/ssh/ssh_known_hosts 02:01:02 + [ -e /tmp/ssh_known_hosts ] 02:01:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:02 + sudo tee -a /etc/ssh/ssh_known_hosts 02:01:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:02 02:01:02 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:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:03 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:03 b85a868b505f: Pulling fs layer 02:01:03 e2be974225ed: Pulling fs layer 02:01:03 339a4e72a1f5: Pulling fs layer 02:01:03 988bab9f4d93: Pulling fs layer 02:01:03 1469e6f7b9e6: Pulling fs layer 02:01:03 eaf3925da568: Pulling fs layer 02:01:03 bab4dde63d76: Pulling fs layer 02:01:03 bde34c3a00c8: Pulling fs layer 02:01:03 b352a97aabf1: Pulling fs layer 02:01:03 4872d77fe225: Pulling fs layer 02:01:03 5851b861e8e6: Pulling fs layer 02:01:03 988bab9f4d93: Waiting 02:01:03 1469e6f7b9e6: Waiting 02:01:03 eaf3925da568: Waiting 02:01:03 bab4dde63d76: Waiting 02:01:03 bde34c3a00c8: Waiting 02:01:03 b352a97aabf1: Waiting 02:01:03 4872d77fe225: Waiting 02:01:03 e2be974225ed: Download complete 02:01:03 988bab9f4d93: Verifying Checksum 02:01:03 988bab9f4d93: Download complete 02:01:03 1469e6f7b9e6: Verifying Checksum 02:01:03 1469e6f7b9e6: Download complete 02:01:03 eaf3925da568: Verifying Checksum 02:01:03 eaf3925da568: Download complete 02:01:03 339a4e72a1f5: Verifying Checksum 02:01:03 339a4e72a1f5: Download complete 02:01:03 bde34c3a00c8: Download complete 02:01:03 b352a97aabf1: Verifying Checksum 02:01:03 b352a97aabf1: Download complete 02:01:03 4872d77fe225: Verifying Checksum 02:01:03 5851b861e8e6: Verifying Checksum 02:01:03 5851b861e8e6: Download complete 02:01:03 b85a868b505f: Verifying Checksum 02:01:03 b85a868b505f: Download complete 02:01:03 bab4dde63d76: Verifying Checksum 02:01:03 bab4dde63d76: Download complete 02:01:04 b85a868b505f: Pull complete 02:01:05 e2be974225ed: Pull complete 02:01:05 339a4e72a1f5: Pull complete 02:01:05 988bab9f4d93: Pull complete 02:01:05 1469e6f7b9e6: Pull complete 02:01:05 eaf3925da568: Pull complete 02:01:07 bab4dde63d76: Pull complete 02:01:07 bde34c3a00c8: Pull complete 02:01:08 b352a97aabf1: Pull complete 02:01:08 4872d77fe225: Pull complete 02:01:08 5851b861e8e6: Pull complete 02:01:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:08 prd-ubuntu20.04-docker-8c-8g-17437 does not seem to be running inside a container 02:01:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-613 -v /w/workspace/gexfoundry_device-mqtt-go_PR-613:/w/workspace/gexfoundry_device-mqtt-go_PR-613:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-613@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:01:13 $ docker top 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:14 [ssh-agent] Looking for ssh-agent implementation... 02:01:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:14 $ docker exec 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c ssh-agent 02:01:14 SSH_AUTH_SOCK=/tmp/ssh-aZPJTZUtB7Uj/agent.32 02:01:14 SSH_AGENT_PID=38 02:01:14 Running ssh-add (command line suppressed) 02:01:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/private_key_7224488290186816062.key (/w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/private_key_7224488290186816062.key) 02:01:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:14 + git tag --points-at HEAD [Pipeline] } 02:01:14 $ docker exec --env ******** --env ******** 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c ssh-agent -k 02:01:14 unset SSH_AUTH_SOCK; 02:01:14 unset SSH_AGENT_PID; 02:01:14 echo Agent pid 38 killed; 02:01:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:14 [ssh-agent] Looking for ssh-agent implementation... 02:01:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:15 $ docker exec 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c ssh-agent 02:01:15 SSH_AUTH_SOCK=/tmp/ssh-veO6NfA5eyrQ/agent.70 02:01:15 SSH_AGENT_PID=76 02:01:15 Running ssh-add (command line suppressed) 02:01:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/private_key_15693832061262145633.key (/w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/private_key_15693832061262145633.key) 02:01:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:15 + git semver init 02:01:15 2023-05-31 02:01:15,818 [run_init] DEBUG init version:0.0.0 force:False 02:01:15 2023-05-31 02:01:15,820 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver 02:01:15 2023-05-31 02:01:15,820 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver 02:01:15 2023-05-31 02:01:15,820 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-613, universal_newlines=False, shell=None, istream=None) 02:01:16 2023-05-31 02:01:16,612 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-613/.git/info/exclude 02:01:16 2023-05-31 02:01:16,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver/PR-613 with force:False 02:01:16 2023-05-31 02:01:16,614 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver/PR-613 02:01:16 2023-05-31 02:01:16,618 [execute] INFO git cat-file --batch-check 02:01:16 2023-05-31 02:01:16,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver, universal_newlines=False, shell=None, istream=) 02:01:16 2023-05-31 02:01:16,627 [execute] INFO git cat-file --batch 02:01:16 2023-05-31 02:01:16,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver, universal_newlines=False, shell=None, istream=) 02:01:16 2023-05-31 02:01:16,632 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-613/.semver/PR-613 02:01:16 0.0.0 [Pipeline] } 02:01:16 $ docker exec --env ******** --env ******** 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c ssh-agent -k 02:01:16 unset SSH_AUTH_SOCK; 02:01:16 unset SSH_AGENT_PID; 02:01:16 echo Agent pid 76 killed; 02:01:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:17 + git semver [Pipeline] } 02:01:17 $ docker stop --time=1 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c 02:01:19 $ docker rm -f --volumes 4e37e5e5bd3362631a6561dec0d46e3cee080573418b9a32db37bef3a05efa0c [Pipeline] // withDockerContainer [Pipeline] sh 02:01:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:01:19 Stashed 1 file(s) [Pipeline] echo 02:01:19 [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:01:20 provisioning config files... 02:01:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/config5011080252840707716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:20 ---> docker-login.sh 02:01:20 nexus3.edgexfoundry.org:10001 02:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:20 Configure a credential helper to remove this warning. See 02:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:20 02:01:20 Login Succeeded 02:01:20 nexus3.edgexfoundry.org:10002 02:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:20 Configure a credential helper to remove this warning. See 02:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:20 02:01:20 Login Succeeded 02:01:20 nexus3.edgexfoundry.org:10003 02:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:21 Configure a credential helper to remove this warning. See 02:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:21 02:01:21 Login Succeeded 02:01:21 nexus3.edgexfoundry.org:10004 02:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:21 Configure a credential helper to remove this warning. See 02:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:21 02:01:21 Login Succeeded 02:01:21 docker.io 02:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:21 Configure a credential helper to remove this warning. See 02:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:21 02:01:21 Login Succeeded 02:01:21 ---> docker-login.sh ends [Pipeline] } 02:01:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:21 ========================================================= 02:01:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:01:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:22 + 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:01:22 Sending build context to Docker daemon 6.627MB 02:01:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:22 Step 2/12 : FROM ${BASE} AS builder 02:01:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:01:22 f56be85fc22e: Pulling fs layer 02:01:22 85791d961cd3: Pulling fs layer 02:01:22 d694b5ae8c79: Pulling fs layer 02:01:22 9f32a84ed3da: Pulling fs layer 02:01:22 4d19c01a9841: Pulling fs layer 02:01:22 9325e15d5711: Pulling fs layer 02:01:22 556b6ee489ea: Pulling fs layer 02:01:22 c5a4b2cf53e6: Pulling fs layer 02:01:22 556b6ee489ea: Waiting 02:01:22 c5a4b2cf53e6: Waiting 02:01:22 9f32a84ed3da: Waiting 02:01:22 4d19c01a9841: Waiting 02:01:22 9325e15d5711: Waiting 02:01:22 85791d961cd3: Download complete 02:01:22 9f32a84ed3da: Verifying Checksum 02:01:22 9f32a84ed3da: Download complete 02:01:22 4d19c01a9841: Download complete 02:01:22 f56be85fc22e: Verifying Checksum 02:01:22 f56be85fc22e: Download complete 02:01:22 9325e15d5711: Verifying Checksum 02:01:22 9325e15d5711: Download complete 02:01:22 f56be85fc22e: Pull complete 02:01:22 c5a4b2cf53e6: Verifying Checksum 02:01:22 c5a4b2cf53e6: Download complete 02:01:22 85791d961cd3: Pull complete 02:01:22 d694b5ae8c79: Verifying Checksum 02:01:22 d694b5ae8c79: Download complete 02:01:23 556b6ee489ea: Download complete 02:01:26 d694b5ae8c79: Pull complete 02:01:26 9f32a84ed3da: Pull complete 02:01:26 4d19c01a9841: Pull complete 02:01:26 9325e15d5711: Pull complete 02:01:29 556b6ee489ea: Pull complete 02:01:30 c5a4b2cf53e6: Pull complete 02:01:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:01:30 ---> c4be618373d6 02:01:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:01:35 Still waiting to schedule task 02:01:35 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17436’ 02:01:35 ---> Running in 6822eb70b69b 02:01:35 Removing intermediate container 6822eb70b69b 02:01:35 ---> 5dfb1486847d 02:01:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:35 ---> Running in d2a723d93b2c 02:01:35 Removing intermediate container d2a723d93b2c 02:01:35 ---> 6e0b8c0b6652 02:01:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:35 ---> Running in b58a244222e1 02:01:35 Removing intermediate container b58a244222e1 02:01:35 ---> 778852b63267 02:01:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:01:35 ---> Running in 65b805e88863 02:01:35 Removing intermediate container 65b805e88863 02:01:35 ---> 7e2695b401c3 02:01:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:35 ---> Running in 91a6a87402c6 02:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:36 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:01:36 (2/4) Installing libedit (20221030.3.1-r0) 02:01:36 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:01:36 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:01:36 Executing busybox-1.35.0-r29.trigger 02:01:36 OK: 269 MiB in 57 packages 02:01:36 Removing intermediate container 91a6a87402c6 02:01:36 ---> 6a7d3e63bc5c 02:01:36 Step 8/12 : WORKDIR /device-mqtt-go 02:01:36 ---> Running in 9d0f8dd1f317 02:01:36 Removing intermediate container 9d0f8dd1f317 02:01:36 ---> 70196287208c 02:01:36 Step 9/12 : COPY go.mod vendor* ./ 02:01:37 ---> bd36f188caf8 02:01:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:37 ---> Running in 79e8deb51596 02:02:24 Removing intermediate container 79e8deb51596 02:02:24 ---> 8a975036e4c6 02:02:24 Step 11/12 : COPY . . 02:02:24 ---> 8bf4a977c695 02:02:24 Step 12/12 : RUN $MAKE 02:02:24 ---> Running in 19308298849b 02:02:24 noop 02:02:24 Removing intermediate container 19308298849b 02:02:24 ---> 39e53aaf64cb 02:02:24 Successfully built 39e53aaf64cb 02:02:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:24 + docker inspect -f . ci-base-image-x86_64 02:02:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:24 prd-ubuntu20.04-docker-8c-8g-17437 does not seem to be running inside a container 02:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-613 -v /w/workspace/gexfoundry_device-mqtt-go_PR-613:/w/workspace/gexfoundry_device-mqtt-go_PR-613:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-613@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:24 $ docker top db523dd940380c073d95d283f7616d353be6d8415ba546306714735952a22e4b -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:25 + go version 02:02:25 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:25 $ docker stop --time=1 db523dd940380c073d95d283f7616d353be6d8415ba546306714735952a22e4b 02:02:26 $ docker rm -f --volumes db523dd940380c073d95d283f7616d353be6d8415ba546306714735952a22e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:27 + docker inspect -f . ci-base-image-x86_64 02:02:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:27 prd-ubuntu20.04-docker-8c-8g-17437 does not seem to be running inside a container 02:02:27 $ 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-613 -v /w/workspace/gexfoundry_device-mqtt-go_PR-613:/w/workspace/gexfoundry_device-mqtt-go_PR-613:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-613@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:27 $ docker top 526c47e725c6152a20e246f38a7bc16ce33bbe7945effe038eccfb84d98af439 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-613 [Pipeline] fileExists [Pipeline] sh 02:02:28 + make test 02:02:28 go test ./... -coverprofile=coverage.out ./... 02:02:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:02:42 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:02:42 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:02:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 02:02:48 go vet ./... 02:02:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:02:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:02:51 ./bin/test-attribution-txt.sh [Pipeline] echo 02:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:02:52 $ docker stop --time=1 526c47e725c6152a20e246f38a7bc16ce33bbe7945effe038eccfb84d98af439 02:02:55 $ docker rm -f --volumes 526c47e725c6152a20e246f38a7bc16ce33bbe7945effe038eccfb84d98af439 [Pipeline] // withDockerContainer [Pipeline] sh 02:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:02:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:02:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:02:57 + ls -al . 02:02:57 total 184 02:02:57 drwxrwxr-x 10 jenkins jenkins 4096 May 31 02:02 . 02:02:57 drwxrwxr-x 4 jenkins jenkins 4096 May 31 02:00 .. 02:02:57 -rw-rw-r-- 1 jenkins jenkins 140 May 31 02:00 .dockerignore 02:02:57 drwxrwxr-x 8 jenkins jenkins 4096 May 31 02:01 .git 02:02:57 drwxrwxr-x 3 jenkins jenkins 4096 May 31 02:00 .github 02:02:57 -rw-rw-r-- 1 jenkins jenkins 329 May 31 02:00 .gitignore 02:02:57 -rw-rw-r-- 1 jenkins jenkins 41 May 31 02:00 .golangci.yml 02:02:57 drwxr-xr-x 3 jenkins jenkins 4096 May 31 02:01 .semver 02:02:57 -rw-rw-r-- 1 jenkins jenkins 9417 May 31 02:00 Attribution.txt 02:02:57 -rw-rw-r-- 1 jenkins jenkins 17522 May 31 02:00 CHANGELOG.md 02:02:57 -rw-rw-r-- 1 jenkins jenkins 1689 May 31 02:00 Dockerfile 02:02:57 -rw-rw-r-- 1 jenkins jenkins 677 May 31 02:00 GOVERNANCE.md 02:02:57 -rw-rw-r-- 1 jenkins jenkins 678 May 31 02:00 Jenkinsfile 02:02:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 02:00 LICENSE 02:02:57 -rw-rw-r-- 1 jenkins jenkins 1732 May 31 02:00 Makefile 02:02:57 -rw-rw-r-- 1 jenkins jenkins 620 May 31 02:00 OWNERS.md 02:02:57 -rw-rw-r-- 1 jenkins jenkins 3695 May 31 02:00 README.md 02:02:57 -rw-rw-r-- 1 jenkins jenkins 5 May 31 02:01 VERSION 02:02:57 drwxrwxr-x 2 jenkins jenkins 4096 May 31 02:00 bin 02:02:57 drwxrwxr-x 3 jenkins jenkins 4096 May 31 02:00 cmd 02:02:57 -rw-r--r-- 1 jenkins jenkins 18506 May 31 02:02 coverage.out 02:02:57 -rw-rw-r-- 1 jenkins jenkins 3285 May 31 02:00 go.mod 02:02:57 -rw-rw-r-- 1 jenkins jenkins 31322 May 31 02:00 go.sum 02:02:57 drwxrwxr-x 3 jenkins jenkins 4096 May 31 02:00 internal 02:02:57 drwxrwxr-x 2 jenkins jenkins 4096 May 31 02:00 mock 02:02:57 drwxrwxr-x 4 jenkins jenkins 4096 May 31 02:00 snap 02:02:57 -rw-rw-r-- 1 jenkins jenkins 227 May 31 02:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:57 + 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=07c0aff80f1770894ba993b82405b9303a2ed693 --label arch=amd64 --label version=0.0.0 . 02:02:57 Sending build context to Docker daemon 6.646MB 02:02:57 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:02:57 Step 2/24 : FROM ${BASE} AS builder 02:02:57 ---> 39e53aaf64cb 02:02:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:02:57 ---> Running in 735a3585af1b 02:02:57 Removing intermediate container 735a3585af1b 02:02:57 ---> e62ec9469a03 02:02:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:57 ---> Running in 234dada52dba 02:02:57 Removing intermediate container 234dada52dba 02:02:57 ---> a05f372eacef 02:02:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:58 ---> Running in 499bc46ef5f8 02:02:58 Removing intermediate container 499bc46ef5f8 02:02:58 ---> 9a0a0365500d 02:02:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:02:58 ---> Running in e418ebf74cbd 02:02:58 Removing intermediate container e418ebf74cbd 02:02:58 ---> f2140f936683 02:02:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:58 ---> Running in b824e72f216f 02:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:58 OK: 269 MiB in 57 packages 02:02:59 Removing intermediate container b824e72f216f 02:02:59 ---> 3833df959382 02:02:59 Step 8/24 : WORKDIR /device-mqtt-go 02:02:59 ---> Running in 8de974c4c1b0 02:02:59 Removing intermediate container 8de974c4c1b0 02:02:59 ---> e0e0074646dc 02:02:59 Step 9/24 : COPY go.mod vendor* ./ 02:02:59 ---> 2717204c62fe 02:02:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:59 ---> Running in b2bb24a1f882 02:03:00 Removing intermediate container b2bb24a1f882 02:03:00 ---> 61550b2f402d 02:03:00 Step 11/24 : COPY . . 02:03:00 ---> 85b8403d312d 02:03:00 Step 12/24 : RUN $MAKE 02:03:00 ---> Running in ab6e06734c49 02:03:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:03:22 Removing intermediate container ab6e06734c49 02:03:22 ---> af5ac01e005b 02:03:22 Step 13/24 : FROM alpine:3.17 02:03:22 3.17: Pulling from library/alpine 02:03:22 f56be85fc22e: Already exists 02:03:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:03:22 Status: Downloaded newer image for alpine:3.17 02:03:22 ---> 9ed4aefc74f6 02:03:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:03:22 ---> Running in 6ce06cafaa11 02:03:22 Removing intermediate container 6ce06cafaa11 02:03:22 ---> f003e3d2ede9 02:03:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:03:22 ---> Running in e19f8d6e7137 02:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:22 (1/1) Installing dumb-init (1.2.5-r2) 02:03:22 Executing busybox-1.35.0-r29.trigger 02:03:22 OK: 7 MiB in 16 packages 02:03:22 Removing intermediate container e19f8d6e7137 02:03:22 ---> e8acb9ca5020 02:03:22 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:23 ---> 7a5b86935be4 02:03:23 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:23 ---> 49d27a64cd43 02:03:23 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:23 ---> 0426ac24f8a9 02:03:23 Step 19/24 : EXPOSE 59982 02:03:23 ---> Running in 1f27e78bba42 02:03:24 Removing intermediate container 1f27e78bba42 02:03:24 ---> a7b49ac8e84c 02:03:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:24 ---> Running in 1938c65512c9 02:03:24 Removing intermediate container 1938c65512c9 02:03:24 ---> e7971fdf97a3 02:03:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:24 ---> Running in 4272da4e19c5 02:03:24 Removing intermediate container 4272da4e19c5 02:03:24 ---> a68d70dedbaa 02:03:24 Step 22/24 : LABEL arch=amd64 02:03:24 ---> Running in 1fd8c0afe4e4 02:03:24 Removing intermediate container 1fd8c0afe4e4 02:03:24 ---> fbeb8deeb3bf 02:03:24 Step 23/24 : LABEL git_sha=07c0aff80f1770894ba993b82405b9303a2ed693 02:03:24 ---> Running in 5c27386fb65d 02:03:24 Removing intermediate container 5c27386fb65d 02:03:24 ---> 4267eb430276 02:03:24 Step 24/24 : LABEL version=0.0.0 02:03:24 ---> Running in 213fd81d9fc9 02:03:24 Removing intermediate container 213fd81d9fc9 02:03:24 ---> 0d40c796c074 02:03:24 [Warning] One or more build-args [ARCH] were not consumed 02:03:24 Successfully built 0d40c796c074 02:03:24 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:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:25 02:03:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:25 latest: Pulling from edgex-lftools-log-publisher 02:03:25 5eb5b503b376: Pulling fs layer 02:03:25 5c69ac0246d0: Pulling fs layer 02:03:25 ec43610c2a17: Pulling fs layer 02:03:25 3a2ae6a8a46f: Pulling fs layer 02:03:25 33b1e0a273af: Pulling fs layer 02:03:25 5d3b04190fa2: Pulling fs layer 02:03:25 2f39f015ded8: Pulling fs layer 02:03:25 5d3b04190fa2: Waiting 02:03:25 2f39f015ded8: Waiting 02:03:25 3a2ae6a8a46f: Waiting 02:03:25 5c69ac0246d0: Verifying Checksum 02:03:25 5c69ac0246d0: Download complete 02:03:25 3a2ae6a8a46f: Verifying Checksum 02:03:25 3a2ae6a8a46f: Download complete 02:03:26 33b1e0a273af: Verifying Checksum 02:03:26 33b1e0a273af: Download complete 02:03:26 5d3b04190fa2: Verifying Checksum 02:03:26 5d3b04190fa2: Download complete 02:03:26 ec43610c2a17: Verifying Checksum 02:03:26 ec43610c2a17: Download complete 02:03:26 5eb5b503b376: Verifying Checksum 02:03:26 5eb5b503b376: Download complete 02:03:27 2f39f015ded8: Download complete 02:03:27 5eb5b503b376: Pull complete 02:03:27 5c69ac0246d0: Pull complete 02:03:27 ec43610c2a17: Pull complete 02:03:28 3a2ae6a8a46f: Pull complete 02:03:28 33b1e0a273af: Pull complete 02:03:28 5d3b04190fa2: Pull complete 02:03:32 2f39f015ded8: Pull complete 02:03:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:32 prd-ubuntu20.04-docker-8c-8g-17437 does not seem to be running inside a container 02:03:32 $ 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-613 -v /w/workspace/gexfoundry_device-mqtt-go_PR-613:/w/workspace/gexfoundry_device-mqtt-go_PR-613:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-613@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:03:37 $ docker top 97b60523b7485125273e93dd4917de512eaf81733d3ff8d84329d478ce0d83c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:37 ---> job-cost.sh 02:03:37 lf-activate-venv: SKIPPING 02:03:37 INFO: No Stack... 02:03:37 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:38 INFO: Archiving Costs [Pipeline] sh 02:03:38 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives/cost.csv 02:03:38 + cut -d, -f6 [Pipeline] lock 02:03:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] 02:03:38 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] did not exist. Created. 02:03:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:38 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:38 Stashed 1 file(s) [Pipeline] } 02:03:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:38 $ docker stop --time=1 97b60523b7485125273e93dd4917de512eaf81733d3ff8d84329d478ce0d83c4 02:03:40 $ docker rm -f --volumes 97b60523b7485125273e93dd4917de512eaf81733d3ff8d84329d478ce0d83c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:05:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17439 in /w/workspace/gexfoundry_device-mqtt-go_PR-613 [Pipeline] { [Pipeline] ws 02:05:07 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:05:07 Selected Git installation does not exist. Using Default 02:05:07 The recommended git tool is: NONE 02:05:18 using credential edgex-jenkins-ssh 02:05:18 Cloning the remote Git repository 02:05:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:05:18 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:05:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:19 > git --version # timeout=10 02:05:19 > git --version # 'git version 2.25.1' 02:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:22 Merging remotes/origin/main commit 076aceae7774eed065da4ce17ac21a3c9dad675d into PR head commit 07c0aff80f1770894ba993b82405b9303a2ed693 02:05:23 Merge succeeded, producing 07c0aff80f1770894ba993b82405b9303a2ed693 02:05:23 Checking out Revision 07c0aff80f1770894ba993b82405b9303a2ed693 (PR-613) 02:05:22 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:22 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:05:22 > git config core.sparsecheckout # timeout=10 02:05:22 > git checkout -f 07c0aff80f1770894ba993b82405b9303a2ed693 # timeout=10 02:05:22 > git remote # timeout=10 02:05:22 > git config --get remote.origin.url # timeout=10 02:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:22 > git merge 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 02:05:23 > git rev-parse HEAD^{commit} # timeout=10 02:05:23 > git config core.sparsecheckout # timeout=10 02:05:23 > git checkout -f 07c0aff80f1770894ba993b82405b9303a2ed693 # timeout=10 02:05:23 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4" 02:05:23 > git --version # timeout=10 02:05:23 > git --version # 'git version 2.25.1' 02:05:23 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:05:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:24 Dload Upload Total Spent Left Speed 02:05:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 02:05:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:05:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:05:25 + sudo tee /etc/docker/daemon.new 02:05:25 { 02:05:25 "registry-mirrors": [ 02:05:25 "https://nexus3.edgexfoundry.org:10001" 02:05:25 ], 02:05:25 "bip": "10.250.0.254/24", 02:05:25 "hosts": [ 02:05:25 "tcp://0.0.0.0:5555", 02:05:25 "unix:///var/run/docker.sock" 02:05:25 ], 02:05:25 "mtu": 1458, 02:05:25 "selinux-enabled": true, 02:05:25 "seccomp-profile": "/etc/docker/seccomp.json" 02:05:25 } [Pipeline] sh 02:05:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:05:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:44 provisioning config files... 02:05:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config833430405495862558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:45 ---> docker-login.sh 02:05:45 nexus3.edgexfoundry.org:10001 02:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:46 Configure a credential helper to remove this warning. See 02:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:46 02:05:46 Login Succeeded 02:05:46 nexus3.edgexfoundry.org:10002 02:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:46 Configure a credential helper to remove this warning. See 02:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:46 02:05:46 Login Succeeded 02:05:46 nexus3.edgexfoundry.org:10003 02:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:46 Configure a credential helper to remove this warning. See 02:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:46 02:05:46 Login Succeeded 02:05:46 nexus3.edgexfoundry.org:10004 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:47 Configure a credential helper to remove this warning. See 02:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:47 02:05:47 Login Succeeded 02:05:47 docker.io 02:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:48 Configure a credential helper to remove this warning. See 02:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:48 02:05:48 Login Succeeded 02:05:48 ---> docker-login.sh ends [Pipeline] } 02:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:48 ========================================================= 02:05:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:05:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:49 + 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:05:49 Sending build context to Docker daemon 3.437MB 02:05:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:05:49 Step 2/12 : FROM ${BASE} AS builder 02:05:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:05:49 c41833b44d91: Pulling fs layer 02:05:49 ed15518f5707: Pulling fs layer 02:05:49 feae8fd75edb: Pulling fs layer 02:05:49 242c74f7c9fa: Pulling fs layer 02:05:49 3cdef696dda3: Pulling fs layer 02:05:49 2ced38df9373: Pulling fs layer 02:05:49 58f1dce35555: Pulling fs layer 02:05:49 2ced38df9373: Waiting 02:05:49 242c74f7c9fa: Waiting 02:05:49 58f1dce35555: Waiting 02:05:49 ed15518f5707: Verifying Checksum 02:05:49 ed15518f5707: Download complete 02:05:49 242c74f7c9fa: Verifying Checksum 02:05:49 242c74f7c9fa: Download complete 02:05:49 3cdef696dda3: Verifying Checksum 02:05:49 3cdef696dda3: Download complete 02:05:49 c41833b44d91: Verifying Checksum 02:05:49 c41833b44d91: Download complete 02:05:50 c41833b44d91: Pull complete 02:05:51 58f1dce35555: Verifying Checksum 02:05:51 58f1dce35555: Download complete 02:05:51 ed15518f5707: Pull complete 02:05:52 feae8fd75edb: Verifying Checksum 02:05:52 feae8fd75edb: Download complete 02:05:52 2ced38df9373: Verifying Checksum 02:05:52 2ced38df9373: Download complete 02:06:04 feae8fd75edb: Pull complete 02:06:04 242c74f7c9fa: Pull complete 02:06:04 3cdef696dda3: Pull complete 02:06:11 2ced38df9373: Pull complete 02:06:13 58f1dce35555: Pull complete 02:06:13 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:06:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:06:13 ---> fadd8f120f05 02:06:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:06:15 ---> Running in e8cbee2f967d 02:06:16 Removing intermediate container e8cbee2f967d 02:06:16 ---> 70fee0ae181d 02:06:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:16 ---> Running in d287e358359d 02:06:16 Removing intermediate container d287e358359d 02:06:16 ---> 0f71b8e5ace3 02:06:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:16 ---> Running in c7f6fe588c20 02:06:16 Removing intermediate container c7f6fe588c20 02:06:16 ---> beb28b3768e8 02:06:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:06:16 ---> Running in 4357f82f514a 02:06:16 Removing intermediate container 4357f82f514a 02:06:16 ---> 8a794932bc59 02:06:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:17 ---> Running in 0fa1ed1485ba 02:06:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:06:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:06:19 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:06:19 (2/4) Installing libedit (20221030.3.1-r0) 02:06:19 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:06:19 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:06:19 Executing busybox-1.35.0-r29.trigger 02:06:19 OK: 268 MiB in 57 packages 02:06:20 Removing intermediate container 0fa1ed1485ba 02:06:20 ---> 213d7cbdf6d4 02:06:20 Step 8/12 : WORKDIR /device-mqtt-go 02:06:20 ---> Running in 2b1322e5fb92 02:06:21 Removing intermediate container 2b1322e5fb92 02:06:21 ---> 63baf22f4b0b 02:06:21 Step 9/12 : COPY go.mod vendor* ./ 02:06:21 ---> 63572007d1c3 02:06:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:21 ---> Running in 9773ee8c7d0c 02:07:29 Removing intermediate container 9773ee8c7d0c 02:07:29 ---> a50b2a7f9a65 02:07:29 Step 11/12 : COPY . . 02:07:31 ---> 9105d2e63326 02:07:31 Step 12/12 : RUN $MAKE 02:07:31 ---> Running in 4c00b2039fc6 02:07:32 noop 02:07:32 Removing intermediate container 4c00b2039fc6 02:07:32 ---> c3609f64cbfe 02:07:32 Successfully built c3609f64cbfe 02:07:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:33 + docker inspect -f . ci-base-image-arm64 02:07:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:33 prd-ubuntu20.04-docker-arm64-4c-16g-17439 does not seem to be running inside a container 02:07:33 $ 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:07:34 $ docker top ba5e1c0e9b7863d6b87fa5442ac82e4fde337603f83dd7e123629fea447b7957 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:35 + go version 02:07:35 go version go1.20.2 linux/arm64 [Pipeline] } 02:07:35 $ docker stop --time=1 ba5e1c0e9b7863d6b87fa5442ac82e4fde337603f83dd7e123629fea447b7957 02:07:37 $ docker rm -f --volumes ba5e1c0e9b7863d6b87fa5442ac82e4fde337603f83dd7e123629fea447b7957 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:38 + docker inspect -f . ci-base-image-arm64 02:07:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:38 prd-ubuntu20.04-docker-arm64-4c-16g-17439 does not seem to be running inside a container 02:07:38 $ 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:07:39 $ docker top 922c12bc51e19a680158ceeb632a96bbc1a298d7e8ed73e685ad30a38b8b5996 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:40 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:07:41 + make test 02:07:41 go test ./... -coverprofile=coverage.out ./... 02:08:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 22.8% of statements 02:10:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:05 go vet ./... 02:10:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:32 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:32 $ docker stop --time=1 922c12bc51e19a680158ceeb632a96bbc1a298d7e8ed73e685ad30a38b8b5996 02:10:33 $ docker rm -f --volumes 922c12bc51e19a680158ceeb632a96bbc1a298d7e8ed73e685ad30a38b8b5996 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:35 Warning: overwriting stash ‘coverage-report’ 02:10:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:36 + ls -al . 02:10:36 total 180 02:10:36 drwxrwxr-x 9 jenkins jenkins 4096 May 31 02:07 . 02:10:36 drwxrwxr-x 4 jenkins jenkins 4096 May 31 02:05 .. 02:10:36 -rw-rw-r-- 1 jenkins jenkins 140 May 31 02:05 .dockerignore 02:10:36 drwxrwxr-x 8 jenkins jenkins 4096 May 31 02:05 .git 02:10:36 drwxrwxr-x 3 jenkins jenkins 4096 May 31 02:05 .github 02:10:36 -rw-rw-r-- 1 jenkins jenkins 329 May 31 02:05 .gitignore 02:10:36 -rw-rw-r-- 1 jenkins jenkins 41 May 31 02:05 .golangci.yml 02:10:36 -rw-rw-r-- 1 jenkins jenkins 9417 May 31 02:05 Attribution.txt 02:10:36 -rw-rw-r-- 1 jenkins jenkins 17522 May 31 02:05 CHANGELOG.md 02:10:36 -rw-rw-r-- 1 jenkins jenkins 1689 May 31 02:05 Dockerfile 02:10:36 -rw-rw-r-- 1 jenkins jenkins 677 May 31 02:05 GOVERNANCE.md 02:10:36 -rw-rw-r-- 1 jenkins jenkins 678 May 31 02:05 Jenkinsfile 02:10:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 31 02:05 LICENSE 02:10:36 -rw-rw-r-- 1 jenkins jenkins 1732 May 31 02:05 Makefile 02:10:36 -rw-rw-r-- 1 jenkins jenkins 620 May 31 02:05 OWNERS.md 02:10:36 -rw-rw-r-- 1 jenkins jenkins 3695 May 31 02:05 README.md 02:10:36 -rw-rw-r-- 1 jenkins jenkins 5 May 31 02:01 VERSION 02:10:36 drwxrwxr-x 2 jenkins jenkins 4096 May 31 02:05 bin 02:10:36 drwxrwxr-x 3 jenkins jenkins 4096 May 31 02:05 cmd 02:10:36 -rw-r--r-- 1 jenkins jenkins 18506 May 31 02:10 coverage.out 02:10:36 -rw-rw-r-- 1 jenkins jenkins 3285 May 31 02:05 go.mod 02:10:36 -rw-rw-r-- 1 jenkins jenkins 31322 May 31 02:05 go.sum 02:10:36 drwxrwxr-x 3 jenkins jenkins 4096 May 31 02:05 internal 02:10:36 drwxrwxr-x 2 jenkins jenkins 4096 May 31 02:05 mock 02:10:36 drwxrwxr-x 4 jenkins jenkins 4096 May 31 02:05 snap 02:10:36 -rw-rw-r-- 1 jenkins jenkins 227 May 31 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:36 + 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=07c0aff80f1770894ba993b82405b9303a2ed693 --label arch=arm64 --label version=0.0.0 . 02:10:37 Sending build context to Docker daemon 3.456MB 02:10:37 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:10:37 Step 2/24 : FROM ${BASE} AS builder 02:10:37 ---> c3609f64cbfe 02:10:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:10:37 ---> Running in 638d7669ac48 02:10:37 Removing intermediate container 638d7669ac48 02:10:37 ---> aef95075730b 02:10:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:10:37 ---> Running in 729e9edb595c 02:10:37 Removing intermediate container 729e9edb595c 02:10:37 ---> af9fbc8a7ddb 02:10:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:10:38 ---> Running in 5aad2d4b4e7e 02:10:38 Removing intermediate container 5aad2d4b4e7e 02:10:38 ---> 8138fe8d435c 02:10:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:10:38 ---> Running in d2699bb9fffb 02:10:38 Removing intermediate container d2699bb9fffb 02:10:38 ---> ac7591253054 02:10:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:10:38 ---> Running in a1cea8031786 02:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:10:41 OK: 268 MiB in 57 packages 02:10:42 Removing intermediate container a1cea8031786 02:10:42 ---> b6e22db19c05 02:10:42 Step 8/24 : WORKDIR /device-mqtt-go 02:10:42 ---> Running in 7dcac8a46948 02:10:42 Removing intermediate container 7dcac8a46948 02:10:42 ---> aba81be66e57 02:10:42 Step 9/24 : COPY go.mod vendor* ./ 02:10:43 ---> a1c9869a99ad 02:10:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:43 ---> Running in a36130ddd7d8 02:10:45 Removing intermediate container a36130ddd7d8 02:10:45 ---> 63bc28056976 02:10:45 Step 11/24 : COPY . . 02:10:46 ---> abb2baa9ee04 02:10:46 Step 12/24 : RUN $MAKE 02:10:46 ---> Running in 9e33af06899b 02:10:47 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:12:53 Removing intermediate container 9e33af06899b 02:12:53 ---> 824a4f695370 02:12:53 Step 13/24 : FROM alpine:3.17 02:12:53 3.17: Pulling from library/alpine 02:12:53 c41833b44d91: Already exists 02:12:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:12:53 Status: Downloaded newer image for alpine:3.17 02:12:53 ---> 51e60588ff2c 02:12:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:12:53 ---> Running in 57b5f463a7d5 02:12:53 Removing intermediate container 57b5f463a7d5 02:12:53 ---> 129154847326 02:12:53 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:12:53 ---> Running in a81465cd0712 02:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:12:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:12:53 (1/1) Installing dumb-init (1.2.5-r2) 02:12:53 Executing busybox-1.35.0-r29.trigger 02:12:54 OK: 8 MiB in 16 packages 02:12:56 Removing intermediate container a81465cd0712 02:12:56 ---> bf53b8fc4c02 02:12:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:12:57 ---> c7796ed61b03 02:12:57 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:12:58 ---> 33a5085a6991 02:12:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:12:58 ---> 353e9aab786d 02:12:58 Step 19/24 : EXPOSE 59982 02:12:58 ---> Running in 848c7e050670 02:12:58 Removing intermediate container 848c7e050670 02:12:58 ---> a64b88b3e4e5 02:12:58 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:12:59 ---> Running in f7fe69544f73 02:12:59 Removing intermediate container f7fe69544f73 02:12:59 ---> 8f9ef448408c 02:12:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:12:59 ---> Running in 06a48e0e5f74 02:13:00 Removing intermediate container 06a48e0e5f74 02:13:00 ---> d1e6f108375f 02:13:00 Step 22/24 : LABEL arch=arm64 02:13:00 ---> Running in 5ac0c01290d6 02:13:00 Removing intermediate container 5ac0c01290d6 02:13:00 ---> 5a7dd8838836 02:13:00 Step 23/24 : LABEL git_sha=07c0aff80f1770894ba993b82405b9303a2ed693 02:13:00 ---> Running in a201873b09dc 02:13:01 Removing intermediate container a201873b09dc 02:13:01 ---> 87aa6b0db0cf 02:13:01 Step 24/24 : LABEL version=0.0.0 02:13:01 ---> Running in 9ffdcce2d461 02:13:01 Removing intermediate container 9ffdcce2d461 02:13:01 ---> c66c3804b0ae 02:13:01 [Warning] One or more build-args [ARCH] were not consumed 02:13:01 Successfully built c66c3804b0ae 02:13:01 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:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:02 02:13:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:02 arm64: Pulling from edgex-lftools-log-publisher 02:13:02 8998bd30e6a1: Pulling fs layer 02:13:02 04944245beec: Pulling fs layer 02:13:02 699f458cf7ca: Pulling fs layer 02:13:02 765212b225bb: Pulling fs layer 02:13:02 f23df028b6ca: Pulling fs layer 02:13:02 d65c8cfc05b1: Pulling fs layer 02:13:02 2437ff75d9bd: Pulling fs layer 02:13:02 765212b225bb: Waiting 02:13:02 f23df028b6ca: Waiting 02:13:02 d65c8cfc05b1: Waiting 02:13:02 2437ff75d9bd: Waiting 02:13:03 04944245beec: Verifying Checksum 02:13:03 04944245beec: Download complete 02:13:03 765212b225bb: Download complete 02:13:03 f23df028b6ca: Download complete 02:13:03 d65c8cfc05b1: Verifying Checksum 02:13:03 d65c8cfc05b1: Download complete 02:13:03 699f458cf7ca: Verifying Checksum 02:13:03 699f458cf7ca: Download complete 02:13:03 8998bd30e6a1: Verifying Checksum 02:13:03 8998bd30e6a1: Download complete 02:13:06 2437ff75d9bd: Verifying Checksum 02:13:06 2437ff75d9bd: Download complete 02:13:07 8998bd30e6a1: Pull complete 02:13:08 04944245beec: Pull complete 02:13:09 699f458cf7ca: Pull complete 02:13:09 765212b225bb: Pull complete 02:13:10 f23df028b6ca: Pull complete 02:13:10 d65c8cfc05b1: Pull complete 02:13:25 2437ff75d9bd: Pull complete 02:13:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:26 prd-ubuntu20.04-docker-arm64-4c-16g-17439 does not seem to be running inside a container 02:13:26 $ 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:13:28 $ docker top 651e4dcac21b57035703703b7e31cf395b5fe17e895186fbc359f7ad3c817757 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:29 ---> job-cost.sh 02:13:29 lf-activate-venv: SKIPPING 02:13:29 INFO: No Stack... 02:13:30 INFO: Retrieving Pricing Info for: v3-standard-4 02:13:31 INFO: Archiving Costs [Pipeline] sh 02:13:31 + cut -d, -f6 02:13:31 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 02:13:31 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] 02:13:31 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] did not exist. Created. 02:13:31 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:32 /w/workspace/device-mqtt-go/1@tmp/durable-50738d62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:13:32 + echo total: 0.10999999940395355 [Pipeline] stash 02:13:32 Warning: overwriting stash ‘stack-cost’ 02:13:33 Stashed 1 file(s) [Pipeline] } 02:13:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-613-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:33 $ docker stop --time=1 651e4dcac21b57035703703b7e31cf395b5fe17e895186fbc359f7ad3c817757 02:13:37 $ docker rm -f --volumes 651e4dcac21b57035703703b7e31cf395b5fe17e895186fbc359f7ad3c817757 [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:13:38 provisioning config files... 02:13:38 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/config8890563941294217926tmp [Pipeline] { [Pipeline] sh 02:13:38 + set +x 02:13:38 + bash -s -- 02:13:38 + curl -s https://codecov.io/bash 02:13:38 02:13:38 _____ _ 02:13:38 / ____| | | 02:13:38 | | ___ __| | ___ ___ _____ __ 02:13:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:38 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:38 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:38 Bash-1.0.6 02:13:38 02:13:38 02:13:38 ==> git version 2.25.1 found 02:13:38 ==> 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:13:38 Release-Date: 2020-01-08 02:13:38 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:13:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:38 ==> Jenkins CI detected. 02:13:38 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-613 02:13:38 project root: . 02:13:38 --> token set from env 02:13:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:38 ==> Running gcov in . (disable via -X gcov) 02:13:38 ==> Python coveragepy not found 02:13:38 ==> Searching for coverage reports in: 02:13:38 + . 02:13:38 -> Found 1 reports 02:13:38 ==> Detecting git/mercurial file structure 02:13:38 ==> Reading reports 02:13:38 + ./coverage.out bytes=18506 02:13:38 ==> Appending adjustments 02:13:38 https://docs.codecov.io/docs/fixing-reports 02:13:39 + Found adjustments 02:13:39 ==> Gzipping contents 02:13:39 4.0K /tmp/codecov.0wuqNA.gz 02:13:39 ==> Uploading reports 02:13:39 url: https://codecov.io 02:13:39 query: branch=PR-613&commit=07c0aff80f1770894ba993b82405b9303a2ed693&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-613%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=613&job=&cmd_args= 02:13:39 -> Pinging Codecov 02:13:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-613&commit=07c0aff80f1770894ba993b82405b9303a2ed693&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-613%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=613&job=&cmd_args= 02:13:39 -> Uploading to 02:13:39 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/7D719EC7BBE17E464838252E33014C33/07c0aff80f1770894ba993b82405b9303a2ed693/e1d075ea-8e6f-4f1e-b8ae-10a0a15b4503.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T021339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6502c46e7ad881b01d1a154809974a9fac470c11b0f6edfef9d9a03dc2ab61d 02:13:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:39 Dload Upload Total Spent Left Speed 02:13:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16592 --:--:-- --:--:-- --:--:-- 16592 02:13:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/07c0aff80f1770894ba993b82405b9303a2ed693 [Pipeline] } 02:13:39 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:13:41 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives ] 02:13:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives 02:13:41 total 16 02:13:41 drwxr-xr-x 3 root root 4096 May 31 02:03 . 02:13:41 drwxrwxr-x 11 jenkins jenkins 4096 May 31 02:03 .. 02:13:41 drwxr-xr-x 2 root root 4096 May 31 02:03 cost 02:13:41 -rw-r--r-- 1 root root 86 May 31 02:03 cost.csv 02:13:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives 02:13:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives 02:13:41 total 16 02:13:41 drwxr-xr-x 3 jenkins jenkins 4096 May 31 02:03 . 02:13:41 drwxrwxr-x 11 jenkins jenkins 4096 May 31 02:03 .. 02:13:41 drwxr-xr-x 2 jenkins jenkins 4096 May 31 02:03 cost 02:13:41 -rw-r--r-- 1 jenkins jenkins 86 May 31 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:13:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:13:42 ---> package-listing.sh 02:13:42 ++ facter osfamily 02:13:42 ++ tr '[:upper:]' '[:lower:]' 02:13:42 + OS_FAMILY=debian 02:13:42 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-613 02:13:42 + START_PACKAGES=/tmp/packages_start.txt 02:13:42 + END_PACKAGES=/tmp/packages_end.txt 02:13:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:13:42 + PACKAGES=/tmp/packages_start.txt 02:13:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-613 ']' 02:13:42 + PACKAGES=/tmp/packages_end.txt 02:13:42 + case "${OS_FAMILY}" in 02:13:42 + dpkg -l 02:13:42 + grep '^ii' 02:13:42 + '[' -f /tmp/packages_start.txt ']' 02:13:42 + '[' -f /tmp/packages_end.txt ']' 02:13:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:13:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-613 ']' 02:13:42 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives/ 02:13:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-613/archives/ [Pipeline] echo 02:13:42 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-613/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:13:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:44 prd-ubuntu20.04-docker-8c-8g-17437 does not seem to be running inside a container 02:13:44 $ 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-613/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-613 -v /w/workspace/gexfoundry_device-mqtt-go_PR-613:/w/workspace/gexfoundry_device-mqtt-go_PR-613:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-613@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:13:48 $ docker top 76c0dcae58c2eaecd6a71112a34a314e555a133c129ac0629e070fb3d259be1d -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:13:49 + mkdir -p /var/log/sysstat [Pipeline] sh 02:13:49 + ls /var/log/sa-host 02:13:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:49 provisioning config files... 02:13:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-613@tmp/config6922842400399484122tmp [Pipeline] { [Pipeline] echo 02:13:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:13:50 ---> create-netrc.sh [Pipeline] } 02:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:13:50 ---> python-tools-install.sh [Pipeline] echo 02:13:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:13:51 ---> sudo-logs.sh 02:13:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:13:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:13:51 ---> job-cost.sh 02:13:51 lf-activate-venv: SKIPPING 02:13:51 DEBUG: total: 0.2199999988079071 02:13:51 INFO: Retrieving Stack Cost... 02:13:52 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:52 INFO: Archiving Costs [Pipeline] echo 02:13:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:13:52 ---> logs-deploy.sh 02:13:52 lf-activate-venv: SKIPPING 02:13:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-613/1 02:13:52 INFO: archiving workspace using pattern(s): 02:13:53 Archives upload complete. 02:13:53 INFO: archiving logs to Nexus