Pull request #417 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40728c0c9192581239a0f3fc91f826ee991611f5+328ff548ea1794223110aa3bbf079b4887c6fdbc (31f60a6dd7b399476e270d481d78d71f3eecd46f) 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-ssh12972144556524409989.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12126718776878654075.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-417/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-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5269168559068377777.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-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10008881973350186957.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16224824884030747444.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-417/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-417/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10421829515612284805.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6633 in /w/workspace/gexfoundry_device-mqtt-go_PR-417 [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-417 # 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/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 328ff548ea1794223110aa3bbf079b4887c6fdbc into PR head commit 40728c0c9192581239a0f3fc91f826ee991611f5 Merge succeeded, producing 40728c0c9192581239a0f3fc91f826ee991611f5 Checking out Revision 40728c0c9192581239a0f3fc91f826ee991611f5 (PR-417) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:32:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:32:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # 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 328ff548ea1794223110aa3bbf079b4887c6fdbc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:32:36 ========================================================= 01:32:36 EdgeX Global Pipelines Version Info 01:32:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:32:37 ------------------- 01:32:37 stable info: 01:32:37 ------------------- 01:32:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:32:37 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:32:37 Message: update stable to v1.0.239 01:32:37 ------------------- 01:32:37 experimental info: 01:32:37 ------------------- 01:32:37 Commited By: **** collab-it+edgex@linuxfoundation.org 01:32:37 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:32:37 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:32:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40728c0 [Pipeline] echo 01:32:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:39 provisioning config files... 01:32:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config5811964250185770247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:39 ---> docker-login.sh 01:32:39 nexus3.edgexfoundry.org:10001 01:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:40 Configure a credential helper to remove this warning. See 01:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:40 01:32:40 Login Succeeded 01:32:40 nexus3.edgexfoundry.org:10002 01:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:40 Configure a credential helper to remove this warning. See 01:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:40 01:32:40 Login Succeeded 01:32:40 nexus3.edgexfoundry.org:10003 01:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:40 Configure a credential helper to remove this warning. See 01:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:40 01:32:40 Login Succeeded 01:32:40 nexus3.edgexfoundry.org:10004 01:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:40 Configure a credential helper to remove this warning. See 01:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:40 01:32:40 Login Succeeded 01:32:40 docker.io 01:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:40 Configure a credential helper to remove this warning. See 01:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:40 01:32:40 Login Succeeded 01:32:40 ---> docker-login.sh ends [Pipeline] } 01:32:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:32:41 + git rev-list -1 --merges 40728c0c9192581239a0f3fc91f826ee991611f5~1..40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo 01:32:41 -----------> git rev-list -1 --merges 40728c0c9192581239a0f3fc91f826ee991611f5~1..40728c0c9192581239a0f3fc91f826ee991611f5 40728c0c9192581239a0f3fc91f826ee991611f5 [false] [Pipeline] sh 01:32:42 + git log --format=format:%s -1 40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo 01:32:42 ========================================================= 01:32:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:32:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:42 + git log --format=format:%s -1 40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo 01:32:42 [semverPrep] GIT_COMMIT: 40728c0c9192581239a0f3fc91f826ee991611f5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 01:32:42 [semverPrep] This is not a build commit. [Pipeline] sh 01:32:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:32:42 + grep -v github /etc/ssh/ssh_known_hosts 01:32:42 + [ -e /tmp/ssh_known_hosts ] 01:32:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:32:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:32:42 + sudo tee -a /etc/ssh/ssh_known_hosts 01:32:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:43 01:32:43 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:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:43 0.1.4: Pulling from edgex-devops/py-git-semver 01:32:43 b85a868b505f: Pulling fs layer 01:32:43 e2be974225ed: Pulling fs layer 01:32:43 339a4e72a1f5: Pulling fs layer 01:32:43 988bab9f4d93: Pulling fs layer 01:32:43 1469e6f7b9e6: Pulling fs layer 01:32:43 eaf3925da568: Pulling fs layer 01:32:43 bab4dde63d76: Pulling fs layer 01:32:43 bde34c3a00c8: Pulling fs layer 01:32:43 b352a97aabf1: Pulling fs layer 01:32:43 4872d77fe225: Pulling fs layer 01:32:43 5851b861e8e6: Pulling fs layer 01:32:43 bab4dde63d76: Waiting 01:32:43 b352a97aabf1: Waiting 01:32:43 5851b861e8e6: Waiting 01:32:43 988bab9f4d93: Waiting 01:32:43 eaf3925da568: Waiting 01:32:43 bde34c3a00c8: Waiting 01:32:43 1469e6f7b9e6: Waiting 01:32:43 4872d77fe225: Waiting 01:32:43 e2be974225ed: Verifying Checksum 01:32:43 e2be974225ed: Download complete 01:32:43 988bab9f4d93: Download complete 01:32:43 1469e6f7b9e6: Verifying Checksum 01:32:43 1469e6f7b9e6: Download complete 01:32:43 eaf3925da568: Download complete 01:32:43 339a4e72a1f5: Verifying Checksum 01:32:43 339a4e72a1f5: Download complete 01:32:43 bde34c3a00c8: Download complete 01:32:43 b352a97aabf1: Verifying Checksum 01:32:43 b352a97aabf1: Download complete 01:32:43 4872d77fe225: Verifying Checksum 01:32:43 4872d77fe225: Download complete 01:32:43 5851b861e8e6: Download complete 01:32:44 b85a868b505f: Download complete 01:32:44 bab4dde63d76: Download complete 01:32:45 b85a868b505f: Pull complete 01:32:45 e2be974225ed: Pull complete 01:32:46 339a4e72a1f5: Pull complete 01:32:46 988bab9f4d93: Pull complete 01:32:46 1469e6f7b9e6: Pull complete 01:32:46 eaf3925da568: Pull complete 01:32:48 bab4dde63d76: Pull complete 01:32:48 bde34c3a00c8: Pull complete 01:32:48 b352a97aabf1: Pull complete 01:32:48 4872d77fe225: Pull complete 01:32:48 5851b861e8e6: Pull complete 01:32:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:32:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:32:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:48 prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container 01:32:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@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:50 $ docker top eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff -eo pid,comm 01:32:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:32:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:32:50 [ssh-agent] Looking for ssh-agent implementation... 01:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:32:50 $ docker exec eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent 01:32:50 SSH_AUTH_SOCK=/tmp/ssh-pwbPlWvwrIX0/agent.33 01:32:50 SSH_AGENT_PID=39 01:32:50 Running ssh-add (command line suppressed) 01:32:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_10098865570989293040.key (/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_10098865570989293040.key) 01:32:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:51 + git tag --points-at HEAD [Pipeline] } 01:32:51 $ docker exec --env ******** --env ******** eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent -k 01:32:51 unset SSH_AUTH_SOCK; 01:32:51 unset SSH_AGENT_PID; 01:32:51 echo Agent pid 39 killed; 01:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [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 eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent 01:32:51 SSH_AUTH_SOCK=/tmp/ssh-g4udjBfaBVNk/agent.72 01:32:51 SSH_AGENT_PID=78 01:32:51 Running ssh-add (command line suppressed) 01:32:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_8918740460506478701.key (/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_8918740460506478701.key) 01:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:32:52 + git semver init 01:32:52 2022-10-03 01:32:52,399 [run_init] DEBUG init version:0.0.0 force:False 01:32:52 2022-10-03 01:32:52,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver 01:32:52 2022-10-03 01:32:52,400 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver 01:32:52 2022-10-03 01:32:52,401 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-417, universal_newlines=False, shell=None, istream=None) 01:32:53 2022-10-03 01:32:53,401 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.git/info/exclude 01:32:53 2022-10-03 01:32:53,402 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver/PR-417 with force:False 01:32:53 2022-10-03 01:32:53,402 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver/PR-417 01:32:53 2022-10-03 01:32:53,406 [execute] INFO git cat-file --batch-check 01:32:53 2022-10-03 01:32:53,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver, universal_newlines=False, shell=None, istream=) 01:32:53 2022-10-03 01:32:53,414 [execute] INFO git cat-file --batch 01:32:53 2022-10-03 01:32:53,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver, universal_newlines=False, shell=None, istream=) 01:32:53 2022-10-03 01:32:53,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver/PR-417 01:32:53 0.0.0 [Pipeline] } 01:32:53 $ docker exec --env ******** --env ******** eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent -k 01:32:53 unset SSH_AUTH_SOCK; 01:32:53 unset SSH_AGENT_PID; 01:32:53 echo Agent pid 78 killed; 01:32:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:32:54 + git semver [Pipeline] } 01:32:54 $ docker stop --time=1 eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff 01:32:55 $ docker rm -f eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff [Pipeline] // withDockerContainer [Pipeline] sh 01:32:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:32:56 Stashed 1 file(s) [Pipeline] echo 01:32:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:57 provisioning config files... 01:32:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config16185861068374481352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:57 ---> docker-login.sh 01:32:57 nexus3.edgexfoundry.org:10001 01:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:57 Configure a credential helper to remove this warning. See 01:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:57 01:32:57 Login Succeeded 01:32:57 nexus3.edgexfoundry.org:10002 01:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:57 Configure a credential helper to remove this warning. See 01:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:57 01:32:57 Login Succeeded 01:32:57 nexus3.edgexfoundry.org:10003 01:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:57 Configure a credential helper to remove this warning. See 01:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:57 01:32:57 Login Succeeded 01:32:57 nexus3.edgexfoundry.org:10004 01:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:57 Configure a credential helper to remove this warning. See 01:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:57 01:32:57 Login Succeeded 01:32:57 docker.io 01:32:57 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 ---> docker-login.sh ends [Pipeline] } 01:32:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:58 ========================================================= 01:32:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:32:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:32:58 Sending build context to Docker daemon 6.153MB 01:32:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:32:58 Step 2/13 : FROM ${BASE} AS builder 01:32:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:32:58 2408cc74d12b: Pulling fs layer 01:32:58 ea60b727a1ce: Pulling fs layer 01:32:58 30c4a7721957: Pulling fs layer 01:32:58 370296b7ddb6: Pulling fs layer 01:32:58 7c6cee850709: Pulling fs layer 01:32:58 aa9baa53a306: Pulling fs layer 01:32:58 8b309c321861: Pulling fs layer 01:32:58 d8d76fd02f46: Pulling fs layer 01:32:58 fa31f396de31: Pulling fs layer 01:32:58 370296b7ddb6: Waiting 01:32:58 aa9baa53a306: Waiting 01:32:58 7c6cee850709: Waiting 01:32:58 8b309c321861: Waiting 01:32:58 fa31f396de31: Waiting 01:32:58 d8d76fd02f46: Waiting 01:32:58 30c4a7721957: Verifying Checksum 01:32:58 30c4a7721957: Download complete 01:32:58 ea60b727a1ce: Verifying Checksum 01:32:58 ea60b727a1ce: Download complete 01:32:58 7c6cee850709: Download complete 01:32:58 aa9baa53a306: Verifying Checksum 01:32:58 aa9baa53a306: Download complete 01:32:59 2408cc74d12b: Download complete 01:32:59 8b309c321861: Verifying Checksum 01:32:59 8b309c321861: Download complete 01:32:59 2408cc74d12b: Pull complete 01:32:59 ea60b727a1ce: Pull complete 01:32:59 30c4a7721957: Pull complete 01:33:00 fa31f396de31: Verifying Checksum 01:33:00 fa31f396de31: Download complete 01:33:00 d8d76fd02f46: Verifying Checksum 01:33:00 d8d76fd02f46: Download complete 01:33:00 370296b7ddb6: Verifying Checksum 01:33:00 370296b7ddb6: Download complete 01:33:04 370296b7ddb6: Pull complete 01:33:04 7c6cee850709: Pull complete 01:33:04 aa9baa53a306: Pull complete 01:33:04 8b309c321861: Pull complete 01:33:07 d8d76fd02f46: Pull complete 01:33:08 fa31f396de31: Pull complete 01:33:08 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 01:33:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:33:08 ---> cef68f9685f8 01:33:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:33:09 ---> Running in f6d63b478133 01:33:09 Removing intermediate container f6d63b478133 01:33:09 ---> 533c5e3f3351 01:33:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:09 ---> Running in c657c805520e 01:33:09 Removing intermediate container c657c805520e 01:33:09 ---> 04c94e09dafc 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 d800226bc67a 01:33:10 Removing intermediate container d800226bc67a 01:33:10 ---> 7404aaf0a62b 01:33:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:33:10 ---> Running in 993ac7b0bd90 01:33:10 Removing intermediate container 993ac7b0bd90 01:33:10 ---> 025f24b04089 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 e0a728324d97 01:33:11 Removing intermediate container e0a728324d97 01:33:11 ---> 6113032a1674 01:33:11 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:11 ---> Running in 507b966a0111 01:33:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:33:11 Still waiting to schedule task 01:33:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:12 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-r13.trigger 01:33:12 OK: 216 MiB in 55 packages 01:33:13 Removing intermediate container 507b966a0111 01:33:13 ---> 0bd5d01dfbcc 01:33:13 Step 9/13 : WORKDIR /device-mqtt-go 01:33:13 ---> Running in ca19ce11f2c2 01:33:13 Removing intermediate container ca19ce11f2c2 01:33:13 ---> df5f34567bb9 01:33:13 Step 10/13 : COPY go.mod vendor* ./ 01:33:13 ---> 2ee4ccdcb28a 01:33:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:13 ---> Running in 1e4f54540548 01:33:35 Removing intermediate container 1e4f54540548 01:33:35 ---> 3e668ef7dbf0 01:33:35 Step 12/13 : COPY . . 01:33:35 ---> 004eeb55ed2a 01:33:35 Step 13/13 : RUN $MAKE 01:33:35 ---> Running in 0ba99b835e7b 01:33:35 noop 01:33:35 Removing intermediate container 0ba99b835e7b 01:33:35 ---> e099db9a830b 01:33:35 Successfully built e099db9a830b 01:33:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:36 + docker inspect -f . ci-base-image-x86_64 01:33:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:36 prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container 01:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@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:36 $ docker top 65478c8613ff4f9b561df2d2b500dd2d8a87ded67ee588eff14f5bb508c5176c -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:37 + go version 01:33:37 go version go1.18.3 linux/amd64 [Pipeline] } 01:33:37 $ docker stop --time=1 65478c8613ff4f9b561df2d2b500dd2d8a87ded67ee588eff14f5bb508c5176c 01:33:38 $ docker rm -f 65478c8613ff4f9b561df2d2b500dd2d8a87ded67ee588eff14f5bb508c5176c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:39 + docker inspect -f . ci-base-image-x86_64 01:33:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:39 prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container 01:33:39 $ 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-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@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:39 $ docker top 5048d7ca6a5c32035090d8cee4233e2f8691be38210f8dd2a5e09a0331f28770 -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-417 [Pipeline] fileExists [Pipeline] sh 01:33:40 + make test 01:33:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:33:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:33:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:33:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 01:33:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:33:59 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:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:34:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:34:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:34:02 ./bin/test-attribution-txt.sh [Pipeline] echo 01:34:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:34:02 $ docker stop --time=1 5048d7ca6a5c32035090d8cee4233e2f8691be38210f8dd2a5e09a0331f28770 01:34:04 $ docker rm -f 5048d7ca6a5c32035090d8cee4233e2f8691be38210f8dd2a5e09a0331f28770 [Pipeline] // withDockerContainer [Pipeline] sh 01:34:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:34:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:34:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:06 + ls -al . 01:34:06 total 184 01:34:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:33 . 01:34:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:32 .. 01:34:06 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:32 .dockerignore 01:34:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:33 .git 01:34:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 .github 01:34:06 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 01:32 .gitignore 01:34:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:32 .golangci.yml 01:34:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:32 .semver 01:34:06 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 3 01:32 Attribution.txt 01:34:06 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 3 01:32 CHANGELOG.md 01:34:06 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 3 01:32 Dockerfile 01:34:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:32 GOVERNANCE.md 01:34:06 -rw-rw-r-- 1 jenkins jenkins 678 Oct 3 01:32 Jenkinsfile 01:34:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:32 LICENSE 01:34:06 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 3 01:32 Makefile 01:34:06 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:32 OWNERS.md 01:34:06 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 3 01:32 README.md 01:34:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:32 VERSION 01:34:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:32 bin 01:34:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 cmd 01:34:06 -rw-r--r-- 1 jenkins jenkins 17887 Oct 3 01:33 coverage.out 01:34:06 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 3 01:32 go.mod 01:34:06 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 01:32 go.sum 01:34:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 internal 01:34:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:32 mock 01:34:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:32 snap 01:34:06 -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:06 + 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=40728c0c9192581239a0f3fc91f826ee991611f5 --label arch=amd64 --label version=0.0.0 . 01:34:06 Sending build context to Docker daemon 6.172MB 01:34:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:34:06 Step 2/25 : FROM ${BASE} AS builder 01:34:06 ---> e099db9a830b 01:34:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:34:06 ---> Running in 883890f2f8cc 01:34:06 Removing intermediate container 883890f2f8cc 01:34:06 ---> 2351552e2fea 01:34:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:34:06 ---> Running in e32215467b55 01:34:06 Removing intermediate container e32215467b55 01:34:06 ---> fbb04d466543 01:34:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:06 ---> Running in 0b8a8a8c9e0e 01:34:06 Removing intermediate container 0b8a8a8c9e0e 01:34:06 ---> 0e5956a881af 01:34:06 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:34:07 ---> Running in baffb5f7290d 01:34:07 Removing intermediate container baffb5f7290d 01:34:07 ---> e22c4e87c88d 01:34:07 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:07 ---> Running in 51ade52c6083 01:34:07 Removing intermediate container 51ade52c6083 01:34:07 ---> ec3ae1dbd7eb 01:34:07 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:07 ---> Running in ff1ac9118f61 01:34:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:09 OK: 216 MiB in 55 packages 01:34:09 Removing intermediate container ff1ac9118f61 01:34:09 ---> 0b4c65a8c8d0 01:34:09 Step 9/25 : WORKDIR /device-mqtt-go 01:34:09 ---> Running in c45f802b6d05 01:34:09 Removing intermediate container c45f802b6d05 01:34:09 ---> e413427285e1 01:34:09 Step 10/25 : COPY go.mod vendor* ./ 01:34:09 ---> 571700bc57cf 01:34:09 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:09 ---> Running in 579d5a3e5b63 01:34:10 Removing intermediate container 579d5a3e5b63 01:34:10 ---> 320f88094afe 01:34:10 Step 12/25 : COPY . . 01:34:10 ---> 6e717a363540 01:34:10 Step 13/25 : RUN $MAKE 01:34:10 ---> Running in 7829bc928bdf 01:34:10 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:32 Removing intermediate container 7829bc928bdf 01:34:32 ---> 38e8ad72fdc0 01:34:32 Step 14/25 : FROM alpine:3.16 01:34:32 3.16: Pulling from library/alpine 01:34:32 213ec9aee27d: Pulling fs layer 01:34:32 213ec9aee27d: Verifying Checksum 01:34:32 213ec9aee27d: Download complete 01:34:32 213ec9aee27d: Pull complete 01:34:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:34:32 Status: Downloaded newer image for alpine:3.16 01:34:32 ---> 9c6f07244728 01:34:32 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:34:32 ---> Running in 99b2c2a0bb04 01:34:32 Removing intermediate container 99b2c2a0bb04 01:34:32 ---> ee1246fcb02d 01:34:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:34:32 ---> Running in df9699020bc2 01:34:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:32 (1/6) Installing dumb-init (1.2.5-r1) 01:34:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:34:32 (3/6) Installing libsodium (1.0.18-r0) 01:34:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:34:32 (5/6) Installing libzmq (4.3.4-r0) 01:34:32 (6/6) Installing zeromq (4.3.4-r0) 01:34:32 Executing busybox-1.35.0-r17.trigger 01:34:32 OK: 8 MiB in 20 packages 01:34:33 Removing intermediate container df9699020bc2 01:34:33 ---> 2205b502fa6f 01:34:33 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:34:33 ---> 82ef6a8528c1 01:34:33 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:34:33 ---> 9185b5c19c66 01:34:33 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:34:33 ---> 31419bc6aa45 01:34:33 Step 20/25 : EXPOSE 59982 01:34:33 ---> Running in a8067c0c9f21 01:34:33 Removing intermediate container a8067c0c9f21 01:34:33 ---> e23b4a0287f2 01:34:33 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:34:33 ---> Running in f4614c66e75f 01:34:34 Removing intermediate container f4614c66e75f 01:34:34 ---> 340a1cde4019 01:34:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:34 ---> Running in 9734eed7e324 01:34:34 Removing intermediate container 9734eed7e324 01:34:34 ---> 723737a01512 01:34:34 Step 23/25 : LABEL arch=amd64 01:34:34 ---> Running in f3c97d9b0b6f 01:34:34 Removing intermediate container f3c97d9b0b6f 01:34:34 ---> e4c5953b5583 01:34:34 Step 24/25 : LABEL git_sha=40728c0c9192581239a0f3fc91f826ee991611f5 01:34:34 ---> Running in b7c6c0aadca6 01:34:34 Removing intermediate container b7c6c0aadca6 01:34:34 ---> f7bef8a428bb 01:34:34 Step 25/25 : LABEL version=0.0.0 01:34:34 ---> Running in b73deb3b7e86 01:34:34 Removing intermediate container b73deb3b7e86 01:34:34 ---> ee7f70a26224 01:34:34 [Warning] One or more build-args [ARCH] were not consumed 01:34:34 Successfully built ee7f70a26224 01:34:34 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:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:35 01:34:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:35 latest: Pulling from edgex-lftools-log-publisher 01:34:35 5eb5b503b376: Pulling fs layer 01:34:35 5c69ac0246d0: Pulling fs layer 01:34:35 ec43610c2a17: Pulling fs layer 01:34:35 3a2ae6a8a46f: Pulling fs layer 01:34:35 33b1e0a273af: Pulling fs layer 01:34:35 5d3b04190fa2: Pulling fs layer 01:34:35 2f39f015ded8: Pulling fs layer 01:34:35 3a2ae6a8a46f: Waiting 01:34:35 5d3b04190fa2: Waiting 01:34:35 2f39f015ded8: Waiting 01:34:35 33b1e0a273af: Waiting 01:34:35 5c69ac0246d0: Verifying Checksum 01:34:35 5c69ac0246d0: Download complete 01:34:35 3a2ae6a8a46f: Verifying Checksum 01:34:35 3a2ae6a8a46f: Download complete 01:34:35 33b1e0a273af: Verifying Checksum 01:34:35 33b1e0a273af: Download complete 01:34:35 5d3b04190fa2: Verifying Checksum 01:34:35 5d3b04190fa2: Download complete 01:34:35 ec43610c2a17: Download complete 01:34:35 5eb5b503b376: Verifying Checksum 01:34:35 5eb5b503b376: Download complete 01:34:36 2f39f015ded8: Download complete 01:34:37 5eb5b503b376: Pull complete 01:34:37 5c69ac0246d0: Pull complete 01:34:37 ec43610c2a17: Pull complete 01:34:37 3a2ae6a8a46f: Pull complete 01:34:37 33b1e0a273af: Pull complete 01:34:37 5d3b04190fa2: Pull complete 01:34:42 2f39f015ded8: Pull complete 01:34:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:42 prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container 01:34:42 $ 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-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@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:43 $ docker top 914552b00600f3fe09bc9fddd52dcc40d74ffc2257afc2d50d898ff8413a81d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:44 ---> job-cost.sh 01:34:44 lf-activate-venv: SKIPPING 01:34:44 INFO: No Stack... 01:34:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:34:44 INFO: Archiving Costs [Pipeline] sh 01:34:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives/cost.csv 01:34:45 + cut -d, -f6 [Pipeline] lock 01:34:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] 01:34:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] did not exist. Created. 01:34:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:34:45 + echo total: 0.2199999988079071 [Pipeline] stash 01:34:45 Stashed 1 file(s) [Pipeline] } 01:34:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:34:45 $ docker stop --time=1 914552b00600f3fe09bc9fddd52dcc40d74ffc2257afc2d50d898ff8413a81d7 01:34:46 $ docker rm -f 914552b00600f3fe09bc9fddd52dcc40d74ffc2257afc2d50d898ff8413a81d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:40:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6708 in /w/workspace/gexfoundry_device-mqtt-go_PR-417 [Pipeline] { [Pipeline] ws 01:40:42 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:40:42 Selected Git installation does not exist. Using Default 01:40:42 The recommended git tool is: NONE 01:40:48 using credential edgex-jenkins-ssh 01:40:48 Cloning the remote Git repository 01:40:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:40:48 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:40:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:40:48 > git --version # timeout=10 01:40:48 > git --version # 'git version 2.25.1' 01:40:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:48 Verifying host key using known hosts file 01:40:48 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:40:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:40:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:40:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:40:50 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:50 Verifying host key using known hosts file 01:40:50 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:40:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:40:51 Merging remotes/origin/main commit 328ff548ea1794223110aa3bbf079b4887c6fdbc into PR head commit 40728c0c9192581239a0f3fc91f826ee991611f5 01:40:51 Merge succeeded, producing 40728c0c9192581239a0f3fc91f826ee991611f5 01:40:51 Checking out Revision 40728c0c9192581239a0f3fc91f826ee991611f5 (PR-417) 01:40:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 01:40:52 > git --version # timeout=10 01:40:52 > git --version # 'git version 2.25.1' 01:40:52 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 01:40:51 > git config core.sparsecheckout # timeout=10 01:40:51 > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # timeout=10 01:40:51 > git remote # timeout=10 01:40:51 > git config --get remote.origin.url # timeout=10 01:40:51 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:51 Verifying host key using known hosts file 01:40:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:40:51 > git merge 328ff548ea1794223110aa3bbf079b4887c6fdbc # timeout=10 01:40:51 > git rev-parse HEAD^{commit} # timeout=10 01:40:51 > git config core.sparsecheckout # timeout=10 01:40:51 > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # timeout=10 [Pipeline] sh 01:40:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:40:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:53 Dload Upload Total Spent Left Speed 01:40:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 67390 0 --:--:-- --:--:-- --:--:-- 67752 [Pipeline] sh 01:40:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:40:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:40:54 + sudo tee /etc/docker/daemon.new 01:40:54 { 01:40:54 "registry-mirrors": [ 01:40:54 "https://nexus3.edgexfoundry.org:10001" 01:40:54 ], 01:40:54 "bip": "10.250.0.254/24", 01:40:54 "hosts": [ 01:40:54 "tcp://0.0.0.0:5555", 01:40:54 "unix:///var/run/docker.sock" 01:40:54 ], 01:40:54 "mtu": 1458, 01:40:54 "selinux-enabled": true, 01:40:54 "seccomp-profile": "/etc/docker/seccomp.json" 01:40:54 } [Pipeline] sh 01:40:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:40:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:13 provisioning config files... 01:41:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6386636913141308352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:13 ---> docker-login.sh 01:41:13 nexus3.edgexfoundry.org:10001 01:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:14 Configure a credential helper to remove this warning. See 01:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:14 01:41:14 Login Succeeded 01:41:14 nexus3.edgexfoundry.org:10002 01:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:14 Configure a credential helper to remove this warning. See 01:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:14 01:41:14 Login Succeeded 01:41:14 nexus3.edgexfoundry.org:10003 01:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:15 Configure a credential helper to remove this warning. See 01:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:15 01:41:15 Login Succeeded 01:41:15 nexus3.edgexfoundry.org:10004 01:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:15 Configure a credential helper to remove this warning. See 01:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:15 01:41:15 Login Succeeded 01:41:15 docker.io 01:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:16 Configure a credential helper to remove this warning. See 01:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:16 01:41:16 Login Succeeded 01:41:16 ---> docker-login.sh ends [Pipeline] } 01:41:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:16 ========================================================= 01:41:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:41:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:17 + 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:41:17 Sending build context to Docker daemon 3.184MB 01:41:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:41:17 Step 2/13 : FROM ${BASE} AS builder 01:41:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:41:17 b3c136eddcbf: Pulling fs layer 01:41:17 c0a3192eca97: Pulling fs layer 01:41:17 a050256f5b6f: Pulling fs layer 01:41:17 656be50a0ddc: Pulling fs layer 01:41:17 2bbca73fdf42: Pulling fs layer 01:41:17 f607e4fc86c3: Pulling fs layer 01:41:17 4d572c569a2c: Pulling fs layer 01:41:17 fcf976331f73: Pulling fs layer 01:41:17 f607e4fc86c3: Waiting 01:41:17 656be50a0ddc: Waiting 01:41:17 fcf976331f73: Waiting 01:41:17 2bbca73fdf42: Waiting 01:41:17 a050256f5b6f: Verifying Checksum 01:41:17 a050256f5b6f: Download complete 01:41:17 c0a3192eca97: Download complete 01:41:17 2bbca73fdf42: Download complete 01:41:17 f607e4fc86c3: Verifying Checksum 01:41:17 f607e4fc86c3: Download complete 01:41:17 b3c136eddcbf: Verifying Checksum 01:41:17 b3c136eddcbf: Download complete 01:41:18 b3c136eddcbf: Pull complete 01:41:18 fcf976331f73: Verifying Checksum 01:41:18 fcf976331f73: Download complete 01:41:19 c0a3192eca97: Pull complete 01:41:19 a050256f5b6f: Pull complete 01:41:20 4d572c569a2c: Verifying Checksum 01:41:20 4d572c569a2c: Download complete 01:41:20 656be50a0ddc: Verifying Checksum 01:41:20 656be50a0ddc: Download complete 01:41:33 656be50a0ddc: Pull complete 01:41:33 2bbca73fdf42: Pull complete 01:41:33 f607e4fc86c3: Pull complete 01:41:39 4d572c569a2c: Pull complete 01:41:42 fcf976331f73: Pull complete 01:41:42 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 01:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:41:42 ---> 3970a7415f9e 01:41:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:41:44 ---> Running in ea7ec4172be2 01:41:44 Removing intermediate container ea7ec4172be2 01:41:44 ---> ede3107c8924 01:41:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:44 ---> Running in d224c996d2ec 01:41:44 Removing intermediate container d224c996d2ec 01:41:44 ---> 781ba50c01d9 01:41:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:41:44 ---> Running in 3f942bc65e6e 01:41:45 Removing intermediate container 3f942bc65e6e 01:41:45 ---> 742c9e2fb431 01:41:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:41:45 ---> Running in 49ada281435c 01:41:45 Removing intermediate container 49ada281435c 01:41:45 ---> 0f16a92e27a9 01:41:45 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:45 ---> Running in a6cab87c0c19 01:41:47 Removing intermediate container a6cab87c0c19 01:41:47 ---> 783aafead1d8 01:41:47 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:48 ---> Running in 696a1ee13b81 01:41:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:41:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:41:50 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:41:50 (2/4) Installing libedit (20210910.3.1-r0) 01:41:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:41:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:41:51 Executing busybox-1.35.0-r13.trigger 01:41:51 OK: 226 MiB in 55 packages 01:41:52 Removing intermediate container 696a1ee13b81 01:41:52 ---> 8373dea77269 01:41:52 Step 9/13 : WORKDIR /device-mqtt-go 01:41:52 ---> Running in 4c48f3e53783 01:41:52 Removing intermediate container 4c48f3e53783 01:41:52 ---> 4675665ff3a4 01:41:52 Step 10/13 : COPY go.mod vendor* ./ 01:41:53 ---> f3952942d7d8 01:41:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:53 ---> Running in c276a6b14195 01:42:49 Removing intermediate container c276a6b14195 01:42:49 ---> 99650d35f9e6 01:42:49 Step 12/13 : COPY . . 01:42:49 ---> d0db46d84186 01:42:49 Step 13/13 : RUN $MAKE 01:42:49 ---> Running in ab20d0a98ec1 01:42:49 noop 01:42:49 Removing intermediate container ab20d0a98ec1 01:42:49 ---> 8026acae8697 01:42:49 Successfully built 8026acae8697 01:42:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:50 + docker inspect -f . ci-base-image-arm64 01:42:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:50 prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container 01:42:50 $ 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:42:51 $ docker top 3a888dbeed1fbc40620640ab36338d726bbfe11405266692b723c33f989ada93 -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:52 + go version 01:42:52 go version go1.18.3 linux/arm64 [Pipeline] } 01:42:52 $ docker stop --time=1 3a888dbeed1fbc40620640ab36338d726bbfe11405266692b723c33f989ada93 01:42:54 $ docker rm -f 3a888dbeed1fbc40620640ab36338d726bbfe11405266692b723c33f989ada93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:55 + docker inspect -f . ci-base-image-arm64 01:42:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:55 prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container 01:42:55 $ 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:42:56 $ docker top 5cc60856e9dbf696826587c87c7cce5e773cf4da3246a2cebac830b7b691bacc -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:57 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:42:58 + make test 01:42:58 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:43:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:44:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:44:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 21.8% of statements 01:44:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:44:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:44:40 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:45:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:45:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:45:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:45:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:45:12 $ docker stop --time=1 5cc60856e9dbf696826587c87c7cce5e773cf4da3246a2cebac830b7b691bacc 01:45:14 $ docker rm -f 5cc60856e9dbf696826587c87c7cce5e773cf4da3246a2cebac830b7b691bacc [Pipeline] // withDockerContainer [Pipeline] sh 01:45:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:45:15 Warning: overwriting stash ‘coverage-report’ 01:45:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:45:16 + ls -al . 01:45:16 total 180 01:45:16 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:42 . 01:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:40 .. 01:45:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:40 .dockerignore 01:45:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:40 .git 01:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 .github 01:45:16 -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 01:40 .gitignore 01:45:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:40 .golangci.yml 01:45:16 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 3 01:40 Attribution.txt 01:45:16 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 3 01:40 CHANGELOG.md 01:45:16 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 3 01:40 Dockerfile 01:45:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:40 GOVERNANCE.md 01:45:16 -rw-rw-r-- 1 jenkins jenkins 678 Oct 3 01:40 Jenkinsfile 01:45:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:40 LICENSE 01:45:16 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 3 01:40 Makefile 01:45:16 -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:40 OWNERS.md 01:45:16 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 3 01:40 README.md 01:45:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:32 VERSION 01:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:40 bin 01:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 cmd 01:45:16 -rw-r--r-- 1 jenkins jenkins 17887 Oct 3 01:44 coverage.out 01:45:16 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 3 01:40 go.mod 01:45:16 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 01:40 go.sum 01:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 internal 01:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:40 mock 01:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:40 snap 01:45:16 -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:17 + 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=40728c0c9192581239a0f3fc91f826ee991611f5 --label arch=arm64 --label version=0.0.0 . 01:45:17 Sending build context to Docker daemon 3.203MB 01:45:17 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:45:17 Step 2/25 : FROM ${BASE} AS builder 01:45:17 ---> 8026acae8697 01:45:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:45:17 ---> Running in d54d97897728 01:45:18 Removing intermediate container d54d97897728 01:45:18 ---> e70d7442a49b 01:45:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:45:18 ---> Running in 83d1ab7c5715 01:45:19 Removing intermediate container 83d1ab7c5715 01:45:19 ---> 3837fe0c6dd2 01:45:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:45:19 ---> Running in e794261d1cbb 01:45:20 Removing intermediate container e794261d1cbb 01:45:20 ---> 3672d802b609 01:45:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:45:20 ---> Running in b4c38320ae9a 01:45:20 Removing intermediate container b4c38320ae9a 01:45:20 ---> bc25009f707d 01:45:20 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:20 ---> Running in 58a5e4441d09 01:45:22 Removing intermediate container 58a5e4441d09 01:45:22 ---> 7850fa973b61 01:45:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:45:22 ---> Running in 27aef4bf9ba6 01:45:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:45:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:45:25 OK: 226 MiB in 55 packages 01:45:26 Removing intermediate container 27aef4bf9ba6 01:45:26 ---> 19ae2ed0f8c9 01:45:26 Step 9/25 : WORKDIR /device-mqtt-go 01:45:26 ---> Running in 70190b627f4b 01:45:27 Removing intermediate container 70190b627f4b 01:45:27 ---> 872e0d5edf26 01:45:27 Step 10/25 : COPY go.mod vendor* ./ 01:45:27 ---> 2ef3849dd57c 01:45:27 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:27 ---> Running in a7e70ea3da45 01:45:30 Removing intermediate container a7e70ea3da45 01:45:30 ---> 923396e0a8b9 01:45:30 Step 12/25 : COPY . . 01:45:31 ---> f6dd02171034 01:45:31 Step 13/25 : RUN $MAKE 01:45:31 ---> Running in 08945106c4e6 01:45:32 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:48:08 Removing intermediate container 08945106c4e6 01:48:08 ---> c4e155ba5efc 01:48:08 Step 14/25 : FROM alpine:3.16 01:48:08 3.16: Pulling from library/alpine 01:48:08 9b18e9b68314: Pulling fs layer 01:48:08 9b18e9b68314: Verifying Checksum 01:48:08 9b18e9b68314: Download complete 01:48:08 9b18e9b68314: Pull complete 01:48:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:48:08 Status: Downloaded newer image for alpine:3.16 01:48:08 ---> a6215f271958 01:48:08 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:48:08 ---> Running in 4d198bd4f8cb 01:48:08 Removing intermediate container 4d198bd4f8cb 01:48:08 ---> 966a53ce6aff 01:48:08 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:48:08 ---> Running in 680f68056966 01:48:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:48:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:48:08 (1/6) Installing dumb-init (1.2.5-r1) 01:48:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:48:08 (3/6) Installing libsodium (1.0.18-r0) 01:48:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:48:08 (5/6) Installing libzmq (4.3.4-r0) 01:48:08 (6/6) Installing zeromq (4.3.4-r0) 01:48:08 Executing busybox-1.35.0-r17.trigger 01:48:08 OK: 8 MiB in 20 packages 01:48:08 Removing intermediate container 680f68056966 01:48:08 ---> 24c79f2eac96 01:48:08 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:48:10 ---> 62cd52afa848 01:48:10 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:48:10 ---> db3fc29173f9 01:48:10 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:48:11 ---> 07c204090aad 01:48:11 Step 20/25 : EXPOSE 59982 01:48:11 ---> Running in cbb6f8d8a186 01:48:11 Removing intermediate container cbb6f8d8a186 01:48:11 ---> ca4a834efd45 01:48:11 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:48:11 ---> Running in 3bb426db1475 01:48:12 Removing intermediate container 3bb426db1475 01:48:12 ---> 4ce885554ca1 01:48:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:48:12 ---> Running in 98a94fdc260a 01:48:12 Removing intermediate container 98a94fdc260a 01:48:12 ---> 1a3d5a99be60 01:48:12 Step 23/25 : LABEL arch=arm64 01:48:12 ---> Running in f62206d949c5 01:48:15 Removing intermediate container f62206d949c5 01:48:15 ---> 62559b1d586e 01:48:15 Step 24/25 : LABEL git_sha=40728c0c9192581239a0f3fc91f826ee991611f5 01:48:15 ---> Running in 4a541d600fed 01:48:15 Removing intermediate container 4a541d600fed 01:48:15 ---> 10b49d58cc33 01:48:15 Step 25/25 : LABEL version=0.0.0 01:48:15 ---> Running in 121bacfb9840 01:48:15 Removing intermediate container 121bacfb9840 01:48:15 ---> 8a13382f601b 01:48:15 [Warning] One or more build-args [ARCH] were not consumed 01:48:15 Successfully built 8a13382f601b 01:48:15 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:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:16 01:48:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:16 arm64: Pulling from edgex-lftools-log-publisher 01:48:16 8998bd30e6a1: Pulling fs layer 01:48:16 04944245beec: Pulling fs layer 01:48:16 699f458cf7ca: Pulling fs layer 01:48:16 765212b225bb: Pulling fs layer 01:48:16 f23df028b6ca: Pulling fs layer 01:48:16 d65c8cfc05b1: Pulling fs layer 01:48:16 2437ff75d9bd: Pulling fs layer 01:48:16 765212b225bb: Waiting 01:48:16 f23df028b6ca: Waiting 01:48:16 d65c8cfc05b1: Waiting 01:48:16 2437ff75d9bd: Waiting 01:48:16 04944245beec: Verifying Checksum 01:48:16 04944245beec: Download complete 01:48:16 765212b225bb: Verifying Checksum 01:48:16 765212b225bb: Download complete 01:48:16 f23df028b6ca: Download complete 01:48:16 d65c8cfc05b1: Verifying Checksum 01:48:16 d65c8cfc05b1: Download complete 01:48:17 699f458cf7ca: Verifying Checksum 01:48:17 699f458cf7ca: Download complete 01:48:17 8998bd30e6a1: Verifying Checksum 01:48:20 2437ff75d9bd: Download complete 01:48:21 8998bd30e6a1: Pull complete 01:48:21 04944245beec: Pull complete 01:48:23 699f458cf7ca: Pull complete 01:48:23 765212b225bb: Pull complete 01:48:24 f23df028b6ca: Pull complete 01:48:24 d65c8cfc05b1: Pull complete 01:48:39 2437ff75d9bd: Pull complete 01:48:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:39 prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container 01:48:39 $ 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:48:42 $ docker top 05adefbe11781d042ee01ba4648446f15e3cb363a20a1651f24f831cad4b721d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:43 ---> job-cost.sh 01:48:43 lf-activate-venv: SKIPPING 01:48:43 INFO: No Stack... 01:48:43 INFO: Retrieving Pricing Info for: v3-standard-4 01:48:44 INFO: Archiving Costs [Pipeline] sh 01:48:45 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:48:45 + cut -d, -f6 [Pipeline] lock 01:48:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] 01:48:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] did not exist. Created. 01:48:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:45 /w/workspace/device-mqtt-go/1@tmp/durable-a752ba3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:48:46 + echo total: 0.10999999940395355 [Pipeline] stash 01:48:46 Warning: overwriting stash ‘stack-cost’ 01:48:46 Stashed 1 file(s) [Pipeline] } 01:48:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:46 $ docker stop --time=1 05adefbe11781d042ee01ba4648446f15e3cb363a20a1651f24f831cad4b721d 01:48:48 $ docker rm -f 05adefbe11781d042ee01ba4648446f15e3cb363a20a1651f24f831cad4b721d [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:48:49 provisioning config files... 01:48:49 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config3687686852352367497tmp [Pipeline] { [Pipeline] sh 01:48:49 + set +x 01:48:49 + curl -s https://codecov.io/bash 01:48:49 + bash -s -- 01:48:49 01:48:49 _____ _ 01:48:49 / ____| | | 01:48:49 | | ___ __| | ___ ___ _____ __ 01:48:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:49 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:49 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:49 Bash-1.0.6 01:48:49 01:48:49 01:48:49 ==> git version 2.25.1 found 01:48:49 ==> 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:48:49 Release-Date: 2020-01-08 01:48:49 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:48:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:48:49 ==> Jenkins CI detected. 01:48:49 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-417 01:48:49 project root: . 01:48:49 --> token set from env 01:48:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:49 ==> Running gcov in . (disable via -X gcov) 01:48:49 ==> Python coveragepy not found 01:48:49 ==> Searching for coverage reports in: 01:48:49 + . 01:48:49 -> Found 1 reports 01:48:49 ==> Detecting git/mercurial file structure 01:48:49 ==> Reading reports 01:48:49 + ./coverage.out bytes=17887 01:48:49 ==> Appending adjustments 01:48:49 https://docs.codecov.io/docs/fixing-reports 01:48:49 + Found adjustments 01:48:49 ==> Gzipping contents 01:48:49 4.0K /tmp/codecov.F4upQA.gz 01:48:49 ==> Uploading reports 01:48:49 url: https://codecov.io 01:48:49 query: branch=PR-417&commit=40728c0c9192581239a0f3fc91f826ee991611f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=417&job=&cmd_args= 01:48:49 -> Pinging Codecov 01:48:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-417&commit=40728c0c9192581239a0f3fc91f826ee991611f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=417&job=&cmd_args= 01:48:49 -> Uploading to 01:48:49 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/7D719EC7BBE17E464838252E33014C33/40728c0c9192581239a0f3fc91f826ee991611f5/0fdfd127-089b-4038-a48f-93810e58e7aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T014849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f83692d1cb4f17ad0c225f6d29f67b1f42679311f17dbdf1b2d2c9aae35eea6f 01:48:49 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:49 Dload Upload Total Spent Left Speed 01:48:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 13627 --:--:-- --:--:-- --:--:-- 13627 01:48:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] } 01:48:50 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:48:51 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives ] 01:48:51 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives 01:48:51 total 16 01:48:51 drwxr-xr-x 3 root root 4096 Oct 3 01:34 . 01:48:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 01:34 .. 01:48:51 drwxr-xr-x 2 root root 4096 Oct 3 01:34 cost 01:48:51 -rw-r--r-- 1 root root 86 Oct 3 01:34 cost.csv 01:48:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives 01:48:51 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives 01:48:51 total 16 01:48:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:34 . 01:48:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 01:34 .. 01:48:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:34 cost 01:48:51 -rw-r--r-- 1 jenkins jenkins 86 Oct 3 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:53 ---> package-listing.sh 01:48:53 ++ facter osfamily 01:48:53 ++ tr '[:upper:]' '[:lower:]' 01:48:53 + OS_FAMILY=debian 01:48:53 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-417 01:48:53 + START_PACKAGES=/tmp/packages_start.txt 01:48:53 + END_PACKAGES=/tmp/packages_end.txt 01:48:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:53 + PACKAGES=/tmp/packages_start.txt 01:48:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-417 ']' 01:48:53 + PACKAGES=/tmp/packages_end.txt 01:48:53 + case "${OS_FAMILY}" in 01:48:53 + dpkg -l 01:48:53 + grep '^ii' 01:48:53 + '[' -f /tmp/packages_start.txt ']' 01:48:53 + '[' -f /tmp/packages_end.txt ']' 01:48:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-417 ']' 01:48:53 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives/ 01:48:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives/ [Pipeline] echo 01:48:53 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-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:48:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:54 prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container 01:48:54 $ 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-417/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-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@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:48:54 $ docker top 87462db52331f1bc82b3d2494cdcb158dfd4ddb7887d6712f4ab65e5adde465d -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:55 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:55 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:55 + ls /var/log/sa-host 01:48:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:55 provisioning config files... 01:48:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config9394289911108825745tmp [Pipeline] { [Pipeline] echo 01:48:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:56 ---> create-netrc.sh [Pipeline] } 01:48:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:56 ---> python-tools-install.sh [Pipeline] echo 01:48:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:57 ---> sudo-logs.sh 01:48:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:57 ---> job-cost.sh 01:48:57 lf-activate-venv: SKIPPING 01:48:57 DEBUG: total: 0.2199999988079071 01:48:57 INFO: Retrieving Stack Cost... 01:48:57 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:58 INFO: Archiving Costs [Pipeline] echo 01:48:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:58 ---> logs-deploy.sh 01:48:58 lf-activate-venv: SKIPPING 01:48:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-417/1 01:48:58 INFO: archiving workspace using pattern(s): 01:48:59 Archives upload complete. 01:48:59 INFO: archiving logs to Nexus