Pull request #599 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c24c0571c7dd05360bf0a82b334231d91005a2da+dbc9f1287078b7b66dcaf0e9b4f1948f94e9216e (85ae13bd07f2c4e762b459baa81f4ce628bc5cb9) 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-ssh827036579815715399.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-ssh15352437012887519820.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-599/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-599/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9952454329516865399.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-599/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9428481533524481187.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-ssh8823334343279091095.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-599/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-599/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3142736878121642500.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15149 in /w/workspace/gexfoundry_device-mqtt-go_PR-599 [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-599 # 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/599/head:refs/remotes/origin/PR-599 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dbc9f1287078b7b66dcaf0e9b4f1948f94e9216e into PR head commit c24c0571c7dd05360bf0a82b334231d91005a2da Merge succeeded, producing c24c0571c7dd05360bf0a82b334231d91005a2da Checking out Revision c24c0571c7dd05360bf0a82b334231d91005a2da (PR-599) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:01:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c24c0571c7dd05360bf0a82b334231d91005a2da # 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 dbc9f1287078b7b66dcaf0e9b4f1948f94e9216e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c24c0571c7dd05360bf0a82b334231d91005a2da # timeout=10 [Pipeline] withCredentials 02:01:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:30 ========================================================= 02:01:30 EdgeX Global Pipelines Version Info 02:01:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:31 ------------------- 02:01:31 stable info: 02:01:31 ------------------- 02:01:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:01:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:31 Message: update stable to v1.0.249 02:01:32 ------------------- 02:01:32 experimental info: 02:01:32 ------------------- 02:01:32 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-599 [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-599 [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-599 [Pipeline] echo 02:01:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c24c0571c7dd05360bf0a82b334231d91005a2da [Pipeline] echo 02:01:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c24c057 [Pipeline] echo 02:01:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:34 provisioning config files... 02:01:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/config3603168579828429294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:34 ---> docker-login.sh 02:01:34 nexus3.edgexfoundry.org:10001 02:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:35 Configure a credential helper to remove this warning. See 02:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:35 02:01:35 Login Succeeded 02:01:35 nexus3.edgexfoundry.org:10002 02:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:35 Configure a credential helper to remove this warning. See 02:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:35 02:01:35 Login Succeeded 02:01:35 nexus3.edgexfoundry.org:10003 02:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:35 Configure a credential helper to remove this warning. See 02:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:35 02:01:35 Login Succeeded 02:01:35 nexus3.edgexfoundry.org:10004 02:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:35 Configure a credential helper to remove this warning. See 02:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:35 02:01:35 Login Succeeded 02:01:35 docker.io 02:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:35 Configure a credential helper to remove this warning. See 02:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:35 02:01:35 Login Succeeded 02:01:35 ---> docker-login.sh ends [Pipeline] } 02:01:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:36 + git rev-list -1 --merges c24c0571c7dd05360bf0a82b334231d91005a2da~1..c24c0571c7dd05360bf0a82b334231d91005a2da [Pipeline] echo 02:01:36 -----------> git rev-list -1 --merges c24c0571c7dd05360bf0a82b334231d91005a2da~1..c24c0571c7dd05360bf0a82b334231d91005a2da c24c0571c7dd05360bf0a82b334231d91005a2da [false] [Pipeline] sh 02:01:36 + git log --format=format:%s -1 c24c0571c7dd05360bf0a82b334231d91005a2da [Pipeline] echo 02:01:36 ========================================================= 02:01:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:37 + git log --format=format:%s -1 c24c0571c7dd05360bf0a82b334231d91005a2da [Pipeline] echo 02:01:37 [semverPrep] GIT_COMMIT: c24c0571c7dd05360bf0a82b334231d91005a2da, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:01:37 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:37 + grep -v github /etc/ssh/ssh_known_hosts 02:01:37 + [ -e /tmp/ssh_known_hosts ] 02:01:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:37 + sudo tee -a /etc/ssh/ssh_known_hosts 02:01:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:38 02:01:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:38 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:38 b85a868b505f: Pulling fs layer 02:01:38 e2be974225ed: Pulling fs layer 02:01:38 339a4e72a1f5: Pulling fs layer 02:01:38 988bab9f4d93: Pulling fs layer 02:01:38 1469e6f7b9e6: Pulling fs layer 02:01:38 eaf3925da568: Pulling fs layer 02:01:38 bab4dde63d76: Pulling fs layer 02:01:38 bde34c3a00c8: Pulling fs layer 02:01:38 b352a97aabf1: Pulling fs layer 02:01:38 4872d77fe225: Pulling fs layer 02:01:38 5851b861e8e6: Pulling fs layer 02:01:38 1469e6f7b9e6: Waiting 02:01:38 4872d77fe225: Waiting 02:01:38 eaf3925da568: Waiting 02:01:38 bab4dde63d76: Waiting 02:01:38 5851b861e8e6: Waiting 02:01:38 b352a97aabf1: Waiting 02:01:38 988bab9f4d93: Waiting 02:01:38 bde34c3a00c8: Waiting 02:01:38 e2be974225ed: Verifying Checksum 02:01:38 e2be974225ed: Download complete 02:01:38 988bab9f4d93: Verifying Checksum 02:01:38 988bab9f4d93: Download complete 02:01:38 1469e6f7b9e6: Verifying Checksum 02:01:38 1469e6f7b9e6: Download complete 02:01:38 339a4e72a1f5: Verifying Checksum 02:01:38 339a4e72a1f5: Download complete 02:01:38 eaf3925da568: Verifying Checksum 02:01:38 eaf3925da568: Download complete 02:01:38 bde34c3a00c8: Verifying Checksum 02:01:38 bde34c3a00c8: Download complete 02:01:38 b352a97aabf1: Download complete 02:01:38 4872d77fe225: Verifying Checksum 02:01:38 4872d77fe225: Download complete 02:01:38 5851b861e8e6: Verifying Checksum 02:01:38 5851b861e8e6: Download complete 02:01:38 b85a868b505f: Download complete 02:01:39 bab4dde63d76: Verifying Checksum 02:01:39 bab4dde63d76: Download complete 02:01:40 b85a868b505f: Pull complete 02:01:40 e2be974225ed: Pull complete 02:01:40 339a4e72a1f5: Pull complete 02:01:40 988bab9f4d93: Pull complete 02:01:40 1469e6f7b9e6: Pull complete 02:01:40 eaf3925da568: Pull complete 02:01:42 bab4dde63d76: Pull complete 02:01:42 bde34c3a00c8: Pull complete 02:01:42 b352a97aabf1: Pull complete 02:01:42 4872d77fe225: Pull complete 02:01:42 5851b861e8e6: Pull complete 02:01:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:43 prd-ubuntu20.04-docker-8c-8g-15149 does not seem to be running inside a container 02:01:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-599 -v /w/workspace/gexfoundry_device-mqtt-go_PR-599:/w/workspace/gexfoundry_device-mqtt-go_PR-599:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:01:45 $ docker top 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b -eo pid,comm 02:01:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:01:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:45 [ssh-agent] Looking for ssh-agent implementation... 02:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:45 $ docker exec 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b ssh-agent 02:01:45 SSH_AUTH_SOCK=/tmp/ssh-pLxaQrUVLpdG/agent.34 02:01:45 SSH_AGENT_PID=40 02:01:45 Running ssh-add (command line suppressed) 02:01:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/private_key_11762524732996393082.key (/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/private_key_11762524732996393082.key) 02:01:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:46 + git tag --points-at HEAD [Pipeline] } 02:01:46 $ docker exec --env ******** --env ******** 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b ssh-agent -k 02:01:46 unset SSH_AUTH_SOCK; 02:01:46 unset SSH_AGENT_PID; 02:01:46 echo Agent pid 40 killed; 02:01:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:46 [ssh-agent] Looking for ssh-agent implementation... 02:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:46 $ docker exec 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b ssh-agent 02:01:46 SSH_AUTH_SOCK=/tmp/ssh-uU7yMVI5DPLV/agent.72 02:01:46 SSH_AGENT_PID=78 02:01:46 Running ssh-add (command line suppressed) 02:01:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/private_key_304371149514145937.key (/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/private_key_304371149514145937.key) 02:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:46 + git semver init 02:01:47 2023-05-11 02:01:47,114 [run_init] DEBUG init version:0.0.0 force:False 02:01:47 2023-05-11 02:01:47,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver 02:01:47 2023-05-11 02:01:47,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver 02:01:47 2023-05-11 02:01:47,115 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-599, universal_newlines=False, shell=None, istream=None) 02:01:48 2023-05-11 02:01:47,875 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-599/.git/info/exclude 02:01:48 2023-05-11 02:01:47,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver/PR-599 with force:False 02:01:48 2023-05-11 02:01:47,875 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver/PR-599 02:01:48 2023-05-11 02:01:47,879 [execute] INFO git cat-file --batch-check 02:01:48 2023-05-11 02:01:47,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver, universal_newlines=False, shell=None, istream=) 02:01:48 2023-05-11 02:01:47,887 [execute] INFO git cat-file --batch 02:01:48 2023-05-11 02:01:47,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver, universal_newlines=False, shell=None, istream=) 02:01:48 2023-05-11 02:01:47,891 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-599/.semver/PR-599 02:01:48 0.0.0 [Pipeline] } 02:01:48 $ docker exec --env ******** --env ******** 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b ssh-agent -k 02:01:48 unset SSH_AUTH_SOCK; 02:01:48 unset SSH_AGENT_PID; 02:01:48 echo Agent pid 78 killed; 02:01:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:48 + git semver [Pipeline] } 02:01:49 $ docker stop --time=1 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b 02:01:50 $ docker rm -f --volumes 2ba249b6ee318cdf75241bc80d47b8202f66423dec753df8398cb87b94cda79b [Pipeline] // withDockerContainer [Pipeline] sh 02:01:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:01:50 Stashed 1 file(s) [Pipeline] echo 02:01:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:51 provisioning config files... 02:01:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/config18327200004397249529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:52 ---> docker-login.sh 02:01:52 nexus3.edgexfoundry.org:10001 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:52 Configure a credential helper to remove this warning. See 02:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:52 02:01:52 Login Succeeded 02:01:52 nexus3.edgexfoundry.org:10002 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:52 Configure a credential helper to remove this warning. See 02:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:52 02:01:52 Login Succeeded 02:01:52 nexus3.edgexfoundry.org:10003 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:52 Configure a credential helper to remove this warning. See 02:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:52 02:01:52 Login Succeeded 02:01:52 nexus3.edgexfoundry.org:10004 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:52 Configure a credential helper to remove this warning. See 02:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:52 02:01:52 Login Succeeded 02:01:52 docker.io 02:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:52 Configure a credential helper to remove this warning. See 02:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:52 02:01:52 Login Succeeded 02:01:52 ---> docker-login.sh ends [Pipeline] } 02:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:53 ========================================================= 02:01:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:01:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:01:53 Sending build context to Docker daemon 6.525MB 02:01:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:53 Step 2/12 : FROM ${BASE} AS builder 02:01:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:01:53 f56be85fc22e: Pulling fs layer 02:01:53 85791d961cd3: Pulling fs layer 02:01:53 d694b5ae8c79: Pulling fs layer 02:01:53 9f32a84ed3da: Pulling fs layer 02:01:53 4d19c01a9841: Pulling fs layer 02:01:53 9325e15d5711: Pulling fs layer 02:01:53 556b6ee489ea: Pulling fs layer 02:01:53 c5a4b2cf53e6: Pulling fs layer 02:01:53 9325e15d5711: Waiting 02:01:53 556b6ee489ea: Waiting 02:01:53 c5a4b2cf53e6: Waiting 02:01:53 4d19c01a9841: Waiting 02:01:53 9f32a84ed3da: Waiting 02:01:53 85791d961cd3: Verifying Checksum 02:01:53 85791d961cd3: Download complete 02:01:53 9f32a84ed3da: Download complete 02:01:53 4d19c01a9841: Verifying Checksum 02:01:53 4d19c01a9841: Download complete 02:01:54 f56be85fc22e: Verifying Checksum 02:01:54 f56be85fc22e: Download complete 02:01:54 9325e15d5711: Verifying Checksum 02:01:54 9325e15d5711: Download complete 02:01:54 f56be85fc22e: Pull complete 02:01:54 85791d961cd3: Pull complete 02:01:54 c5a4b2cf53e6: Verifying Checksum 02:01:54 c5a4b2cf53e6: Download complete 02:01:54 d694b5ae8c79: Verifying Checksum 02:01:54 d694b5ae8c79: Download complete 02:01:55 556b6ee489ea: Verifying Checksum 02:01:55 556b6ee489ea: Download complete 02:01:57 d694b5ae8c79: Pull complete 02:01:57 9f32a84ed3da: Pull complete 02:01:57 4d19c01a9841: Pull complete 02:01:57 9325e15d5711: Pull complete 02:02:00 556b6ee489ea: Pull complete 02:02:00 c5a4b2cf53e6: Pull complete 02:02:00 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:02:00 ---> c4be618373d6 02:02:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:02:04 ---> Running in 086da06274fa 02:02:04 Removing intermediate container 086da06274fa 02:02:04 ---> bcddf93aff96 02:02:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:04 ---> Running in 32890a73a4de 02:02:04 Removing intermediate container 32890a73a4de 02:02:04 ---> 61f3d41da50e 02:02:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:04 ---> Running in 970b8da0fa2b 02:02:04 Removing intermediate container 970b8da0fa2b 02:02:04 ---> 8d379da4d73a 02:02:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:02:04 ---> Running in 441fcf7fa288 02:02:04 Removing intermediate container 441fcf7fa288 02:02:04 ---> ac4d283b4240 02:02:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:04 ---> Running in d962d1d79005 02:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:02:05 (2/4) Installing libedit (20221030.3.1-r0) 02:02:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:02:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:02:05 Executing busybox-1.35.0-r29.trigger 02:02:05 OK: 269 MiB in 57 packages 02:02:05 Removing intermediate container d962d1d79005 02:02:05 ---> 134137a11ba7 02:02:05 Step 8/12 : WORKDIR /device-mqtt-go 02:02:05 ---> Running in aaeb3de7f7a1 02:02:05 Removing intermediate container aaeb3de7f7a1 02:02:05 ---> 412103e513b1 02:02:05 Step 9/12 : COPY go.mod vendor* ./ 02:02:05 ---> c4d61c43b15f 02:02:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:05 ---> Running in 32f587a49810 02:02:06 Still waiting to schedule task 02:02:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:02:44 Removing intermediate container 32f587a49810 02:02:44 ---> 2f52ecb22dba 02:02:44 Step 11/12 : COPY . . 02:02:44 ---> 596ee1ec75b5 02:02:44 Step 12/12 : RUN $MAKE 02:02:44 ---> Running in ecae04b102cf 02:02:44 noop 02:02:44 Removing intermediate container ecae04b102cf 02:02:44 ---> 360e3d08f78c 02:02:44 Successfully built 360e3d08f78c 02:02:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:44 + docker inspect -f . ci-base-image-x86_64 02:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:44 prd-ubuntu20.04-docker-8c-8g-15149 does not seem to be running inside a container 02:02:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-599 -v /w/workspace/gexfoundry_device-mqtt-go_PR-599:/w/workspace/gexfoundry_device-mqtt-go_PR-599:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:02:45 $ docker top 9a386bf3a7368e830cbababd4e6abd9825bac15f74d8e49c8fb95487178b312b -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:45 + go version 02:02:45 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:45 $ docker stop --time=1 9a386bf3a7368e830cbababd4e6abd9825bac15f74d8e49c8fb95487178b312b 02:02:47 $ docker rm -f --volumes 9a386bf3a7368e830cbababd4e6abd9825bac15f74d8e49c8fb95487178b312b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:47 + docker inspect -f . ci-base-image-x86_64 02:02:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:47 prd-ubuntu20.04-docker-8c-8g-15149 does not seem to be running inside a container 02:02:48 $ 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-599 -v /w/workspace/gexfoundry_device-mqtt-go_PR-599:/w/workspace/gexfoundry_device-mqtt-go_PR-599:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:02:48 $ docker top e5ad373951623a6353646897c998c8c26ba5baaa32fcfcacdc2cc51e8e560e0f -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-599 [Pipeline] fileExists [Pipeline] sh 02:02:49 + make test 02:02:49 go test ./... -coverprofile=coverage.out ./... 02:02:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:03:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:03:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:03:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements 02:03:08 go vet ./... 02:03:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:03:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:03:11 ./bin/test-attribution-txt.sh [Pipeline] echo 02:03:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:03:11 $ docker stop --time=1 e5ad373951623a6353646897c998c8c26ba5baaa32fcfcacdc2cc51e8e560e0f 02:03:14 $ docker rm -f --volumes e5ad373951623a6353646897c998c8c26ba5baaa32fcfcacdc2cc51e8e560e0f [Pipeline] // withDockerContainer [Pipeline] sh 02:03:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:03:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:03:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:16 + ls -al . 02:03:16 total 180 02:03:16 drwxrwxr-x 10 jenkins jenkins 4096 May 11 02:02 . 02:03:16 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:01 .. 02:03:16 -rw-rw-r-- 1 jenkins jenkins 140 May 11 02:01 .dockerignore 02:03:16 drwxrwxr-x 8 jenkins jenkins 4096 May 11 02:01 .git 02:03:16 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:01 .github 02:03:16 -rw-rw-r-- 1 jenkins jenkins 329 May 11 02:01 .gitignore 02:03:16 -rw-rw-r-- 1 jenkins jenkins 41 May 11 02:01 .golangci.yml 02:03:16 drwxr-xr-x 3 jenkins jenkins 4096 May 11 02:01 .semver 02:03:16 -rw-rw-r-- 1 jenkins jenkins 9417 May 11 02:01 Attribution.txt 02:03:16 -rw-rw-r-- 1 jenkins jenkins 13162 May 11 02:01 CHANGELOG.md 02:03:16 -rw-rw-r-- 1 jenkins jenkins 1689 May 11 02:01 Dockerfile 02:03:16 -rw-rw-r-- 1 jenkins jenkins 677 May 11 02:01 GOVERNANCE.md 02:03:16 -rw-rw-r-- 1 jenkins jenkins 678 May 11 02:01 Jenkinsfile 02:03:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 02:01 LICENSE 02:03:16 -rw-rw-r-- 1 jenkins jenkins 1732 May 11 02:01 Makefile 02:03:16 -rw-rw-r-- 1 jenkins jenkins 620 May 11 02:01 OWNERS.md 02:03:16 -rw-rw-r-- 1 jenkins jenkins 3165 May 11 02:01 README.md 02:03:16 -rw-rw-r-- 1 jenkins jenkins 5 May 11 02:01 VERSION 02:03:16 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:01 bin 02:03:16 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:01 cmd 02:03:16 -rw-r--r-- 1 jenkins jenkins 18144 May 11 02:03 coverage.out 02:03:16 -rw-rw-r-- 1 jenkins jenkins 3333 May 11 02:01 go.mod 02:03:16 -rw-rw-r-- 1 jenkins jenkins 31328 May 11 02:01 go.sum 02:03:16 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:01 internal 02:03:16 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:01 mock 02:03:16 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:01 snap 02:03:16 -rw-rw-r-- 1 jenkins jenkins 227 May 11 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:16 + 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=c24c0571c7dd05360bf0a82b334231d91005a2da --label arch=amd64 --label version=0.0.0 . 02:03:16 Sending build context to Docker daemon 6.544MB 02:03:16 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:03:16 Step 2/24 : FROM ${BASE} AS builder 02:03:16 ---> 360e3d08f78c 02:03:16 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:03:16 ---> Running in 15491bf14e37 02:03:16 Removing intermediate container 15491bf14e37 02:03:16 ---> 4a26b1b19b69 02:03:16 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:16 ---> Running in 4fea151b67ea 02:03:16 Removing intermediate container 4fea151b67ea 02:03:16 ---> 54dcc8ea24b4 02:03:16 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:03:16 ---> Running in 0bf7612318df 02:03:16 Removing intermediate container 0bf7612318df 02:03:16 ---> 74325ff20e75 02:03:16 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:03:16 ---> Running in 344cb72bc3b4 02:03:16 Removing intermediate container 344cb72bc3b4 02:03:16 ---> 785dc3052dfe 02:03:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:16 ---> Running in f68de92d064a 02:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:17 OK: 269 MiB in 57 packages 02:03:17 Removing intermediate container f68de92d064a 02:03:17 ---> 084c60b30efa 02:03:17 Step 8/24 : WORKDIR /device-mqtt-go 02:03:17 ---> Running in f7d4bd70fac2 02:03:18 Removing intermediate container f7d4bd70fac2 02:03:18 ---> b31011282dda 02:03:18 Step 9/24 : COPY go.mod vendor* ./ 02:03:18 ---> 3027472584a6 02:03:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:18 ---> Running in 6ce47ddd84fe 02:03:18 Removing intermediate container 6ce47ddd84fe 02:03:18 ---> ab2cb1581a55 02:03:18 Step 11/24 : COPY . . 02:03:18 ---> 0ccf9bf64799 02:03:18 Step 12/24 : RUN $MAKE 02:03:19 ---> Running in 0807a8041f40 02:03:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:03:37 Removing intermediate container 0807a8041f40 02:03:37 ---> 52e9299a961e 02:03:37 Step 13/24 : FROM alpine:3.17 02:03:37 3.17: Pulling from library/alpine 02:03:37 f56be85fc22e: Already exists 02:03:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:03:37 Status: Downloaded newer image for alpine:3.17 02:03:37 ---> 9ed4aefc74f6 02:03:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:03:37 ---> Running in d5a8d2833952 02:03:37 Removing intermediate container d5a8d2833952 02:03:37 ---> bcf6a39ddd31 02:03:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:03:37 ---> Running in 0fa30bdc842d 02:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:38 (1/1) Installing dumb-init (1.2.5-r2) 02:03:38 Executing busybox-1.35.0-r29.trigger 02:03:38 OK: 7 MiB in 16 packages 02:03:39 Removing intermediate container 0fa30bdc842d 02:03:39 ---> f6544b8059e3 02:03:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:39 ---> ec34c275952a 02:03:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:40 ---> 03942137871d 02:03:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:40 ---> ef3fee89f079 02:03:40 Step 19/24 : EXPOSE 59982 02:03:40 ---> Running in faeb29420057 02:03:40 Removing intermediate container faeb29420057 02:03:40 ---> 3533e82c0b22 02:03:40 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:41 ---> Running in f0e481a5c933 02:03:41 Removing intermediate container f0e481a5c933 02:03:41 ---> ee93f0a973a2 02:03:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:41 ---> Running in e8b0d5fbbe04 02:03:42 Removing intermediate container e8b0d5fbbe04 02:03:42 ---> 214054cf93ad 02:03:42 Step 22/24 : LABEL arch=amd64 02:03:42 ---> Running in 866e3cd1f3ee 02:03:42 Removing intermediate container 866e3cd1f3ee 02:03:42 ---> 641317a3c1a2 02:03:42 Step 23/24 : LABEL git_sha=c24c0571c7dd05360bf0a82b334231d91005a2da 02:03:42 ---> Running in f4d53a21fcd9 02:03:42 Removing intermediate container f4d53a21fcd9 02:03:42 ---> 6143e649b08d 02:03:42 Step 24/24 : LABEL version=0.0.0 02:03:42 ---> Running in 97434a928327 02:03:42 Removing intermediate container 97434a928327 02:03:42 ---> 07683386eabe 02:03:42 [Warning] One or more build-args [ARCH] were not consumed 02:03:42 Successfully built 07683386eabe 02:03:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:43 02:03:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:44 latest: Pulling from edgex-lftools-log-publisher 02:03:44 5eb5b503b376: Pulling fs layer 02:03:44 5c69ac0246d0: Pulling fs layer 02:03:44 ec43610c2a17: Pulling fs layer 02:03:44 3a2ae6a8a46f: Pulling fs layer 02:03:44 33b1e0a273af: Pulling fs layer 02:03:44 5d3b04190fa2: Pulling fs layer 02:03:44 2f39f015ded8: Pulling fs layer 02:03:44 3a2ae6a8a46f: Waiting 02:03:44 5d3b04190fa2: Waiting 02:03:44 2f39f015ded8: Waiting 02:03:44 5c69ac0246d0: Download complete 02:03:44 3a2ae6a8a46f: Verifying Checksum 02:03:44 3a2ae6a8a46f: Download complete 02:03:44 33b1e0a273af: Verifying Checksum 02:03:44 33b1e0a273af: Download complete 02:03:44 5d3b04190fa2: Verifying Checksum 02:03:44 5d3b04190fa2: Download complete 02:03:44 ec43610c2a17: Verifying Checksum 02:03:44 ec43610c2a17: Download complete 02:03:44 5eb5b503b376: Verifying Checksum 02:03:44 5eb5b503b376: Download complete 02:03:45 2f39f015ded8: Download complete 02:03:45 5eb5b503b376: Pull complete 02:03:45 5c69ac0246d0: Pull complete 02:03:45 ec43610c2a17: Pull complete 02:03:46 3a2ae6a8a46f: Pull complete 02:03:46 33b1e0a273af: Pull complete 02:03:46 5d3b04190fa2: Pull complete 02:03:50 2f39f015ded8: Pull complete 02:03:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:50 prd-ubuntu20.04-docker-8c-8g-15149 does not seem to be running inside a container 02:03:50 $ 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-599 -v /w/workspace/gexfoundry_device-mqtt-go_PR-599:/w/workspace/gexfoundry_device-mqtt-go_PR-599:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:03:55 $ docker top 9daf789401c91559b5f5bfefcd4fadad32e4c826da625607edc75ea697323db7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:55 ---> job-cost.sh 02:03:55 lf-activate-venv: SKIPPING 02:03:55 INFO: No Stack... 02:03:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:56 INFO: Archiving Costs [Pipeline] sh 02:03:56 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives/cost.csv 02:03:56 + cut -d, -f6 [Pipeline] lock 02:03:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] 02:03:56 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] did not exist. Created. 02:03:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:57 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:57 Stashed 1 file(s) [Pipeline] } 02:03:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:57 $ docker stop --time=1 9daf789401c91559b5f5bfefcd4fadad32e4c826da625607edc75ea697323db7 02:03:58 $ docker rm -f --volumes 9daf789401c91559b5f5bfefcd4fadad32e4c826da625607edc75ea697323db7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:05:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15151 in /w/workspace/gexfoundry_device-mqtt-go_PR-599 [Pipeline] { [Pipeline] ws 02:05:38 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:05:38 Selected Git installation does not exist. Using Default 02:05:38 The recommended git tool is: NONE 02:05:48 using credential edgex-jenkins-ssh 02:05:48 Cloning the remote Git repository 02:05:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:05:48 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:05:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:48 > git --version # timeout=10 02:05:48 > git --version # 'git version 2.25.1' 02:05:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:51 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:51 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/599/head:refs/remotes/origin/PR-599 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:05:51 Merging remotes/origin/main commit dbc9f1287078b7b66dcaf0e9b4f1948f94e9216e into PR head commit c24c0571c7dd05360bf0a82b334231d91005a2da 02:05:51 Merge succeeded, producing c24c0571c7dd05360bf0a82b334231d91005a2da 02:05:51 Checking out Revision c24c0571c7dd05360bf0a82b334231d91005a2da (PR-599) 02:05:52 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:05:52 > git --version # timeout=10 02:05:52 > git --version # 'git version 2.25.1' 02:05:52 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:05:51 > git config core.sparsecheckout # timeout=10 02:05:51 > git checkout -f c24c0571c7dd05360bf0a82b334231d91005a2da # timeout=10 02:05:51 > git remote # timeout=10 02:05:51 > git config --get remote.origin.url # timeout=10 02:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:51 > git merge dbc9f1287078b7b66dcaf0e9b4f1948f94e9216e # timeout=10 02:05:51 > git rev-parse HEAD^{commit} # timeout=10 02:05:51 > git config core.sparsecheckout # timeout=10 02:05:52 > git checkout -f c24c0571c7dd05360bf0a82b334231d91005a2da # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:05:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:55 Dload Upload Total Spent Left Speed 02:05:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 02:05:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:05:57 + sudo tee /etc/docker/daemon.new 02:05:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:05:57 { 02:05:57 "registry-mirrors": [ 02:05:57 "https://nexus3.edgexfoundry.org:10001" 02:05:57 ], 02:05:57 "bip": "10.250.0.254/24", 02:05:57 "hosts": [ 02:05:57 "tcp://0.0.0.0:5555", 02:05:57 "unix:///var/run/docker.sock" 02:05:57 ], 02:05:57 "mtu": 1458, 02:05:57 "selinux-enabled": true, 02:05:57 "seccomp-profile": "/etc/docker/seccomp.json" 02:05:57 } [Pipeline] sh 02:05:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:05:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:16 provisioning config files... 02:06:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2531389458235018294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:06:16 ---> docker-login.sh 02:06:16 nexus3.edgexfoundry.org:10001 02:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:17 Configure a credential helper to remove this warning. See 02:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:17 02:06:17 Login Succeeded 02:06:17 nexus3.edgexfoundry.org:10002 02:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:17 Configure a credential helper to remove this warning. See 02:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:17 02:06:17 Login Succeeded 02:06:17 nexus3.edgexfoundry.org:10003 02:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:18 Configure a credential helper to remove this warning. See 02:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:18 02:06:18 Login Succeeded 02:06:18 nexus3.edgexfoundry.org:10004 02:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:18 Configure a credential helper to remove this warning. See 02:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:18 02:06:18 Login Succeeded 02:06:18 docker.io 02:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:19 Configure a credential helper to remove this warning. See 02:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:19 02:06:19 Login Succeeded 02:06:19 ---> docker-login.sh ends [Pipeline] } 02:06:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:19 ========================================================= 02:06:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:06:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:20 + 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:06:20 Sending build context to Docker daemon 3.393MB 02:06:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:06:20 Step 2/12 : FROM ${BASE} AS builder 02:06:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:06:20 c41833b44d91: Pulling fs layer 02:06:20 ed15518f5707: Pulling fs layer 02:06:20 feae8fd75edb: Pulling fs layer 02:06:20 242c74f7c9fa: Pulling fs layer 02:06:20 3cdef696dda3: Pulling fs layer 02:06:20 2ced38df9373: Pulling fs layer 02:06:20 58f1dce35555: Pulling fs layer 02:06:20 242c74f7c9fa: Waiting 02:06:20 3cdef696dda3: Waiting 02:06:20 2ced38df9373: Waiting 02:06:20 58f1dce35555: Waiting 02:06:20 ed15518f5707: Verifying Checksum 02:06:20 ed15518f5707: Download complete 02:06:20 242c74f7c9fa: Verifying Checksum 02:06:20 242c74f7c9fa: Download complete 02:06:20 3cdef696dda3: Verifying Checksum 02:06:20 3cdef696dda3: Download complete 02:06:20 c41833b44d91: Verifying Checksum 02:06:22 58f1dce35555: Verifying Checksum 02:06:22 58f1dce35555: Download complete 02:06:23 feae8fd75edb: Download complete 02:06:23 2ced38df9373: Download complete 02:06:24 c41833b44d91: Pull complete 02:06:24 ed15518f5707: Pull complete 02:06:34 feae8fd75edb: Pull complete 02:06:34 242c74f7c9fa: Pull complete 02:06:34 3cdef696dda3: Pull complete 02:06:41 2ced38df9373: Pull complete 02:06:42 58f1dce35555: Pull complete 02:06:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:06:42 ---> fadd8f120f05 02:06:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:06:44 ---> Running in 78cda7b33a37 02:06:44 Removing intermediate container 78cda7b33a37 02:06:44 ---> dec9c63b6ba3 02:06:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:44 ---> Running in f01221691607 02:06:44 Removing intermediate container f01221691607 02:06:44 ---> 4cd1ed0d0617 02:06:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:44 ---> Running in b0b0b71abef1 02:06:45 Removing intermediate container b0b0b71abef1 02:06:45 ---> 584db5fe2f24 02:06:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:06:45 ---> Running in 62794dd8e31c 02:06:45 Removing intermediate container 62794dd8e31c 02:06:45 ---> fb25f23e3ccf 02:06:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:45 ---> Running in 5559afebfa9d 02:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:06:48 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:06:48 (2/4) Installing libedit (20221030.3.1-r0) 02:06:48 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:06:48 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:06:48 Executing busybox-1.35.0-r29.trigger 02:06:48 OK: 268 MiB in 57 packages 02:06:51 Removing intermediate container 5559afebfa9d 02:06:51 ---> 1c6f67c74fe8 02:06:51 Step 8/12 : WORKDIR /device-mqtt-go 02:06:51 ---> Running in db492cf70a4d 02:06:51 Removing intermediate container db492cf70a4d 02:06:51 ---> c4a65240794f 02:06:51 Step 9/12 : COPY go.mod vendor* ./ 02:06:52 ---> 346df0b1d234 02:06:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:52 ---> Running in 4f4b023e04ab 02:08:00 Removing intermediate container 4f4b023e04ab 02:08:00 ---> 7cdec9f49c63 02:08:00 Step 11/12 : COPY . . 02:08:00 ---> 80c73fc6e474 02:08:00 Step 12/12 : RUN $MAKE 02:08:00 ---> Running in 4b9fe39beb59 02:08:00 noop 02:08:00 Removing intermediate container 4b9fe39beb59 02:08:00 ---> d56f6c3ec431 02:08:00 Successfully built d56f6c3ec431 02:08:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:00 + docker inspect -f . ci-base-image-arm64 02:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-15151 does not seem to be running inside a container 02:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:08:02 $ docker top 0da2b3ae4385290846d567a3062bd48f82212f1159ef7580058c5ed883ec074b -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:03 + go version 02:08:03 go version go1.20.2 linux/arm64 [Pipeline] } 02:08:03 $ docker stop --time=1 0da2b3ae4385290846d567a3062bd48f82212f1159ef7580058c5ed883ec074b 02:08:05 $ docker rm -f --volumes 0da2b3ae4385290846d567a3062bd48f82212f1159ef7580058c5ed883ec074b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:06 + docker inspect -f . ci-base-image-arm64 02:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-15151 does not seem to be running inside a container 02:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:08:07 $ docker top f8390e2a0c03e56276f886af7c07ba3a851d36f4c0db748203c4607077f0ed5a -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:08:08 + make test 02:08:08 go test ./... -coverprofile=coverage.out ./... 02:08:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:33 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:33 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 23.1% of statements 02:10:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:34 go vet ./... 02:11:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:11:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:11:01 ./bin/test-attribution-txt.sh [Pipeline] echo 02:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:11:01 $ docker stop --time=1 f8390e2a0c03e56276f886af7c07ba3a851d36f4c0db748203c4607077f0ed5a 02:11:03 $ docker rm -f --volumes f8390e2a0c03e56276f886af7c07ba3a851d36f4c0db748203c4607077f0ed5a [Pipeline] // withDockerContainer [Pipeline] sh 02:11:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:11:04 Warning: overwriting stash ‘coverage-report’ 02:11:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:11:05 + ls -al . 02:11:05 total 176 02:11:05 drwxrwxr-x 9 jenkins jenkins 4096 May 11 02:08 . 02:11:05 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:05 .. 02:11:05 -rw-rw-r-- 1 jenkins jenkins 140 May 11 02:05 .dockerignore 02:11:05 drwxrwxr-x 8 jenkins jenkins 4096 May 11 02:05 .git 02:11:05 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:05 .github 02:11:05 -rw-rw-r-- 1 jenkins jenkins 329 May 11 02:05 .gitignore 02:11:05 -rw-rw-r-- 1 jenkins jenkins 41 May 11 02:05 .golangci.yml 02:11:05 -rw-rw-r-- 1 jenkins jenkins 9417 May 11 02:05 Attribution.txt 02:11:05 -rw-rw-r-- 1 jenkins jenkins 13162 May 11 02:05 CHANGELOG.md 02:11:05 -rw-rw-r-- 1 jenkins jenkins 1689 May 11 02:05 Dockerfile 02:11:05 -rw-rw-r-- 1 jenkins jenkins 677 May 11 02:05 GOVERNANCE.md 02:11:05 -rw-rw-r-- 1 jenkins jenkins 678 May 11 02:05 Jenkinsfile 02:11:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 02:05 LICENSE 02:11:05 -rw-rw-r-- 1 jenkins jenkins 1732 May 11 02:05 Makefile 02:11:05 -rw-rw-r-- 1 jenkins jenkins 620 May 11 02:05 OWNERS.md 02:11:05 -rw-rw-r-- 1 jenkins jenkins 3165 May 11 02:05 README.md 02:11:05 -rw-rw-r-- 1 jenkins jenkins 5 May 11 02:01 VERSION 02:11:05 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:05 bin 02:11:05 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:05 cmd 02:11:05 -rw-r--r-- 1 jenkins jenkins 18144 May 11 02:10 coverage.out 02:11:05 -rw-rw-r-- 1 jenkins jenkins 3333 May 11 02:05 go.mod 02:11:05 -rw-rw-r-- 1 jenkins jenkins 31328 May 11 02:05 go.sum 02:11:05 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:05 internal 02:11:05 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:05 mock 02:11:05 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:05 snap 02:11:05 -rw-rw-r-- 1 jenkins jenkins 227 May 11 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:06 + 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=c24c0571c7dd05360bf0a82b334231d91005a2da --label arch=arm64 --label version=0.0.0 . 02:11:06 Sending build context to Docker daemon 3.411MB 02:11:06 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:11:06 Step 2/24 : FROM ${BASE} AS builder 02:11:06 ---> d56f6c3ec431 02:11:06 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:11:08 ---> Running in db91e6d8cccb 02:11:08 Removing intermediate container db91e6d8cccb 02:11:08 ---> d824dbc59a21 02:11:08 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:11:08 ---> Running in 4b5ffcf719c4 02:11:08 Removing intermediate container 4b5ffcf719c4 02:11:08 ---> f023a6f215b6 02:11:08 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:11:08 ---> Running in a7ce4cdf3792 02:11:09 Removing intermediate container a7ce4cdf3792 02:11:09 ---> 20cda2101719 02:11:09 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:11:09 ---> Running in 18dbc6766717 02:11:09 Removing intermediate container 18dbc6766717 02:11:09 ---> 72dae7048d19 02:11:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:09 ---> Running in fc30dc35a674 02:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:11:12 OK: 268 MiB in 57 packages 02:11:13 Removing intermediate container fc30dc35a674 02:11:13 ---> ef43af25a756 02:11:13 Step 8/24 : WORKDIR /device-mqtt-go 02:11:13 ---> Running in e98502d734e8 02:11:13 Removing intermediate container e98502d734e8 02:11:13 ---> c79be9e6a3c7 02:11:13 Step 9/24 : COPY go.mod vendor* ./ 02:11:14 ---> af44b4bf6f8d 02:11:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:14 ---> Running in f749c3475c38 02:11:16 Removing intermediate container f749c3475c38 02:11:16 ---> 821cdd6b905c 02:11:16 Step 11/24 : COPY . . 02:11:17 ---> 9c916ff88507 02:11:17 Step 12/24 : RUN $MAKE 02:11:17 ---> Running in 16aec7255d0e 02:11:18 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:13:40 Removing intermediate container 16aec7255d0e 02:13:40 ---> 81ea766502c0 02:13:40 Step 13/24 : FROM alpine:3.17 02:13:40 3.17: Pulling from library/alpine 02:13:40 c41833b44d91: Already exists 02:13:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:13:40 Status: Downloaded newer image for alpine:3.17 02:13:40 ---> 51e60588ff2c 02:13:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:13:40 ---> Running in 32c570e3483a 02:13:40 Removing intermediate container 32c570e3483a 02:13:40 ---> 3510db99799f 02:13:40 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:13:40 ---> Running in 4602c84cef3d 02:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:13:40 (1/1) Installing dumb-init (1.2.5-r2) 02:13:40 Executing busybox-1.35.0-r29.trigger 02:13:40 OK: 8 MiB in 16 packages 02:13:40 Removing intermediate container 4602c84cef3d 02:13:40 ---> 49f0d77b0f6f 02:13:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:13:40 ---> 3f572fd4dc02 02:13:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:13:40 ---> 3298eb944c39 02:13:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:13:40 ---> 03de1fc235ee 02:13:40 Step 19/24 : EXPOSE 59982 02:13:40 ---> Running in e28eb228af9f 02:13:40 Removing intermediate container e28eb228af9f 02:13:40 ---> fc3658275d24 02:13:40 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:13:40 ---> Running in 1318f84b1e1d 02:13:40 Removing intermediate container 1318f84b1e1d 02:13:40 ---> 35666f1e55d7 02:13:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:13:40 ---> Running in 38381137e6b9 02:13:40 Removing intermediate container 38381137e6b9 02:13:40 ---> 12f5bcfa8ce6 02:13:40 Step 22/24 : LABEL arch=arm64 02:13:40 ---> Running in 74dd56ee1843 02:13:40 Removing intermediate container 74dd56ee1843 02:13:40 ---> d4e2633445cc 02:13:40 Step 23/24 : LABEL git_sha=c24c0571c7dd05360bf0a82b334231d91005a2da 02:13:40 ---> Running in 33583b00a6d8 02:13:40 Removing intermediate container 33583b00a6d8 02:13:40 ---> d0dab5dd969c 02:13:40 Step 24/24 : LABEL version=0.0.0 02:13:40 ---> Running in c5e1c2f68e77 02:13:40 Removing intermediate container c5e1c2f68e77 02:13:40 ---> eed6bb03d213 02:13:40 [Warning] One or more build-args [ARCH] were not consumed 02:13:40 Successfully built eed6bb03d213 02:13:40 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:41 02:13:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:41 arm64: Pulling from edgex-lftools-log-publisher 02:13:41 8998bd30e6a1: Pulling fs layer 02:13:41 04944245beec: Pulling fs layer 02:13:41 699f458cf7ca: Pulling fs layer 02:13:41 765212b225bb: Pulling fs layer 02:13:41 f23df028b6ca: Pulling fs layer 02:13:41 d65c8cfc05b1: Pulling fs layer 02:13:41 2437ff75d9bd: Pulling fs layer 02:13:41 765212b225bb: Waiting 02:13:41 f23df028b6ca: Waiting 02:13:41 d65c8cfc05b1: Waiting 02:13:41 2437ff75d9bd: Waiting 02:13:42 04944245beec: Verifying Checksum 02:13:42 04944245beec: Download complete 02:13:42 765212b225bb: Verifying Checksum 02:13:42 765212b225bb: Download complete 02:13:42 f23df028b6ca: Verifying Checksum 02:13:42 f23df028b6ca: Download complete 02:13:42 d65c8cfc05b1: Verifying Checksum 02:13:42 d65c8cfc05b1: Download complete 02:13:42 699f458cf7ca: Verifying Checksum 02:13:42 699f458cf7ca: Download complete 02:13:42 8998bd30e6a1: Verifying Checksum 02:13:42 8998bd30e6a1: Download complete 02:13:44 2437ff75d9bd: Verifying Checksum 02:13:44 2437ff75d9bd: Download complete 02:13:46 8998bd30e6a1: Pull complete 02:13:47 04944245beec: Pull complete 02:13:48 699f458cf7ca: Pull complete 02:13:48 765212b225bb: Pull complete 02:13:49 f23df028b6ca: Pull complete 02:13:49 d65c8cfc05b1: Pull complete 02:14:04 2437ff75d9bd: Pull complete 02:14:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:14:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-15151 does not seem to be running inside a container 02:14:04 $ 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:14:07 $ docker top f3b6090f11166c7e2d9d69a3f3c2c59554933a65871a18b309a0aa17b1c060b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:08 ---> job-cost.sh 02:14:08 lf-activate-venv: SKIPPING 02:14:08 INFO: No Stack... 02:14:09 INFO: Retrieving Pricing Info for: v3-standard-4 02:14:10 INFO: Archiving Costs [Pipeline] sh 02:14:10 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:14:10 + cut -d, -f6 [Pipeline] lock 02:14:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] 02:14:10 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] did not exist. Created. 02:14:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:14:11 /w/workspace/device-mqtt-go/1@tmp/durable-a92bf907/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:14:12 + echo total: 0.10999999940395355 [Pipeline] stash 02:14:12 Warning: overwriting stash ‘stack-cost’ 02:14:12 Stashed 1 file(s) [Pipeline] } 02:14:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-599-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:14:12 $ docker stop --time=1 f3b6090f11166c7e2d9d69a3f3c2c59554933a65871a18b309a0aa17b1c060b2 02:14:13 $ docker rm -f --volumes f3b6090f11166c7e2d9d69a3f3c2c59554933a65871a18b309a0aa17b1c060b2 [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:14:15 provisioning config files... 02:14:15 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/config13181380845389816101tmp [Pipeline] { [Pipeline] sh 02:14:15 + set +x 02:14:15 + curl -s https://codecov.io/bash 02:14:15 + bash -s -- 02:14:15 02:14:15 _____ _ 02:14:15 / ____| | | 02:14:15 | | ___ __| | ___ ___ _____ __ 02:14:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:14:15 | |___| (_) | (_| | __/ (_| (_) \ V / 02:14:15 \_____\___/ \__,_|\___|\___\___/ \_/ 02:14:15 Bash-1.0.6 02:14:15 02:14:15 02:14:15 ==> git version 2.25.1 found 02:14:15 ==> 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:14:15 Release-Date: 2020-01-08 02:14:15 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:14:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:14:15 ==> Jenkins CI detected. 02:14:15 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-599 02:14:15 project root: . 02:14:15 --> token set from env 02:14:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:14:15 ==> Running gcov in . (disable via -X gcov) 02:14:15 ==> Python coveragepy not found 02:14:15 ==> Searching for coverage reports in: 02:14:15 + . 02:14:15 -> Found 1 reports 02:14:15 ==> Detecting git/mercurial file structure 02:14:15 ==> Reading reports 02:14:15 + ./coverage.out bytes=18144 02:14:15 ==> Appending adjustments 02:14:15 https://docs.codecov.io/docs/fixing-reports 02:14:15 + Found adjustments 02:14:15 ==> Gzipping contents 02:14:15 4.0K /tmp/codecov.R53avd.gz 02:14:15 ==> Uploading reports 02:14:15 url: https://codecov.io 02:14:15 query: branch=PR-599&commit=c24c0571c7dd05360bf0a82b334231d91005a2da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-599%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=599&job=&cmd_args= 02:14:15 -> Pinging Codecov 02:14:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-599&commit=c24c0571c7dd05360bf0a82b334231d91005a2da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-599%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=599&job=&cmd_args= 02:14:15 -> Uploading to 02:14:15 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/7D719EC7BBE17E464838252E33014C33/c24c0571c7dd05360bf0a82b334231d91005a2da/2ee68900-630e-4934-b910-df6e7906a498.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T021415Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96c04a9b68be3669a9edd168881b4dd3bdd6a1e77ea539267eeda653760e97a2 02:14:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:15 Dload Upload Total Spent Left Speed 02:14:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 12152 --:--:-- --:--:-- --:--:-- 12199 02:14:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c24c0571c7dd05360bf0a82b334231d91005a2da [Pipeline] } 02:14:16 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:14:18 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives ] 02:14:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives 02:14:18 total 16 02:14:18 drwxr-xr-x 3 root root 4096 May 11 02:03 . 02:14:18 drwxrwxr-x 11 jenkins jenkins 4096 May 11 02:03 .. 02:14:18 drwxr-xr-x 2 root root 4096 May 11 02:03 cost 02:14:18 -rw-r--r-- 1 root root 86 May 11 02:03 cost.csv 02:14:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives 02:14:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives 02:14:18 total 16 02:14:18 drwxr-xr-x 3 jenkins jenkins 4096 May 11 02:03 . 02:14:18 drwxrwxr-x 11 jenkins jenkins 4096 May 11 02:03 .. 02:14:18 drwxr-xr-x 2 jenkins jenkins 4096 May 11 02:03 cost 02:14:18 -rw-r--r-- 1 jenkins jenkins 86 May 11 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:14:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> package-listing.sh 02:14:19 ++ facter osfamily 02:14:19 ++ tr '[:upper:]' '[:lower:]' 02:14:19 + OS_FAMILY=debian 02:14:19 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-599 02:14:19 + START_PACKAGES=/tmp/packages_start.txt 02:14:19 + END_PACKAGES=/tmp/packages_end.txt 02:14:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:14:19 + PACKAGES=/tmp/packages_start.txt 02:14:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-599 ']' 02:14:19 + PACKAGES=/tmp/packages_end.txt 02:14:19 + case "${OS_FAMILY}" in 02:14:19 + dpkg -l 02:14:19 + grep '^ii' 02:14:19 + '[' -f /tmp/packages_start.txt ']' 02:14:19 + '[' -f /tmp/packages_end.txt ']' 02:14:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:14:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-599 ']' 02:14:19 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives/ 02:14:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-599/archives/ [Pipeline] echo 02:14:19 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-599/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:14:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:14:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:20 prd-ubuntu20.04-docker-8c-8g-15149 does not seem to be running inside a container 02:14:20 $ 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-599/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-599 -v /w/workspace/gexfoundry_device-mqtt-go_PR-599:/w/workspace/gexfoundry_device-mqtt-go_PR-599:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:14:20 $ docker top 5dc993bb97ced6c0bc0e093b63d67a5f8cb84db5e555c363d857feb1774ec557 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:21 + touch /tmp/pre-build-complete [Pipeline] sh 02:14:21 + mkdir -p /var/log/sysstat [Pipeline] sh 02:14:21 + ls /var/log/sa-host 02:14:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:22 provisioning config files... 02:14:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-599@tmp/config18087180983506982942tmp [Pipeline] { [Pipeline] echo 02:14:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:14:22 ---> create-netrc.sh [Pipeline] } 02:14:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:14:23 ---> python-tools-install.sh [Pipeline] echo 02:14:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:14:23 ---> sudo-logs.sh 02:14:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:14:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:14:23 ---> job-cost.sh 02:14:23 lf-activate-venv: SKIPPING 02:14:23 DEBUG: total: 0.2199999988079071 02:14:23 INFO: Retrieving Stack Cost... 02:14:24 INFO: Retrieving Pricing Info for: v3-standard-8 02:14:24 INFO: Archiving Costs [Pipeline] echo 02:14:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:14:25 ---> logs-deploy.sh 02:14:25 lf-activate-venv: SKIPPING 02:14:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-599/1 02:14:25 INFO: archiving workspace using pattern(s): 02:14:26 Archives upload complete. 02:14:26 INFO: archiving logs to Nexus