Pull request #420 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 MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at c1f0bf142c77c6d86ff5b845358552b8abffa481 rather than c855e4505beb1c3beede59cebacc0914420eb1f9 Obtained Jenkinsfile from c1f0bf142c77c6d86ff5b845358552b8abffa481 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-ssh1939215000234828794.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3756062457600928892.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-420/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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9132760502346938477.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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8162515457810372394.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh3704597943288453173.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-420/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-420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10100967072940950146.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-ubuntu20.04-docker-8c-8g-7314’ Running on prd-ubuntu20.04-docker-8c-8g-7316 in /w/workspace/gexfoundry_device-mqtt-go_PR-420 [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-420 # 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/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c1f0bf142c77c6d86ff5b845358552b8abffa481 into PR head commit c855e4505beb1c3beede59cebacc0914420eb1f9 Merge succeeded, producing c855e4505beb1c3beede59cebacc0914420eb1f9 Checking out Revision c855e4505beb1c3beede59cebacc0914420eb1f9 (PR-420) > git config core.sparsecheckout # timeout=10 > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # 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 c1f0bf142c77c6d86ff5b845358552b8abffa481 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # timeout=10 Commit message: "fix(snap): Remove duplicate file copying in install hook " First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:15:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:15:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:15:35 ========================================================= 10:15:35 EdgeX Global Pipelines Version Info 10:15:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:15:36 ------------------- 10:15:36 stable info: 10:15:36 ------------------- 10:15:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:15:36 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:15:36 Message: update stable to v1.0.239 10:15:36 ------------------- 10:15:36 experimental info: 10:15:36 ------------------- 10:15:36 Commited By: **** collab-it+edgex@linuxfoundation.org 10:15:36 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:15:36 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:15:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-420 [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-420 [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-420 [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c855e45 [Pipeline] echo 10:15:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:15:38 provisioning config files... 10:15:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config13019883215596039481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:38 ---> docker-login.sh 10:15:38 nexus3.edgexfoundry.org:10001 10:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:39 Configure a credential helper to remove this warning. See 10:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:39 10:15:39 Login Succeeded 10:15:39 nexus3.edgexfoundry.org:10002 10:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:39 Configure a credential helper to remove this warning. See 10:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:39 10:15:39 Login Succeeded 10:15:39 nexus3.edgexfoundry.org:10003 10:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:39 Configure a credential helper to remove this warning. See 10:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:39 10:15:39 Login Succeeded 10:15:39 nexus3.edgexfoundry.org:10004 10:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:39 Configure a credential helper to remove this warning. See 10:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:39 10:15:39 Login Succeeded 10:15:39 docker.io 10:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:39 Configure a credential helper to remove this warning. See 10:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:39 10:15:39 Login Succeeded 10:15:39 ---> docker-login.sh ends [Pipeline] } 10:15:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:15:40 + git rev-list -1 --merges c855e4505beb1c3beede59cebacc0914420eb1f9~1..c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo 10:15:40 -----------> git rev-list -1 --merges c855e4505beb1c3beede59cebacc0914420eb1f9~1..c855e4505beb1c3beede59cebacc0914420eb1f9 c855e4505beb1c3beede59cebacc0914420eb1f9 [false] [Pipeline] sh 10:15:40 + git log --format=format:%s -1 c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo 10:15:40 ========================================================= 10:15:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:15:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:15:41 + git log --format=format:%s -1 c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo 10:15:41 [semverPrep] GIT_COMMIT: c855e4505beb1c3beede59cebacc0914420eb1f9, Commit Message: fix(snap): Remove duplicate file copying in install hook [Pipeline] echo 10:15:41 [semverPrep] This is not a build commit. [Pipeline] sh 10:15:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:15:41 + grep -v github /etc/ssh/ssh_known_hosts 10:15:41 + [ -e /tmp/ssh_known_hosts ] 10:15:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:15:41 + sudo tee -a /etc/ssh/ssh_known_hosts 10:15:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:15:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:15:42 10:15:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:15:42 0.1.4: Pulling from edgex-devops/py-git-semver 10:15:42 b85a868b505f: Pulling fs layer 10:15:42 e2be974225ed: Pulling fs layer 10:15:42 339a4e72a1f5: Pulling fs layer 10:15:42 988bab9f4d93: Pulling fs layer 10:15:42 1469e6f7b9e6: Pulling fs layer 10:15:42 eaf3925da568: Pulling fs layer 10:15:42 bab4dde63d76: Pulling fs layer 10:15:42 bde34c3a00c8: Pulling fs layer 10:15:42 b352a97aabf1: Pulling fs layer 10:15:42 4872d77fe225: Pulling fs layer 10:15:42 5851b861e8e6: Pulling fs layer 10:15:42 988bab9f4d93: Waiting 10:15:42 1469e6f7b9e6: Waiting 10:15:42 eaf3925da568: Waiting 10:15:42 bab4dde63d76: Waiting 10:15:42 bde34c3a00c8: Waiting 10:15:42 b352a97aabf1: Waiting 10:15:42 4872d77fe225: Waiting 10:15:42 5851b861e8e6: Waiting 10:15:42 e2be974225ed: Download complete 10:15:42 988bab9f4d93: Verifying Checksum 10:15:42 988bab9f4d93: Download complete 10:15:42 339a4e72a1f5: Verifying Checksum 10:15:42 339a4e72a1f5: Download complete 10:15:42 1469e6f7b9e6: Verifying Checksum 10:15:42 1469e6f7b9e6: Download complete 10:15:42 eaf3925da568: Download complete 10:15:42 bde34c3a00c8: Verifying Checksum 10:15:42 bde34c3a00c8: Download complete 10:15:42 b352a97aabf1: Verifying Checksum 10:15:42 b352a97aabf1: Download complete 10:15:42 4872d77fe225: Verifying Checksum 10:15:42 4872d77fe225: Download complete 10:15:42 5851b861e8e6: Download complete 10:15:42 b85a868b505f: Verifying Checksum 10:15:42 b85a868b505f: Download complete 10:15:43 bab4dde63d76: Verifying Checksum 10:15:43 bab4dde63d76: Download complete 10:15:44 b85a868b505f: Pull complete 10:15:44 e2be974225ed: Pull complete 10:15:44 339a4e72a1f5: Pull complete 10:15:44 988bab9f4d93: Pull complete 10:15:45 1469e6f7b9e6: Pull complete 10:15:45 eaf3925da568: Pull complete 10:15:47 bab4dde63d76: Pull complete 10:15:47 bde34c3a00c8: Pull complete 10:15:47 b352a97aabf1: Pull complete 10:15:47 4872d77fe225: Pull complete 10:15:47 5851b861e8e6: Pull complete 10:15:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:15:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:47 prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container 10:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@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 10:15:50 $ docker top 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d -eo pid,comm 10:15:50 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). 10:15:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:15:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:15:50 [ssh-agent] Looking for ssh-agent implementation... 10:15:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:15:50 $ docker exec 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent 10:15:51 SSH_AUTH_SOCK=/tmp/ssh-KxWNxsxt1wlN/agent.33 10:15:51 SSH_AGENT_PID=39 10:15:51 Running ssh-add (command line suppressed) 10:15:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_4537220675809817766.key (/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_4537220675809817766.key) 10:15:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:15:51 + git tag --points-at HEAD [Pipeline] } 10:15:51 $ docker exec --env ******** --env ******** 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent -k 10:15:51 unset SSH_AUTH_SOCK; 10:15:51 unset SSH_AGENT_PID; 10:15:51 echo Agent pid 39 killed; 10:15:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:15:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:15:51 [ssh-agent] Looking for ssh-agent implementation... 10:15:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:15:51 $ docker exec 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent 10:15:51 SSH_AUTH_SOCK=/tmp/ssh-mJIwtiE2CtOJ/agent.71 10:15:51 SSH_AGENT_PID=77 10:15:51 Running ssh-add (command line suppressed) 10:15:52 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_13180973907809864151.key (/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_13180973907809864151.key) 10:15:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:15:52 + git semver init 10:15:52 2022-10-07 10:15:52,568 [run_init] DEBUG init version:0.0.0 force:False 10:15:52 2022-10-07 10:15:52,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver 10:15:52 2022-10-07 10:15:52,569 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver 10:15:52 2022-10-07 10:15:52,569 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-420, universal_newlines=False, shell=None, istream=None) 10:15:53 2022-10-07 10:15:53,523 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.git/info/exclude 10:15:53 2022-10-07 10:15:53,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver/PR-420 with force:False 10:15:53 2022-10-07 10:15:53,524 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver/PR-420 10:15:53 2022-10-07 10:15:53,528 [execute] INFO git cat-file --batch-check 10:15:53 2022-10-07 10:15:53,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) 10:15:53 2022-10-07 10:15:53,534 [execute] INFO git cat-file --batch 10:15:53 2022-10-07 10:15:53,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) 10:15:53 2022-10-07 10:15:53,540 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver/PR-420 10:15:53 0.0.0 [Pipeline] } 10:15:53 $ docker exec --env ******** --env ******** 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent -k 10:15:53 unset SSH_AUTH_SOCK; 10:15:53 unset SSH_AGENT_PID; 10:15:53 echo Agent pid 77 killed; 10:15:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:15:54 + git semver [Pipeline] } 10:15:54 $ docker stop --time=1 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d 10:15:55 $ docker rm -f 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d [Pipeline] // withDockerContainer [Pipeline] sh 10:15:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:15:56 Stashed 1 file(s) [Pipeline] echo 10:15:56 [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 10:15:56 provisioning config files... 10:15:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config8524399472384931582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:57 ---> docker-login.sh 10:15:57 nexus3.edgexfoundry.org:10001 10:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:57 Configure a credential helper to remove this warning. See 10:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:57 10:15:57 Login Succeeded 10:15:57 nexus3.edgexfoundry.org:10002 10:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:57 Configure a credential helper to remove this warning. See 10:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:57 10:15:57 Login Succeeded 10:15:57 nexus3.edgexfoundry.org:10003 10:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:57 Configure a credential helper to remove this warning. See 10:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:57 10:15:57 Login Succeeded 10:15:57 nexus3.edgexfoundry.org:10004 10:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:57 Configure a credential helper to remove this warning. See 10:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:57 10:15:57 Login Succeeded 10:15:57 docker.io 10:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:58 Configure a credential helper to remove this warning. See 10:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:58 10:15:58 Login Succeeded 10:15:58 ---> docker-login.sh ends [Pipeline] } 10:15:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:15:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:58 ========================================================= 10:15:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:15:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:58 + 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 . 10:15:58 Sending build context to Docker daemon 6.15MB 10:15:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:15:58 Step 2/13 : FROM ${BASE} AS builder 10:15:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:15:58 2408cc74d12b: Pulling fs layer 10:15:58 ea60b727a1ce: Pulling fs layer 10:15:58 30c4a7721957: Pulling fs layer 10:15:58 370296b7ddb6: Pulling fs layer 10:15:58 7c6cee850709: Pulling fs layer 10:15:58 aa9baa53a306: Pulling fs layer 10:15:58 8b309c321861: Pulling fs layer 10:15:58 d8d76fd02f46: Pulling fs layer 10:15:58 fa31f396de31: Pulling fs layer 10:15:58 aa9baa53a306: Waiting 10:15:58 8b309c321861: Waiting 10:15:58 d8d76fd02f46: Waiting 10:15:58 fa31f396de31: Waiting 10:15:58 370296b7ddb6: Waiting 10:15:58 7c6cee850709: Waiting 10:15:58 30c4a7721957: Verifying Checksum 10:15:58 30c4a7721957: Download complete 10:15:58 ea60b727a1ce: Verifying Checksum 10:15:58 ea60b727a1ce: Download complete 10:15:58 7c6cee850709: Verifying Checksum 10:15:58 7c6cee850709: Download complete 10:15:59 aa9baa53a306: Download complete 10:15:59 2408cc74d12b: Download complete 10:15:59 8b309c321861: Verifying Checksum 10:15:59 8b309c321861: Download complete 10:15:59 2408cc74d12b: Pull complete 10:15:59 ea60b727a1ce: Pull complete 10:15:59 30c4a7721957: Pull complete 10:15:59 fa31f396de31: Verifying Checksum 10:15:59 fa31f396de31: Download complete 10:15:59 d8d76fd02f46: Verifying Checksum 10:15:59 d8d76fd02f46: Download complete 10:15:59 370296b7ddb6: Download complete 10:16:04 370296b7ddb6: Pull complete 10:16:04 7c6cee850709: Pull complete 10:16:04 aa9baa53a306: Pull complete 10:16:04 8b309c321861: Pull complete 10:16:05 d8d76fd02f46: Pull complete 10:16:06 fa31f396de31: Pull complete 10:16:06 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:16:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:16:06 ---> cef68f9685f8 10:16:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:16:11 Still waiting to schedule task 10:16:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7315’ is offline 10:16:12 ---> Running in f8ddd9cf97e7 10:16:12 Removing intermediate container f8ddd9cf97e7 10:16:12 ---> 61d443d8bfc7 10:16:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:16:12 ---> Running in 89783affda69 10:16:12 Removing intermediate container 89783affda69 10:16:12 ---> b95cb1addcf6 10:16:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:16:12 ---> Running in 62f554978045 10:16:12 Removing intermediate container 62f554978045 10:16:12 ---> 26785350ece8 10:16:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:16:12 ---> Running in 3284d1ac59c1 10:16:12 Removing intermediate container 3284d1ac59c1 10:16:12 ---> 3b178d0d87c3 10:16:12 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:16:12 ---> Running in 88cc106055b5 10:16:13 Removing intermediate container 88cc106055b5 10:16:13 ---> 569d5d92ab5e 10:16:13 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:16:13 ---> Running in 2c504c83ba4f 10:16:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:16:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:16:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:16:14 (2/4) Installing libedit (20210910.3.1-r0) 10:16:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:16:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:16:15 Executing busybox-1.35.0-r13.trigger 10:16:15 OK: 216 MiB in 55 packages 10:16:15 Removing intermediate container 2c504c83ba4f 10:16:15 ---> 5b0d836f1d03 10:16:15 Step 9/13 : WORKDIR /device-mqtt-go 10:16:15 ---> Running in 7b4b6d15caee 10:16:15 Removing intermediate container 7b4b6d15caee 10:16:15 ---> 1065259b7bcc 10:16:15 Step 10/13 : COPY go.mod vendor* ./ 10:16:15 ---> 5aff33e09e65 10:16:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:16:15 ---> Running in 40f2735c8a08 10:16:42 Removing intermediate container 40f2735c8a08 10:16:42 ---> f8f5cc89f020 10:16:42 Step 12/13 : COPY . . 10:16:42 ---> 7f7d2f648ca7 10:16:42 Step 13/13 : RUN $MAKE 10:16:42 ---> Running in 38bd1f3b02fe 10:16:42 noop 10:16:42 Removing intermediate container 38bd1f3b02fe 10:16:42 ---> 2c3d1f977b8d 10:16:42 Successfully built 2c3d1f977b8d 10:16:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:42 + docker inspect -f . ci-base-image-x86_64 10:16:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:43 prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container 10:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@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 10:16:43 $ docker top b404ce05a1bc2dcc5879fbd4b7ec3b497249d4c9e10a92a376731e54cbf81d6b -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:43 + go version 10:16:43 go version go1.18.3 linux/amd64 [Pipeline] } 10:16:43 $ docker stop --time=1 b404ce05a1bc2dcc5879fbd4b7ec3b497249d4c9e10a92a376731e54cbf81d6b 10:16:45 $ docker rm -f b404ce05a1bc2dcc5879fbd4b7ec3b497249d4c9e10a92a376731e54cbf81d6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:45 + docker inspect -f . ci-base-image-x86_64 10:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:46 prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container 10:16:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@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 10:16:46 $ docker top db522736822814c1a1f0ced081676d108468617f82ac6db5ed118a6cdc38892c -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-420 [Pipeline] fileExists [Pipeline] sh 10:16:47 + make test 10:16:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:16:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:16:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:16:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 10:16:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:17:05 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." 10:17:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:17:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:17:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:17:08 ./bin/test-attribution-txt.sh [Pipeline] echo 10:17:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:17:08 $ docker stop --time=1 db522736822814c1a1f0ced081676d108468617f82ac6db5ed118a6cdc38892c 10:17:11 $ docker rm -f db522736822814c1a1f0ced081676d108468617f82ac6db5ed118a6cdc38892c [Pipeline] // withDockerContainer [Pipeline] sh 10:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:17:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:17:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:17:12 + ls -al . 10:17:12 total 184 10:17:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 10:16 . 10:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:15 .. 10:17:12 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 10:15 .dockerignore 10:17:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:16 .git 10:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:15 .github 10:17:12 -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 10:15 .gitignore 10:17:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 10:15 .golangci.yml 10:17:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:15 .semver 10:17:12 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 7 10:15 Attribution.txt 10:17:12 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 7 10:15 CHANGELOG.md 10:17:12 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 7 10:15 Dockerfile 10:17:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:15 GOVERNANCE.md 10:17:12 -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 10:15 Jenkinsfile 10:17:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 10:15 LICENSE 10:17:12 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 7 10:15 Makefile 10:17:12 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 10:15 OWNERS.md 10:17:12 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 7 10:15 README.md 10:17:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:15 VERSION 10:17:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:15 bin 10:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:15 cmd 10:17:12 -rw-r--r-- 1 jenkins jenkins 17887 Oct 7 10:16 coverage.out 10:17:12 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 7 10:15 go.mod 10:17:12 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 7 10:15 go.sum 10:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:15 internal 10:17:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:15 mock 10:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:15 snap 10:17:12 -rw-rw-r-- 1 jenkins jenkins 227 Oct 7 10:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:13 + 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=c855e4505beb1c3beede59cebacc0914420eb1f9 --label arch=amd64 --label version=0.0.0 . 10:17:13 Sending build context to Docker daemon 6.169MB 10:17:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:17:13 Step 2/25 : FROM ${BASE} AS builder 10:17:13 ---> 2c3d1f977b8d 10:17:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:17:13 ---> Running in 0b896712d536 10:17:13 Removing intermediate container 0b896712d536 10:17:13 ---> ff10f16c5313 10:17:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:17:13 ---> Running in 854ba2db28a8 10:17:13 Removing intermediate container 854ba2db28a8 10:17:13 ---> 9f066939cb8d 10:17:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:17:13 ---> Running in 17f78e9bb0b4 10:17:13 Removing intermediate container 17f78e9bb0b4 10:17:13 ---> 0e5c1699275f 10:17:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:17:13 ---> Running in 7a9b17b61f3f 10:17:13 Removing intermediate container 7a9b17b61f3f 10:17:13 ---> 0d8c2252e911 10:17:13 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:13 ---> Running in a2f5cd3c649d 10:17:14 Removing intermediate container a2f5cd3c649d 10:17:14 ---> 2f0ac5f999e5 10:17:14 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:17:14 ---> Running in 84a7e91d8123 10:17:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:17:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:17:15 OK: 216 MiB in 55 packages 10:17:15 Removing intermediate container 84a7e91d8123 10:17:15 ---> e8f3647aa756 10:17:15 Step 9/25 : WORKDIR /device-mqtt-go 10:17:15 ---> Running in ac607799a1ab 10:17:15 Removing intermediate container ac607799a1ab 10:17:15 ---> 8ec1f5e3b641 10:17:15 Step 10/25 : COPY go.mod vendor* ./ 10:17:15 ---> 16fb2785f01a 10:17:15 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:17:15 ---> Running in 2b89dcaa969e 10:17:16 Removing intermediate container 2b89dcaa969e 10:17:16 ---> 41d3b75c261d 10:17:16 Step 12/25 : COPY . . 10:17:17 ---> 7bcc91ddc6d2 10:17:17 Step 13/25 : RUN $MAKE 10:17:17 ---> Running in ef1393ac1dd9 10:17:17 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 10:17:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7318 in /w/workspace/gexfoundry_device-mqtt-go_PR-420 [Pipeline] { [Pipeline] ws 10:17:43 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 10:17:43 Selected Git installation does not exist. Using Default 10:17:43 The recommended git tool is: NONE 10:17:43 Removing intermediate container ef1393ac1dd9 10:17:43 ---> 58cc0a362573 10:17:43 Step 14/25 : FROM alpine:3.16 10:17:43 3.16: Pulling from library/alpine 10:17:43 213ec9aee27d: Pulling fs layer 10:17:43 213ec9aee27d: Verifying Checksum 10:17:43 213ec9aee27d: Download complete 10:17:43 213ec9aee27d: Pull complete 10:17:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:17:43 Status: Downloaded newer image for alpine:3.16 10:17:43 ---> 9c6f07244728 10:17:43 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:17:43 ---> Running in 86b665344086 10:17:43 Removing intermediate container 86b665344086 10:17:43 ---> 4c68b974c530 10:17:43 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:17:43 ---> Running in 1cc6a492cd2a 10:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:17:43 (1/6) Installing dumb-init (1.2.5-r1) 10:17:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:17:43 (3/6) Installing libsodium (1.0.18-r0) 10:17:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:17:43 (5/6) Installing libzmq (4.3.4-r0) 10:17:43 (6/6) Installing zeromq (4.3.4-r0) 10:17:43 Executing busybox-1.35.0-r17.trigger 10:17:43 OK: 8 MiB in 20 packages 10:17:43 Removing intermediate container 1cc6a492cd2a 10:17:43 ---> 9084f72cf430 10:17:43 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 10:17:43 ---> 7136f82a3b85 10:17:43 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 10:17:43 ---> f90964eed5f7 10:17:43 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:17:43 ---> fcee75f454a9 10:17:43 Step 20/25 : EXPOSE 59982 10:17:43 ---> Running in 82b75a80d852 10:17:43 Removing intermediate container 82b75a80d852 10:17:43 ---> 1cda598fea85 10:17:43 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 10:17:43 ---> Running in 60f835787f67 10:17:43 Removing intermediate container 60f835787f67 10:17:43 ---> 6c15fdce1e0e 10:17:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:17:43 ---> Running in fb570f65afb8 10:17:43 Removing intermediate container fb570f65afb8 10:17:43 ---> 7e2cbc16f704 10:17:43 Step 23/25 : LABEL arch=amd64 10:17:43 ---> Running in 9eaf5600606e 10:17:44 Removing intermediate container 9eaf5600606e 10:17:44 ---> 8f7e9736b34c 10:17:44 Step 24/25 : LABEL git_sha=c855e4505beb1c3beede59cebacc0914420eb1f9 10:17:44 ---> Running in d63e7f9012bd 10:17:44 Removing intermediate container d63e7f9012bd 10:17:44 ---> b8c2a68840c0 10:17:44 Step 25/25 : LABEL version=0.0.0 10:17:44 ---> Running in 4d6539c63ca8 10:17:44 Removing intermediate container 4d6539c63ca8 10:17:44 ---> 563ff35bc9a9 10:17:44 [Warning] One or more build-args [ARCH] were not consumed 10:17:44 Successfully built 563ff35bc9a9 10:17:44 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 10:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:45 10:17:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:45 latest: Pulling from edgex-lftools-log-publisher 10:17:45 5eb5b503b376: Pulling fs layer 10:17:45 5c69ac0246d0: Pulling fs layer 10:17:45 ec43610c2a17: Pulling fs layer 10:17:45 3a2ae6a8a46f: Pulling fs layer 10:17:45 33b1e0a273af: Pulling fs layer 10:17:45 5d3b04190fa2: Pulling fs layer 10:17:45 2f39f015ded8: Pulling fs layer 10:17:45 5d3b04190fa2: Waiting 10:17:45 3a2ae6a8a46f: Waiting 10:17:45 2f39f015ded8: Waiting 10:17:45 33b1e0a273af: Waiting 10:17:45 5c69ac0246d0: Download complete 10:17:45 3a2ae6a8a46f: Verifying Checksum 10:17:45 3a2ae6a8a46f: Download complete 10:17:45 33b1e0a273af: Verifying Checksum 10:17:45 33b1e0a273af: Download complete 10:17:45 5d3b04190fa2: Verifying Checksum 10:17:45 5d3b04190fa2: Download complete 10:17:45 ec43610c2a17: Verifying Checksum 10:17:45 ec43610c2a17: Download complete 10:17:45 5eb5b503b376: Verifying Checksum 10:17:45 5eb5b503b376: Download complete 10:17:46 2f39f015ded8: Download complete 10:17:46 5eb5b503b376: Pull complete 10:17:46 5c69ac0246d0: Pull complete 10:17:47 ec43610c2a17: Pull complete 10:17:47 3a2ae6a8a46f: Pull complete 10:17:47 33b1e0a273af: Pull complete 10:17:47 5d3b04190fa2: Pull complete 10:17:48 using credential edgex-jenkins-ssh 10:17:48 Cloning the remote Git repository 10:17:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:17:48 > git init /w/workspace/device-mqtt-go/1 # timeout=10 10:17:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:17:48 > git --version # timeout=10 10:17:48 > git --version # 'git version 2.25.1' 10:17:48 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:49 Verifying host key using known hosts file 10:17:49 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. 10:17:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:17:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:17:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:17:51 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:17:51 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:17:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:51 Verifying host key using known hosts file 10:17:51 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. 10:17:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:17:51 Merging remotes/origin/main commit c1f0bf142c77c6d86ff5b845358552b8abffa481 into PR head commit c855e4505beb1c3beede59cebacc0914420eb1f9 10:17:51 2f39f015ded8: Pull complete 10:17:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:17:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:52 Merge succeeded, producing c855e4505beb1c3beede59cebacc0914420eb1f9 10:17:52 Checking out Revision c855e4505beb1c3beede59cebacc0914420eb1f9 (PR-420) 10:17:52 prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container 10:17:52 $ 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-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@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 10:17:51 > git config core.sparsecheckout # timeout=10 10:17:51 > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # timeout=10 10:17:51 > git remote # timeout=10 10:17:51 > git config --get remote.origin.url # timeout=10 10:17:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:51 Verifying host key using known hosts file 10:17:51 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. 10:17:51 > git merge c1f0bf142c77c6d86ff5b845358552b8abffa481 # timeout=10 10:17:52 > git rev-parse HEAD^{commit} # timeout=10 10:17:52 > git config core.sparsecheckout # timeout=10 10:17:52 > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # timeout=10 10:17:55 Commit message: "fix(snap): Remove duplicate file copying in install hook " 10:17:55 > git --version # timeout=10 10:17:55 > git --version # 'git version 2.25.1' 10:17:55 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 10:17:55 10:17:55 GitHub has been notified of this commit’s build result 10:17:55 10:17:56 $ docker top e7dd8c9bb38420b51dd5775e3e1a2bfb30f0a6f3e693d2b7369a394af88cb878 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 10:17:57 ---> job-cost.sh 10:17:57 lf-activate-venv: SKIPPING 10:17:57 INFO: No Stack... [Pipeline] sh 10:17:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:17:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:17:57 % Total % Received % Xferd Average Speed Time Time Time Current 10:17:57 Dload Upload Total Spent Left Speed 10:17:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76375 0 --:--:-- --:--:-- --:--:-- 76841 10:17:57 INFO: Archiving Costs [Pipeline] sh 10:17:58 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives/cost.csv 10:17:58 + cut -d, -f6 [Pipeline] lock 10:17:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] 10:17:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] did not exist. Created. 10:17:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 10:17:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:17:58 + echo total: 0.2199999988079071 [Pipeline] stash 10:17:58 Stashed 1 file(s) [Pipeline] } 10:17:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:17:58 $ docker stop --time=1 e7dd8c9bb38420b51dd5775e3e1a2bfb30f0a6f3e693d2b7369a394af88cb878 10:17:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:17:59 + sudo tee /etc/docker/daemon.new 10:17:59 { 10:17:59 "registry-mirrors": [ 10:17:59 "https://nexus3.edgexfoundry.org:10001" 10:17:59 ], 10:17:59 "bip": "10.250.0.254/24", 10:17:59 "hosts": [ 10:17:59 "tcp://0.0.0.0:5555", 10:17:59 "unix:///var/run/docker.sock" 10:17:59 ], 10:17:59 "mtu": 1458, 10:17:59 "selinux-enabled": true, 10:17:59 "seccomp-profile": "/etc/docker/seccomp.json" 10:17:59 } 10:18:00 $ docker rm -f e7dd8c9bb38420b51dd5775e3e1a2bfb30f0a6f3e693d2b7369a394af88cb878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:18:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:18:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:19 provisioning config files... 10:18:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13762123690789215823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:19 ---> docker-login.sh 10:18:19 nexus3.edgexfoundry.org:10001 10:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:20 Configure a credential helper to remove this warning. See 10:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:20 10:18:20 Login Succeeded 10:18:20 nexus3.edgexfoundry.org:10002 10:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:20 Configure a credential helper to remove this warning. See 10:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:20 10:18:20 Login Succeeded 10:18:20 nexus3.edgexfoundry.org:10003 10:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:21 Configure a credential helper to remove this warning. See 10:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:21 10:18:21 Login Succeeded 10:18:21 nexus3.edgexfoundry.org:10004 10:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:21 Configure a credential helper to remove this warning. See 10:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:21 10:18:21 Login Succeeded 10:18:21 docker.io 10:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:21 Configure a credential helper to remove this warning. See 10:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:21 10:18:22 Login Succeeded 10:18:22 ---> docker-login.sh ends [Pipeline] } 10:18:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:22 ========================================================= 10:18:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:18:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:22 + 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 . 10:18:23 Sending build context to Docker daemon 3.181MB 10:18:23 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:18:23 Step 2/13 : FROM ${BASE} AS builder 10:18:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:18:23 b3c136eddcbf: Pulling fs layer 10:18:23 c0a3192eca97: Pulling fs layer 10:18:23 a050256f5b6f: Pulling fs layer 10:18:23 656be50a0ddc: Pulling fs layer 10:18:23 2bbca73fdf42: Pulling fs layer 10:18:23 f607e4fc86c3: Pulling fs layer 10:18:23 4d572c569a2c: Pulling fs layer 10:18:23 fcf976331f73: Pulling fs layer 10:18:23 f607e4fc86c3: Waiting 10:18:23 4d572c569a2c: Waiting 10:18:23 fcf976331f73: Waiting 10:18:23 656be50a0ddc: Waiting 10:18:23 2bbca73fdf42: Waiting 10:18:23 a050256f5b6f: Verifying Checksum 10:18:23 a050256f5b6f: Download complete 10:18:23 c0a3192eca97: Verifying Checksum 10:18:23 c0a3192eca97: Download complete 10:18:23 2bbca73fdf42: Verifying Checksum 10:18:23 2bbca73fdf42: Download complete 10:18:23 f607e4fc86c3: Verifying Checksum 10:18:23 f607e4fc86c3: Download complete 10:18:23 b3c136eddcbf: Verifying Checksum 10:18:23 b3c136eddcbf: Download complete 10:18:24 b3c136eddcbf: Pull complete 10:18:24 fcf976331f73: Verifying Checksum 10:18:24 fcf976331f73: Download complete 10:18:24 c0a3192eca97: Pull complete 10:18:25 a050256f5b6f: Pull complete 10:18:25 4d572c569a2c: Verifying Checksum 10:18:25 4d572c569a2c: Download complete 10:18:26 656be50a0ddc: Verifying Checksum 10:18:26 656be50a0ddc: Download complete 10:18:38 656be50a0ddc: Pull complete 10:18:38 2bbca73fdf42: Pull complete 10:18:38 f607e4fc86c3: Pull complete 10:18:44 4d572c569a2c: Pull complete 10:18:46 fcf976331f73: Pull complete 10:18:46 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:18:46 ---> 3970a7415f9e 10:18:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:18:48 ---> Running in 68658f02b429 10:18:48 Removing intermediate container 68658f02b429 10:18:48 ---> caff35b427b2 10:18:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:18:48 ---> Running in e071b4e580e4 10:18:48 Removing intermediate container e071b4e580e4 10:18:48 ---> d2c89df5cec2 10:18:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:18:48 ---> Running in 0597e499329a 10:18:48 Removing intermediate container 0597e499329a 10:18:48 ---> 101cfbf28eac 10:18:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:18:48 ---> Running in d20dcfb25e0c 10:18:49 Removing intermediate container d20dcfb25e0c 10:18:49 ---> 1985791c5562 10:18:49 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:49 ---> Running in 305fe7226ac5 10:18:51 Removing intermediate container 305fe7226ac5 10:18:51 ---> 7150704a3114 10:18:51 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:51 ---> Running in 1b86d65425b3 10:18:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:18:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:18:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:18:54 (2/4) Installing libedit (20210910.3.1-r0) 10:18:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:18:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:18:54 Executing busybox-1.35.0-r13.trigger 10:18:54 OK: 226 MiB in 55 packages 10:18:55 Removing intermediate container 1b86d65425b3 10:18:55 ---> 0a6ca718367d 10:18:55 Step 9/13 : WORKDIR /device-mqtt-go 10:18:55 ---> Running in 878fdb9f5eb1 10:18:56 Removing intermediate container 878fdb9f5eb1 10:18:56 ---> b3497338f533 10:18:56 Step 10/13 : COPY go.mod vendor* ./ 10:18:56 ---> 8b1939fa95b1 10:18:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:56 ---> Running in d2d1fc9448f3 10:19:43 Removing intermediate container d2d1fc9448f3 10:19:43 ---> ed13368dd017 10:19:43 Step 12/13 : COPY . . 10:19:44 ---> 14601b324a04 10:19:44 Step 13/13 : RUN $MAKE 10:19:44 ---> Running in 980380543d86 10:19:45 noop 10:19:45 Removing intermediate container 980380543d86 10:19:45 ---> dedba1c4654c 10:19:45 Successfully built dedba1c4654c 10:19:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:46 + docker inspect -f . ci-base-image-arm64 10:19:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:46 prd-ubuntu20.04-docker-arm64-4c-16g-7318 does not seem to be running inside a container 10:19:46 $ 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 10:19:47 $ docker top ffcccaee0d06213188602540ec9e86351e121d09dce0488ac6a4ed034ac4acc1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:48 + go version 10:19:48 go version go1.18.3 linux/arm64 [Pipeline] } 10:19:48 $ docker stop --time=1 ffcccaee0d06213188602540ec9e86351e121d09dce0488ac6a4ed034ac4acc1 10:19:50 $ docker rm -f ffcccaee0d06213188602540ec9e86351e121d09dce0488ac6a4ed034ac4acc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:51 + docker inspect -f . ci-base-image-arm64 10:19:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-7318 does not seem to be running inside a container 10:19:51 $ 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 10:19:52 $ docker top bfc11ea2f95b32bda94e194369662bf8a7b842e7d3c081b9da01177e2d0df1ff -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 10:19:53 + make test 10:19:53 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:19:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:21:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:21:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements 10:21:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:21:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:21:31 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:21:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:21:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:21:44 ./bin/test-attribution-txt.sh [Pipeline] echo 10:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:21:44 $ docker stop --time=1 bfc11ea2f95b32bda94e194369662bf8a7b842e7d3c081b9da01177e2d0df1ff 10:21:46 $ docker rm -f bfc11ea2f95b32bda94e194369662bf8a7b842e7d3c081b9da01177e2d0df1ff [Pipeline] // withDockerContainer [Pipeline] sh 10:21:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:21:47 Warning: overwriting stash ‘coverage-report’ 10:21:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:21:48 + ls -al . 10:21:48 total 180 10:21:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:19 . 10:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:17 .. 10:21:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 10:17 .dockerignore 10:21:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:17 .git 10:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:17 .github 10:21:48 -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 10:17 .gitignore 10:21:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 10:17 .golangci.yml 10:21:48 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 7 10:17 Attribution.txt 10:21:48 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 7 10:17 CHANGELOG.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 7 10:17 Dockerfile 10:21:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:17 GOVERNANCE.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 10:17 Jenkinsfile 10:21:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 10:17 LICENSE 10:21:48 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 7 10:17 Makefile 10:21:48 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 10:17 OWNERS.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 7 10:17 README.md 10:21:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:15 VERSION 10:21:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:17 bin 10:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:17 cmd 10:21:48 -rw-r--r-- 1 jenkins jenkins 17887 Oct 7 10:21 coverage.out 10:21:48 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 7 10:17 go.mod 10:21:48 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 7 10:17 go.sum 10:21:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:17 internal 10:21:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:17 mock 10:21:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:17 snap 10:21:48 -rw-rw-r-- 1 jenkins jenkins 227 Oct 7 10:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:49 + 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=c855e4505beb1c3beede59cebacc0914420eb1f9 --label arch=arm64 --label version=0.0.0 . 10:21:49 Sending build context to Docker daemon 3.199MB 10:21:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:21:49 Step 2/25 : FROM ${BASE} AS builder 10:21:49 ---> dedba1c4654c 10:21:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:21:49 ---> Running in 65be1d85db76 10:21:49 Removing intermediate container 65be1d85db76 10:21:49 ---> 3eb64c530061 10:21:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:21:49 ---> Running in ebe9e8bbe74a 10:21:50 Removing intermediate container ebe9e8bbe74a 10:21:50 ---> a11f816b15a8 10:21:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:21:50 ---> Running in e095b355c8d7 10:21:50 Removing intermediate container e095b355c8d7 10:21:50 ---> 58b8bc4c7f2c 10:21:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:21:50 ---> Running in ca01156433f0 10:21:50 Removing intermediate container ca01156433f0 10:21:50 ---> 51ffb3b7b026 10:21:50 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:50 ---> Running in e7fa303ff21e 10:21:52 Removing intermediate container e7fa303ff21e 10:21:52 ---> fa24827dd872 10:21:52 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:52 ---> Running in b0fc3811bd09 10:21:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:21:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:21:55 OK: 226 MiB in 55 packages 10:21:56 Removing intermediate container b0fc3811bd09 10:21:56 ---> 83c15d2013c3 10:21:56 Step 9/25 : WORKDIR /device-mqtt-go 10:21:56 ---> Running in 05110a6ae147 10:21:56 Removing intermediate container 05110a6ae147 10:21:56 ---> 5891e7cfb452 10:21:56 Step 10/25 : COPY go.mod vendor* ./ 10:21:56 ---> 51245bdab320 10:21:56 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:57 ---> Running in 38b646506702 10:21:59 Removing intermediate container 38b646506702 10:21:59 ---> 3a786d6a275e 10:21:59 Step 12/25 : COPY . . 10:22:00 ---> f2a41b62690c 10:22:00 Step 13/25 : RUN $MAKE 10:22:00 ---> Running in bd146a3c3a52 10:22:01 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 10:24:53 Removing intermediate container bd146a3c3a52 10:24:53 ---> e0cc9e1ea71b 10:24:53 Step 14/25 : FROM alpine:3.16 10:24:53 3.16: Pulling from library/alpine 10:24:53 9b18e9b68314: Pulling fs layer 10:24:53 9b18e9b68314: Download complete 10:24:53 9b18e9b68314: Pull complete 10:24:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:24:53 Status: Downloaded newer image for alpine:3.16 10:24:53 ---> a6215f271958 10:24:53 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:24:53 ---> Running in e92fd64822c6 10:24:53 Removing intermediate container e92fd64822c6 10:24:53 ---> 19625135560d 10:24:53 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:24:53 ---> Running in 2464d72f256a 10:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:24:53 (1/6) Installing dumb-init (1.2.5-r1) 10:24:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:24:53 (3/6) Installing libsodium (1.0.18-r0) 10:24:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:24:53 (5/6) Installing libzmq (4.3.4-r0) 10:24:53 (6/6) Installing zeromq (4.3.4-r0) 10:24:53 Executing busybox-1.35.0-r17.trigger 10:24:53 OK: 8 MiB in 20 packages 10:24:53 Removing intermediate container 2464d72f256a 10:24:53 ---> 1ee37b753d7a 10:24:53 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 10:24:53 ---> 6f5e8662b80a 10:24:53 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 10:24:53 ---> 0470ec01bac7 10:24:53 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:24:53 ---> d7627afa33c1 10:24:53 Step 20/25 : EXPOSE 59982 10:24:53 ---> Running in 3a30b4618d63 10:24:53 Removing intermediate container 3a30b4618d63 10:24:53 ---> 6632294ffb6c 10:24:53 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 10:24:53 ---> Running in 8ba7f9ad7712 10:24:53 Removing intermediate container 8ba7f9ad7712 10:24:53 ---> 93353b320525 10:24:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:24:53 ---> Running in d530c0ef2443 10:24:53 Removing intermediate container d530c0ef2443 10:24:53 ---> 48dfa3571a04 10:24:53 Step 23/25 : LABEL arch=arm64 10:24:53 ---> Running in 4e055a674f82 10:24:53 Removing intermediate container 4e055a674f82 10:24:53 ---> 96524cf91e0b 10:24:53 Step 24/25 : LABEL git_sha=c855e4505beb1c3beede59cebacc0914420eb1f9 10:24:53 ---> Running in 856999cdd9b2 10:24:53 Removing intermediate container 856999cdd9b2 10:24:53 ---> 1971f8a52f71 10:24:53 Step 25/25 : LABEL version=0.0.0 10:24:53 ---> Running in 56dda52dacea 10:24:53 Removing intermediate container 56dda52dacea 10:24:53 ---> b4233dcac366 10:24:53 [Warning] One or more build-args [ARCH] were not consumed 10:24:53 Successfully built b4233dcac366 10:24:53 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 10:24:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:24:53 10:24:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:24:54 arm64: Pulling from edgex-lftools-log-publisher 10:24:54 8998bd30e6a1: Pulling fs layer 10:24:54 04944245beec: Pulling fs layer 10:24:54 699f458cf7ca: Pulling fs layer 10:24:54 765212b225bb: Pulling fs layer 10:24:54 f23df028b6ca: Pulling fs layer 10:24:54 d65c8cfc05b1: Pulling fs layer 10:24:54 2437ff75d9bd: Pulling fs layer 10:24:54 f23df028b6ca: Waiting 10:24:54 d65c8cfc05b1: Waiting 10:24:54 2437ff75d9bd: Waiting 10:24:54 765212b225bb: Waiting 10:24:54 04944245beec: Verifying Checksum 10:24:54 04944245beec: Download complete 10:24:54 765212b225bb: Download complete 10:24:54 f23df028b6ca: Download complete 10:24:54 d65c8cfc05b1: Verifying Checksum 10:24:54 d65c8cfc05b1: Download complete 10:24:54 699f458cf7ca: Verifying Checksum 10:24:54 699f458cf7ca: Download complete 10:24:55 8998bd30e6a1: Verifying Checksum 10:24:55 8998bd30e6a1: Download complete 10:24:57 2437ff75d9bd: Verifying Checksum 10:24:57 2437ff75d9bd: Download complete 10:24:59 8998bd30e6a1: Pull complete 10:24:59 04944245beec: Pull complete 10:25:00 699f458cf7ca: Pull complete 10:25:01 765212b225bb: Pull complete 10:25:01 f23df028b6ca: Pull complete 10:25:01 d65c8cfc05b1: Pull complete 10:25:16 2437ff75d9bd: Pull complete 10:25:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:25:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:17 prd-ubuntu20.04-docker-arm64-4c-16g-7318 does not seem to be running inside a container 10:25:17 $ 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 10:25:19 $ docker top 349704ec77a3c652b786f77966779fd3291acb19d745c36585c4700406cb09b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:20 ---> job-cost.sh 10:25:20 lf-activate-venv: SKIPPING 10:25:20 INFO: No Stack... 10:25:21 INFO: Retrieving Pricing Info for: v3-standard-4 10:25:22 INFO: Archiving Costs [Pipeline] sh 10:25:22 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 10:25:22 + cut -d, -f6 [Pipeline] lock 10:25:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] 10:25:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] did not exist. Created. 10:25:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:25:23 /w/workspace/device-mqtt-go/1@tmp/durable-c217ac22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:25:23 + echo total: 0.10999999940395355 [Pipeline] stash 10:25:23 Warning: overwriting stash ‘stack-cost’ 10:25:23 Stashed 1 file(s) [Pipeline] } 10:25:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:25:24 $ docker stop --time=1 349704ec77a3c652b786f77966779fd3291acb19d745c36585c4700406cb09b9 10:25:25 $ docker rm -f 349704ec77a3c652b786f77966779fd3291acb19d745c36585c4700406cb09b9 [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 10:25:26 provisioning config files... 10:25:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config6803494319917500765tmp [Pipeline] { [Pipeline] sh 10:25:26 + set +x 10:25:26 + curl -s https://codecov.io/bash 10:25:26 + bash -s -- 10:25:26 10:25:26 _____ _ 10:25:26 / ____| | | 10:25:26 | | ___ __| | ___ ___ _____ __ 10:25:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:25:26 | |___| (_) | (_| | __/ (_| (_) \ V / 10:25:26 \_____\___/ \__,_|\___|\___\___/ \_/ 10:25:26 Bash-1.0.6 10:25:26 10:25:26 10:25:26 ==> git version 2.25.1 found 10:25:26 ==> 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 10:25:26 Release-Date: 2020-01-08 10:25:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:25:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:25:26 ==> Jenkins CI detected. 10:25:26 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-420 10:25:26 project root: . 10:25:26 --> token set from env 10:25:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:25:26 ==> Running gcov in . (disable via -X gcov) 10:25:26 ==> Python coveragepy not found 10:25:26 ==> Searching for coverage reports in: 10:25:26 + . 10:25:26 -> Found 1 reports 10:25:26 ==> Detecting git/mercurial file structure 10:25:26 ==> Reading reports 10:25:26 + ./coverage.out bytes=17887 10:25:26 ==> Appending adjustments 10:25:26 https://docs.codecov.io/docs/fixing-reports 10:25:27 + Found adjustments 10:25:27 ==> Gzipping contents 10:25:27 4.0K /tmp/codecov.urM6Sy.gz 10:25:27 ==> Uploading reports 10:25:27 url: https://codecov.io 10:25:27 query: branch=PR-420&commit=c855e4505beb1c3beede59cebacc0914420eb1f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=420&job=&cmd_args= 10:25:27 -> Pinging Codecov 10:25:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-420&commit=c855e4505beb1c3beede59cebacc0914420eb1f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=420&job=&cmd_args= 10:25:27 -> Uploading to 10:25:27 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/7D719EC7BBE17E464838252E33014C33/c855e4505beb1c3beede59cebacc0914420eb1f9/75640f27-9fbe-41e2-805d-77884e0a15b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T102527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6f80fb563b15d98694550b1bb012f66e7950f7cde2057eee1bf6f09462bf09b 10:25:27 % Total % Received % Xferd Average Speed Time Time Time Current 10:25:27 Dload Upload Total Spent Left Speed 10:25:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15242 --:--:-- --:--:-- --:--:-- 15242 10:25:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] } 10:25:27 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 10:25:29 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives ] 10:25:29 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives 10:25:29 total 16 10:25:29 drwxr-xr-x 3 root root 4096 Oct 7 10:17 . 10:25:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:17 .. 10:25:29 drwxr-xr-x 2 root root 4096 Oct 7 10:17 cost 10:25:29 -rw-r--r-- 1 root root 86 Oct 7 10:17 cost.csv 10:25:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives 10:25:29 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives 10:25:29 total 16 10:25:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:17 . 10:25:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:17 .. 10:25:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 10:17 cost 10:25:29 -rw-r--r-- 1 jenkins jenkins 86 Oct 7 10:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:25:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:25:30 ---> package-listing.sh 10:25:30 ++ facter osfamily 10:25:30 ++ tr '[:upper:]' '[:lower:]' 10:25:30 + OS_FAMILY=debian 10:25:30 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-420 10:25:30 + START_PACKAGES=/tmp/packages_start.txt 10:25:30 + END_PACKAGES=/tmp/packages_end.txt 10:25:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:25:30 + PACKAGES=/tmp/packages_start.txt 10:25:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-420 ']' 10:25:30 + PACKAGES=/tmp/packages_end.txt 10:25:30 + case "${OS_FAMILY}" in 10:25:30 + dpkg -l 10:25:30 + grep '^ii' 10:25:30 + '[' -f /tmp/packages_start.txt ']' 10:25:30 + '[' -f /tmp/packages_end.txt ']' 10:25:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:25:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-420 ']' 10:25:30 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives/ 10:25:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives/ [Pipeline] echo 10:25:30 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-420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:25:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:25:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:31 prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container 10:25:31 $ 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-420/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-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@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 10:25:32 $ docker top 8f4f8e4daf677b99a94be87945697242152525bba2a56f6c48f72390ae12cf33 -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:32 + touch /tmp/pre-build-complete [Pipeline] sh 10:25:32 + mkdir -p /var/log/sysstat [Pipeline] sh 10:25:33 + ls /var/log/sa-host 10:25:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:33 provisioning config files... 10:25:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config3692166362261481837tmp [Pipeline] { [Pipeline] echo 10:25:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:25:33 ---> create-netrc.sh [Pipeline] } 10:25:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:25:34 ---> python-tools-install.sh [Pipeline] echo 10:25:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:25:34 ---> sudo-logs.sh 10:25:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:25:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:25:34 ---> job-cost.sh 10:25:34 lf-activate-venv: SKIPPING 10:25:34 DEBUG: total: 0.2199999988079071 10:25:34 INFO: Retrieving Stack Cost... 10:25:35 INFO: Retrieving Pricing Info for: v3-standard-8 10:25:35 INFO: Archiving Costs [Pipeline] echo 10:25:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:25:36 ---> logs-deploy.sh 10:25:36 lf-activate-venv: SKIPPING 10:25:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-420/1 10:25:36 INFO: archiving workspace using pattern(s): 10:25:36 Archives upload complete. 10:25:37 INFO: archiving logs to Nexus