Pull request #427 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe+6b3f84b720025cbd9914345d3acb7d77e6659599 (17ea0e06e88adb10eb7f059f28e91dc272fc11a4) 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-ssh9086192656136446254.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13090820626924108582.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-427/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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14627510743779050946.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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3549202035960693405.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh10612288646597503293.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-427/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-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16013050958096030832.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8927 in /w/workspace/gexfoundry_device-mqtt-go_PR-427 [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-427 # 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/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe Merge succeeded, producing 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe Checking out Revision 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe (PR-427) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:32:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:32:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:32:38 ========================================================= 01:32:38 EdgeX Global Pipelines Version Info 01:32:38 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # 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 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # timeout=10 [Pipeline] sh 01:32:38 ------------------- 01:32:38 stable info: 01:32:38 ------------------- 01:32:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:32:38 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:32:38 Message: update stable to v1.0.243 01:32:39 ------------------- 01:32:39 experimental info: 01:32:39 ------------------- 01:32:39 Commited By: **** collab-it+edgex@linuxfoundation.org 01:32:39 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:32:39 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo 01:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo 01:32:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo 01:32:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo 01:32:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f7b4fd [Pipeline] echo 01:32:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:41 provisioning config files... 01:32:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config14409205215393753041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:41 ---> docker-login.sh 01:32:41 nexus3.edgexfoundry.org:10001 01:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:41 Configure a credential helper to remove this warning. See 01:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:41 01:32:41 Login Succeeded 01:32:41 nexus3.edgexfoundry.org:10002 01:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:42 Configure a credential helper to remove this warning. See 01:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:42 01:32:42 Login Succeeded 01:32:42 nexus3.edgexfoundry.org:10003 01:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:42 Configure a credential helper to remove this warning. See 01:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:42 01:32:42 Login Succeeded 01:32:42 nexus3.edgexfoundry.org:10004 01:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:42 Configure a credential helper to remove this warning. See 01:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:42 01:32:42 Login Succeeded 01:32:42 docker.io 01:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:42 Configure a credential helper to remove this warning. See 01:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:42 01:32:42 Login Succeeded 01:32:42 ---> docker-login.sh ends [Pipeline] } 01:32:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:32:43 + git rev-list -1 --merges 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe~1..3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo 01:32:43 -----------> git rev-list -1 --merges 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe~1..3f7b4fdd431f9c83e0014847f172b7a9acbb09fe 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [false] [Pipeline] sh 01:32:43 + git log --format=format:%s -1 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo 01:32:43 ========================================================= 01:32:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:32:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:44 + git log --format=format:%s -1 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo 01:32:44 [semverPrep] GIT_COMMIT: 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:32:44 [semverPrep] This is not a build commit. [Pipeline] sh 01:32:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:44 + grep -v github /etc/ssh/ssh_known_hosts 01:32:44 + [ -e /tmp/ssh_known_hosts ] 01:32:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:32:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:32:44 + sudo tee -a /etc/ssh/ssh_known_hosts 01:32:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:44 01:32:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:45 0.1.4: Pulling from edgex-devops/py-git-semver 01:32:45 b85a868b505f: Pulling fs layer 01:32:45 e2be974225ed: Pulling fs layer 01:32:45 339a4e72a1f5: Pulling fs layer 01:32:45 988bab9f4d93: Pulling fs layer 01:32:45 1469e6f7b9e6: Pulling fs layer 01:32:45 eaf3925da568: Pulling fs layer 01:32:45 bab4dde63d76: Pulling fs layer 01:32:45 bde34c3a00c8: Pulling fs layer 01:32:45 b352a97aabf1: Pulling fs layer 01:32:45 4872d77fe225: Pulling fs layer 01:32:45 5851b861e8e6: Pulling fs layer 01:32:45 1469e6f7b9e6: Waiting 01:32:45 eaf3925da568: Waiting 01:32:45 5851b861e8e6: Waiting 01:32:45 bab4dde63d76: Waiting 01:32:45 bde34c3a00c8: Waiting 01:32:45 b352a97aabf1: Waiting 01:32:45 988bab9f4d93: Waiting 01:32:45 4872d77fe225: Waiting 01:32:45 e2be974225ed: Download complete 01:32:45 988bab9f4d93: Download complete 01:32:45 1469e6f7b9e6: Verifying Checksum 01:32:45 1469e6f7b9e6: Download complete 01:32:45 339a4e72a1f5: Verifying Checksum 01:32:45 339a4e72a1f5: Download complete 01:32:45 eaf3925da568: Download complete 01:32:45 bde34c3a00c8: Download complete 01:32:45 b352a97aabf1: Verifying Checksum 01:32:45 b352a97aabf1: Download complete 01:32:45 4872d77fe225: Download complete 01:32:45 5851b861e8e6: Verifying Checksum 01:32:45 5851b861e8e6: Download complete 01:32:45 b85a868b505f: Verifying Checksum 01:32:45 b85a868b505f: Download complete 01:32:45 bab4dde63d76: Verifying Checksum 01:32:45 bab4dde63d76: Download complete 01:32:46 b85a868b505f: Pull complete 01:32:47 e2be974225ed: Pull complete 01:32:47 339a4e72a1f5: Pull complete 01:32:47 988bab9f4d93: Pull complete 01:32:47 1469e6f7b9e6: Pull complete 01:32:47 eaf3925da568: Pull complete 01:32:49 bab4dde63d76: Pull complete 01:32:49 bde34c3a00c8: Pull complete 01:32:49 b352a97aabf1: Pull complete 01:32:50 4872d77fe225: Pull complete 01:32:50 5851b861e8e6: Pull complete 01:32:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:32:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:50 prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container 01:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:32:51 $ docker top 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 -eo pid,comm 01:32:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:32:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:51 [ssh-agent] Looking for ssh-agent implementation... 01:32:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:51 $ docker exec 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent 01:32:52 SSH_AUTH_SOCK=/tmp/ssh-lJaoWPRMQLdm/agent.32 01:32:52 SSH_AGENT_PID=38 01:32:52 Running ssh-add (command line suppressed) 01:32:52 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_15625097507348864422.key (/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_15625097507348864422.key) 01:32:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:52 + git tag --points-at HEAD [Pipeline] } 01:32:52 $ docker exec --env ******** --env ******** 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent -k 01:32:52 unset SSH_AUTH_SOCK; 01:32:52 unset SSH_AGENT_PID; 01:32:52 echo Agent pid 38 killed; 01:32:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:32:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:52 [ssh-agent] Looking for ssh-agent implementation... 01:32:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:52 $ docker exec 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent 01:32:52 SSH_AUTH_SOCK=/tmp/ssh-LWo13aEuEet5/agent.70 01:32:52 SSH_AGENT_PID=76 01:32:52 Running ssh-add (command line suppressed) 01:32:53 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_3430347990697631199.key (/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_3430347990697631199.key) 01:32:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:53 + git semver init 01:32:53 2022-10-24 01:32:53,646 [run_init] DEBUG init version:0.0.0 force:False 01:32:53 2022-10-24 01:32:53,647 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver 01:32:53 2022-10-24 01:32:53,648 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver 01:32:53 2022-10-24 01:32:53,648 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-427, universal_newlines=False, shell=None, istream=None) 01:32:55 2022-10-24 01:32:54,937 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.git/info/exclude 01:32:55 2022-10-24 01:32:54,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver/PR-427 with force:False 01:32:55 2022-10-24 01:32:54,938 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver/PR-427 01:32:55 2022-10-24 01:32:54,942 [execute] INFO git cat-file --batch-check 01:32:55 2022-10-24 01:32:54,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) 01:32:55 2022-10-24 01:32:54,950 [execute] INFO git cat-file --batch 01:32:55 2022-10-24 01:32:54,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) 01:32:55 2022-10-24 01:32:54,957 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver/PR-427 01:32:55 0.0.0 [Pipeline] } 01:32:55 $ docker exec --env ******** --env ******** 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent -k 01:32:55 unset SSH_AUTH_SOCK; 01:32:55 unset SSH_AGENT_PID; 01:32:55 echo Agent pid 76 killed; 01:32:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:55 + git semver [Pipeline] } 01:32:55 $ docker stop --time=1 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 01:32:57 $ docker rm -f 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:32:57 Stashed 1 file(s) [Pipeline] echo 01:32:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:58 provisioning config files... 01:32:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config13150759751033856073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:58 ---> docker-login.sh 01:32:58 nexus3.edgexfoundry.org:10001 01:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:58 Configure a credential helper to remove this warning. See 01:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:58 01:32:58 Login Succeeded 01:32:58 nexus3.edgexfoundry.org:10002 01:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:58 Configure a credential helper to remove this warning. See 01:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:58 01:32:58 Login Succeeded 01:32:58 nexus3.edgexfoundry.org:10003 01:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:59 Configure a credential helper to remove this warning. See 01:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:59 01:32:59 Login Succeeded 01:32:59 nexus3.edgexfoundry.org:10004 01:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:59 Configure a credential helper to remove this warning. See 01:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:59 01:32:59 Login Succeeded 01:32:59 docker.io 01:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:59 Configure a credential helper to remove this warning. See 01:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:59 01:32:59 Login Succeeded 01:32:59 ---> docker-login.sh ends [Pipeline] } 01:32:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:00 ========================================================= 01:33:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:33:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:00 + 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 . 01:33:00 Sending build context to Docker daemon 6.195MB 01:33:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:33:00 Step 2/13 : FROM ${BASE} AS builder 01:33:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:33:00 213ec9aee27d: Pulling fs layer 01:33:00 4583459ba037: Pulling fs layer 01:33:00 93c1e223e6f2: Pulling fs layer 01:33:00 53926ce57604: Pulling fs layer 01:33:00 21b2b0c7a3f4: Pulling fs layer 01:33:00 30f14e443154: Pulling fs layer 01:33:00 801331c1e519: Pulling fs layer 01:33:00 99cc6dd402b0: Pulling fs layer 01:33:00 7d9ed39f4882: Pulling fs layer 01:33:00 99cc6dd402b0: Waiting 01:33:00 7d9ed39f4882: Waiting 01:33:00 30f14e443154: Waiting 01:33:00 801331c1e519: Waiting 01:33:00 53926ce57604: Waiting 01:33:00 21b2b0c7a3f4: Waiting 01:33:00 93c1e223e6f2: Download complete 01:33:00 4583459ba037: Verifying Checksum 01:33:00 4583459ba037: Download complete 01:33:00 21b2b0c7a3f4: Verifying Checksum 01:33:00 21b2b0c7a3f4: Download complete 01:33:00 30f14e443154: Download complete 01:33:00 213ec9aee27d: Verifying Checksum 01:33:00 213ec9aee27d: Download complete 01:33:00 801331c1e519: Download complete 01:33:00 213ec9aee27d: Pull complete 01:33:00 4583459ba037: Pull complete 01:33:00 93c1e223e6f2: Pull complete 01:33:01 7d9ed39f4882: Verifying Checksum 01:33:01 7d9ed39f4882: Download complete 01:33:01 99cc6dd402b0: Verifying Checksum 01:33:01 99cc6dd402b0: Download complete 01:33:01 53926ce57604: Verifying Checksum 01:33:01 53926ce57604: Download complete 01:33:05 53926ce57604: Pull complete 01:33:05 21b2b0c7a3f4: Pull complete 01:33:05 30f14e443154: Pull complete 01:33:05 801331c1e519: Pull complete 01:33:07 99cc6dd402b0: Pull complete 01:33:08 7d9ed39f4882: Pull complete 01:33:08 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:33:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:33:08 ---> 1dedd983c030 01:33:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:33:09 ---> Running in 98b3cd6b67bf 01:33:09 Removing intermediate container 98b3cd6b67bf 01:33:09 ---> d7f4d00a8e54 01:33:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:09 ---> Running in ba7c47a67e6d 01:33:09 Removing intermediate container ba7c47a67e6d 01:33:09 ---> 67135c5dca26 01:33:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:09 ---> Running in 1bd47015d8dd 01:33:10 Removing intermediate container 1bd47015d8dd 01:33:10 ---> 5722de87f0db 01:33:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:33:10 ---> Running in ce7aa8aabd16 01:33:10 Removing intermediate container ce7aa8aabd16 01:33:10 ---> cdc467263294 01:33:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:10 ---> Running in b7d6665171bf 01:33:10 Removing intermediate container b7d6665171bf 01:33:10 ---> 00c5f550485b 01:33:10 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:10 ---> Running in ed174053cf29 01:33:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:33:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:33:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:33:12 (2/4) Installing libedit (20210910.3.1-r0) 01:33:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:33:12 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:33:12 Executing busybox-1.35.0-r17.trigger 01:33:12 OK: 216 MiB in 55 packages 01:33:12 Removing intermediate container ed174053cf29 01:33:12 ---> 20911c27eb23 01:33:12 Step 9/13 : WORKDIR /device-mqtt-go 01:33:12 ---> Running in aed8735874e5 01:33:12 Removing intermediate container aed8735874e5 01:33:12 ---> aafe70440163 01:33:12 Step 10/13 : COPY go.mod vendor* ./ 01:33:13 ---> 3cb19c79a079 01:33:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:13 ---> Running in 3b2f9e881ab4 01:33:13 Still waiting to schedule task 01:33:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:28 Removing intermediate container 3b2f9e881ab4 01:33:28 ---> 4e25fe9ceb8f 01:33:28 Step 12/13 : COPY . . 01:33:28 ---> 3ae6889c242e 01:33:28 Step 13/13 : RUN $MAKE 01:33:28 ---> Running in ca20d1109648 01:33:28 noop 01:33:28 Removing intermediate container ca20d1109648 01:33:28 ---> bcc5036a54bd 01:33:28 Successfully built bcc5036a54bd 01:33:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:28 + docker inspect -f . ci-base-image-x86_64 01:33:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:29 prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container 01:33:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:33:29 $ docker top 482b9e331f258b59dd97d5dd8bb3913973225fcf27d054fb567299cd3ac124c1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:29 + go version 01:33:29 go version go1.18.7 linux/amd64 [Pipeline] } 01:33:29 $ docker stop --time=1 482b9e331f258b59dd97d5dd8bb3913973225fcf27d054fb567299cd3ac124c1 01:33:31 $ docker rm -f 482b9e331f258b59dd97d5dd8bb3913973225fcf27d054fb567299cd3ac124c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:31 + docker inspect -f . ci-base-image-x86_64 01:33:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:32 prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container 01:33:32 $ 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-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:33:32 $ docker top 9f1da9bf06686c469d9fa851e747f6d63f2c702b2645c208b3bd6ee3e3cee8ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-427 [Pipeline] fileExists [Pipeline] sh 01:33:33 + make test 01:33:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:33:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:33:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:33:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 01:33:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:33:52 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." 01:33:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:33:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:55 ./bin/test-attribution-txt.sh [Pipeline] echo 01:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:33:55 $ docker stop --time=1 9f1da9bf06686c469d9fa851e747f6d63f2c702b2645c208b3bd6ee3e3cee8ff 01:33:56 $ docker rm -f 9f1da9bf06686c469d9fa851e747f6d63f2c702b2645c208b3bd6ee3e3cee8ff [Pipeline] // withDockerContainer [Pipeline] sh 01:33:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:33:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:58 + ls -al . 01:33:58 total 184 01:33:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:33 . 01:33:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:32 .. 01:33:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:32 .dockerignore 01:33:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:33 .git 01:33:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:32 .github 01:33:58 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:32 .gitignore 01:33:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:32 .golangci.yml 01:33:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:32 .semver 01:33:58 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:32 Attribution.txt 01:33:58 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:32 CHANGELOG.md 01:33:58 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:32 Dockerfile 01:33:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:32 GOVERNANCE.md 01:33:58 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:32 Jenkinsfile 01:33:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:32 LICENSE 01:33:58 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:32 Makefile 01:33:58 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:32 OWNERS.md 01:33:58 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:32 README.md 01:33:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:32 VERSION 01:33:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:32 bin 01:33:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:32 cmd 01:33:58 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:33 coverage.out 01:33:58 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:32 go.mod 01:33:58 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:32 go.sum 01:33:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:32 internal 01:33:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:32 mock 01:33:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:32 snap 01:33:58 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:58 + 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=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe --label arch=amd64 --label version=0.0.0 . 01:33:58 Sending build context to Docker daemon 6.214MB 01:33:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:33:58 Step 2/25 : FROM ${BASE} AS builder 01:33:58 ---> bcc5036a54bd 01:33:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:33:58 ---> Running in 61549aa8c974 01:33:58 Removing intermediate container 61549aa8c974 01:33:58 ---> 115db61b40ab 01:33:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:58 ---> Running in 13e0b3d46b6d 01:33:58 Removing intermediate container 13e0b3d46b6d 01:33:58 ---> 5dd8d960594f 01:33:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:58 ---> Running in 7dd146453501 01:33:59 Removing intermediate container 7dd146453501 01:33:59 ---> 87f94369641c 01:33:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:33:59 ---> Running in 341512eca30f 01:33:59 Removing intermediate container 341512eca30f 01:33:59 ---> 01224a1178fd 01:33:59 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:59 ---> Running in dd0b9393b6f0 01:33:59 Removing intermediate container dd0b9393b6f0 01:33:59 ---> 698914d14345 01:33:59 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:59 ---> Running in fd06f6ec6cd2 01:34:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:01 OK: 216 MiB in 55 packages 01:34:01 Removing intermediate container fd06f6ec6cd2 01:34:01 ---> 3e1145e8e940 01:34:01 Step 9/25 : WORKDIR /device-mqtt-go 01:34:01 ---> Running in 656c664e648f 01:34:01 Removing intermediate container 656c664e648f 01:34:01 ---> 113846dc589e 01:34:01 Step 10/25 : COPY go.mod vendor* ./ 01:34:02 ---> a360dd012fed 01:34:02 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:02 ---> Running in bd3be313645b 01:34:02 Removing intermediate container bd3be313645b 01:34:02 ---> 1734785e8be7 01:34:02 Step 12/25 : COPY . . 01:34:02 ---> 14290ede88e2 01:34:02 Step 13/25 : RUN $MAKE 01:34:02 ---> Running in 1a54557b8298 01:34:03 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 01:34:25 Removing intermediate container 1a54557b8298 01:34:25 ---> 7b7c969a0f0f 01:34:25 Step 14/25 : FROM alpine:3.16 01:34:25 3.16: Pulling from library/alpine 01:34:25 213ec9aee27d: Already exists 01:34:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:34:25 Status: Downloaded newer image for alpine:3.16 01:34:25 ---> 9c6f07244728 01:34:25 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:34:25 ---> Running in cc78d8c22093 01:34:25 Removing intermediate container cc78d8c22093 01:34:25 ---> 31e8b86b58b5 01:34:25 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:34:25 ---> Running in cc76de0bce20 01:34:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:25 (1/6) Installing dumb-init (1.2.5-r1) 01:34:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:34:25 (3/6) Installing libsodium (1.0.18-r0) 01:34:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:34:25 (5/6) Installing libzmq (4.3.4-r0) 01:34:25 (6/6) Installing zeromq (4.3.4-r0) 01:34:25 Executing busybox-1.35.0-r17.trigger 01:34:25 OK: 8 MiB in 20 packages 01:34:25 Removing intermediate container cc76de0bce20 01:34:25 ---> 9866db917241 01:34:25 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:34:26 ---> 43cca5bac2a2 01:34:26 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:34:26 ---> cf5cd85d1395 01:34:26 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:34:26 ---> 215a365395e3 01:34:26 Step 20/25 : EXPOSE 59982 01:34:26 ---> Running in cdbc24045b0d 01:34:26 Removing intermediate container cdbc24045b0d 01:34:26 ---> e3dcfba22013 01:34:26 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:34:26 ---> Running in a7e5a1ef32b3 01:34:26 Removing intermediate container a7e5a1ef32b3 01:34:26 ---> a836eb99c5a9 01:34:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:26 ---> Running in 2e0cf0f17cbd 01:34:26 Removing intermediate container 2e0cf0f17cbd 01:34:26 ---> b108e4d17c7e 01:34:26 Step 23/25 : LABEL arch=amd64 01:34:26 ---> Running in 3c539c8a23a9 01:34:27 Removing intermediate container 3c539c8a23a9 01:34:27 ---> 948549276dd9 01:34:27 Step 24/25 : LABEL git_sha=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe 01:34:27 ---> Running in 5f019362902a 01:34:27 Removing intermediate container 5f019362902a 01:34:27 ---> e1b8704b5ca4 01:34:27 Step 25/25 : LABEL version=0.0.0 01:34:27 ---> Running in 03e34bbfb2cc 01:34:27 Removing intermediate container 03e34bbfb2cc 01:34:27 ---> 4564f112738f 01:34:27 [Warning] One or more build-args [ARCH] were not consumed 01:34:27 Successfully built 4564f112738f 01:34:27 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 01:34:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:28 01:34:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:28 latest: Pulling from edgex-lftools-log-publisher 01:34:28 5eb5b503b376: Pulling fs layer 01:34:28 5c69ac0246d0: Pulling fs layer 01:34:28 ec43610c2a17: Pulling fs layer 01:34:28 3a2ae6a8a46f: Pulling fs layer 01:34:28 33b1e0a273af: Pulling fs layer 01:34:28 5d3b04190fa2: Pulling fs layer 01:34:28 3a2ae6a8a46f: Waiting 01:34:28 33b1e0a273af: Waiting 01:34:28 2f39f015ded8: Pulling fs layer 01:34:28 2f39f015ded8: Waiting 01:34:28 5c69ac0246d0: Download complete 01:34:28 3a2ae6a8a46f: Verifying Checksum 01:34:28 3a2ae6a8a46f: Download complete 01:34:28 33b1e0a273af: Verifying Checksum 01:34:28 33b1e0a273af: Download complete 01:34:28 5d3b04190fa2: Verifying Checksum 01:34:28 5d3b04190fa2: Download complete 01:34:28 ec43610c2a17: Download complete 01:34:28 5eb5b503b376: Verifying Checksum 01:34:28 5eb5b503b376: Download complete 01:34:30 5eb5b503b376: Pull complete 01:34:30 5c69ac0246d0: Pull complete 01:34:30 ec43610c2a17: Pull complete 01:34:30 3a2ae6a8a46f: Pull complete 01:34:31 33b1e0a273af: Pull complete 01:34:31 5d3b04190fa2: Pull complete 01:34:37 2f39f015ded8: Pull complete 01:34:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:37 prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container 01:34:37 $ 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-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:39 $ docker top ef146f30a706873f907873fa0c3762c9826f3ddae2980d1bc68b34ae98a87fc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:40 ---> job-cost.sh 01:34:40 lf-activate-venv: SKIPPING 01:34:40 INFO: No Stack... 01:34:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:34:40 INFO: Archiving Costs [Pipeline] sh 01:34:40 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives/cost.csv 01:34:40 + cut -d, -f6 [Pipeline] lock 01:34:40 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] 01:34:40 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] did not exist. Created. 01:34:40 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:34:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:34:41 Stashed 1 file(s) [Pipeline] } 01:34:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:34:41 $ docker stop --time=1 ef146f30a706873f907873fa0c3762c9826f3ddae2980d1bc68b34ae98a87fc6 01:34:42 $ docker rm -f ef146f30a706873f907873fa0c3762c9826f3ddae2980d1bc68b34ae98a87fc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:36:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8929 in /w/workspace/gexfoundry_device-mqtt-go_PR-427 [Pipeline] { [Pipeline] ws 01:36:02 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:36:02 Selected Git installation does not exist. Using Default 01:36:02 The recommended git tool is: NONE 01:36:09 using credential edgex-jenkins-ssh 01:36:09 Cloning the remote Git repository 01:36:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:36:09 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:36:09 > git --version # timeout=10 01:36:09 > git --version # 'git version 2.25.1' 01:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:09 Verifying host key using known hosts file 01:36:09 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. 01:36:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:36:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:36:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:36:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:36:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:36:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:12 Verifying host key using known hosts file 01:36:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:36:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:36:12 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe 01:36:13 Merge succeeded, producing 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe 01:36:13 Checking out Revision 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe (PR-427) 01:36:13 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:36:12 > git config core.sparsecheckout # timeout=10 01:36:12 > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # timeout=10 01:36:12 > git remote # timeout=10 01:36:12 > git config --get remote.origin.url # timeout=10 01:36:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:13 Verifying host key using known hosts file 01:36:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:36:13 > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 01:36:13 > git rev-parse HEAD^{commit} # timeout=10 01:36:13 > git config core.sparsecheckout # timeout=10 01:36:13 > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # timeout=10 01:36:13 > git --version # timeout=10 01:36:13 > git --version # 'git version 2.25.1' 01:36:13 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:36:15 % Total % Received % Xferd Average Speed Time Time Time Current 01:36:15 Dload Upload Total Spent Left Speed 01:36:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 136k 0 --:--:-- --:--:-- --:--:-- 136k [Pipeline] sh 01:36:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:36:16 + sudo tee /etc/docker/daemon.new 01:36:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:36:16 { 01:36:16 "registry-mirrors": [ 01:36:16 "https://nexus3.edgexfoundry.org:10001" 01:36:16 ], 01:36:16 "bip": "10.250.0.254/24", 01:36:16 "hosts": [ 01:36:16 "tcp://0.0.0.0:5555", 01:36:16 "unix:///var/run/docker.sock" 01:36:16 ], 01:36:16 "mtu": 1458, 01:36:16 "selinux-enabled": true, 01:36:16 "seccomp-profile": "/etc/docker/seccomp.json" 01:36:16 } [Pipeline] sh 01:36:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:36:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:35 provisioning config files... 01:36:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17499735819641279921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:35 ---> docker-login.sh 01:36:35 nexus3.edgexfoundry.org:10001 01:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:36 Configure a credential helper to remove this warning. See 01:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:36 01:36:36 Login Succeeded 01:36:36 nexus3.edgexfoundry.org:10002 01:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 nexus3.edgexfoundry.org:10003 01:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 nexus3.edgexfoundry.org:10004 01:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:37 Configure a credential helper to remove this warning. See 01:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:37 01:36:37 Login Succeeded 01:36:37 docker.io 01:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:38 Configure a credential helper to remove this warning. See 01:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:38 01:36:38 Login Succeeded 01:36:38 ---> docker-login.sh ends [Pipeline] } 01:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:38 ========================================================= 01:36:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:36:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:39 + 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 . 01:36:39 Sending build context to Docker daemon 3.208MB 01:36:39 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:36:39 Step 2/13 : FROM ${BASE} AS builder 01:36:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:36:39 9b18e9b68314: Pulling fs layer 01:36:39 d32db5db7311: Pulling fs layer 01:36:39 d0c4b47475fc: Pulling fs layer 01:36:39 5831b945b038: Pulling fs layer 01:36:39 86bbec2aaacd: Pulling fs layer 01:36:39 e10730c5d714: Pulling fs layer 01:36:39 5dd5c2283517: Pulling fs layer 01:36:39 d5ac0230b979: Pulling fs layer 01:36:39 5831b945b038: Waiting 01:36:39 e10730c5d714: Waiting 01:36:39 86bbec2aaacd: Waiting 01:36:39 d5ac0230b979: Waiting 01:36:39 5dd5c2283517: Waiting 01:36:39 d0c4b47475fc: Verifying Checksum 01:36:39 d0c4b47475fc: Download complete 01:36:39 d32db5db7311: Download complete 01:36:39 86bbec2aaacd: Verifying Checksum 01:36:39 86bbec2aaacd: Download complete 01:36:39 e10730c5d714: Verifying Checksum 01:36:39 e10730c5d714: Download complete 01:36:39 9b18e9b68314: Verifying Checksum 01:36:39 9b18e9b68314: Download complete 01:36:41 9b18e9b68314: Pull complete 01:36:41 d5ac0230b979: Verifying Checksum 01:36:41 d5ac0230b979: Download complete 01:36:41 d32db5db7311: Pull complete 01:36:42 d0c4b47475fc: Pull complete 01:36:42 5dd5c2283517: Verifying Checksum 01:36:42 5dd5c2283517: Download complete 01:36:43 5831b945b038: Verifying Checksum 01:36:43 5831b945b038: Download complete 01:36:55 5831b945b038: Pull complete 01:36:56 86bbec2aaacd: Pull complete 01:36:56 e10730c5d714: Pull complete 01:37:01 5dd5c2283517: Pull complete 01:37:03 d5ac0230b979: Pull complete 01:37:03 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:37:03 ---> 59b3b1a385d4 01:37:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:37:06 ---> Running in df03594c3196 01:37:06 Removing intermediate container df03594c3196 01:37:06 ---> 7d23a03e1df0 01:37:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:06 ---> Running in 43adf8a6be92 01:37:06 Removing intermediate container 43adf8a6be92 01:37:06 ---> d63ef075d227 01:37:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:37:06 ---> Running in ec5350f6bbc6 01:37:07 Removing intermediate container ec5350f6bbc6 01:37:07 ---> 6ceccd2985f7 01:37:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:37:07 ---> Running in 123a0846461a 01:37:07 Removing intermediate container 123a0846461a 01:37:07 ---> c4f44357ae77 01:37:07 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:07 ---> Running in af5e0f0d6d1d 01:37:10 Removing intermediate container af5e0f0d6d1d 01:37:10 ---> b7e2c2673b23 01:37:10 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:10 ---> Running in 995918bfe136 01:37:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:37:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:37:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:37:13 (2/4) Installing libedit (20210910.3.1-r0) 01:37:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:37:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:37:13 Executing busybox-1.35.0-r17.trigger 01:37:13 OK: 226 MiB in 55 packages 01:37:14 Removing intermediate container 995918bfe136 01:37:14 ---> 0d0b29d4760e 01:37:14 Step 9/13 : WORKDIR /device-mqtt-go 01:37:14 ---> Running in e704a787137c 01:37:14 Removing intermediate container e704a787137c 01:37:14 ---> 2f3be397b192 01:37:14 Step 10/13 : COPY go.mod vendor* ./ 01:37:15 ---> f681601697d3 01:37:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:15 ---> Running in 53cd62b5c2fe 01:38:12 Removing intermediate container 53cd62b5c2fe 01:38:12 ---> 7db66f2e3b6f 01:38:12 Step 12/13 : COPY . . 01:38:12 ---> 1e8d142ab31d 01:38:12 Step 13/13 : RUN $MAKE 01:38:12 ---> Running in 96a81b4776c8 01:38:12 noop 01:38:12 Removing intermediate container 96a81b4776c8 01:38:12 ---> 3b7e7dcd3c2d 01:38:12 Successfully built 3b7e7dcd3c2d 01:38:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:12 + docker inspect -f . ci-base-image-arm64 01:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:13 prd-ubuntu20.04-docker-arm64-4c-16g-8929 does not seem to be running inside a container 01:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:38:14 $ docker top d1e9a9cb0f3300d6ac6c868d7b8416c036afe21ee1135a0cb4a65595f8ff9ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:15 + go version 01:38:15 go version go1.18.7 linux/arm64 [Pipeline] } 01:38:15 $ docker stop --time=1 d1e9a9cb0f3300d6ac6c868d7b8416c036afe21ee1135a0cb4a65595f8ff9ea5 01:38:17 $ docker rm -f d1e9a9cb0f3300d6ac6c868d7b8416c036afe21ee1135a0cb4a65595f8ff9ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:18 + docker inspect -f . ci-base-image-arm64 01:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:18 prd-ubuntu20.04-docker-arm64-4c-16g-8929 does not seem to be running inside a container 01:38:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:38:19 $ docker top bad204a240e9b7e28b3b40884c0948f8df9ef563c2272a6252a137b84e51918a -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:20 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:38:21 + make test 01:38:21 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:38:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:39:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:39:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements 01:39:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:39:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:39:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:40:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:26 ./bin/test-attribution-txt.sh [Pipeline] echo 01:40:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:26 $ docker stop --time=1 bad204a240e9b7e28b3b40884c0948f8df9ef563c2272a6252a137b84e51918a 01:40:27 $ docker rm -f bad204a240e9b7e28b3b40884c0948f8df9ef563c2272a6252a137b84e51918a [Pipeline] // withDockerContainer [Pipeline] sh 01:40:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:29 Warning: overwriting stash ‘coverage-report’ 01:40:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:30 + ls -al . 01:40:30 total 180 01:40:30 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:38 . 01:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 .. 01:40:30 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:36 .dockerignore 01:40:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:36 .git 01:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 .github 01:40:30 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:36 .gitignore 01:40:30 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:36 .golangci.yml 01:40:30 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:36 Attribution.txt 01:40:30 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:36 CHANGELOG.md 01:40:30 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:36 Dockerfile 01:40:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:36 GOVERNANCE.md 01:40:30 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:36 Jenkinsfile 01:40:30 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:36 LICENSE 01:40:30 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:36 Makefile 01:40:30 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:36 OWNERS.md 01:40:30 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:36 README.md 01:40:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:32 VERSION 01:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 bin 01:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 cmd 01:40:30 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:39 coverage.out 01:40:30 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:36 go.mod 01:40:30 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:36 go.sum 01:40:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 internal 01:40:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 mock 01:40:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 snap 01:40:30 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:31 + 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=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe --label arch=arm64 --label version=0.0.0 . 01:40:31 Sending build context to Docker daemon 3.227MB 01:40:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:40:31 Step 2/25 : FROM ${BASE} AS builder 01:40:31 ---> 3b7e7dcd3c2d 01:40:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:40:31 ---> Running in 674b0e3e458a 01:40:31 Removing intermediate container 674b0e3e458a 01:40:31 ---> 04285c80b111 01:40:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:32 ---> Running in 259e238923e5 01:40:32 Removing intermediate container 259e238923e5 01:40:32 ---> d3c66511d96d 01:40:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:32 ---> Running in 8160ac2dc88d 01:40:33 Removing intermediate container 8160ac2dc88d 01:40:33 ---> 09eb141d8b1b 01:40:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:40:33 ---> Running in 472986f6b028 01:40:33 Removing intermediate container 472986f6b028 01:40:33 ---> 1ff81c509f43 01:40:33 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:33 ---> Running in 68ae14cd394b 01:40:36 Removing intermediate container 68ae14cd394b 01:40:36 ---> d20f4d327597 01:40:36 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:36 ---> Running in 059f96de8b1a 01:40:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:40:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:40:39 OK: 226 MiB in 55 packages 01:40:40 Removing intermediate container 059f96de8b1a 01:40:40 ---> 15b0ea0c7acb 01:40:40 Step 9/25 : WORKDIR /device-mqtt-go 01:40:40 ---> Running in 80d621b31342 01:40:41 Removing intermediate container 80d621b31342 01:40:41 ---> 8c3b69201139 01:40:41 Step 10/25 : COPY go.mod vendor* ./ 01:40:41 ---> 6f5752f89c48 01:40:41 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:41 ---> Running in 2dbe87122526 01:40:44 Removing intermediate container 2dbe87122526 01:40:44 ---> 9e2db4668b74 01:40:44 Step 12/25 : COPY . . 01:40:45 ---> 9783f4ce3551 01:40:45 Step 13/25 : RUN $MAKE 01:40:45 ---> Running in 8b706779acd8 01:40:46 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 01:43:38 Removing intermediate container 8b706779acd8 01:43:38 ---> 1a9936d92e8e 01:43:38 Step 14/25 : FROM alpine:3.16 01:43:38 3.16: Pulling from library/alpine 01:43:38 9b18e9b68314: Already exists 01:43:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:43:38 Status: Downloaded newer image for alpine:3.16 01:43:38 ---> a6215f271958 01:43:38 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:43:38 ---> Running in a4d948648faa 01:43:38 Removing intermediate container a4d948648faa 01:43:38 ---> f7dd6b14783b 01:43:38 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:43:38 ---> Running in 19bca9a55984 01:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:43:38 (1/6) Installing dumb-init (1.2.5-r1) 01:43:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:43:38 (3/6) Installing libsodium (1.0.18-r0) 01:43:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:43:38 (5/6) Installing libzmq (4.3.4-r0) 01:43:38 (6/6) Installing zeromq (4.3.4-r0) 01:43:38 Executing busybox-1.35.0-r17.trigger 01:43:38 OK: 8 MiB in 20 packages 01:43:38 Removing intermediate container 19bca9a55984 01:43:38 ---> 04a2d53ba0e0 01:43:38 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:43:38 ---> 5de841193bbe 01:43:38 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:43:38 ---> 23f8ef34f0a2 01:43:38 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:43:38 ---> 53fe8fc5d26e 01:43:38 Step 20/25 : EXPOSE 59982 01:43:38 ---> Running in 07f168f9b754 01:43:38 Removing intermediate container 07f168f9b754 01:43:38 ---> 6c986ee5dec4 01:43:38 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:43:38 ---> Running in 6297f8bab117 01:43:38 Removing intermediate container 6297f8bab117 01:43:38 ---> 32a4923427d6 01:43:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:43:38 ---> Running in c49155fb070f 01:43:38 Removing intermediate container c49155fb070f 01:43:38 ---> fcc574e297df 01:43:38 Step 23/25 : LABEL arch=arm64 01:43:38 ---> Running in c63d78cccb20 01:43:38 Removing intermediate container c63d78cccb20 01:43:38 ---> 429d9c7710fe 01:43:38 Step 24/25 : LABEL git_sha=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe 01:43:38 ---> Running in 4b196b77b388 01:43:38 Removing intermediate container 4b196b77b388 01:43:38 ---> bd3a8a427e69 01:43:38 Step 25/25 : LABEL version=0.0.0 01:43:38 ---> Running in f7398f714f4a 01:43:38 Removing intermediate container f7398f714f4a 01:43:38 ---> b6484fd38632 01:43:38 [Warning] One or more build-args [ARCH] were not consumed 01:43:38 Successfully built b6484fd38632 01:43:38 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 01:43:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:39 01:43:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:39 arm64: Pulling from edgex-lftools-log-publisher 01:43:39 8998bd30e6a1: Pulling fs layer 01:43:39 04944245beec: Pulling fs layer 01:43:39 699f458cf7ca: Pulling fs layer 01:43:39 765212b225bb: Pulling fs layer 01:43:39 f23df028b6ca: Pulling fs layer 01:43:39 d65c8cfc05b1: Pulling fs layer 01:43:39 2437ff75d9bd: Pulling fs layer 01:43:39 f23df028b6ca: Waiting 01:43:39 d65c8cfc05b1: Waiting 01:43:39 2437ff75d9bd: Waiting 01:43:39 765212b225bb: Waiting 01:43:40 04944245beec: Verifying Checksum 01:43:40 04944245beec: Download complete 01:43:40 765212b225bb: Verifying Checksum 01:43:40 765212b225bb: Download complete 01:43:40 f23df028b6ca: Verifying Checksum 01:43:40 f23df028b6ca: Download complete 01:43:40 d65c8cfc05b1: Download complete 01:43:40 699f458cf7ca: Verifying Checksum 01:43:40 699f458cf7ca: Download complete 01:43:40 8998bd30e6a1: Download complete 01:43:43 2437ff75d9bd: Verifying Checksum 01:43:43 2437ff75d9bd: Download complete 01:43:45 8998bd30e6a1: Pull complete 01:43:45 04944245beec: Pull complete 01:43:46 699f458cf7ca: Pull complete 01:43:46 765212b225bb: Pull complete 01:43:47 f23df028b6ca: Pull complete 01:43:47 d65c8cfc05b1: Pull complete 01:44:03 2437ff75d9bd: Pull complete 01:44:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:03 prd-ubuntu20.04-docker-arm64-4c-16g-8929 does not seem to be running inside a container 01:44:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:44:06 $ docker top 0b7bf706a4fd37d88b217dc691c3e8856078488666eafaa4fc5963d1d715c493 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:07 ---> job-cost.sh 01:44:07 lf-activate-venv: SKIPPING 01:44:07 INFO: No Stack... 01:44:07 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:08 INFO: Archiving Costs [Pipeline] sh 01:44:09 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:44:09 + cut -d, -f6 [Pipeline] lock 01:44:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] 01:44:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] did not exist. Created. 01:44:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:10 /w/workspace/device-mqtt-go/1@tmp/durable-836acd59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:10 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:10 Warning: overwriting stash ‘stack-cost’ 01:44:10 Stashed 1 file(s) [Pipeline] } 01:44:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:11 $ docker stop --time=1 0b7bf706a4fd37d88b217dc691c3e8856078488666eafaa4fc5963d1d715c493 01:44:12 $ docker rm -f 0b7bf706a4fd37d88b217dc691c3e8856078488666eafaa4fc5963d1d715c493 [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 01:44:13 provisioning config files... 01:44:13 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config4387674273038985754tmp [Pipeline] { [Pipeline] sh 01:44:14 + set +x 01:44:14 + + bash -s -- 01:44:14 curl -s https://codecov.io/bash 01:44:14 01:44:14 _____ _ 01:44:14 / ____| | | 01:44:14 | | ___ __| | ___ ___ _____ __ 01:44:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:14 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:14 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:14 Bash-1.0.6 01:44:14 01:44:14 01:44:14 ==> git version 2.25.1 found 01:44:14 ==> 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 01:44:14 Release-Date: 2020-01-08 01:44:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:14 ==> Jenkins CI detected. 01:44:14 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-427 01:44:14 project root: . 01:44:14 --> token set from env 01:44:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:14 ==> Running gcov in . (disable via -X gcov) 01:44:14 ==> Python coveragepy not found 01:44:14 ==> Searching for coverage reports in: 01:44:14 + . 01:44:14 -> Found 1 reports 01:44:14 ==> Detecting git/mercurial file structure 01:44:14 ==> Reading reports 01:44:14 + ./coverage.out bytes=17887 01:44:14 ==> Appending adjustments 01:44:14 https://docs.codecov.io/docs/fixing-reports 01:44:14 + Found adjustments 01:44:14 ==> Gzipping contents 01:44:14 4.0K /tmp/codecov.EzTVHd.gz 01:44:14 ==> Uploading reports 01:44:14 url: https://codecov.io 01:44:14 query: branch=PR-427&commit=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=427&job=&cmd_args= 01:44:14 -> Pinging Codecov 01:44:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-427&commit=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=427&job=&cmd_args= 01:44:14 -> Uploading to 01:44:14 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/3f7b4fdd431f9c83e0014847f172b7a9acbb09fe/c9f2e318-b40e-4bed-9ac1-4005195420df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T014414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96c42932d6aad8d32de0feefbcdfa019462f7326a72c42c635d88eba847a57fa 01:44:14 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:14 Dload Upload Total Spent Left Speed 01:44:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14484 --:--:-- --:--:-- --:--:-- 14484 01:44:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] } 01:44:15 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 01:44:16 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives ] 01:44:16 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives 01:44:16 total 16 01:44:16 drwxr-xr-x 3 root root 4096 Oct 24 01:34 . 01:44:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:34 .. 01:44:16 drwxr-xr-x 2 root root 4096 Oct 24 01:34 cost 01:44:16 -rw-r--r-- 1 root root 86 Oct 24 01:34 cost.csv 01:44:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives 01:44:16 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives 01:44:16 total 16 01:44:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:34 . 01:44:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:34 .. 01:44:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:34 cost 01:44:16 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:18 ---> package-listing.sh 01:44:18 ++ facter osfamily 01:44:18 ++ tr '[:upper:]' '[:lower:]' 01:44:18 + OS_FAMILY=debian 01:44:18 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-427 01:44:18 + START_PACKAGES=/tmp/packages_start.txt 01:44:18 + END_PACKAGES=/tmp/packages_end.txt 01:44:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:18 + PACKAGES=/tmp/packages_start.txt 01:44:18 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-427 ']' 01:44:18 + PACKAGES=/tmp/packages_end.txt 01:44:18 + case "${OS_FAMILY}" in 01:44:18 + dpkg -l 01:44:18 + grep '^ii' 01:44:18 + '[' -f /tmp/packages_start.txt ']' 01:44:18 + '[' -f /tmp/packages_end.txt ']' 01:44:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:18 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-427 ']' 01:44:18 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives/ 01:44:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives/ [Pipeline] echo 01:44:18 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-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:44:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:19 prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container 01:44:19 $ 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-427/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-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:20 $ docker top 21a25a2e9bcc15bbf242717cffb88d090c565cf8901af98bd7723bc525b05f92 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:20 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:21 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:21 + ls /var/log/sa-host 01:44:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:21 provisioning config files... 01:44:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config9060920715094565120tmp [Pipeline] { [Pipeline] echo 01:44:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:21 ---> create-netrc.sh [Pipeline] } 01:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:22 ---> python-tools-install.sh [Pipeline] echo 01:44:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:22 ---> sudo-logs.sh 01:44:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:23 ---> job-cost.sh 01:44:23 lf-activate-venv: SKIPPING 01:44:23 DEBUG: total: 0.2199999988079071 01:44:23 INFO: Retrieving Stack Cost... 01:44:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:23 INFO: Archiving Costs [Pipeline] echo 01:44:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:24 ---> logs-deploy.sh 01:44:24 lf-activate-venv: SKIPPING 01:44:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-427/1 01:44:24 INFO: archiving workspace using pattern(s): 01:44:25 Archives upload complete. 01:44:25 INFO: archiving logs to Nexus