Pull request #598 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96947cecf3d76f6b2787f6356383ec9054eb41aa+db7876f2142a7278c0249a92e31096ef17edc92f (2d8f47cf94878993ef041fb6b9158b82cb48d002) 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-ssh3011369144140014370.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-ssh14481040453009490811.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-598/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-598/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7590855210583600546.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-598/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15623310075751344301.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-ssh3424252290441270423.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-598/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-598/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12898528689670190052.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 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14863’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-14855’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14865 in /w/workspace/gexfoundry_device-mqtt-go_PR-598 [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-598 # 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/598/head:refs/remotes/origin/PR-598 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit db7876f2142a7278c0249a92e31096ef17edc92f into PR head commit 96947cecf3d76f6b2787f6356383ec9054eb41aa Merge succeeded, producing 96947cecf3d76f6b2787f6356383ec9054eb41aa Checking out Revision 96947cecf3d76f6b2787f6356383ec9054eb41aa (PR-598) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:58:38 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 96947cecf3d76f6b2787f6356383ec9054eb41aa # 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 db7876f2142a7278c0249a92e31096ef17edc92f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96947cecf3d76f6b2787f6356383ec9054eb41aa # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:58:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:58:39 ========================================================= 01:58:39 EdgeX Global Pipelines Version Info 01:58:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:58:39 ------------------- 01:58:39 stable info: 01:58:39 ------------------- 01:58:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:58:39 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:58:39 Message: update stable to v1.0.249 01:58:40 ------------------- 01:58:40 experimental info: 01:58:40 ------------------- 01:58:40 Commited By: **** collab-it+edgex@linuxfoundation.org 01:58:40 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:58:40 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:58:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:58:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-598 [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-598 [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-598 [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96947cecf3d76f6b2787f6356383ec9054eb41aa [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96947ce [Pipeline] echo 01:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:42 provisioning config files... 01:58:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/config611351938480105043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:42 ---> docker-login.sh 01:58:42 nexus3.edgexfoundry.org:10001 01:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:43 Configure a credential helper to remove this warning. See 01:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:43 01:58:43 Login Succeeded 01:58:43 nexus3.edgexfoundry.org:10002 01:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:43 Configure a credential helper to remove this warning. See 01:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:43 01:58:43 Login Succeeded 01:58:43 nexus3.edgexfoundry.org:10003 01:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:43 Configure a credential helper to remove this warning. See 01:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:43 01:58:43 Login Succeeded 01:58:43 nexus3.edgexfoundry.org:10004 01:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:43 Configure a credential helper to remove this warning. See 01:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:43 01:58:43 Login Succeeded 01:58:43 docker.io 01:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:43 Configure a credential helper to remove this warning. See 01:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:43 01:58:43 Login Succeeded 01:58:43 ---> docker-login.sh ends [Pipeline] } 01:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:58:44 + git rev-list -1 --merges 96947cecf3d76f6b2787f6356383ec9054eb41aa~1..96947cecf3d76f6b2787f6356383ec9054eb41aa [Pipeline] echo 01:58:44 -----------> git rev-list -1 --merges 96947cecf3d76f6b2787f6356383ec9054eb41aa~1..96947cecf3d76f6b2787f6356383ec9054eb41aa 96947cecf3d76f6b2787f6356383ec9054eb41aa [false] [Pipeline] sh 01:58:45 + git log --format=format:%s -1 96947cecf3d76f6b2787f6356383ec9054eb41aa [Pipeline] echo 01:58:45 ========================================================= 01:58:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:58:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:45 + git log --format=format:%s -1 96947cecf3d76f6b2787f6356383ec9054eb41aa [Pipeline] echo 01:58:45 [semverPrep] GIT_COMMIT: 96947cecf3d76f6b2787f6356383ec9054eb41aa, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:58:45 [semverPrep] This is not a build commit. [Pipeline] sh 01:58:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:45 + grep -v github /etc/ssh/ssh_known_hosts 01:58:45 + [ -e /tmp/ssh_known_hosts ] 01:58:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:58:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:58:45 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:46 01:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:46 0.1.4: Pulling from edgex-devops/py-git-semver 01:58:46 b85a868b505f: Pulling fs layer 01:58:46 e2be974225ed: Pulling fs layer 01:58:46 339a4e72a1f5: Pulling fs layer 01:58:46 988bab9f4d93: Pulling fs layer 01:58:46 1469e6f7b9e6: Pulling fs layer 01:58:46 eaf3925da568: Pulling fs layer 01:58:46 bab4dde63d76: Pulling fs layer 01:58:46 bde34c3a00c8: Pulling fs layer 01:58:46 b352a97aabf1: Pulling fs layer 01:58:46 4872d77fe225: Pulling fs layer 01:58:46 5851b861e8e6: Pulling fs layer 01:58:46 988bab9f4d93: Waiting 01:58:46 b352a97aabf1: Waiting 01:58:46 1469e6f7b9e6: Waiting 01:58:46 eaf3925da568: Waiting 01:58:46 bab4dde63d76: Waiting 01:58:46 bde34c3a00c8: Waiting 01:58:46 4872d77fe225: Waiting 01:58:46 5851b861e8e6: Waiting 01:58:46 e2be974225ed: Download complete 01:58:46 988bab9f4d93: Download complete 01:58:46 1469e6f7b9e6: Verifying Checksum 01:58:46 1469e6f7b9e6: Download complete 01:58:47 339a4e72a1f5: Verifying Checksum 01:58:47 339a4e72a1f5: Download complete 01:58:47 eaf3925da568: Verifying Checksum 01:58:47 eaf3925da568: Download complete 01:58:47 bde34c3a00c8: Verifying Checksum 01:58:47 bde34c3a00c8: Download complete 01:58:47 b352a97aabf1: Download complete 01:58:47 4872d77fe225: Verifying Checksum 01:58:47 4872d77fe225: Download complete 01:58:47 5851b861e8e6: Download complete 01:58:47 b85a868b505f: Download complete 01:58:47 bab4dde63d76: Verifying Checksum 01:58:47 bab4dde63d76: Download complete 01:58:48 b85a868b505f: Pull complete 01:58:48 e2be974225ed: Pull complete 01:58:49 339a4e72a1f5: Pull complete 01:58:49 988bab9f4d93: Pull complete 01:58:49 1469e6f7b9e6: Pull complete 01:58:49 eaf3925da568: Pull complete 01:58:51 bab4dde63d76: Pull complete 01:58:51 bde34c3a00c8: Pull complete 01:58:51 b352a97aabf1: Pull complete 01:58:51 4872d77fe225: Pull complete 01:58:51 5851b861e8e6: Pull complete 01:58:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:51 prd-ubuntu20.04-docker-8c-8g-14865 does not seem to be running inside a container 01:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-598 -v /w/workspace/gexfoundry_device-mqtt-go_PR-598:/w/workspace/gexfoundry_device-mqtt-go_PR-598:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-598@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:58:54 $ docker top 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 -eo pid,comm 01:58:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:58:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:54 [ssh-agent] Looking for ssh-agent implementation... 01:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:54 $ docker exec 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 ssh-agent 01:58:54 SSH_AUTH_SOCK=/tmp/ssh-kVxvrszNmk3K/agent.32 01:58:54 SSH_AGENT_PID=38 01:58:54 Running ssh-add (command line suppressed) 01:58:54 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/private_key_11937133351665035923.key (/w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/private_key_11937133351665035923.key) 01:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:55 + git tag --points-at HEAD [Pipeline] } 01:58:55 $ docker exec --env ******** --env ******** 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 ssh-agent -k 01:58:55 unset SSH_AUTH_SOCK; 01:58:55 unset SSH_AGENT_PID; 01:58:55 echo Agent pid 38 killed; 01:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:55 [ssh-agent] Looking for ssh-agent implementation... 01:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:55 $ docker exec 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 ssh-agent 01:58:55 SSH_AUTH_SOCK=/tmp/ssh-VIWvRlwMWRqT/agent.70 01:58:55 SSH_AGENT_PID=76 01:58:55 Running ssh-add (command line suppressed) 01:58:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/private_key_6834942225067862551.key (/w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/private_key_6834942225067862551.key) 01:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:56 + git semver init 01:58:56 2023-05-10 01:58:56,236 [run_init] DEBUG init version:0.0.0 force:False 01:58:56 2023-05-10 01:58:56,237 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver 01:58:56 2023-05-10 01:58:56,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver 01:58:56 2023-05-10 01:58:56,238 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-598, universal_newlines=False, shell=None, istream=None) 01:58:57 2023-05-10 01:58:57,065 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-598/.git/info/exclude 01:58:57 2023-05-10 01:58:57,065 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver/PR-598 with force:False 01:58:57 2023-05-10 01:58:57,066 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver/PR-598 01:58:57 2023-05-10 01:58:57,070 [execute] INFO git cat-file --batch-check 01:58:57 2023-05-10 01:58:57,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver, universal_newlines=False, shell=None, istream=) 01:58:57 2023-05-10 01:58:57,076 [execute] INFO git cat-file --batch 01:58:57 2023-05-10 01:58:57,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver, universal_newlines=False, shell=None, istream=) 01:58:57 2023-05-10 01:58:57,082 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-598/.semver/PR-598 01:58:57 0.0.0 [Pipeline] } 01:58:57 $ docker exec --env ******** --env ******** 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 ssh-agent -k 01:58:57 unset SSH_AUTH_SOCK; 01:58:57 unset SSH_AGENT_PID; 01:58:57 echo Agent pid 76 killed; 01:58:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:57 + git semver [Pipeline] } 01:58:58 $ docker stop --time=1 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 01:58:59 $ docker rm -f --volumes 3ec6c84d57372e64f496f50f304999e7bead102791884fb11fc0e89708503761 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:00 Stashed 1 file(s) [Pipeline] echo 01:59:00 [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 01:59:00 provisioning config files... 01:59:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/config11823583393271776430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:01 ---> docker-login.sh 01:59:01 nexus3.edgexfoundry.org:10001 01:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 nexus3.edgexfoundry.org:10002 01:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 nexus3.edgexfoundry.org:10003 01:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 nexus3.edgexfoundry.org:10004 01:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 docker.io 01:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:01 Configure a credential helper to remove this warning. See 01:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:01 01:59:01 Login Succeeded 01:59:01 ---> docker-login.sh ends [Pipeline] } 01:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:02 ========================================================= 01:59:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:59:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:02 + 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 . 01:59:02 Sending build context to Docker daemon 6.525MB 01:59:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:59:02 Step 2/12 : FROM ${BASE} AS builder 01:59:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:02 f56be85fc22e: Pulling fs layer 01:59:02 85791d961cd3: Pulling fs layer 01:59:02 d694b5ae8c79: Pulling fs layer 01:59:02 9f32a84ed3da: Pulling fs layer 01:59:02 4d19c01a9841: Pulling fs layer 01:59:02 9325e15d5711: Pulling fs layer 01:59:02 556b6ee489ea: Pulling fs layer 01:59:02 c5a4b2cf53e6: Pulling fs layer 01:59:02 4d19c01a9841: Waiting 01:59:02 9325e15d5711: Waiting 01:59:02 556b6ee489ea: Waiting 01:59:02 c5a4b2cf53e6: Waiting 01:59:02 9f32a84ed3da: Waiting 01:59:02 85791d961cd3: Download complete 01:59:02 9f32a84ed3da: Verifying Checksum 01:59:02 9f32a84ed3da: Download complete 01:59:02 4d19c01a9841: Verifying Checksum 01:59:02 f56be85fc22e: Verifying Checksum 01:59:02 f56be85fc22e: Download complete 01:59:02 9325e15d5711: Verifying Checksum 01:59:02 9325e15d5711: Download complete 01:59:03 f56be85fc22e: Pull complete 01:59:03 85791d961cd3: Pull complete 01:59:03 c5a4b2cf53e6: Verifying Checksum 01:59:03 c5a4b2cf53e6: Download complete 01:59:03 d694b5ae8c79: Download complete 01:59:03 556b6ee489ea: Verifying Checksum 01:59:03 556b6ee489ea: Download complete 01:59:07 d694b5ae8c79: Pull complete 01:59:07 9f32a84ed3da: Pull complete 01:59:07 4d19c01a9841: Pull complete 01:59:07 9325e15d5711: Pull complete 01:59:09 556b6ee489ea: Pull complete 01:59:11 c5a4b2cf53e6: Pull complete 01:59:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:59:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:59:11 ---> c4be618373d6 01:59:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:59:14 ---> Running in 270f9d8335c8 01:59:14 Removing intermediate container 270f9d8335c8 01:59:14 ---> 13ac2ef611f3 01:59:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:14 ---> Running in 8cc75b34d81a 01:59:14 Removing intermediate container 8cc75b34d81a 01:59:14 ---> fe103468cdc8 01:59:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:14 ---> Running in 9b8264c5d205 01:59:14 Removing intermediate container 9b8264c5d205 01:59:14 ---> e5069cd31832 01:59:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:59:14 ---> Running in f7c8ad7bd00a 01:59:14 Removing intermediate container f7c8ad7bd00a 01:59:14 ---> 9d57a8d0f3e4 01:59:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:14 ---> Running in b7aa6d758ce0 01:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:59:15 Still waiting to schedule task 01:59:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:59:15 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:59:15 (2/4) Installing libedit (20221030.3.1-r0) 01:59:15 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:59:15 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:59:15 Executing busybox-1.35.0-r29.trigger 01:59:15 OK: 269 MiB in 57 packages 01:59:16 Removing intermediate container b7aa6d758ce0 01:59:16 ---> 1413fb0cf69d 01:59:16 Step 8/12 : WORKDIR /device-mqtt-go 01:59:16 ---> Running in a8bc169e12b6 01:59:16 Removing intermediate container a8bc169e12b6 01:59:16 ---> c5bf32814264 01:59:16 Step 9/12 : COPY go.mod vendor* ./ 01:59:16 ---> 4cf1d0ea2fc9 01:59:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:16 ---> Running in 40c559a8ce23 01:59:42 Removing intermediate container 40c559a8ce23 01:59:42 ---> 7a251c0312d6 01:59:42 Step 11/12 : COPY . . 01:59:42 ---> 52ab9649ad6b 01:59:42 Step 12/12 : RUN $MAKE 01:59:42 ---> Running in 35888991722f 01:59:42 noop 01:59:42 Removing intermediate container 35888991722f 01:59:42 ---> b9db3f045a48 01:59:42 Successfully built b9db3f045a48 01:59:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:43 + docker inspect -f . ci-base-image-x86_64 01:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:43 prd-ubuntu20.04-docker-8c-8g-14865 does not seem to be running inside a container 01:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-598 -v /w/workspace/gexfoundry_device-mqtt-go_PR-598:/w/workspace/gexfoundry_device-mqtt-go_PR-598:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-598@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-x86_64 cat 01:59:43 $ docker top 0bbe45db97cca3ddd26dedc07c4ba1037897c3f88db1508559fa07d863934a78 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:44 + go version 01:59:44 go version go1.20.2 linux/amd64 [Pipeline] } 01:59:44 $ docker stop --time=1 0bbe45db97cca3ddd26dedc07c4ba1037897c3f88db1508559fa07d863934a78 01:59:45 $ docker rm -f --volumes 0bbe45db97cca3ddd26dedc07c4ba1037897c3f88db1508559fa07d863934a78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:46 + docker inspect -f . ci-base-image-x86_64 01:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:46 prd-ubuntu20.04-docker-8c-8g-14865 does not seem to be running inside a container 01:59:46 $ 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-598 -v /w/workspace/gexfoundry_device-mqtt-go_PR-598:/w/workspace/gexfoundry_device-mqtt-go_PR-598:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-598@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-x86_64 cat 01:59:46 $ docker top 21fe5f95261c33166ca2a034608bc25af642e026f8d2697eee86809e4e0a54c6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-598 [Pipeline] fileExists [Pipeline] sh 01:59:47 + make test 01:59:47 go test ./... -coverprofile=coverage.out ./... 01:59:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 23.1% of statements 02:00:11 go vet ./... 02:00:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:14 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:00:14 $ docker stop --time=1 21fe5f95261c33166ca2a034608bc25af642e026f8d2697eee86809e4e0a54c6 02:00:17 $ docker rm -f --volumes 21fe5f95261c33166ca2a034608bc25af642e026f8d2697eee86809e4e0a54c6 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:19 + ls -al . 02:00:19 total 180 02:00:19 drwxrwxr-x 10 jenkins jenkins 4096 May 10 01:59 . 02:00:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:58 .. 02:00:19 -rw-rw-r-- 1 jenkins jenkins 140 May 10 01:58 .dockerignore 02:00:19 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:58 .git 02:00:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:58 .github 02:00:19 -rw-rw-r-- 1 jenkins jenkins 329 May 10 01:58 .gitignore 02:00:19 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:58 .golangci.yml 02:00:19 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:58 .semver 02:00:19 -rw-rw-r-- 1 jenkins jenkins 9417 May 10 01:58 Attribution.txt 02:00:19 -rw-rw-r-- 1 jenkins jenkins 13162 May 10 01:58 CHANGELOG.md 02:00:19 -rw-rw-r-- 1 jenkins jenkins 1689 May 10 01:58 Dockerfile 02:00:19 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:58 GOVERNANCE.md 02:00:19 -rw-rw-r-- 1 jenkins jenkins 678 May 10 01:58 Jenkinsfile 02:00:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 01:58 LICENSE 02:00:19 -rw-rw-r-- 1 jenkins jenkins 1732 May 10 01:58 Makefile 02:00:19 -rw-rw-r-- 1 jenkins jenkins 620 May 10 01:58 OWNERS.md 02:00:19 -rw-rw-r-- 1 jenkins jenkins 3165 May 10 01:58 README.md 02:00:19 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:58 VERSION 02:00:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:58 bin 02:00:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:58 cmd 02:00:19 -rw-r--r-- 1 jenkins jenkins 18144 May 10 02:00 coverage.out 02:00:19 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 01:58 go.mod 02:00:19 -rw-rw-r-- 1 jenkins jenkins 31328 May 10 01:58 go.sum 02:00:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:58 internal 02:00:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:58 mock 02:00:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:58 snap 02:00:19 -rw-rw-r-- 1 jenkins jenkins 227 May 10 01:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:19 + 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=96947cecf3d76f6b2787f6356383ec9054eb41aa --label arch=amd64 --label version=0.0.0 . 02:00:19 Sending build context to Docker daemon 6.544MB 02:00:19 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:00:19 Step 2/24 : FROM ${BASE} AS builder 02:00:19 ---> b9db3f045a48 02:00:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:00:20 ---> Running in ac275f0e99ed 02:00:20 Removing intermediate container ac275f0e99ed 02:00:20 ---> 43ca266cb324 02:00:20 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:20 ---> Running in 3aed709e1c48 02:00:20 Removing intermediate container 3aed709e1c48 02:00:20 ---> 4bb15c198c0c 02:00:20 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:20 ---> Running in 968b0ba54c1a 02:00:20 Removing intermediate container 968b0ba54c1a 02:00:20 ---> 2234ad50dae7 02:00:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:00:20 ---> Running in 7d6abaad4428 02:00:20 Removing intermediate container 7d6abaad4428 02:00:20 ---> 49dcd2fa1c85 02:00:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:20 ---> Running in a2eb50e27e57 02:00:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:21 OK: 269 MiB in 57 packages 02:00:21 Removing intermediate container a2eb50e27e57 02:00:21 ---> a9e90ba85834 02:00:21 Step 8/24 : WORKDIR /device-mqtt-go 02:00:21 ---> Running in ecb9e460d712 02:00:21 Removing intermediate container ecb9e460d712 02:00:21 ---> 9e9712969213 02:00:21 Step 9/24 : COPY go.mod vendor* ./ 02:00:21 ---> add096841179 02:00:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:21 ---> Running in bc5d72682a50 02:00:22 Removing intermediate container bc5d72682a50 02:00:22 ---> 609ccdf379ca 02:00:22 Step 11/24 : COPY . . 02:00:22 ---> 917598f8fd44 02:00:22 Step 12/24 : RUN $MAKE 02:00:22 ---> Running in 13f3e0fed862 02:00:23 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:00:45 Removing intermediate container 13f3e0fed862 02:00:45 ---> 6168f50fe774 02:00:45 Step 13/24 : FROM alpine:3.17 02:00:45 3.17: Pulling from library/alpine 02:00:45 f56be85fc22e: Already exists 02:00:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:00:45 Status: Downloaded newer image for alpine:3.17 02:00:45 ---> 9ed4aefc74f6 02:00:45 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:00:45 ---> Running in 72f6ecde51fa 02:00:45 Removing intermediate container 72f6ecde51fa 02:00:45 ---> 1c6d73e7369c 02:00:45 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:00:45 ---> Running in fba337725bf6 02:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:45 (1/1) Installing dumb-init (1.2.5-r2) 02:00:45 Executing busybox-1.35.0-r29.trigger 02:00:45 OK: 7 MiB in 16 packages 02:00:45 Removing intermediate container fba337725bf6 02:00:45 ---> 089f9d4de8aa 02:00:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:00:45 ---> 54fab7a8da0f 02:00:45 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:00:45 ---> e3e957e30fda 02:00:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:00:45 ---> c9a32743dc36 02:00:45 Step 19/24 : EXPOSE 59982 02:00:45 ---> Running in 306ff8df22e9 02:00:45 Removing intermediate container 306ff8df22e9 02:00:45 ---> 7236e4fd4331 02:00:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:00:45 ---> Running in 92f74347dd68 02:00:45 Removing intermediate container 92f74347dd68 02:00:45 ---> 0e4f152bf2c4 02:00:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:00:45 ---> Running in 86e34e9649c6 02:00:45 Removing intermediate container 86e34e9649c6 02:00:45 ---> 47f8973b6201 02:00:45 Step 22/24 : LABEL arch=amd64 02:00:45 ---> Running in a012fc7432ad 02:00:45 Removing intermediate container a012fc7432ad 02:00:45 ---> 296581c8f68a 02:00:45 Step 23/24 : LABEL git_sha=96947cecf3d76f6b2787f6356383ec9054eb41aa 02:00:45 ---> Running in e6f13f581193 02:00:45 Removing intermediate container e6f13f581193 02:00:45 ---> 5d7cbe57ba3c 02:00:45 Step 24/24 : LABEL version=0.0.0 02:00:45 ---> Running in 28ccce0858d0 02:00:45 Removing intermediate container 28ccce0858d0 02:00:45 ---> cae7d3a1a796 02:00:45 [Warning] One or more build-args [ARCH] were not consumed 02:00:45 Successfully built cae7d3a1a796 02:00:45 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:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:46 02:00:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:46 latest: Pulling from edgex-lftools-log-publisher 02:00:46 5eb5b503b376: Pulling fs layer 02:00:46 5c69ac0246d0: Pulling fs layer 02:00:46 ec43610c2a17: Pulling fs layer 02:00:46 3a2ae6a8a46f: Pulling fs layer 02:00:46 33b1e0a273af: Pulling fs layer 02:00:46 5d3b04190fa2: Pulling fs layer 02:00:46 2f39f015ded8: Pulling fs layer 02:00:46 5d3b04190fa2: Waiting 02:00:46 2f39f015ded8: Waiting 02:00:46 3a2ae6a8a46f: Waiting 02:00:46 5c69ac0246d0: Download complete 02:00:46 3a2ae6a8a46f: Download complete 02:00:46 33b1e0a273af: Verifying Checksum 02:00:46 33b1e0a273af: Download complete 02:00:46 ec43610c2a17: Verifying Checksum 02:00:46 ec43610c2a17: Download complete 02:00:46 5d3b04190fa2: Verifying Checksum 02:00:46 5d3b04190fa2: Download complete 02:00:46 5eb5b503b376: Verifying Checksum 02:00:46 5eb5b503b376: Download complete 02:00:47 2f39f015ded8: Download complete 02:00:48 5eb5b503b376: Pull complete 02:00:48 5c69ac0246d0: Pull complete 02:00:48 ec43610c2a17: Pull complete 02:00:48 3a2ae6a8a46f: Pull complete 02:00:48 33b1e0a273af: Pull complete 02:00:49 5d3b04190fa2: Pull complete 02:00:53 2f39f015ded8: Pull complete 02:00:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:00:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:53 prd-ubuntu20.04-docker-8c-8g-14865 does not seem to be running inside a container 02:00:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-598 -v /w/workspace/gexfoundry_device-mqtt-go_PR-598:/w/workspace/gexfoundry_device-mqtt-go_PR-598:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-598@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:latest cat 02:00:55 $ docker top fe8bffca01747e2ece103e595624e5a7b1d8f3119d4d4a4c4ca8ee8a2a65d96b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:56 ---> job-cost.sh 02:00:56 lf-activate-venv: SKIPPING 02:00:56 INFO: No Stack... 02:00:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:57 INFO: Archiving Costs [Pipeline] sh 02:00:57 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives/cost.csv 02:00:57 + cut -d, -f6 [Pipeline] lock 02:00:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] 02:00:57 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] did not exist. Created. 02:00:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:58 + echo total: 0.2199999988079071 [Pipeline] stash 02:00:58 Stashed 1 file(s) [Pipeline] } 02:00:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:58 $ docker stop --time=1 fe8bffca01747e2ece103e595624e5a7b1d8f3119d4d4a4c4ca8ee8a2a65d96b 02:00:59 $ docker rm -f --volumes fe8bffca01747e2ece103e595624e5a7b1d8f3119d4d4a4c4ca8ee8a2a65d96b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14868 in /w/workspace/gexfoundry_device-mqtt-go_PR-598 [Pipeline] { [Pipeline] ws 02:01:38 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:01:38 Selected Git installation does not exist. Using Default 02:01:38 The recommended git tool is: NONE 02:01:45 using credential edgex-jenkins-ssh 02:01:45 Cloning the remote Git repository 02:01:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:01:45 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:01:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:01:45 > git --version # timeout=10 02:01:45 > git --version # 'git version 2.25.1' 02:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:01:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:48 Merging remotes/origin/main commit db7876f2142a7278c0249a92e31096ef17edc92f into PR head commit 96947cecf3d76f6b2787f6356383ec9054eb41aa 02:01:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:01:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:01:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/598/head:refs/remotes/origin/PR-598 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:01:48 > git config core.sparsecheckout # timeout=10 02:01:49 > git checkout -f 96947cecf3d76f6b2787f6356383ec9054eb41aa # timeout=10 02:01:49 > git remote # timeout=10 02:01:49 > git config --get remote.origin.url # timeout=10 02:01:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:49 > git merge db7876f2142a7278c0249a92e31096ef17edc92f # timeout=10 02:01:49 > git rev-parse HEAD^{commit} # timeout=10 02:01:49 Merge succeeded, producing 96947cecf3d76f6b2787f6356383ec9054eb41aa 02:01:49 Checking out Revision 96947cecf3d76f6b2787f6356383ec9054eb41aa (PR-598) 02:01:49 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:01:49 > git --version # timeout=10 02:01:49 > git --version # 'git version 2.25.1' 02:01:49 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:49 > git config core.sparsecheckout # timeout=10 02:01:49 > git checkout -f 96947cecf3d76f6b2787f6356383ec9054eb41aa # timeout=10 02:01:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:01:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:51 Dload Upload Total Spent Left Speed 02:01:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 02:01:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:01:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:01:52 + sudo tee /etc/docker/daemon.new 02:01:52 { 02:01:52 "registry-mirrors": [ 02:01:52 "https://nexus3.edgexfoundry.org:10001" 02:01:52 ], 02:01:52 "bip": "10.250.0.254/24", 02:01:52 "hosts": [ 02:01:52 "tcp://0.0.0.0:5555", 02:01:52 "unix:///var/run/docker.sock" 02:01:52 ], 02:01:52 "mtu": 1458, 02:01:52 "selinux-enabled": true, 02:01:52 "seccomp-profile": "/etc/docker/seccomp.json" 02:01:52 } [Pipeline] sh 02:01:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:01:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:11 provisioning config files... 02:02:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13390827427045526761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:11 ---> docker-login.sh 02:02:11 nexus3.edgexfoundry.org:10001 02:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:12 Configure a credential helper to remove this warning. See 02:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:12 02:02:12 Login Succeeded 02:02:12 nexus3.edgexfoundry.org:10002 02:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:12 Configure a credential helper to remove this warning. See 02:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:12 02:02:12 Login Succeeded 02:02:12 nexus3.edgexfoundry.org:10003 02:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:13 Configure a credential helper to remove this warning. See 02:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:13 02:02:13 Login Succeeded 02:02:13 nexus3.edgexfoundry.org:10004 02:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:13 Configure a credential helper to remove this warning. See 02:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:13 02:02:13 Login Succeeded 02:02:13 docker.io 02:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:14 Configure a credential helper to remove this warning. See 02:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:14 02:02:14 Login Succeeded 02:02:14 ---> docker-login.sh ends [Pipeline] } 02:02:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:14 ========================================================= 02:02:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:02:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:15 + 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:02:15 Sending build context to Docker daemon 3.4MB 02:02:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:02:15 Step 2/12 : FROM ${BASE} AS builder 02:02:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:02:15 c41833b44d91: Pulling fs layer 02:02:15 ed15518f5707: Pulling fs layer 02:02:15 feae8fd75edb: Pulling fs layer 02:02:15 242c74f7c9fa: Pulling fs layer 02:02:15 3cdef696dda3: Pulling fs layer 02:02:15 2ced38df9373: Pulling fs layer 02:02:15 58f1dce35555: Pulling fs layer 02:02:15 3cdef696dda3: Waiting 02:02:15 2ced38df9373: Waiting 02:02:15 58f1dce35555: Waiting 02:02:15 242c74f7c9fa: Waiting 02:02:15 ed15518f5707: Verifying Checksum 02:02:15 ed15518f5707: Download complete 02:02:15 242c74f7c9fa: Verifying Checksum 02:02:15 242c74f7c9fa: Download complete 02:02:15 3cdef696dda3: Verifying Checksum 02:02:15 3cdef696dda3: Download complete 02:02:15 c41833b44d91: Verifying Checksum 02:02:17 c41833b44d91: Pull complete 02:02:17 58f1dce35555: Verifying Checksum 02:02:17 58f1dce35555: Download complete 02:02:17 ed15518f5707: Pull complete 02:02:18 feae8fd75edb: Verifying Checksum 02:02:18 feae8fd75edb: Download complete 02:02:18 2ced38df9373: Verifying Checksum 02:02:18 2ced38df9373: Download complete 02:02:31 feae8fd75edb: Pull complete 02:02:31 242c74f7c9fa: Pull complete 02:02:31 3cdef696dda3: Pull complete 02:02:37 2ced38df9373: Pull complete 02:02:39 58f1dce35555: Pull complete 02:02:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:02:39 ---> fadd8f120f05 02:02:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:02:42 ---> Running in 71ade7197802 02:02:42 Removing intermediate container 71ade7197802 02:02:42 ---> dad00544145b 02:02:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:42 ---> Running in 54932a005e62 02:02:42 Removing intermediate container 54932a005e62 02:02:42 ---> 840483d5429c 02:02:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:42 ---> Running in 0650df9bafce 02:02:42 Removing intermediate container 0650df9bafce 02:02:42 ---> 2ad43dc750d7 02:02:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:02:42 ---> Running in 4310f08ced9a 02:02:43 Removing intermediate container 4310f08ced9a 02:02:43 ---> 794f079e107b 02:02:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:43 ---> Running in ba165b6613fc 02:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:02:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:02:46 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:02:46 (2/4) Installing libedit (20221030.3.1-r0) 02:02:46 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:02:46 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:02:46 Executing busybox-1.35.0-r29.trigger 02:02:46 OK: 268 MiB in 57 packages 02:02:50 Removing intermediate container ba165b6613fc 02:02:50 ---> e68d850954b4 02:02:50 Step 8/12 : WORKDIR /device-mqtt-go 02:02:50 ---> Running in 5f2c3e0b80f3 02:02:50 Removing intermediate container 5f2c3e0b80f3 02:02:50 ---> b1d80d479c39 02:02:50 Step 9/12 : COPY go.mod vendor* ./ 02:02:50 ---> 6ac75c461857 02:02:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:50 ---> Running in 702280e16cc1 02:03:58 Removing intermediate container 702280e16cc1 02:03:58 ---> 51da0d5e57f8 02:03:58 Step 11/12 : COPY . . 02:03:58 ---> 35671b50a4cd 02:03:58 Step 12/12 : RUN $MAKE 02:03:58 ---> Running in 27611ca9dead 02:03:58 noop 02:03:58 Removing intermediate container 27611ca9dead 02:03:58 ---> 4a274b4da6ef 02:03:58 Successfully built 4a274b4da6ef 02:03:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:59 + docker inspect -f . ci-base-image-arm64 02:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-14868 does not seem to be running inside a container 02:03:59 $ 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:04:00 $ docker top 34db4c4f0a824d7ab7ffb5cefbb8991c5477c14239b6f17793a5fcfbce1b8771 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:01 + go version 02:04:01 go version go1.20.2 linux/arm64 [Pipeline] } 02:04:01 $ docker stop --time=1 34db4c4f0a824d7ab7ffb5cefbb8991c5477c14239b6f17793a5fcfbce1b8771 02:04:03 $ docker rm -f --volumes 34db4c4f0a824d7ab7ffb5cefbb8991c5477c14239b6f17793a5fcfbce1b8771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:04 + docker inspect -f . ci-base-image-arm64 02:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-14868 does not seem to be running inside a container 02:04:04 $ 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:04:05 $ docker top 014b3665878ecaaeb00901220974c7e8da21c97021e0b804e36035c3a9c00b35 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:06 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:04:07 + make test 02:04:07 go test ./... -coverprofile=coverage.out ./... 02:04:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:06:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:06:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:06:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 23.1% of statements 02:06:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:06:53 go vet ./... 02:07:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:07:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:07:20 ./bin/test-attribution-txt.sh [Pipeline] echo 02:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:07:20 $ docker stop --time=1 014b3665878ecaaeb00901220974c7e8da21c97021e0b804e36035c3a9c00b35 02:07:22 $ docker rm -f --volumes 014b3665878ecaaeb00901220974c7e8da21c97021e0b804e36035c3a9c00b35 [Pipeline] // withDockerContainer [Pipeline] sh 02:07:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:07:23 Warning: overwriting stash ‘coverage-report’ 02:07:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:07:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:07:25 + ls -al . 02:07:25 total 176 02:07:25 drwxrwxr-x 9 jenkins jenkins 4096 May 10 02:04 . 02:07:25 drwxrwxr-x 4 jenkins jenkins 4096 May 10 02:01 .. 02:07:25 -rw-rw-r-- 1 jenkins jenkins 140 May 10 02:01 .dockerignore 02:07:25 drwxrwxr-x 8 jenkins jenkins 4096 May 10 02:01 .git 02:07:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 02:01 .github 02:07:25 -rw-rw-r-- 1 jenkins jenkins 329 May 10 02:01 .gitignore 02:07:25 -rw-rw-r-- 1 jenkins jenkins 41 May 10 02:01 .golangci.yml 02:07:25 -rw-rw-r-- 1 jenkins jenkins 9417 May 10 02:01 Attribution.txt 02:07:25 -rw-rw-r-- 1 jenkins jenkins 13162 May 10 02:01 CHANGELOG.md 02:07:25 -rw-rw-r-- 1 jenkins jenkins 1689 May 10 02:01 Dockerfile 02:07:25 -rw-rw-r-- 1 jenkins jenkins 677 May 10 02:01 GOVERNANCE.md 02:07:25 -rw-rw-r-- 1 jenkins jenkins 678 May 10 02:01 Jenkinsfile 02:07:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 02:01 LICENSE 02:07:25 -rw-rw-r-- 1 jenkins jenkins 1732 May 10 02:01 Makefile 02:07:25 -rw-rw-r-- 1 jenkins jenkins 620 May 10 02:01 OWNERS.md 02:07:25 -rw-rw-r-- 1 jenkins jenkins 3165 May 10 02:01 README.md 02:07:25 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:58 VERSION 02:07:25 drwxrwxr-x 2 jenkins jenkins 4096 May 10 02:01 bin 02:07:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 02:01 cmd 02:07:25 -rw-r--r-- 1 jenkins jenkins 18144 May 10 02:06 coverage.out 02:07:25 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 02:01 go.mod 02:07:25 -rw-rw-r-- 1 jenkins jenkins 31328 May 10 02:01 go.sum 02:07:25 drwxrwxr-x 3 jenkins jenkins 4096 May 10 02:01 internal 02:07:25 drwxrwxr-x 2 jenkins jenkins 4096 May 10 02:01 mock 02:07:25 drwxrwxr-x 4 jenkins jenkins 4096 May 10 02:01 snap 02:07:25 -rw-rw-r-- 1 jenkins jenkins 227 May 10 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:25 + 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=96947cecf3d76f6b2787f6356383ec9054eb41aa --label arch=arm64 --label version=0.0.0 . 02:07:25 Sending build context to Docker daemon 3.419MB 02:07:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:07:25 Step 2/24 : FROM ${BASE} AS builder 02:07:25 ---> 4a274b4da6ef 02:07:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:07:25 ---> Running in 8f746c707751 02:07:26 Removing intermediate container 8f746c707751 02:07:26 ---> 5f43f77fc65d 02:07:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:07:26 ---> Running in e0748cde8b47 02:07:26 Removing intermediate container e0748cde8b47 02:07:26 ---> e0514651749d 02:07:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:07:26 ---> Running in 74107abd5d1d 02:07:27 Removing intermediate container 74107abd5d1d 02:07:27 ---> f67b3d4eba0a 02:07:27 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:07:27 ---> Running in 404db38ee201 02:07:27 Removing intermediate container 404db38ee201 02:07:27 ---> 058c829e08ba 02:07:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:07:27 ---> Running in d27ddbc70645 02:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:07:30 OK: 268 MiB in 57 packages 02:07:33 Removing intermediate container d27ddbc70645 02:07:33 ---> 9406e69311a8 02:07:33 Step 8/24 : WORKDIR /device-mqtt-go 02:07:33 ---> Running in 53b80933518b 02:07:33 Removing intermediate container 53b80933518b 02:07:33 ---> 7c31b12863f9 02:07:33 Step 9/24 : COPY go.mod vendor* ./ 02:07:34 ---> 4afbf2f55d35 02:07:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:07:34 ---> Running in 98299dabbece 02:07:37 Removing intermediate container 98299dabbece 02:07:37 ---> 835c22af90de 02:07:37 Step 11/24 : COPY . . 02:07:38 ---> b414602c0ac1 02:07:38 Step 12/24 : RUN $MAKE 02:07:38 ---> Running in d6763ba0f305 02:07:39 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:10:16 Removing intermediate container d6763ba0f305 02:10:16 ---> 744d2c138bbf 02:10:16 Step 13/24 : FROM alpine:3.17 02:10:16 3.17: Pulling from library/alpine 02:10:16 c41833b44d91: Already exists 02:10:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:10:16 Status: Downloaded newer image for alpine:3.17 02:10:16 ---> 51e60588ff2c 02:10:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:10:16 ---> Running in 210dfe8bad8d 02:10:16 Removing intermediate container 210dfe8bad8d 02:10:16 ---> bf1f09687654 02:10:16 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:10:16 ---> Running in ac4857d96125 02:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:10:16 (1/1) Installing dumb-init (1.2.5-r2) 02:10:16 Executing busybox-1.35.0-r29.trigger 02:10:16 OK: 8 MiB in 16 packages 02:10:16 Removing intermediate container ac4857d96125 02:10:16 ---> b7ae1e76a795 02:10:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:10:16 ---> 2df2dccbb61c 02:10:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:10:16 ---> f23c165edf23 02:10:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:10:16 ---> ce8753b8542c 02:10:16 Step 19/24 : EXPOSE 59982 02:10:16 ---> Running in 0d864899574c 02:10:16 Removing intermediate container 0d864899574c 02:10:16 ---> 1ae1e6c0df0c 02:10:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:10:16 ---> Running in bb0f34f84e3c 02:10:16 Removing intermediate container bb0f34f84e3c 02:10:16 ---> 295d0ec0e83e 02:10:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:10:16 ---> Running in 3c61df6d514f 02:10:16 Removing intermediate container 3c61df6d514f 02:10:16 ---> 264a334818be 02:10:16 Step 22/24 : LABEL arch=arm64 02:10:16 ---> Running in 7120b2586ee6 02:10:16 Removing intermediate container 7120b2586ee6 02:10:16 ---> eb32c0e8ea12 02:10:16 Step 23/24 : LABEL git_sha=96947cecf3d76f6b2787f6356383ec9054eb41aa 02:10:16 ---> Running in 331d0a45711a 02:10:16 Removing intermediate container 331d0a45711a 02:10:16 ---> e04a87adbbcd 02:10:16 Step 24/24 : LABEL version=0.0.0 02:10:16 ---> Running in d90897ee21d4 02:10:16 Removing intermediate container d90897ee21d4 02:10:16 ---> 0cf329171f5a 02:10:16 [Warning] One or more build-args [ARCH] were not consumed 02:10:16 Successfully built 0cf329171f5a 02:10:16 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:16 02:10:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:17 arm64: Pulling from edgex-lftools-log-publisher 02:10:17 8998bd30e6a1: Pulling fs layer 02:10:17 04944245beec: Pulling fs layer 02:10:17 699f458cf7ca: Pulling fs layer 02:10:17 765212b225bb: Pulling fs layer 02:10:17 f23df028b6ca: Pulling fs layer 02:10:17 d65c8cfc05b1: Pulling fs layer 02:10:17 2437ff75d9bd: Pulling fs layer 02:10:17 d65c8cfc05b1: Waiting 02:10:17 765212b225bb: Waiting 02:10:17 f23df028b6ca: Waiting 02:10:17 2437ff75d9bd: Waiting 02:10:17 04944245beec: Verifying Checksum 02:10:17 04944245beec: Download complete 02:10:17 765212b225bb: Download complete 02:10:17 f23df028b6ca: Verifying Checksum 02:10:17 f23df028b6ca: Download complete 02:10:17 d65c8cfc05b1: Verifying Checksum 02:10:17 d65c8cfc05b1: Download complete 02:10:17 699f458cf7ca: Verifying Checksum 02:10:17 699f458cf7ca: Download complete 02:10:18 8998bd30e6a1: Download complete 02:10:20 2437ff75d9bd: Verifying Checksum 02:10:20 2437ff75d9bd: Download complete 02:10:22 8998bd30e6a1: Pull complete 02:10:22 04944245beec: Pull complete 02:10:24 699f458cf7ca: Pull complete 02:10:24 765212b225bb: Pull complete 02:10:25 f23df028b6ca: Pull complete 02:10:25 d65c8cfc05b1: Pull complete 02:10:40 2437ff75d9bd: Pull complete 02:10:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:10:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:40 prd-ubuntu20.04-docker-arm64-4c-16g-14868 does not seem to be running inside a container 02:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/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:10:43 $ docker top 5fc240f5835847fda24f89531e0876ce8f781185bcb3ee1c3ea0e653a3d24160 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:44 ---> job-cost.sh 02:10:44 lf-activate-venv: SKIPPING 02:10:44 INFO: No Stack... 02:10:44 INFO: Retrieving Pricing Info for: v3-standard-4 02:10:45 INFO: Archiving Costs [Pipeline] sh 02:10:46 + + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:10:46 cut -d, -f6 [Pipeline] lock 02:10:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] 02:10:46 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] did not exist. Created. 02:10:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:10:47 /w/workspace/device-mqtt-go/1@tmp/durable-dec438fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:10:47 + echo total: 0.10999999940395355 [Pipeline] stash 02:10:47 Warning: overwriting stash ‘stack-cost’ 02:10:47 Stashed 1 file(s) [Pipeline] } 02:10:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-598-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:10:48 $ docker stop --time=1 5fc240f5835847fda24f89531e0876ce8f781185bcb3ee1c3ea0e653a3d24160 02:10:49 $ docker rm -f --volumes 5fc240f5835847fda24f89531e0876ce8f781185bcb3ee1c3ea0e653a3d24160 [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:10:50 provisioning config files... 02:10:50 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/config14126305088699767223tmp [Pipeline] { [Pipeline] sh 02:10:51 + set +x 02:10:51 + curl -s https://codecov.io/bash 02:10:51 + bash -s -- 02:10:51 02:10:51 _____ _ 02:10:51 / ____| | | 02:10:51 | | ___ __| | ___ ___ _____ __ 02:10:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:10:51 | |___| (_) | (_| | __/ (_| (_) \ V / 02:10:51 \_____\___/ \__,_|\___|\___\___/ \_/ 02:10:51 Bash-1.0.6 02:10:51 02:10:51 02:10:51 ==> git version 2.25.1 found 02:10:51 ==> 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:10:51 Release-Date: 2020-01-08 02:10:51 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:10:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:10:51 ==> Jenkins CI detected. 02:10:51 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-598 02:10:51 project root: . 02:10:51 --> token set from env 02:10:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:10:51 ==> Running gcov in . (disable via -X gcov) 02:10:51 ==> Python coveragepy not found 02:10:51 ==> Searching for coverage reports in: 02:10:51 + . 02:10:51 -> Found 1 reports 02:10:51 ==> Detecting git/mercurial file structure 02:10:51 ==> Reading reports 02:10:51 + ./coverage.out bytes=18144 02:10:51 ==> Appending adjustments 02:10:51 https://docs.codecov.io/docs/fixing-reports 02:10:51 + Found adjustments 02:10:51 ==> Gzipping contents 02:10:51 4.0K /tmp/codecov.y8aS6M.gz 02:10:51 ==> Uploading reports 02:10:51 url: https://codecov.io 02:10:51 query: branch=PR-598&commit=96947cecf3d76f6b2787f6356383ec9054eb41aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-598%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=598&job=&cmd_args= 02:10:51 -> Pinging Codecov 02:10:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-598&commit=96947cecf3d76f6b2787f6356383ec9054eb41aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-598%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=598&job=&cmd_args= 02:10:51 -> Uploading to 02:10:51 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/7D719EC7BBE17E464838252E33014C33/96947cecf3d76f6b2787f6356383ec9054eb41aa/537d0aa0-a0b8-4d0e-a1d5-be1f2bdab2a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T021051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa66197f093d74cb9ca256e4b98e740afb97e2587244bb1485e2008dabb342f0 02:10:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:10:51 Dload Upload Total Spent Left Speed 02:10:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 13964 --:--:-- --:--:-- --:--:-- 13903 100 3184 0 0 100 3184 0 10866 --:--:-- --:--:-- --:--:-- 10829 02:10:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/96947cecf3d76f6b2787f6356383ec9054eb41aa [Pipeline] } 02:10:51 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:10:53 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives ] 02:10:53 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives 02:10:53 total 16 02:10:53 drwxr-xr-x 3 root root 4096 May 10 02:00 . 02:10:53 drwxrwxr-x 11 jenkins jenkins 4096 May 10 02:00 .. 02:10:53 drwxr-xr-x 2 root root 4096 May 10 02:00 cost 02:10:53 -rw-r--r-- 1 root root 86 May 10 02:00 cost.csv 02:10:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives 02:10:53 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives 02:10:53 total 16 02:10:53 drwxr-xr-x 3 jenkins jenkins 4096 May 10 02:00 . 02:10:53 drwxrwxr-x 11 jenkins jenkins 4096 May 10 02:00 .. 02:10:53 drwxr-xr-x 2 jenkins jenkins 4096 May 10 02:00 cost 02:10:53 -rw-r--r-- 1 jenkins jenkins 86 May 10 02:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:10:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:10:54 ---> package-listing.sh 02:10:54 ++ facter osfamily 02:10:54 ++ tr '[:upper:]' '[:lower:]' 02:10:55 + OS_FAMILY=debian 02:10:55 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-598 02:10:55 + START_PACKAGES=/tmp/packages_start.txt 02:10:55 + END_PACKAGES=/tmp/packages_end.txt 02:10:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:10:55 + PACKAGES=/tmp/packages_start.txt 02:10:55 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-598 ']' 02:10:55 + PACKAGES=/tmp/packages_end.txt 02:10:55 + case "${OS_FAMILY}" in 02:10:55 + dpkg -l 02:10:55 + grep '^ii' 02:10:55 + '[' -f /tmp/packages_start.txt ']' 02:10:55 + '[' -f /tmp/packages_end.txt ']' 02:10:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:10:55 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-598 ']' 02:10:55 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives/ 02:10:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-598/archives/ [Pipeline] echo 02:10:55 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-598/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:10:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:56 prd-ubuntu20.04-docker-8c-8g-14865 does not seem to be running inside a container 02:10:56 $ 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-598/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-598 -v /w/workspace/gexfoundry_device-mqtt-go_PR-598:/w/workspace/gexfoundry_device-mqtt-go_PR-598:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-598@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:10:56 $ docker top a5cdd324b84e878cf36803304d20ab2b8adbd1f45806d48626346f9fa9e73893 -eo pid,comm [Pipeline] { [Pipeline] sh 02:10:56 + touch /tmp/pre-build-complete [Pipeline] sh 02:10:57 + mkdir -p /var/log/sysstat [Pipeline] sh 02:10:57 + ls /var/log/sa-host 02:10:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:57 provisioning config files... 02:10:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-598@tmp/config4911771505507828302tmp [Pipeline] { [Pipeline] echo 02:10:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:10:58 ---> create-netrc.sh [Pipeline] } 02:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:10:58 ---> python-tools-install.sh [Pipeline] echo 02:10:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:10:58 ---> sudo-logs.sh 02:10:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:10:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:10:59 ---> job-cost.sh 02:10:59 lf-activate-venv: SKIPPING 02:10:59 DEBUG: total: 0.2199999988079071 02:10:59 INFO: Retrieving Stack Cost... 02:10:59 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:00 INFO: Archiving Costs [Pipeline] echo 02:11:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:00 ---> logs-deploy.sh 02:11:00 lf-activate-venv: SKIPPING 02:11:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-598/1 02:11:00 INFO: archiving workspace using pattern(s): 02:11:01 Archives upload complete. 02:11:01 INFO: archiving logs to Nexus