Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c1bde9435fddd83639de3716b0c11b051f4304e+15e121638b61dd5d2b05931572372c8312ebd12f (9fc6748e86f63d2befdad4698073c0c55dc7ec1c) 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-ssh4152840729986575865.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh9881286011405360027.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-576/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-576/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1727992410664653912.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8227330205373169552.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-576/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-576/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13877010679169299450.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-11128 in /w/workspace/gexfoundry_device-mqtt-go_PR-576 [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-576 # 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 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit 2c1bde9435fddd83639de3716b0c11b051f4304e > 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/576/head:refs/remotes/origin/PR-576 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 Checking out Revision 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 (PR-576) > git checkout -f 2c1bde9435fddd83639de3716b0c11b051f4304e # 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 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 # timeout=10 Commit message: "Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 9500b8fce87fafa8b6467926536cd9a0d920034a # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:16:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:16:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:16:36 ========================================================= 23:16:36 EdgeX Global Pipelines Version Info 23:16:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:16:37 ------------------- 23:16:37 stable info: 23:16:37 ------------------- 23:16:37 Commited By: Bill Mahoney bill.mahoney@intel.com 23:16:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:16:37 Message: update stable to v1.0.248 23:16:37 ------------------- 23:16:37 experimental info: 23:16:37 ------------------- 23:16:37 Commited By: **** collab-it+edgex@linuxfoundation.org 23:16:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:16:37 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-576 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-576 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-576 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f1873f [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:38 provisioning config files... 23:16:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config12720109255062106786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:38 ---> docker-login.sh 23:16:38 nexus3.edgexfoundry.org:10001 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 nexus3.edgexfoundry.org:10002 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 nexus3.edgexfoundry.org:10003 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 nexus3.edgexfoundry.org:10004 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 docker.io 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 ---> docker-login.sh ends [Pipeline] } 23:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:16:39 + git rev-list -1 --merges 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81~1..5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 [Pipeline] echo 23:16:39 -----------> git rev-list -1 --merges 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81~1..5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 23:16:39 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 [false] [Pipeline] sh 23:16:40 + git log --format=format:%s -1 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 [Pipeline] echo 23:16:40 ========================================================= 23:16:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:16:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:40 + git log --format=format:%s -1 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 [Pipeline] echo 23:16:40 [semverPrep] GIT_COMMIT: 5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81, Commit Message: Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD [Pipeline] echo 23:16:40 [semverPrep] This is not a build commit. [Pipeline] sh 23:16:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:40 + grep -v github /etc/ssh/ssh_known_hosts 23:16:40 + [ -e /tmp/ssh_known_hosts ] 23:16:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:16:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:16:40 + sudo tee -a /etc/ssh/ssh_known_hosts 23:16:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:41 23:16:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:41 0.1.4: Pulling from edgex-devops/py-git-semver 23:16:41 b85a868b505f: Pulling fs layer 23:16:41 e2be974225ed: Pulling fs layer 23:16:41 339a4e72a1f5: Pulling fs layer 23:16:41 988bab9f4d93: Pulling fs layer 23:16:41 1469e6f7b9e6: Pulling fs layer 23:16:41 eaf3925da568: Pulling fs layer 23:16:41 bab4dde63d76: Pulling fs layer 23:16:41 bde34c3a00c8: Pulling fs layer 23:16:41 b352a97aabf1: Pulling fs layer 23:16:41 4872d77fe225: Pulling fs layer 23:16:41 5851b861e8e6: Pulling fs layer 23:16:41 bab4dde63d76: Waiting 23:16:41 bde34c3a00c8: Waiting 23:16:41 b352a97aabf1: Waiting 23:16:41 5851b861e8e6: Waiting 23:16:41 4872d77fe225: Waiting 23:16:41 988bab9f4d93: Waiting 23:16:41 eaf3925da568: Waiting 23:16:41 e2be974225ed: Download complete 23:16:41 988bab9f4d93: Verifying Checksum 23:16:41 988bab9f4d93: Download complete 23:16:41 1469e6f7b9e6: Verifying Checksum 23:16:41 1469e6f7b9e6: Download complete 23:16:41 eaf3925da568: Verifying Checksum 23:16:41 eaf3925da568: Download complete 23:16:41 339a4e72a1f5: Verifying Checksum 23:16:41 339a4e72a1f5: Download complete 23:16:41 bde34c3a00c8: Verifying Checksum 23:16:41 bde34c3a00c8: Download complete 23:16:41 b352a97aabf1: Verifying Checksum 23:16:41 b352a97aabf1: Download complete 23:16:41 4872d77fe225: Verifying Checksum 23:16:41 4872d77fe225: Download complete 23:16:41 5851b861e8e6: Verifying Checksum 23:16:41 5851b861e8e6: Download complete 23:16:41 b85a868b505f: Verifying Checksum 23:16:41 b85a868b505f: Download complete 23:16:42 bab4dde63d76: Verifying Checksum 23:16:42 bab4dde63d76: Download complete 23:16:43 b85a868b505f: Pull complete 23:16:43 e2be974225ed: Pull complete 23:16:43 339a4e72a1f5: Pull complete 23:16:43 988bab9f4d93: Pull complete 23:16:43 1469e6f7b9e6: Pull complete 23:16:43 eaf3925da568: Pull complete 23:16:45 bab4dde63d76: Pull complete 23:16:45 bde34c3a00c8: Pull complete 23:16:45 b352a97aabf1: Pull complete 23:16:45 4872d77fe225: Pull complete 23:16:45 5851b861e8e6: Pull complete 23:16:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:16:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:45 prd-ubuntu20.04-docker-8c-8g-11128 does not seem to be running inside a container 23:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@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-devops/py-git-semver:0.1.4 cat 23:16:48 $ docker top c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 -eo pid,comm 23:16:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:16:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:48 [ssh-agent] Looking for ssh-agent implementation... 23:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:48 $ docker exec c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 ssh-agent 23:16:48 SSH_AUTH_SOCK=/tmp/ssh-8nFTpP9btfJ8/agent.32 23:16:48 SSH_AGENT_PID=38 23:16:48 Running ssh-add (command line suppressed) 23:16:48 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_9552540189419824682.key (/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_9552540189419824682.key) 23:16:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:49 + git tag --points-at HEAD [Pipeline] } 23:16:49 $ docker exec --env ******** --env ******** c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 ssh-agent -k 23:16:49 unset SSH_AUTH_SOCK; 23:16:49 unset SSH_AGENT_PID; 23:16:49 echo Agent pid 38 killed; 23:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:16:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:49 [ssh-agent] Looking for ssh-agent implementation... 23:16:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:49 $ docker exec c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 ssh-agent 23:16:49 SSH_AUTH_SOCK=/tmp/ssh-PNVfFFVeU351/agent.70 23:16:49 SSH_AGENT_PID=76 23:16:49 Running ssh-add (command line suppressed) 23:16:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_6423643017443821477.key (/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_6423643017443821477.key) 23:16:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:49 + git semver init 23:16:50 2023-04-26 23:16:50,057 [run_init] DEBUG init version:0.0.0 force:False 23:16:50 2023-04-26 23:16:50,058 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver 23:16:50 2023-04-26 23:16:50,058 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver 23:16:50 2023-04-26 23:16:50,058 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-576, universal_newlines=False, shell=None, istream=None) 23:16:51 2023-04-26 23:16:50,811 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.git/info/exclude 23:16:51 2023-04-26 23:16:50,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver/PR-576 with force:False 23:16:51 2023-04-26 23:16:50,812 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver/PR-576 23:16:51 2023-04-26 23:16:50,816 [execute] INFO git cat-file --batch-check 23:16:51 2023-04-26 23:16:50,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver, universal_newlines=False, shell=None, istream=) 23:16:51 2023-04-26 23:16:50,821 [execute] INFO git cat-file --batch 23:16:51 2023-04-26 23:16:50,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver, universal_newlines=False, shell=None, istream=) 23:16:51 2023-04-26 23:16:50,826 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver/PR-576 23:16:51 0.0.0 [Pipeline] } 23:16:51 $ docker exec --env ******** --env ******** c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 ssh-agent -k 23:16:51 unset SSH_AUTH_SOCK; 23:16:51 unset SSH_AGENT_PID; 23:16:51 echo Agent pid 76 killed; 23:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:51 + git semver [Pipeline] } 23:16:51 $ docker stop --time=1 c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 23:16:53 $ docker rm -f --volumes c2b79c4796ebae72ce1a6aff504f180e21923808b818ba1b405c7a4395378357 [Pipeline] // withDockerContainer [Pipeline] sh 23:16:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:16:53 Stashed 1 file(s) [Pipeline] echo 23:16:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:53 provisioning config files... 23:16:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config4135186932514825351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:54 ---> docker-login.sh 23:16:54 nexus3.edgexfoundry.org:10001 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 nexus3.edgexfoundry.org:10002 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 nexus3.edgexfoundry.org:10003 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 nexus3.edgexfoundry.org:10004 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 docker.io 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 ---> docker-login.sh ends [Pipeline] } 23:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:54 ========================================================= 23:16:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:16:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:16:54 Sending build context to Docker daemon 6.487MB 23:16:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:16:54 Step 2/12 : FROM ${BASE} AS builder 23:16:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:16:54 f56be85fc22e: Pulling fs layer 23:16:54 85791d961cd3: Pulling fs layer 23:16:54 d694b5ae8c79: Pulling fs layer 23:16:54 9f32a84ed3da: Pulling fs layer 23:16:54 4d19c01a9841: Pulling fs layer 23:16:54 9325e15d5711: Pulling fs layer 23:16:54 4d19c01a9841: Waiting 23:16:54 556b6ee489ea: Pulling fs layer 23:16:54 c5a4b2cf53e6: Pulling fs layer 23:16:54 556b6ee489ea: Waiting 23:16:54 c5a4b2cf53e6: Waiting 23:16:54 85791d961cd3: Verifying Checksum 23:16:54 85791d961cd3: Download complete 23:16:54 f56be85fc22e: Verifying Checksum 23:16:54 f56be85fc22e: Download complete 23:16:54 9f32a84ed3da: Verifying Checksum 23:16:54 9f32a84ed3da: Download complete 23:16:55 4d19c01a9841: Verifying Checksum 23:16:55 4d19c01a9841: Download complete 23:16:55 9325e15d5711: Verifying Checksum 23:16:55 9325e15d5711: Download complete 23:16:55 f56be85fc22e: Pull complete 23:16:55 85791d961cd3: Pull complete 23:16:55 c5a4b2cf53e6: Download complete 23:16:55 d694b5ae8c79: Verifying Checksum 23:16:55 d694b5ae8c79: Download complete 23:16:56 556b6ee489ea: Verifying Checksum 23:16:56 556b6ee489ea: Download complete 23:16:58 d694b5ae8c79: Pull complete 23:16:59 9f32a84ed3da: Pull complete 23:16:59 4d19c01a9841: Pull complete 23:16:59 9325e15d5711: Pull complete 23:17:01 556b6ee489ea: Pull complete 23:17:02 c5a4b2cf53e6: Pull complete 23:17:02 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:17:02 ---> c4be618373d6 23:17:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:17:07 ---> Running in 268f3e0cbfc9 23:17:07 Removing intermediate container 268f3e0cbfc9 23:17:07 ---> 0207a1cadeee 23:17:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:07 ---> Running in 14ee4aa64670 23:17:07 Removing intermediate container 14ee4aa64670 23:17:07 ---> 67525f688b67 23:17:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:17:07 ---> Running in b1fb67774d19 23:17:07 Removing intermediate container b1fb67774d19 23:17:07 ---> d0e7f80da4f6 23:17:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:17:07 ---> Running in 76b2ae632ccc 23:17:07 Removing intermediate container 76b2ae632ccc 23:17:07 ---> c6d417b5a72a 23:17:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:07 ---> Running in faa093f32c40 23:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:07 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:17:07 (2/4) Installing libedit (20221030.3.1-r0) 23:17:07 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:17:07 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:17:07 Executing busybox-1.35.0-r29.trigger 23:17:07 OK: 269 MiB in 57 packages 23:17:08 Removing intermediate container faa093f32c40 23:17:08 ---> 783927ccbeb3 23:17:08 Step 8/12 : WORKDIR /device-mqtt-go 23:17:08 ---> Running in 9255c22f5205 23:17:08 Removing intermediate container 9255c22f5205 23:17:08 ---> ec500672ca18 23:17:08 Step 9/12 : COPY go.mod vendor* ./ 23:17:08 ---> 678a7ca19f58 23:17:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:08 ---> Running in 66cced9e763c 23:17:08 Still waiting to schedule task 23:17:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:17:40 Removing intermediate container 66cced9e763c 23:17:40 ---> 058b0ad3bf8e 23:17:40 Step 11/12 : COPY . . 23:17:40 ---> 69de3dfd92be 23:17:40 Step 12/12 : RUN $MAKE 23:17:40 ---> Running in 42c8d19d0ee5 23:17:40 noop 23:17:40 Removing intermediate container 42c8d19d0ee5 23:17:40 ---> 6f6f4e8d840a 23:17:40 Successfully built 6f6f4e8d840a 23:17:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:41 + docker inspect -f . ci-base-image-x86_64 23:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:41 prd-ubuntu20.04-docker-8c-8g-11128 does not seem to be running inside a container 23:17:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:17:41 $ docker top 82dd4d441215cff37621b7b9faa4e3e9ff32faa2f88d29c0c4331ab7390b08f2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:41 + go version 23:17:41 go version go1.20.2 linux/amd64 [Pipeline] } 23:17:41 $ docker stop --time=1 82dd4d441215cff37621b7b9faa4e3e9ff32faa2f88d29c0c4331ab7390b08f2 23:17:43 $ docker rm -f --volumes 82dd4d441215cff37621b7b9faa4e3e9ff32faa2f88d29c0c4331ab7390b08f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:43 + docker inspect -f . ci-base-image-x86_64 23:17:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:43 prd-ubuntu20.04-docker-8c-8g-11128 does not seem to be running inside a container 23:17:43 $ 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-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:17:43 $ docker top 8269a4f7d8c9a642ba5d05410522992c0900db6e94cfa275560089f1544b0db9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-576 [Pipeline] fileExists [Pipeline] sh 23:17:44 + make test 23:17:44 go test ./... -coverprofile=coverage.out ./... 23:17:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:17:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:17:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:17:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 24.6% of statements 23:18:05 go vet ./... 23:18:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:07 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:07 $ docker stop --time=1 8269a4f7d8c9a642ba5d05410522992c0900db6e94cfa275560089f1544b0db9 23:18:10 $ docker rm -f --volumes 8269a4f7d8c9a642ba5d05410522992c0900db6e94cfa275560089f1544b0db9 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:18:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:11 + ls -al . 23:18:11 total 180 23:18:11 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 23:17 . 23:18:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:16 .. 23:18:11 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 23:16 .dockerignore 23:18:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 23:16 .git 23:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 .github 23:18:11 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 23:16 .gitignore 23:18:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 23:16 .golangci.yml 23:18:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 23:16 .semver 23:18:11 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 23:16 Attribution.txt 23:18:11 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 23:16 CHANGELOG.md 23:18:11 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 23:16 Dockerfile 23:18:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 23:16 GOVERNANCE.md 23:18:11 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 23:16 Jenkinsfile 23:18:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 23:16 LICENSE 23:18:11 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 23:16 Makefile 23:18:11 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 23:16 OWNERS.md 23:18:11 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 23:16 README.md 23:18:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 23:16 VERSION 23:18:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:16 bin 23:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 cmd 23:18:11 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 23:17 coverage.out 23:18:11 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 23:16 go.mod 23:18:11 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 23:16 go.sum 23:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 internal 23:18:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:16 mock 23:18:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:16 snap 23:18:11 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:11 + 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=5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 --label arch=amd64 --label version=0.0.0 . 23:18:11 Sending build context to Docker daemon 6.504MB 23:18:11 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:18:11 Step 2/24 : FROM ${BASE} AS builder 23:18:11 ---> 6f6f4e8d840a 23:18:11 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:18:12 ---> Running in 3b49a0ea26af 23:18:12 Removing intermediate container 3b49a0ea26af 23:18:12 ---> d45de3f58826 23:18:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:12 ---> Running in ebbe5e1a799d 23:18:12 Removing intermediate container ebbe5e1a799d 23:18:12 ---> c58fe6b1345a 23:18:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:12 ---> Running in fab3f1714672 23:18:12 Removing intermediate container fab3f1714672 23:18:12 ---> e7531d925891 23:18:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:18:12 ---> Running in 3b5fec30476d 23:18:12 Removing intermediate container 3b5fec30476d 23:18:12 ---> 7f5940d5f40f 23:18:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:12 ---> Running in 1c28d173fcab 23:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:13 OK: 269 MiB in 57 packages 23:18:13 Removing intermediate container 1c28d173fcab 23:18:13 ---> 801aaf81aa34 23:18:13 Step 8/24 : WORKDIR /device-mqtt-go 23:18:13 ---> Running in cac80f64db99 23:18:13 Removing intermediate container cac80f64db99 23:18:13 ---> 81a9548fc199 23:18:13 Step 9/24 : COPY go.mod vendor* ./ 23:18:13 ---> 97b0bd272f81 23:18:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:13 ---> Running in ca33d98f7f07 23:18:14 Removing intermediate container ca33d98f7f07 23:18:14 ---> bd4d9f4d7f72 23:18:14 Step 11/24 : COPY . . 23:18:15 ---> 59b20652aa58 23:18:15 Step 12/24 : RUN $MAKE 23:18:15 ---> Running in af6617330581 23:18:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:18:37 Removing intermediate container af6617330581 23:18:37 ---> caea701a1cfc 23:18:37 Step 13/24 : FROM alpine:3.17 23:18:37 3.17: Pulling from library/alpine 23:18:37 f56be85fc22e: Already exists 23:18:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:18:37 Status: Downloaded newer image for alpine:3.17 23:18:37 ---> 9ed4aefc74f6 23:18:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:18:37 ---> Running in cddbd059f93f 23:18:37 Removing intermediate container cddbd059f93f 23:18:37 ---> 12c267fc0150 23:18:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:18:37 ---> Running in de5f6db530f3 23:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:37 (1/1) Installing dumb-init (1.2.5-r2) 23:18:37 Executing busybox-1.35.0-r29.trigger 23:18:37 OK: 7 MiB in 16 packages 23:18:37 Removing intermediate container de5f6db530f3 23:18:37 ---> 4a372c97c61b 23:18:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:18:37 ---> 66edb5953ec1 23:18:37 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:18:37 ---> 780d88431cae 23:18:37 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:18:37 ---> 31a492fb5c0d 23:18:37 Step 19/24 : EXPOSE 59982 23:18:37 ---> Running in 87c8bdfbf238 23:18:37 Removing intermediate container 87c8bdfbf238 23:18:37 ---> 9904ae9a26b2 23:18:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:18:37 ---> Running in 49c68d8d27b4 23:18:37 Removing intermediate container 49c68d8d27b4 23:18:37 ---> 5f2dc2168864 23:18:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:18:37 ---> Running in 32e9a889701c 23:18:37 Removing intermediate container 32e9a889701c 23:18:37 ---> e83910970bb1 23:18:37 Step 22/24 : LABEL arch=amd64 23:18:37 ---> Running in 408de122c9c1 23:18:37 Removing intermediate container 408de122c9c1 23:18:37 ---> ca26ef4cf5a3 23:18:37 Step 23/24 : LABEL git_sha=5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 23:18:37 ---> Running in f9d5ac173a4a 23:18:37 Removing intermediate container f9d5ac173a4a 23:18:37 ---> d784b5224132 23:18:37 Step 24/24 : LABEL version=0.0.0 23:18:37 ---> Running in ab09d45ab7c5 23:18:37 Removing intermediate container ab09d45ab7c5 23:18:37 ---> e2943726656b 23:18:37 [Warning] One or more build-args [ARCH] were not consumed 23:18:37 Successfully built e2943726656b 23:18:37 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:37 23:18:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:38 latest: Pulling from edgex-lftools-log-publisher 23:18:38 5eb5b503b376: Pulling fs layer 23:18:38 5c69ac0246d0: Pulling fs layer 23:18:38 ec43610c2a17: Pulling fs layer 23:18:38 3a2ae6a8a46f: Pulling fs layer 23:18:38 33b1e0a273af: Pulling fs layer 23:18:38 5d3b04190fa2: Pulling fs layer 23:18:38 2f39f015ded8: Pulling fs layer 23:18:38 5d3b04190fa2: Waiting 23:18:38 2f39f015ded8: Waiting 23:18:38 5c69ac0246d0: Verifying Checksum 23:18:38 5c69ac0246d0: Download complete 23:18:38 3a2ae6a8a46f: Verifying Checksum 23:18:38 3a2ae6a8a46f: Download complete 23:18:38 33b1e0a273af: Verifying Checksum 23:18:38 33b1e0a273af: Download complete 23:18:38 ec43610c2a17: Verifying Checksum 23:18:38 ec43610c2a17: Download complete 23:18:38 5d3b04190fa2: Download complete 23:18:38 5eb5b503b376: Verifying Checksum 23:18:38 5eb5b503b376: Download complete 23:18:38 2f39f015ded8: Download complete 23:18:39 5eb5b503b376: Pull complete 23:18:39 5c69ac0246d0: Pull complete 23:18:39 ec43610c2a17: Pull complete 23:18:39 3a2ae6a8a46f: Pull complete 23:18:40 33b1e0a273af: Pull complete 23:18:40 5d3b04190fa2: Pull complete 23:18:44 2f39f015ded8: Pull complete 23:18:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:44 prd-ubuntu20.04-docker-8c-8g-11128 does not seem to be running inside a container 23:18:44 $ 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-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:18:48 $ docker top 40c8595e154f53d5ae0568a8ccf2ff7a369f96db08ccc1d3bf536bdd8c0b7f95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:49 ---> job-cost.sh 23:18:49 lf-activate-venv: SKIPPING 23:18:49 INFO: No Stack... 23:18:49 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:50 INFO: Archiving Costs [Pipeline] sh 23:18:50 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives/cost.csv 23:18:50 + cut -d, -f6 [Pipeline] lock 23:18:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] 23:18:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] did not exist. Created. 23:18:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:18:50 + echo total: 0.2199999988079071 [Pipeline] stash 23:18:50 Stashed 1 file(s) [Pipeline] } 23:18:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:18:50 $ docker stop --time=1 40c8595e154f53d5ae0568a8ccf2ff7a369f96db08ccc1d3bf536bdd8c0b7f95 23:18:51 $ docker rm -f --volumes 40c8595e154f53d5ae0568a8ccf2ff7a369f96db08ccc1d3bf536bdd8c0b7f95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:19:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11134 in /w/workspace/gexfoundry_device-mqtt-go_PR-576 [Pipeline] { [Pipeline] ws 23:19:54 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 23:19:54 Selected Git installation does not exist. Using Default 23:19:54 The recommended git tool is: NONE 23:20:01 using credential edgex-jenkins-ssh 23:20:01 Cloning the remote Git repository 23:20:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:20:01 > git init /w/workspace/device-mqtt-go/4 # timeout=10 23:20:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:01 > git --version # timeout=10 23:20:01 > git --version # 'git version 2.25.1' 23:20:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:04 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit 2c1bde9435fddd83639de3716b0c11b051f4304e 23:20:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/576/head:refs/remotes/origin/PR-576 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:20:05 Merge succeeded, producing febabf20ceb94b56a9423fb4db58c22e579ed01a 23:20:05 Checking out Revision febabf20ceb94b56a9423fb4db58c22e579ed01a (PR-576) 23:20:04 > git config core.sparsecheckout # timeout=10 23:20:04 > git checkout -f 2c1bde9435fddd83639de3716b0c11b051f4304e # timeout=10 23:20:05 > git remote # timeout=10 23:20:05 > git config --get remote.origin.url # timeout=10 23:20:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:05 > git merge 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 23:20:05 > git rev-parse HEAD^{commit} # timeout=10 23:20:05 > git config core.sparsecheckout # timeout=10 23:20:05 > git checkout -f febabf20ceb94b56a9423fb4db58c22e579ed01a # timeout=10 23:20:08 Commit message: "Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD" 23:20:08 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:08 > git rev-list --no-walk 9500b8fce87fafa8b6467926536cd9a0d920034a # timeout=10 23:20:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:20:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:09 Dload Upload Total Spent Left Speed 23:20:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 23:20:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:20:10 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 23:20:10 /etc/docker/daemon.new 23:20:10 { 23:20:10 "registry-mirrors": [ 23:20:10 "https://nexus3.edgexfoundry.org:10001" 23:20:10 ], 23:20:10 "bip": "10.250.0.254/24", 23:20:10 "hosts": [ 23:20:10 "tcp://0.0.0.0:5555", 23:20:10 "unix:///var/run/docker.sock" 23:20:10 ], 23:20:10 "mtu": 1458, 23:20:10 "selinux-enabled": true, 23:20:10 "seccomp-profile": "/etc/docker/seccomp.json" 23:20:10 } [Pipeline] sh 23:20:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:20:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:29 provisioning config files... 23:20:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config18330466178228200969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:30 ---> docker-login.sh 23:20:30 nexus3.edgexfoundry.org:10001 23:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:30 Configure a credential helper to remove this warning. See 23:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:30 23:20:30 Login Succeeded 23:20:30 nexus3.edgexfoundry.org:10002 23:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:31 Configure a credential helper to remove this warning. See 23:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:31 23:20:31 Login Succeeded 23:20:31 nexus3.edgexfoundry.org:10003 23:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:31 Configure a credential helper to remove this warning. See 23:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:31 23:20:31 Login Succeeded 23:20:31 nexus3.edgexfoundry.org:10004 23:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:31 Configure a credential helper to remove this warning. See 23:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:31 23:20:31 Login Succeeded 23:20:31 docker.io 23:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:32 Configure a credential helper to remove this warning. See 23:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:32 23:20:32 Login Succeeded 23:20:32 ---> docker-login.sh ends [Pipeline] } 23:20:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:32 ========================================================= 23:20:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:20:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:20:33 Sending build context to Docker daemon 3.381MB 23:20:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:20:33 Step 2/12 : FROM ${BASE} AS builder 23:20:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:33 c41833b44d91: Pulling fs layer 23:20:33 ed15518f5707: Pulling fs layer 23:20:33 feae8fd75edb: Pulling fs layer 23:20:33 242c74f7c9fa: Pulling fs layer 23:20:33 3cdef696dda3: Pulling fs layer 23:20:33 2ced38df9373: Pulling fs layer 23:20:33 58f1dce35555: Pulling fs layer 23:20:33 3cdef696dda3: Waiting 23:20:33 242c74f7c9fa: Waiting 23:20:33 2ced38df9373: Waiting 23:20:33 58f1dce35555: Waiting 23:20:33 ed15518f5707: Verifying Checksum 23:20:33 ed15518f5707: Download complete 23:20:33 242c74f7c9fa: Verifying Checksum 23:20:33 242c74f7c9fa: Download complete 23:20:33 3cdef696dda3: Verifying Checksum 23:20:33 3cdef696dda3: Download complete 23:20:33 c41833b44d91: Verifying Checksum 23:20:33 c41833b44d91: Download complete 23:20:34 c41833b44d91: Pull complete 23:20:35 58f1dce35555: Verifying Checksum 23:20:35 58f1dce35555: Download complete 23:20:35 ed15518f5707: Pull complete 23:20:36 feae8fd75edb: Verifying Checksum 23:20:36 feae8fd75edb: Download complete 23:20:36 2ced38df9373: Verifying Checksum 23:20:36 2ced38df9373: Download complete 23:20:48 feae8fd75edb: Pull complete 23:20:48 242c74f7c9fa: Pull complete 23:20:48 3cdef696dda3: Pull complete 23:20:55 2ced38df9373: Pull complete 23:20:58 58f1dce35555: Pull complete 23:20:58 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:20:58 ---> fadd8f120f05 23:20:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:21:00 ---> Running in f01cead49e91 23:21:00 Removing intermediate container f01cead49e91 23:21:00 ---> d580096bb96c 23:21:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:21:00 ---> Running in 9f28c939074f 23:21:00 Removing intermediate container 9f28c939074f 23:21:00 ---> 23f6939875bd 23:21:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:21:00 ---> Running in f818bc55f7e9 23:21:01 Removing intermediate container f818bc55f7e9 23:21:01 ---> 53561d7d2f88 23:21:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:21:01 ---> Running in ef520008cf1a 23:21:01 Removing intermediate container ef520008cf1a 23:21:01 ---> 00a74a67579e 23:21:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:21:01 ---> Running in c3c2dfeeb2ea 23:21:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:21:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:21:04 (2/4) Installing libedit (20221030.3.1-r0) 23:21:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:21:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:21:04 Executing busybox-1.35.0-r29.trigger 23:21:04 OK: 268 MiB in 57 packages 23:21:05 Removing intermediate container c3c2dfeeb2ea 23:21:05 ---> 5b42831e0eb1 23:21:05 Step 8/12 : WORKDIR /device-mqtt-go 23:21:05 ---> Running in 50de294940d5 23:21:06 Removing intermediate container 50de294940d5 23:21:06 ---> 958051976d32 23:21:06 Step 9/12 : COPY go.mod vendor* ./ 23:21:06 ---> b1225aab4fef 23:21:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:06 ---> Running in 0fc552d95954 23:22:16 Removing intermediate container 0fc552d95954 23:22:16 ---> aa687d97bd48 23:22:16 Step 11/12 : COPY . . 23:22:16 ---> 8f3c64754f33 23:22:16 Step 12/12 : RUN $MAKE 23:22:16 ---> Running in e131614be4cc 23:22:16 noop 23:22:16 Removing intermediate container e131614be4cc 23:22:16 ---> 03a23a5acf98 23:22:16 Successfully built 03a23a5acf98 23:22:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:16 + docker inspect -f . ci-base-image-arm64 23:22:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:16 prd-ubuntu20.04-docker-arm64-4c-16g-11134 does not seem to be running inside a container 23:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:17 $ docker top f347423c06551d3165c2f3e61633dab97f8e639f16d0f0a20d4441ae8d5a2a49 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:18 + go version 23:22:18 go version go1.20.2 linux/arm64 [Pipeline] } 23:22:18 $ docker stop --time=1 f347423c06551d3165c2f3e61633dab97f8e639f16d0f0a20d4441ae8d5a2a49 23:22:20 $ docker rm -f --volumes f347423c06551d3165c2f3e61633dab97f8e639f16d0f0a20d4441ae8d5a2a49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:21 + docker inspect -f . ci-base-image-arm64 23:22:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:21 prd-ubuntu20.04-docker-arm64-4c-16g-11134 does not seem to be running inside a container 23:22:21 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:22 $ docker top c4789cf1d3424f1d94ec048bde187f71dec235a5bdee49e758d0b4820dd4fb2e -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:23 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 23:22:23 + make test 23:22:23 go test ./... -coverprofile=coverage.out ./... 23:23:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:54 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 24.6% of statements 23:24:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:59 go vet ./... 23:25:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:31 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:31 $ docker stop --time=1 c4789cf1d3424f1d94ec048bde187f71dec235a5bdee49e758d0b4820dd4fb2e 23:25:33 $ docker rm -f --volumes c4789cf1d3424f1d94ec048bde187f71dec235a5bdee49e758d0b4820dd4fb2e [Pipeline] // withDockerContainer [Pipeline] sh 23:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:34 Warning: overwriting stash ‘coverage-report’ 23:25:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:36 + ls -al . 23:25:36 total 176 23:25:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 23:22 . 23:25:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:20 .. 23:25:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 23:20 .dockerignore 23:25:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 23:20 .git 23:25:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:20 .github 23:25:36 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 23:20 .gitignore 23:25:36 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 23:20 .golangci.yml 23:25:36 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 23:20 Attribution.txt 23:25:36 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 23:20 CHANGELOG.md 23:25:36 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 23:20 Dockerfile 23:25:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 23:20 GOVERNANCE.md 23:25:36 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 23:20 Jenkinsfile 23:25:36 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 23:20 LICENSE 23:25:36 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 23:20 Makefile 23:25:36 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 23:20 OWNERS.md 23:25:36 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 23:20 README.md 23:25:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 23:16 VERSION 23:25:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:20 bin 23:25:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:20 cmd 23:25:36 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 23:24 coverage.out 23:25:36 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 23:20 go.mod 23:25:36 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 23:20 go.sum 23:25:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:20 internal 23:25:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:20 mock 23:25:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:20 snap 23:25:36 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:36 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=febabf20ceb94b56a9423fb4db58c22e579ed01a --label arch=arm64 --label version=0.0.0 . 23:25:36 Sending build context to Docker daemon 3.398MB 23:25:37 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:25:37 Step 2/24 : FROM ${BASE} AS builder 23:25:37 ---> 03a23a5acf98 23:25:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:25:37 ---> Running in 919c78795ece 23:25:37 Removing intermediate container 919c78795ece 23:25:37 ---> 170e74519df3 23:25:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:37 ---> Running in 6608bd0864cb 23:25:38 Removing intermediate container 6608bd0864cb 23:25:38 ---> 67eb7c967428 23:25:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:25:38 ---> Running in 160602e86a82 23:25:38 Removing intermediate container 160602e86a82 23:25:38 ---> 3c73dac25dcb 23:25:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:25:38 ---> Running in 9dc7e4ecc5eb 23:25:38 Removing intermediate container 9dc7e4ecc5eb 23:25:38 ---> b6699792804b 23:25:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:39 ---> Running in 6632b9728586 23:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:42 OK: 268 MiB in 57 packages 23:25:43 Removing intermediate container 6632b9728586 23:25:43 ---> f2cf837ede20 23:25:43 Step 8/24 : WORKDIR /device-mqtt-go 23:25:43 ---> Running in 3c03558bf5e9 23:25:43 Removing intermediate container 3c03558bf5e9 23:25:43 ---> bb50f5ebbcc2 23:25:43 Step 9/24 : COPY go.mod vendor* ./ 23:25:43 ---> 7105e194e3a1 23:25:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:43 ---> Running in fa1f21ef8ac6 23:25:46 Removing intermediate container fa1f21ef8ac6 23:25:46 ---> 21ef2777cc79 23:25:46 Step 11/24 : COPY . . 23:25:47 ---> ed34e128f83c 23:25:47 Step 12/24 : RUN $MAKE 23:25:47 ---> Running in 005b1ecece8e 23:25:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:28:10 Removing intermediate container 005b1ecece8e 23:28:10 ---> 30ea0c779038 23:28:10 Step 13/24 : FROM alpine:3.17 23:28:10 3.17: Pulling from library/alpine 23:28:10 c41833b44d91: Already exists 23:28:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:28:11 Status: Downloaded newer image for alpine:3.17 23:28:11 ---> 51e60588ff2c 23:28:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:28:11 ---> Running in 3cef5dde87d8 23:28:11 Removing intermediate container 3cef5dde87d8 23:28:11 ---> d651ef330397 23:28:11 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:28:11 ---> Running in 004020f14618 23:28:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:28:14 (1/1) Installing dumb-init (1.2.5-r2) 23:28:14 Executing busybox-1.35.0-r29.trigger 23:28:14 OK: 8 MiB in 16 packages 23:28:15 Removing intermediate container 004020f14618 23:28:15 ---> 9cf4e2b7b5a9 23:28:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:28:16 ---> 1fdd1c1ac05b 23:28:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:28:17 ---> 6a9837baf41c 23:28:17 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:28:17 ---> c42638b2727b 23:28:17 Step 19/24 : EXPOSE 59982 23:28:17 ---> Running in 3d6b68ce5814 23:28:18 Removing intermediate container 3d6b68ce5814 23:28:18 ---> 0d1387535215 23:28:18 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:28:18 ---> Running in 8bc02062de90 23:28:18 Removing intermediate container 8bc02062de90 23:28:18 ---> 1893675e636f 23:28:18 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:28:18 ---> Running in 88c6657e7d2e 23:28:18 Removing intermediate container 88c6657e7d2e 23:28:18 ---> 7fe5adad97fa 23:28:18 Step 22/24 : LABEL arch=arm64 23:28:19 ---> Running in 439bc2689a28 23:28:19 Removing intermediate container 439bc2689a28 23:28:19 ---> e9a6ea5b273c 23:28:19 Step 23/24 : LABEL git_sha=febabf20ceb94b56a9423fb4db58c22e579ed01a 23:28:19 ---> Running in 239e4e6b8f6a 23:28:19 Removing intermediate container 239e4e6b8f6a 23:28:19 ---> 6d8bd6b9e35b 23:28:19 Step 24/24 : LABEL version=0.0.0 23:28:19 ---> Running in 5fea5b9d2e3a 23:28:19 Removing intermediate container 5fea5b9d2e3a 23:28:19 ---> 7304017042b5 23:28:19 [Warning] One or more build-args [ARCH] were not consumed 23:28:20 Successfully built 7304017042b5 23:28:20 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:20 23:28:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:20 arm64: Pulling from edgex-lftools-log-publisher 23:28:20 8998bd30e6a1: Pulling fs layer 23:28:20 04944245beec: Pulling fs layer 23:28:20 699f458cf7ca: Pulling fs layer 23:28:20 765212b225bb: Pulling fs layer 23:28:20 f23df028b6ca: Pulling fs layer 23:28:20 d65c8cfc05b1: Pulling fs layer 23:28:20 2437ff75d9bd: Pulling fs layer 23:28:20 765212b225bb: Waiting 23:28:20 f23df028b6ca: Waiting 23:28:20 d65c8cfc05b1: Waiting 23:28:20 2437ff75d9bd: Waiting 23:28:21 04944245beec: Verifying Checksum 23:28:21 04944245beec: Download complete 23:28:21 765212b225bb: Verifying Checksum 23:28:21 765212b225bb: Download complete 23:28:21 f23df028b6ca: Verifying Checksum 23:28:21 f23df028b6ca: Download complete 23:28:21 d65c8cfc05b1: Verifying Checksum 23:28:21 d65c8cfc05b1: Download complete 23:28:21 699f458cf7ca: Verifying Checksum 23:28:21 699f458cf7ca: Download complete 23:28:22 8998bd30e6a1: Verifying Checksum 23:28:22 8998bd30e6a1: Download complete 23:28:24 2437ff75d9bd: Download complete 23:28:26 8998bd30e6a1: Pull complete 23:28:26 04944245beec: Pull complete 23:28:27 699f458cf7ca: Pull complete 23:28:27 765212b225bb: Pull complete 23:28:28 f23df028b6ca: Pull complete 23:28:28 d65c8cfc05b1: Pull complete 23:28:43 2437ff75d9bd: Pull complete 23:28:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:44 prd-ubuntu20.04-docker-arm64-4c-16g-11134 does not seem to be running inside a container 23:28:44 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:28:47 $ docker top e37a330b0deefe2b3ca3b45c55cb8c1e159ddb8e87406e962dfece1a559511f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:47 ---> job-cost.sh 23:28:47 lf-activate-venv: SKIPPING 23:28:47 INFO: No Stack... 23:28:48 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:49 INFO: Archiving Costs [Pipeline] sh 23:28:49 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 23:28:49 + cut -d, -f6 [Pipeline] lock 23:28:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] 23:28:49 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] did not exist. Created. 23:28:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:50 /w/workspace/device-mqtt-go/4@tmp/durable-69f59b91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:51 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:51 Warning: overwriting stash ‘stack-cost’ 23:28:51 Stashed 1 file(s) [Pipeline] } 23:28:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:51 $ docker stop --time=1 e37a330b0deefe2b3ca3b45c55cb8c1e159ddb8e87406e962dfece1a559511f0 23:28:52 $ docker rm -f --volumes e37a330b0deefe2b3ca3b45c55cb8c1e159ddb8e87406e962dfece1a559511f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:28:53 provisioning config files... 23:28:53 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config13235533273215714464tmp [Pipeline] { [Pipeline] sh 23:28:53 + set +x 23:28:53 + curl -s https://codecov.io/bash 23:28:53 + bash -s -- 23:28:53 23:28:53 _____ _ 23:28:53 / ____| | | 23:28:53 | | ___ __| | ___ ___ _____ __ 23:28:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:28:53 | |___| (_) | (_| | __/ (_| (_) \ V / 23:28:53 \_____\___/ \__,_|\___|\___\___/ \_/ 23:28:53 Bash-1.0.6 23:28:53 23:28:53 23:28:53 ==> git version 2.25.1 found 23:28:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:28:53 Release-Date: 2020-01-08 23:28:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:28:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:28:53 ==> Jenkins CI detected. 23:28:53 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-576 23:28:53 project root: . 23:28:53 --> token set from env 23:28:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:28:53 ==> Running gcov in . (disable via -X gcov) 23:28:53 ==> Python coveragepy not found 23:28:53 ==> Searching for coverage reports in: 23:28:53 + . 23:28:53 -> Found 1 reports 23:28:53 ==> Detecting git/mercurial file structure 23:28:53 ==> Reading reports 23:28:53 + ./coverage.out bytes=16535 23:28:53 ==> Appending adjustments 23:28:53 https://docs.codecov.io/docs/fixing-reports 23:28:53 + Found adjustments 23:28:53 ==> Gzipping contents 23:28:53 4.0K /tmp/codecov.f10mS5.gz 23:28:53 ==> Uploading reports 23:28:53 url: https://codecov.io 23:28:53 query: branch=PR-576&commit=5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-576%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=576&job=&cmd_args= 23:28:53 -> Pinging Codecov 23:28:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-576&commit=5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-576%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=576&job=&cmd_args= 23:28:53 -> Uploading to 23:28:53 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/7D719EC7BBE17E464838252E33014C33/5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81/0f1edf52-440b-485b-85fd-331800e99559.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T232853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba3d8da42be393beaf3b54227e899431ac883c1b1fc074314d23b3b5e88bd788 23:28:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:53 Dload Upload Total Spent Left Speed 23:28:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 13776 --:--:-- --:--:-- --:--:-- 13776 23:28:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5f1873f1b1e5bcc26e64c76f70fb23cf81de7d81 [Pipeline] } 23:28:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:28:54 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives ] 23:28:54 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives 23:28:54 total 16 23:28:54 drwxr-xr-x 3 root root 4096 Apr 26 23:18 . 23:28:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 23:18 .. 23:28:54 drwxr-xr-x 2 root root 4096 Apr 26 23:18 cost 23:28:54 -rw-r--r-- 1 root root 87 Apr 26 23:18 cost.csv 23:28:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives 23:28:54 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives 23:28:54 total 16 23:28:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 23:18 . 23:28:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 23:18 .. 23:28:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 23:18 cost 23:28:54 -rw-r--r-- 1 jenkins jenkins 87 Apr 26 23:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:55 ---> package-listing.sh 23:28:55 ++ facter osfamily 23:28:55 ++ tr '[:upper:]' '[:lower:]' 23:28:56 + OS_FAMILY=debian 23:28:56 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-576 23:28:56 + START_PACKAGES=/tmp/packages_start.txt 23:28:56 + END_PACKAGES=/tmp/packages_end.txt 23:28:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:56 + PACKAGES=/tmp/packages_start.txt 23:28:56 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-576 ']' 23:28:56 + PACKAGES=/tmp/packages_end.txt 23:28:56 + case "${OS_FAMILY}" in 23:28:56 + dpkg -l 23:28:56 + grep '^ii' 23:28:56 + '[' -f /tmp/packages_start.txt ']' 23:28:56 + '[' -f /tmp/packages_end.txt ']' 23:28:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:56 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-576 ']' 23:28:56 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives/ 23:28:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives/ [Pipeline] echo 23:28:56 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-576/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:57 prd-ubuntu20.04-docker-8c-8g-11128 does not seem to be running inside a container 23:28:57 $ 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-576/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-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:57 $ docker top eaaf0b22db33d908aa9b28bc14b861ff9671ba92f78e335922bee5219d3cbf42 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:57 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:57 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:58 + ls /var/log/sa-host 23:28:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:58 provisioning config files... 23:28:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config12981072589649017514tmp [Pipeline] { [Pipeline] echo 23:28:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:58 ---> create-netrc.sh [Pipeline] } 23:28:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:58 ---> python-tools-install.sh [Pipeline] echo 23:28:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:59 ---> sudo-logs.sh 23:28:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:59 ---> job-cost.sh 23:28:59 lf-activate-venv: SKIPPING 23:28:59 DEBUG: total: 0.2199999988079071 23:28:59 INFO: Retrieving Stack Cost... 23:28:59 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:00 INFO: Archiving Costs [Pipeline] echo 23:29:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:00 ---> logs-deploy.sh 23:29:00 lf-activate-venv: SKIPPING 23:29:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-576/4 23:29:00 INFO: archiving workspace using pattern(s): 23:29:01 Archives upload complete. 23:29:01 INFO: archiving logs to Nexus