Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4+9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (c504d79330b0eb7a4ff965594243a7f07abc0fd6) 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-ssh2729420274158998380.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6045528297624666909.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17329163657416240783.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7145636315906636460.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12542126656604007441.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh800860138930635669.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118667 in /w/workspace/gexfoundry_device-mqtt-go_PR-439 [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-439 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 Merge succeeded, producing 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 Checking out Revision 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 (PR-439) > git config core.sparsecheckout # timeout=10 > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 Commit message: "build: Update to use released SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:58:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:58:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:58:00 ========================================================= 22:58:00 EdgeX Global Pipelines Version Info 22:58:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:58:02 ------------------- 22:58:02 stable info: 22:58:02 ------------------- 22:58:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:58:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:58:02 Message: update stable to v1.0.244 22:58:02 ------------------- 22:58:02 experimental info: 22:58:02 ------------------- 22:58:02 Commited By: **** collab-it+edgex@linuxfoundation.org 22:58:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:58:02 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:58:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68b58be [Pipeline] echo 22:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:03 provisioning config files... 22:58:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config4279056096156100030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:04 ---> docker-login.sh 22:58:04 nexus3.edgexfoundry.org:10001 22:58:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:04 Configure a credential helper to remove this warning. See 22:58:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:04 22:58:04 Login Succeeded 22:58:04 nexus3.edgexfoundry.org:10002 22:58:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:04 Configure a credential helper to remove this warning. See 22:58:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:04 22:58:04 Login Succeeded 22:58:04 nexus3.edgexfoundry.org:10003 22:58:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:04 Configure a credential helper to remove this warning. See 22:58:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:04 22:58:04 Login Succeeded 22:58:04 nexus3.edgexfoundry.org:10004 22:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:05 Configure a credential helper to remove this warning. See 22:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:05 22:58:05 Login Succeeded 22:58:05 docker.io 22:58:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:05 Configure a credential helper to remove this warning. See 22:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:05 22:58:05 Login Succeeded 22:58:05 ---> docker-login.sh ends [Pipeline] } 22:58:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:58:05 + git rev-list -1 --merges 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4~1..68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo 22:58:06 -----------> git rev-list -1 --merges 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4~1..68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [false] [Pipeline] sh 22:58:06 + git log --format=format:%s -1 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo 22:58:06 ========================================================= 22:58:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:58:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:58:06 + git log --format=format:%s -1 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo 22:58:06 [semverPrep] GIT_COMMIT: 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4, Commit Message: build: Update to use released SDK [Pipeline] echo 22:58:06 [semverPrep] This is not a build commit. [Pipeline] sh 22:58:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:58:07 + grep -v github /etc/ssh/ssh_known_hosts 22:58:07 + [ -e /tmp/ssh_known_hosts ] 22:58:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:58:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:58:07 + sudo tee -a /etc/ssh/ssh_known_hosts 22:58:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:58:07 22:58:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:58:08 0.1.4: Pulling from edgex-devops/py-git-semver 22:58:08 b85a868b505f: Pulling fs layer 22:58:08 e2be974225ed: Pulling fs layer 22:58:08 339a4e72a1f5: Pulling fs layer 22:58:08 988bab9f4d93: Pulling fs layer 22:58:08 1469e6f7b9e6: Pulling fs layer 22:58:08 eaf3925da568: Pulling fs layer 22:58:08 bab4dde63d76: Pulling fs layer 22:58:08 bde34c3a00c8: Pulling fs layer 22:58:08 b352a97aabf1: Pulling fs layer 22:58:08 4872d77fe225: Pulling fs layer 22:58:08 5851b861e8e6: Pulling fs layer 22:58:08 988bab9f4d93: Waiting 22:58:08 1469e6f7b9e6: Waiting 22:58:08 eaf3925da568: Waiting 22:58:08 bab4dde63d76: Waiting 22:58:08 bde34c3a00c8: Waiting 22:58:08 b352a97aabf1: Waiting 22:58:08 4872d77fe225: Waiting 22:58:08 5851b861e8e6: Waiting 22:58:08 e2be974225ed: Verifying Checksum 22:58:08 e2be974225ed: Download complete 22:58:08 988bab9f4d93: Verifying Checksum 22:58:08 988bab9f4d93: Download complete 22:58:08 1469e6f7b9e6: Verifying Checksum 22:58:08 1469e6f7b9e6: Download complete 22:58:08 eaf3925da568: Verifying Checksum 22:58:08 eaf3925da568: Download complete 22:58:08 339a4e72a1f5: Verifying Checksum 22:58:08 339a4e72a1f5: Download complete 22:58:08 bde34c3a00c8: Download complete 22:58:08 b352a97aabf1: Download complete 22:58:08 4872d77fe225: Verifying Checksum 22:58:08 4872d77fe225: Download complete 22:58:08 5851b861e8e6: Verifying Checksum 22:58:08 5851b861e8e6: Download complete 22:58:08 b85a868b505f: Verifying Checksum 22:58:08 b85a868b505f: Download complete 22:58:08 bab4dde63d76: Verifying Checksum 22:58:08 bab4dde63d76: Download complete 22:58:09 b85a868b505f: Pull complete 22:58:09 e2be974225ed: Pull complete 22:58:10 339a4e72a1f5: Pull complete 22:58:10 988bab9f4d93: Pull complete 22:58:10 1469e6f7b9e6: Pull complete 22:58:10 eaf3925da568: Pull complete 22:58:12 bab4dde63d76: Pull complete 22:58:12 bde34c3a00c8: Pull complete 22:58:12 b352a97aabf1: Pull complete 22:58:12 4872d77fe225: Pull complete 22:58:12 5851b861e8e6: Pull complete 22:58:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:58:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:58:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:12 prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container 22:58:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:58:14 $ docker top 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a -eo pid,comm 22:58:14 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). 22:58:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:58:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:58:14 [ssh-agent] Looking for ssh-agent implementation... 22:58:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:14 $ docker exec 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent 22:58:14 SSH_AUTH_SOCK=/tmp/ssh-rsEwvjJ1ssGX/agent.33 22:58:14 SSH_AGENT_PID=39 22:58:14 Running ssh-add (command line suppressed) 22:58:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_8758988357131569104.key (/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_8758988357131569104.key) 22:58:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:58:15 + git tag --points-at HEAD [Pipeline] } 22:58:15 $ docker exec --env ******** --env ******** 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent -k 22:58:15 unset SSH_AUTH_SOCK; 22:58:15 unset SSH_AGENT_PID; 22:58:15 echo Agent pid 39 killed; 22:58:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:58:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:58:15 [ssh-agent] Looking for ssh-agent implementation... 22:58:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:15 $ docker exec 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent 22:58:15 SSH_AUTH_SOCK=/tmp/ssh-5mPUTv8U2ehj/agent.71 22:58:15 SSH_AGENT_PID=77 22:58:15 Running ssh-add (command line suppressed) 22:58:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_16977709507236433436.key (/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_16977709507236433436.key) 22:58:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:58:16 + git semver init 22:58:16 2022-11-08 22:58:16,455 [run_init] DEBUG init version:0.0.0 force:False 22:58:16 2022-11-08 22:58:16,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver 22:58:16 2022-11-08 22:58:16,456 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver 22:58:16 2022-11-08 22:58:16,456 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-439, universal_newlines=False, shell=None, istream=None) 22:58:17 2022-11-08 22:58:17,330 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.git/info/exclude 22:58:17 2022-11-08 22:58:17,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver/PR-439 with force:False 22:58:17 2022-11-08 22:58:17,330 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver/PR-439 22:58:17 2022-11-08 22:58:17,333 [execute] INFO git cat-file --batch-check 22:58:17 2022-11-08 22:58:17,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) 22:58:17 2022-11-08 22:58:17,338 [execute] INFO git cat-file --batch 22:58:17 2022-11-08 22:58:17,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) 22:58:17 2022-11-08 22:58:17,342 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver/PR-439 22:58:17 0.0.0 [Pipeline] } 22:58:17 $ docker exec --env ******** --env ******** 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent -k 22:58:17 unset SSH_AUTH_SOCK; 22:58:17 unset SSH_AGENT_PID; 22:58:17 echo Agent pid 77 killed; 22:58:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:58:18 + git semver [Pipeline] } 22:58:18 $ docker stop --time=1 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a 22:58:19 $ docker rm -f 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a [Pipeline] // withDockerContainer [Pipeline] sh 22:58:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:58:20 Stashed 1 file(s) [Pipeline] echo 22:58:20 [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 22:58:20 provisioning config files... 22:58:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config3075050334460812373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:21 ---> docker-login.sh 22:58:21 nexus3.edgexfoundry.org:10001 22:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:21 Configure a credential helper to remove this warning. See 22:58:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:21 22:58:21 Login Succeeded 22:58:21 nexus3.edgexfoundry.org:10002 22:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:21 Configure a credential helper to remove this warning. See 22:58:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:21 22:58:21 Login Succeeded 22:58:21 nexus3.edgexfoundry.org:10003 22:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:21 Configure a credential helper to remove this warning. See 22:58:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:21 22:58:21 Login Succeeded 22:58:21 nexus3.edgexfoundry.org:10004 22:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:21 Configure a credential helper to remove this warning. See 22:58:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:21 22:58:21 Login Succeeded 22:58:21 docker.io 22:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:22 Configure a credential helper to remove this warning. See 22:58:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:22 22:58:22 Login Succeeded 22:58:22 ---> docker-login.sh ends [Pipeline] } 22:58:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:58:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:22 ========================================================= 22:58:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:58:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:58:22 Sending build context to Docker daemon 6.246MB 22:58:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:58:22 Step 2/12 : FROM ${BASE} AS builder 22:58:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:58:22 213ec9aee27d: Pulling fs layer 22:58:22 4583459ba037: Pulling fs layer 22:58:22 93c1e223e6f2: Pulling fs layer 22:58:22 53926ce57604: Pulling fs layer 22:58:22 21b2b0c7a3f4: Pulling fs layer 22:58:22 22ff95d597cd: Pulling fs layer 22:58:22 12d6caf4c0d1: Pulling fs layer 22:58:22 96b7cbca73a9: Pulling fs layer 22:58:22 a7acece74701: Pulling fs layer 22:58:22 21b2b0c7a3f4: Waiting 22:58:22 22ff95d597cd: Waiting 22:58:22 53926ce57604: Waiting 22:58:22 12d6caf4c0d1: Waiting 22:58:22 a7acece74701: Waiting 22:58:22 96b7cbca73a9: Waiting 22:58:22 93c1e223e6f2: Verifying Checksum 22:58:22 93c1e223e6f2: Download complete 22:58:22 4583459ba037: Download complete 22:58:22 21b2b0c7a3f4: Download complete 22:58:22 22ff95d597cd: Verifying Checksum 22:58:22 22ff95d597cd: Download complete 22:58:23 213ec9aee27d: Verifying Checksum 22:58:23 213ec9aee27d: Download complete 22:58:23 12d6caf4c0d1: Verifying Checksum 22:58:23 12d6caf4c0d1: Download complete 22:58:23 213ec9aee27d: Pull complete 22:58:23 4583459ba037: Pull complete 22:58:23 93c1e223e6f2: Pull complete 22:58:23 a7acece74701: Verifying Checksum 22:58:23 a7acece74701: Download complete 22:58:23 96b7cbca73a9: Verifying Checksum 22:58:23 96b7cbca73a9: Download complete 22:58:24 53926ce57604: Verifying Checksum 22:58:24 53926ce57604: Download complete 22:58:28 53926ce57604: Pull complete 22:58:28 21b2b0c7a3f4: Pull complete 22:58:28 22ff95d597cd: Pull complete 22:58:28 12d6caf4c0d1: Pull complete 22:58:29 96b7cbca73a9: Pull complete 22:58:30 a7acece74701: Pull complete 22:58:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:58:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:58:30 ---> db6d94c90886 22:58:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:58:32 ---> Running in 11f9d0da37d5 22:58:32 Removing intermediate container 11f9d0da37d5 22:58:32 ---> e22d89c14e50 22:58:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:58:32 ---> Running in 8d5f5d0c3a64 22:58:32 Removing intermediate container 8d5f5d0c3a64 22:58:32 ---> 91af0094df9a 22:58:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:58:32 ---> Running in a610191511cc 22:58:32 Removing intermediate container a610191511cc 22:58:32 ---> c60f5b434faa 22:58:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:58:32 ---> Running in f319ea8bf932 22:58:32 Removing intermediate container f319ea8bf932 22:58:32 ---> 1123de6bb12d 22:58:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:58:32 ---> Running in 86420838d575 22:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:58:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:58:33 (2/4) Installing libedit (20210910.3.1-r0) 22:58:33 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:58:33 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:58:33 Executing busybox-1.35.0-r17.trigger 22:58:33 OK: 216 MiB in 55 packages 22:58:34 Removing intermediate container 86420838d575 22:58:34 ---> 077cee614ead 22:58:34 Step 8/12 : WORKDIR /device-mqtt-go 22:58:34 ---> Running in e0cb03d8cad0 22:58:34 Removing intermediate container e0cb03d8cad0 22:58:34 ---> 9f8a677e979b 22:58:34 Step 9/12 : COPY go.mod vendor* ./ 22:58:34 ---> 109a7943a6fe 22:58:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:58:34 ---> Running in fa47c4d29b5f 22:58:35 Still waiting to schedule task 22:58:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:58:52 Removing intermediate container fa47c4d29b5f 22:58:52 ---> 67ae9a4bb900 22:58:52 Step 11/12 : COPY . . 22:58:52 ---> 90e917c448b4 22:58:52 Step 12/12 : RUN $MAKE 22:58:52 ---> Running in e7a3b35aac5a 22:58:52 noop 22:58:52 Removing intermediate container e7a3b35aac5a 22:58:52 ---> d74905175ea6 22:58:52 Successfully built d74905175ea6 22:58:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:52 + docker inspect -f . ci-base-image-x86_64 22:58:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:53 prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container 22:58:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@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-x86_64 cat 22:58:53 $ docker top 700ec2e1ad87bbf7bb12310e06c76de01c553b06b88b31076a8ed1f57e2ed419 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:53 + go version 22:58:53 go version go1.18.7 linux/amd64 [Pipeline] } 22:58:53 $ docker stop --time=1 700ec2e1ad87bbf7bb12310e06c76de01c553b06b88b31076a8ed1f57e2ed419 22:58:55 $ docker rm -f 700ec2e1ad87bbf7bb12310e06c76de01c553b06b88b31076a8ed1f57e2ed419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:55 + docker inspect -f . ci-base-image-x86_64 22:58:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:56 prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container 22:58:56 $ 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-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@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-x86_64 cat 22:58:56 $ docker top d557769d730259804a63b5c378153ac05ca606e9bec73fab5c161e749389d732 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-439 [Pipeline] fileExists [Pipeline] sh 22:58:57 + make test 22:58:57 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:58:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:59:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:59:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 22:59:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:59:14 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:59:14 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:59:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:59:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:59:17 ./bin/test-attribution-txt.sh [Pipeline] echo 22:59:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:59:17 $ docker stop --time=1 d557769d730259804a63b5c378153ac05ca606e9bec73fab5c161e749389d732 22:59:19 $ docker rm -f d557769d730259804a63b5c378153ac05ca606e9bec73fab5c161e749389d732 [Pipeline] // withDockerContainer [Pipeline] sh 22:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:59:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:59:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:59:20 + ls -al . 22:59:20 total 192 22:59:20 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 22:58 . 22:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:57 .. 22:59:20 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 22:57 .dockerignore 22:59:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:59 .git 22:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:57 .github 22:59:20 -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 22:57 .gitignore 22:59:20 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 22:57 .golangci.yml 22:59:20 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:58 .semver 22:59:20 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 8 22:57 Attribution.txt 22:59:20 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 8 22:57 CHANGELOG.md 22:59:20 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 8 22:57 Dockerfile 22:59:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 22:57 GOVERNANCE.md 22:59:20 -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 22:57 Jenkinsfile 22:59:20 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 22:57 LICENSE 22:59:20 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 8 22:57 Makefile 22:59:20 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 22:57 OWNERS.md 22:59:20 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 8 22:57 README.md 22:59:20 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:58 VERSION 22:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:57 bin 22:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:57 cmd 22:59:20 -rw-r--r-- 1 jenkins jenkins 17887 Nov 8 22:59 coverage.out 22:59:20 -rw-rw-r-- 1 jenkins jenkins 3463 Nov 8 22:57 go.mod 22:59:20 -rw-rw-r-- 1 jenkins jenkins 45046 Nov 8 22:57 go.sum 22:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:57 internal 22:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:57 mock 22:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:57 snap 22:59:20 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 22:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:21 + 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=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 --label arch=amd64 --label version=0.0.0 . 22:59:21 Sending build context to Docker daemon 6.265MB 22:59:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 22:59:21 Step 2/24 : FROM ${BASE} AS builder 22:59:21 ---> d74905175ea6 22:59:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:59:21 ---> Running in a10ba1d7013e 22:59:21 Removing intermediate container a10ba1d7013e 22:59:21 ---> 5b02ee166bf6 22:59:21 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:59:21 ---> Running in df09726e2e12 22:59:21 Removing intermediate container df09726e2e12 22:59:21 ---> 49725d0ba441 22:59:21 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:59:21 ---> Running in 3079025dad8a 22:59:21 Removing intermediate container 3079025dad8a 22:59:21 ---> 7ecebb5e30d8 22:59:21 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:59:21 ---> Running in 09790f2c7579 22:59:21 Removing intermediate container 09790f2c7579 22:59:21 ---> 249fc627fb02 22:59:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:21 ---> Running in 0506507da3c2 22:59:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:59:22 OK: 216 MiB in 55 packages 22:59:22 Removing intermediate container 0506507da3c2 22:59:22 ---> f5f695b65b59 22:59:22 Step 8/24 : WORKDIR /device-mqtt-go 22:59:22 ---> Running in 16f7e45fab09 22:59:22 Removing intermediate container 16f7e45fab09 22:59:22 ---> 0c60ab777363 22:59:22 Step 9/24 : COPY go.mod vendor* ./ 22:59:23 ---> 5a34b0969616 22:59:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:23 ---> Running in 9d60c793f3a2 22:59:23 Removing intermediate container 9d60c793f3a2 22:59:23 ---> c909fec0db93 22:59:23 Step 11/24 : COPY . . 22:59:23 ---> ce637db19dcb 22:59:23 Step 12/24 : RUN $MAKE 22:59:23 ---> Running in b2af36bb2666 22:59:24 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 22:59:46 Removing intermediate container b2af36bb2666 22:59:46 ---> 629a8bd183f1 22:59:46 Step 13/24 : FROM alpine:3.16 22:59:46 3.16: Pulling from library/alpine 22:59:46 213ec9aee27d: Already exists 22:59:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:59:46 Status: Downloaded newer image for alpine:3.16 22:59:46 ---> 9c6f07244728 22:59:46 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:59:46 ---> Running in 80cbbb947b1d 22:59:46 Removing intermediate container 80cbbb947b1d 22:59:46 ---> 57f5296b58d6 22:59:46 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:59:46 ---> Running in a32e1aee8e55 22:59:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:59:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:59:46 (1/6) Installing dumb-init (1.2.5-r1) 22:59:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:59:46 (3/6) Installing libsodium (1.0.18-r0) 22:59:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:59:46 (5/6) Installing libzmq (4.3.4-r0) 22:59:46 (6/6) Installing zeromq (4.3.4-r0) 22:59:46 Executing busybox-1.35.0-r17.trigger 22:59:46 OK: 8 MiB in 20 packages 22:59:46 Removing intermediate container a32e1aee8e55 22:59:46 ---> ca1b6c70087e 22:59:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:59:46 ---> 51e68e7b07de 22:59:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:59:46 ---> e06bbe00cbd2 22:59:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:59:46 ---> ec4fecd07431 22:59:46 Step 19/24 : EXPOSE 59982 22:59:46 ---> Running in c7d858eccff8 22:59:46 Removing intermediate container c7d858eccff8 22:59:46 ---> 2f0399cdbcc7 22:59:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:59:46 ---> Running in 0e9e27503ac6 22:59:46 Removing intermediate container 0e9e27503ac6 22:59:46 ---> bba07b64799a 22:59:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:59:47 ---> Running in e57bff918ae4 22:59:47 Removing intermediate container e57bff918ae4 22:59:47 ---> 345f4549a73b 22:59:47 Step 22/24 : LABEL arch=amd64 22:59:47 ---> Running in 88106f2758d1 22:59:47 Removing intermediate container 88106f2758d1 22:59:47 ---> b9f3f3ebaa05 22:59:47 Step 23/24 : LABEL git_sha=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 22:59:47 ---> Running in cc2556297379 22:59:47 Removing intermediate container cc2556297379 22:59:47 ---> 2a914ca7e8bb 22:59:47 Step 24/24 : LABEL version=0.0.0 22:59:47 ---> Running in 6c05a5456b93 22:59:47 Removing intermediate container 6c05a5456b93 22:59:47 ---> ebf7454a7d18 22:59:47 [Warning] One or more build-args [ARCH] were not consumed 22:59:47 Successfully built ebf7454a7d18 22:59:47 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 22:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:48 22:59:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:48 latest: Pulling from edgex-lftools-log-publisher 22:59:48 5eb5b503b376: Pulling fs layer 22:59:48 5c69ac0246d0: Pulling fs layer 22:59:48 ec43610c2a17: Pulling fs layer 22:59:48 3a2ae6a8a46f: Pulling fs layer 22:59:48 33b1e0a273af: Pulling fs layer 22:59:48 5d3b04190fa2: Pulling fs layer 22:59:48 2f39f015ded8: Pulling fs layer 22:59:48 3a2ae6a8a46f: Waiting 22:59:48 33b1e0a273af: Waiting 22:59:48 2f39f015ded8: Waiting 22:59:48 5d3b04190fa2: Waiting 22:59:48 5c69ac0246d0: Download complete 22:59:48 3a2ae6a8a46f: Verifying Checksum 22:59:48 3a2ae6a8a46f: Download complete 22:59:48 33b1e0a273af: Verifying Checksum 22:59:48 33b1e0a273af: Download complete 22:59:49 5d3b04190fa2: Verifying Checksum 22:59:49 5d3b04190fa2: Download complete 22:59:49 ec43610c2a17: Verifying Checksum 22:59:49 ec43610c2a17: Download complete 22:59:49 5eb5b503b376: Verifying Checksum 22:59:49 5eb5b503b376: Download complete 22:59:49 2f39f015ded8: Verifying Checksum 22:59:49 2f39f015ded8: Download complete 22:59:50 5eb5b503b376: Pull complete 22:59:50 5c69ac0246d0: Pull complete 22:59:50 ec43610c2a17: Pull complete 22:59:50 3a2ae6a8a46f: Pull complete 22:59:50 33b1e0a273af: Pull complete 22:59:50 5d3b04190fa2: Pull complete 22:59:55 2f39f015ded8: Pull complete 22:59:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:55 prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container 22:59:55 $ 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-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@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:latest cat 22:59:57 $ docker top 29129715bf2be86ab7ecc1cad5cdd6652f1746e43cb7955eee5132e6f2d1f7c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:57 ---> job-cost.sh 22:59:57 lf-activate-venv: SKIPPING 22:59:57 INFO: No Stack... 22:59:58 INFO: Retrieving Pricing Info for: v3-standard-8 22:59:58 INFO: Archiving Costs [Pipeline] sh 22:59:58 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives/cost.csv 22:59:58 + cut -d, -f6 [Pipeline] lock 22:59:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] 22:59:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] did not exist. Created. 22:59:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:59:59 + echo total: 0.2199999988079071 [Pipeline] stash 22:59:59 Stashed 1 file(s) [Pipeline] } 22:59:59 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:59:59 $ docker stop --time=1 29129715bf2be86ab7ecc1cad5cdd6652f1746e43cb7955eee5132e6f2d1f7c0 23:00:00 $ docker rm -f 29129715bf2be86ab7ecc1cad5cdd6652f1746e43cb7955eee5132e6f2d1f7c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:00:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118669 in /w/workspace/gexfoundry_device-mqtt-go_PR-439 [Pipeline] { [Pipeline] ws 23:00:04 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 23:00:04 Selected Git installation does not exist. Using Default 23:00:04 The recommended git tool is: NONE 23:00:09 using credential edgex-jenkins-ssh 23:00:09 Cloning the remote Git repository 23:00:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:00:09 > git init /w/workspace/device-mqtt-go/1 # timeout=10 23:00:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:00:09 > git --version # timeout=10 23:00:09 > git --version # 'git version 2.25.1' 23:00:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:09 Verifying host key using known hosts file 23:00:10 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:00:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:00:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:13 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 23:00:13 Merge succeeded, producing 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 23:00:13 Checking out Revision 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 (PR-439) 23:00:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:00:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:00:12 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:12 Verifying host key using known hosts file 23:00:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:00:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:00:13 > git config core.sparsecheckout # timeout=10 23:00:13 > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 23:00:13 > git remote # timeout=10 23:00:13 > git config --get remote.origin.url # timeout=10 23:00:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:13 Verifying host key using known hosts file 23:00:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:00:13 > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 23:00:13 > git rev-parse HEAD^{commit} # timeout=10 23:00:13 > git config core.sparsecheckout # timeout=10 23:00:13 > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 23:00:16 Commit message: "build: Update to use released SDK" 23:00:17 > git --version # timeout=10 23:00:17 > git --version # 'git version 2.25.1' 23:00:17 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:00:18 % Total % Received % Xferd Average Speed Time Time Time Current 23:00:18 Dload Upload Total Spent Left Speed 23:00:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 136k 0 --:--:-- --:--:-- --:--:-- 136k [Pipeline] sh 23:00:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:00:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:00:19 + sudo tee /etc/docker/daemon.new 23:00:19 { 23:00:19 "registry-mirrors": [ 23:00:19 "https://nexus3.edgexfoundry.org:10001" 23:00:19 ], 23:00:19 "bip": "10.250.0.254/24", 23:00:19 "hosts": [ 23:00:19 "tcp://0.0.0.0:5555", 23:00:19 "unix:///var/run/docker.sock" 23:00:19 ], 23:00:19 "mtu": 1458, 23:00:19 "selinux-enabled": true, 23:00:19 "seccomp-profile": "/etc/docker/seccomp.json" 23:00:19 } [Pipeline] sh 23:00:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:00:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:38 provisioning config files... 23:00:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5049703306331247696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:38 ---> docker-login.sh 23:00:38 nexus3.edgexfoundry.org:10001 23:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:39 Configure a credential helper to remove this warning. See 23:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:39 23:00:39 Login Succeeded 23:00:39 nexus3.edgexfoundry.org:10002 23:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:39 Configure a credential helper to remove this warning. See 23:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:39 23:00:39 Login Succeeded 23:00:39 nexus3.edgexfoundry.org:10003 23:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:40 Configure a credential helper to remove this warning. See 23:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:40 23:00:40 Login Succeeded 23:00:40 nexus3.edgexfoundry.org:10004 23:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:40 Configure a credential helper to remove this warning. See 23:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:40 23:00:40 Login Succeeded 23:00:40 docker.io 23:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:41 Configure a credential helper to remove this warning. See 23:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:41 23:00:41 Login Succeeded 23:00:41 ---> docker-login.sh ends [Pipeline] } 23:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:41 ========================================================= 23:00:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:00:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:00:42 Sending build context to Docker daemon 3.267MB 23:00:42 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:00:42 Step 2/12 : FROM ${BASE} AS builder 23:00:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:00:42 9b18e9b68314: Pulling fs layer 23:00:42 35d82f9e3411: Pulling fs layer 23:00:42 e16973657156: Pulling fs layer 23:00:42 fc693d55d65f: Pulling fs layer 23:00:42 7e9fc2657dce: Pulling fs layer 23:00:42 dda99020689f: Pulling fs layer 23:00:42 db1c61fa0a46: Pulling fs layer 23:00:42 891c053d2c06: Pulling fs layer 23:00:42 fc693d55d65f: Waiting 23:00:42 7e9fc2657dce: Waiting 23:00:42 891c053d2c06: Waiting 23:00:42 dda99020689f: Waiting 23:00:42 db1c61fa0a46: Waiting 23:00:42 e16973657156: Verifying Checksum 23:00:42 e16973657156: Download complete 23:00:42 35d82f9e3411: Verifying Checksum 23:00:42 35d82f9e3411: Download complete 23:00:42 7e9fc2657dce: Verifying Checksum 23:00:42 7e9fc2657dce: Download complete 23:00:42 dda99020689f: Verifying Checksum 23:00:42 dda99020689f: Download complete 23:00:42 9b18e9b68314: Verifying Checksum 23:00:42 9b18e9b68314: Download complete 23:00:43 9b18e9b68314: Pull complete 23:00:43 891c053d2c06: Verifying Checksum 23:00:43 891c053d2c06: Download complete 23:00:44 35d82f9e3411: Pull complete 23:00:44 e16973657156: Pull complete 23:00:45 db1c61fa0a46: Verifying Checksum 23:00:45 fc693d55d65f: Verifying Checksum 23:00:45 fc693d55d65f: Download complete 23:00:57 fc693d55d65f: Pull complete 23:00:57 7e9fc2657dce: Pull complete 23:00:57 dda99020689f: Pull complete 23:01:04 db1c61fa0a46: Pull complete 23:01:06 891c053d2c06: Pull complete 23:01:06 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:01:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:01:06 ---> f96f9c87975a 23:01:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:01:08 ---> Running in aa1338422fdb 23:01:08 Removing intermediate container aa1338422fdb 23:01:08 ---> dee9f459b940 23:01:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:01:08 ---> Running in 11ed66596d46 23:01:08 Removing intermediate container 11ed66596d46 23:01:08 ---> 63307ac7b344 23:01:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:01:08 ---> Running in ff860ae4aec5 23:01:08 Removing intermediate container ff860ae4aec5 23:01:08 ---> c12a3acbd9cc 23:01:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:01:08 ---> Running in 836f8b5fa43f 23:01:09 Removing intermediate container 836f8b5fa43f 23:01:09 ---> 4fe162077553 23:01:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:09 ---> Running in 6af3c459a632 23:01:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:01:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:01:11 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:01:11 (2/4) Installing libedit (20210910.3.1-r0) 23:01:11 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:01:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:01:11 Executing busybox-1.35.0-r17.trigger 23:01:11 OK: 226 MiB in 55 packages 23:01:12 Removing intermediate container 6af3c459a632 23:01:12 ---> 2dbb8a1861dc 23:01:12 Step 8/12 : WORKDIR /device-mqtt-go 23:01:12 ---> Running in d98b5ed1b263 23:01:13 Removing intermediate container d98b5ed1b263 23:01:13 ---> 815b5713cce9 23:01:13 Step 9/12 : COPY go.mod vendor* ./ 23:01:14 ---> 7ce4d91591fb 23:01:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:14 ---> Running in 64f1fdbcdb08 23:02:10 Removing intermediate container 64f1fdbcdb08 23:02:10 ---> 3043b1922171 23:02:10 Step 11/12 : COPY . . 23:02:10 ---> 7aedf8bff994 23:02:10 Step 12/12 : RUN $MAKE 23:02:10 ---> Running in a84bb08a7a3f 23:02:10 noop 23:02:10 Removing intermediate container a84bb08a7a3f 23:02:10 ---> df87b73944f6 23:02:10 Successfully built df87b73944f6 23:02:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:10 + docker inspect -f . ci-base-image-arm64 23:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:11 prd-ubuntu20.04-docker-arm64-4c-16g-118669 does not seem to be running inside a container 23:02:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:12 $ docker top 5d7232869a4bf51e1eb8e605c0d001f5bf440758436973820fd10ba2a6e0a78f -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:13 + go version 23:02:13 go version go1.18.7 linux/arm64 [Pipeline] } 23:02:13 $ docker stop --time=1 5d7232869a4bf51e1eb8e605c0d001f5bf440758436973820fd10ba2a6e0a78f 23:02:15 $ docker rm -f 5d7232869a4bf51e1eb8e605c0d001f5bf440758436973820fd10ba2a6e0a78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:16 + docker inspect -f . ci-base-image-arm64 23:02:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:16 prd-ubuntu20.04-docker-arm64-4c-16g-118669 does not seem to be running inside a container 23:02:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:17 $ docker top 6af9c3db5eb1deb1e24ac4114c6a20d869ddbf0f1681903a7cccc7c44dcc7fc8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:18 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 23:02:19 + make test 23:02:19 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:02:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:03:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:03:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 21.8% of statements 23:03:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:03:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:03:57 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:04:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:04:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:04:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:04:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:04:19 $ docker stop --time=1 6af9c3db5eb1deb1e24ac4114c6a20d869ddbf0f1681903a7cccc7c44dcc7fc8 23:04:21 $ docker rm -f 6af9c3db5eb1deb1e24ac4114c6a20d869ddbf0f1681903a7cccc7c44dcc7fc8 [Pipeline] // withDockerContainer [Pipeline] sh 23:04:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:04:22 Warning: overwriting stash ‘coverage-report’ 23:04:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:04:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:04:24 + ls -al . 23:04:24 total 188 23:04:24 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:02 . 23:04:24 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:00 .. 23:04:24 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:00 .dockerignore 23:04:24 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:00 .git 23:04:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:00 .github 23:04:24 -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 23:00 .gitignore 23:04:24 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:00 .golangci.yml 23:04:24 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 8 23:00 Attribution.txt 23:04:24 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 8 23:00 CHANGELOG.md 23:04:24 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 8 23:00 Dockerfile 23:04:24 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:00 GOVERNANCE.md 23:04:24 -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 23:00 Jenkinsfile 23:04:24 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:00 LICENSE 23:04:24 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 8 23:00 Makefile 23:04:24 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:00 OWNERS.md 23:04:24 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 8 23:00 README.md 23:04:24 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:58 VERSION 23:04:24 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:00 bin 23:04:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:00 cmd 23:04:24 -rw-r--r-- 1 jenkins jenkins 17887 Nov 8 23:03 coverage.out 23:04:24 -rw-rw-r-- 1 jenkins jenkins 3463 Nov 8 23:00 go.mod 23:04:24 -rw-rw-r-- 1 jenkins jenkins 45046 Nov 8 23:00 go.sum 23:04:24 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:00 internal 23:04:24 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:00 mock 23:04:24 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:00 snap 23:04:24 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:24 + 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=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 --label arch=arm64 --label version=0.0.0 . 23:04:24 Sending build context to Docker daemon 3.286MB 23:04:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:04:24 Step 2/24 : FROM ${BASE} AS builder 23:04:24 ---> df87b73944f6 23:04:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:04:25 ---> Running in 4d723066de55 23:04:26 Removing intermediate container 4d723066de55 23:04:26 ---> 1d8f3fe81a68 23:04:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:04:26 ---> Running in a274b3c5c069 23:04:26 Removing intermediate container a274b3c5c069 23:04:26 ---> a689bab50a78 23:04:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:04:26 ---> Running in 94f0b4e8ade0 23:04:27 Removing intermediate container 94f0b4e8ade0 23:04:27 ---> 8c059756f570 23:04:27 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:04:27 ---> Running in c8cf82dc5314 23:04:28 Removing intermediate container c8cf82dc5314 23:04:28 ---> 1f1439264711 23:04:28 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:28 ---> Running in 2850f6db4b4f 23:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:04:30 OK: 226 MiB in 55 packages 23:04:31 Removing intermediate container 2850f6db4b4f 23:04:31 ---> dd9c8843b3ad 23:04:31 Step 8/24 : WORKDIR /device-mqtt-go 23:04:31 ---> Running in b45e37d308a6 23:04:32 Removing intermediate container b45e37d308a6 23:04:32 ---> f8d9dda62404 23:04:32 Step 9/24 : COPY go.mod vendor* ./ 23:04:32 ---> 512897b39a26 23:04:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:32 ---> Running in 9af54387bb1c 23:04:39 Removing intermediate container 9af54387bb1c 23:04:39 ---> 43b79544e296 23:04:39 Step 11/24 : COPY . . 23:04:41 ---> 96e456b91cc8 23:04:41 Step 12/24 : RUN $MAKE 23:04:41 ---> Running in e89ac8287cf2 23:04:42 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 23:07:19 Removing intermediate container e89ac8287cf2 23:07:19 ---> 8a598a9a595c 23:07:19 Step 13/24 : FROM alpine:3.16 23:07:19 3.16: Pulling from library/alpine 23:07:19 9b18e9b68314: Already exists 23:07:19 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:07:19 Status: Downloaded newer image for alpine:3.16 23:07:19 ---> a6215f271958 23:07:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:07:19 ---> Running in 3a98c6084f15 23:07:19 Removing intermediate container 3a98c6084f15 23:07:19 ---> 928672a91ac6 23:07:19 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:07:19 ---> Running in 2fec6f539bfb 23:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:07:19 (1/6) Installing dumb-init (1.2.5-r1) 23:07:19 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:07:19 (3/6) Installing libsodium (1.0.18-r0) 23:07:19 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:07:19 (5/6) Installing libzmq (4.3.4-r0) 23:07:19 (6/6) Installing zeromq (4.3.4-r0) 23:07:19 Executing busybox-1.35.0-r17.trigger 23:07:19 OK: 8 MiB in 20 packages 23:07:19 Removing intermediate container 2fec6f539bfb 23:07:19 ---> 46e6f1644283 23:07:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:07:19 ---> 2c57f480ccd6 23:07:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:07:19 ---> f5d842d8f58e 23:07:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:07:19 ---> aebe6c8aa393 23:07:19 Step 19/24 : EXPOSE 59982 23:07:19 ---> Running in 2c9362e650ff 23:07:19 Removing intermediate container 2c9362e650ff 23:07:19 ---> 19df2705312e 23:07:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:07:19 ---> Running in e70225dd283d 23:07:19 Removing intermediate container e70225dd283d 23:07:19 ---> 7910b1418159 23:07:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:07:19 ---> Running in 7235f1c6c1f2 23:07:20 Removing intermediate container 7235f1c6c1f2 23:07:20 ---> e7ce29065a77 23:07:20 Step 22/24 : LABEL arch=arm64 23:07:20 ---> Running in 064ba27aeb33 23:07:20 Removing intermediate container 064ba27aeb33 23:07:20 ---> 37cd21a32884 23:07:20 Step 23/24 : LABEL git_sha=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 23:07:20 ---> Running in 0c9648750fe0 23:07:20 Removing intermediate container 0c9648750fe0 23:07:20 ---> 363d3f1394e0 23:07:20 Step 24/24 : LABEL version=0.0.0 23:07:20 ---> Running in 7816e6a69304 23:07:21 Removing intermediate container 7816e6a69304 23:07:21 ---> 9f1200c55574 23:07:21 [Warning] One or more build-args [ARCH] were not consumed 23:07:21 Successfully built 9f1200c55574 23:07:21 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:07:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:22 23:07:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:22 arm64: Pulling from edgex-lftools-log-publisher 23:07:22 8998bd30e6a1: Pulling fs layer 23:07:22 04944245beec: Pulling fs layer 23:07:22 699f458cf7ca: Pulling fs layer 23:07:22 765212b225bb: Pulling fs layer 23:07:22 f23df028b6ca: Pulling fs layer 23:07:22 d65c8cfc05b1: Pulling fs layer 23:07:22 2437ff75d9bd: Pulling fs layer 23:07:22 f23df028b6ca: Waiting 23:07:22 d65c8cfc05b1: Waiting 23:07:22 2437ff75d9bd: Waiting 23:07:22 765212b225bb: Waiting 23:07:23 04944245beec: Verifying Checksum 23:07:23 04944245beec: Download complete 23:07:23 765212b225bb: Verifying Checksum 23:07:23 765212b225bb: Download complete 23:07:23 f23df028b6ca: Verifying Checksum 23:07:23 f23df028b6ca: Download complete 23:07:23 d65c8cfc05b1: Verifying Checksum 23:07:23 d65c8cfc05b1: Download complete 23:07:23 699f458cf7ca: Verifying Checksum 23:07:23 699f458cf7ca: Download complete 23:07:23 8998bd30e6a1: Verifying Checksum 23:07:23 8998bd30e6a1: Download complete 23:07:26 2437ff75d9bd: Verifying Checksum 23:07:26 2437ff75d9bd: Download complete 23:07:28 8998bd30e6a1: Pull complete 23:07:28 04944245beec: Pull complete 23:07:29 699f458cf7ca: Pull complete 23:07:29 765212b225bb: Pull complete 23:07:30 f23df028b6ca: Pull complete 23:07:30 d65c8cfc05b1: Pull complete 23:07:45 2437ff75d9bd: Pull complete 23:07:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:07:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:46 prd-ubuntu20.04-docker-arm64-4c-16g-118669 does not seem to be running inside a container 23:07:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:07:48 $ docker top 5b2e2e86a876c9619ed52162eebc92e3f140d731919a5e32fdcd7b359ddba99e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:49 ---> job-cost.sh 23:07:49 lf-activate-venv: SKIPPING 23:07:49 INFO: No Stack... 23:07:49 INFO: Retrieving Pricing Info for: v3-standard-4 23:07:50 INFO: Archiving Costs [Pipeline] sh 23:07:51 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 23:07:51 + cut -d, -f6 [Pipeline] lock 23:07:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] 23:07:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] did not exist. Created. 23:07:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:52 /w/workspace/device-mqtt-go/1@tmp/durable-2f831a1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:07:53 + echo total: 0.10999999940395355 [Pipeline] stash 23:07:53 Warning: overwriting stash ‘stack-cost’ 23:07:53 Stashed 1 file(s) [Pipeline] } 23:07:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:07:53 $ docker stop --time=1 5b2e2e86a876c9619ed52162eebc92e3f140d731919a5e32fdcd7b359ddba99e 23:07:54 $ docker rm -f 5b2e2e86a876c9619ed52162eebc92e3f140d731919a5e32fdcd7b359ddba99e [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:07:55 provisioning config files... 23:07:55 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config18379858367122269955tmp [Pipeline] { [Pipeline] sh 23:07:56 + set +x 23:07:56 + curl -s https://codecov.io/bash 23:07:56 + bash -s -- 23:07:56 23:07:56 _____ _ 23:07:56 / ____| | | 23:07:56 | | ___ __| | ___ ___ _____ __ 23:07:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:07:56 | |___| (_) | (_| | __/ (_| (_) \ V / 23:07:56 \_____\___/ \__,_|\___|\___\___/ \_/ 23:07:56 Bash-1.0.6 23:07:56 23:07:56 23:07:56 ==> git version 2.25.1 found 23:07:56 ==> 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:07:56 Release-Date: 2020-01-08 23:07:56 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:07:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:07:56 ==> Jenkins CI detected. 23:07:56 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-439 23:07:56 project root: . 23:07:56 --> token set from env 23:07:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:07:56 ==> Running gcov in . (disable via -X gcov) 23:07:56 ==> Python coveragepy not found 23:07:56 ==> Searching for coverage reports in: 23:07:56 + . 23:07:56 -> Found 1 reports 23:07:56 ==> Detecting git/mercurial file structure 23:07:56 ==> Reading reports 23:07:56 + ./coverage.out bytes=17887 23:07:56 ==> Appending adjustments 23:07:56 https://docs.codecov.io/docs/fixing-reports 23:07:56 + Found adjustments 23:07:56 ==> Gzipping contents 23:07:56 4.0K /tmp/codecov.gWQzWt.gz 23:07:56 ==> Uploading reports 23:07:56 url: https://codecov.io 23:07:56 query: branch=PR-439&commit=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=439&job=&cmd_args= 23:07:56 -> Pinging Codecov 23:07:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-439&commit=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=439&job=&cmd_args= 23:07:56 -> Uploading to 23:07:56 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/7D719EC7BBE17E464838252E33014C33/68b58be8f43c9a803f7db73d7e34f0f2d21d16a4/b772a24e-62d3-4cb3-805d-88a2f78ef7b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T230756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a799905c903cef460b8c0f6e2b818d4ab4c02eef4cd898fdcb43920d33054ccf 23:07:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:56 Dload Upload Total Spent Left Speed 23:07:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 11335 --:--:-- --:--:-- --:--:-- 11335 23:07:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] } 23:07:56 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:07:58 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives ] 23:07:58 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives 23:07:58 total 16 23:07:58 drwxr-xr-x 3 root root 4096 Nov 8 22:59 . 23:07:58 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 22:59 .. 23:07:58 drwxr-xr-x 2 root root 4096 Nov 8 22:59 cost 23:07:58 -rw-r--r-- 1 root root 86 Nov 8 22:59 cost.csv 23:07:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives 23:07:58 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives 23:07:58 total 16 23:07:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:59 . 23:07:58 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 22:59 .. 23:07:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 22:59 cost 23:07:58 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 22:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:07:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:07:59 ---> package-listing.sh 23:07:59 ++ facter osfamily 23:07:59 ++ tr '[:upper:]' '[:lower:]' 23:08:00 + OS_FAMILY=debian 23:08:00 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-439 23:08:00 + START_PACKAGES=/tmp/packages_start.txt 23:08:00 + END_PACKAGES=/tmp/packages_end.txt 23:08:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:08:00 + PACKAGES=/tmp/packages_start.txt 23:08:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-439 ']' 23:08:00 + PACKAGES=/tmp/packages_end.txt 23:08:00 + case "${OS_FAMILY}" in 23:08:00 + dpkg -l 23:08:00 + grep '^ii' 23:08:00 + '[' -f /tmp/packages_start.txt ']' 23:08:00 + '[' -f /tmp/packages_end.txt ']' 23:08:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:08:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-439 ']' 23:08:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives/ 23:08:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives/ [Pipeline] echo 23:08:00 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:08:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:01 prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container 23:08:01 $ 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-439/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-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@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:08:01 $ docker top 55ac9a161bcefa866fe188f5471b3d06609b51d89f12f2c5048c1df6ec56b56f -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:01 + touch /tmp/pre-build-complete [Pipeline] sh 23:08:02 + mkdir -p /var/log/sysstat [Pipeline] sh 23:08:02 + ls /var/log/sa-host 23:08:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:02 provisioning config files... 23:08:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config6628159023513570989tmp [Pipeline] { [Pipeline] echo 23:08:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:08:03 ---> create-netrc.sh [Pipeline] } 23:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:08:03 ---> python-tools-install.sh [Pipeline] echo 23:08:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:08:03 ---> sudo-logs.sh 23:08:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:08:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:08:04 ---> job-cost.sh 23:08:04 lf-activate-venv: SKIPPING 23:08:04 DEBUG: total: 0.2199999988079071 23:08:04 INFO: Retrieving Stack Cost... 23:08:04 INFO: Retrieving Pricing Info for: v3-standard-8 23:08:05 INFO: Archiving Costs [Pipeline] echo 23:08:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:08:05 ---> logs-deploy.sh 23:08:05 lf-activate-venv: SKIPPING 23:08:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-439/1 23:08:05 INFO: archiving workspace using pattern(s): 23:08:06 Archives upload complete. 23:08:06 INFO: archiving logs to Nexus