Pull request #423 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from de52f11cb84c943c1ee8d7598cf261f4a4be872a+7d55b05ab01bc20af024da7fbe574cccb5f70c8f (20ade3da273ff561ef50be4ff1411e81dcb6e7a0) 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-ssh16718074238720660975.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-ssh2816156447486194594.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10310826143138665926.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 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-ssh1953549300362618633.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15547228462835535651.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8051 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [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-423 # 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7d55b05ab01bc20af024da7fbe574cccb5f70c8f into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing 0897854ee068baa8fe7bd73caf08c1f8e30db33a Checking out Revision 0897854ee068baa8fe7bd73caf08c1f8e30db33a (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # 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 7d55b05ab01bc20af024da7fbe574cccb5f70c8f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0897854ee068baa8fe7bd73caf08c1f8e30db33a # timeout=10 Commit message: "Merge commit '7d55b05ab01bc20af024da7fbe574cccb5f70c8f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9e2d16dccc36d1bd39c779aacc0c524732d32e48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:46:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:46:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:46:02 ========================================================= 08:46:02 EdgeX Global Pipelines Version Info 08:46:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:46:03 ------------------- 08:46:03 stable info: 08:46:03 ------------------- 08:46:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 08:46:03 Message: update stable to v1.0.239 08:46:03 ------------------- 08:46:03 experimental info: 08:46:03 ------------------- 08:46:03 Commited By: **** collab-it+edgex@linuxfoundation.org 08:46:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 08:46:03 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:46:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0897854 [Pipeline] echo 08:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:04 provisioning config files... 08:46:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config10406746527214366659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:04 ---> docker-login.sh 08:46:04 nexus3.edgexfoundry.org:10001 08:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:05 Configure a credential helper to remove this warning. See 08:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:05 08:46:05 Login Succeeded 08:46:05 nexus3.edgexfoundry.org:10002 08:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:05 Configure a credential helper to remove this warning. See 08:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:05 08:46:05 Login Succeeded 08:46:05 nexus3.edgexfoundry.org:10003 08:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:05 Configure a credential helper to remove this warning. See 08:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:05 08:46:05 Login Succeeded 08:46:05 nexus3.edgexfoundry.org:10004 08:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:05 Configure a credential helper to remove this warning. See 08:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:05 08:46:05 Login Succeeded 08:46:05 docker.io 08:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:06 Configure a credential helper to remove this warning. See 08:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:06 08:46:06 Login Succeeded 08:46:06 ---> docker-login.sh ends [Pipeline] } 08:46:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:46:06 + git rev-list -1 --merges 0897854ee068baa8fe7bd73caf08c1f8e30db33a~1..0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo 08:46:06 -----------> git rev-list -1 --merges 0897854ee068baa8fe7bd73caf08c1f8e30db33a~1..0897854ee068baa8fe7bd73caf08c1f8e30db33a 0897854ee068baa8fe7bd73caf08c1f8e30db33a 08:46:06 0897854ee068baa8fe7bd73caf08c1f8e30db33a [false] [Pipeline] sh 08:46:06 + git log --format=format:%s -1 0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo 08:46:06 ========================================================= 08:46:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:46:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:07 + git log --format=format:%s -1 0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo 08:46:07 [semverPrep] GIT_COMMIT: 0897854ee068baa8fe7bd73caf08c1f8e30db33a, Commit Message: Merge commit '7d55b05ab01bc20af024da7fbe574cccb5f70c8f' into HEAD [Pipeline] echo 08:46:07 [semverPrep] This is not a build commit. [Pipeline] sh 08:46:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:46:07 + grep -v github /etc/ssh/ssh_known_hosts 08:46:07 + [ -e /tmp/ssh_known_hosts ] 08:46:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:46:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:46:07 + sudo tee -a /etc/ssh/ssh_known_hosts 08:46:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:46:08 08:46:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:46:08 0.1.4: Pulling from edgex-devops/py-git-semver 08:46:08 b85a868b505f: Pulling fs layer 08:46:08 e2be974225ed: Pulling fs layer 08:46:08 339a4e72a1f5: Pulling fs layer 08:46:08 988bab9f4d93: Pulling fs layer 08:46:08 1469e6f7b9e6: Pulling fs layer 08:46:08 988bab9f4d93: Waiting 08:46:08 eaf3925da568: Pulling fs layer 08:46:08 bab4dde63d76: Pulling fs layer 08:46:08 1469e6f7b9e6: Waiting 08:46:08 eaf3925da568: Waiting 08:46:08 bab4dde63d76: Waiting 08:46:08 bde34c3a00c8: Pulling fs layer 08:46:08 b352a97aabf1: Pulling fs layer 08:46:08 4872d77fe225: Pulling fs layer 08:46:08 b352a97aabf1: Waiting 08:46:08 5851b861e8e6: Pulling fs layer 08:46:08 4872d77fe225: Waiting 08:46:08 5851b861e8e6: Waiting 08:46:08 e2be974225ed: Verifying Checksum 08:46:08 e2be974225ed: Download complete 08:46:08 988bab9f4d93: Verifying Checksum 08:46:08 988bab9f4d93: Download complete 08:46:08 1469e6f7b9e6: Verifying Checksum 08:46:08 1469e6f7b9e6: Download complete 08:46:08 339a4e72a1f5: Verifying Checksum 08:46:08 339a4e72a1f5: Download complete 08:46:08 eaf3925da568: Verifying Checksum 08:46:08 eaf3925da568: Download complete 08:46:08 bde34c3a00c8: Verifying Checksum 08:46:08 bde34c3a00c8: Download complete 08:46:08 b352a97aabf1: Download complete 08:46:08 4872d77fe225: Verifying Checksum 08:46:08 4872d77fe225: Download complete 08:46:08 5851b861e8e6: Verifying Checksum 08:46:08 5851b861e8e6: Download complete 08:46:08 b85a868b505f: Verifying Checksum 08:46:08 b85a868b505f: Download complete 08:46:08 bab4dde63d76: Verifying Checksum 08:46:08 bab4dde63d76: Download complete 08:46:09 b85a868b505f: Pull complete 08:46:10 e2be974225ed: Pull complete 08:46:10 339a4e72a1f5: Pull complete 08:46:10 988bab9f4d93: Pull complete 08:46:10 1469e6f7b9e6: Pull complete 08:46:10 eaf3925da568: Pull complete 08:46:12 bab4dde63d76: Pull complete 08:46:12 bde34c3a00c8: Pull complete 08:46:13 b352a97aabf1: Pull complete 08:46:13 4872d77fe225: Pull complete 08:46:13 5851b861e8e6: Pull complete 08:46:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:46:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:46:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:13 prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container 08:46:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:46:15 $ docker top 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf -eo pid,comm 08:46:15 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). 08:46:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:46:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:15 [ssh-agent] Looking for ssh-agent implementation... 08:46:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:15 $ docker exec 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent 08:46:15 SSH_AUTH_SOCK=/tmp/ssh-Wd2rDnYzOx8I/agent.33 08:46:15 SSH_AGENT_PID=39 08:46:15 Running ssh-add (command line suppressed) 08:46:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_5116995219765408918.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_5116995219765408918.key) 08:46:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:15 + git tag --points-at HEAD [Pipeline] } 08:46:15 $ docker exec --env ******** --env ******** 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent -k 08:46:16 unset SSH_AUTH_SOCK; 08:46:16 unset SSH_AGENT_PID; 08:46:16 echo Agent pid 39 killed; 08:46:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:46:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:16 [ssh-agent] Looking for ssh-agent implementation... 08:46:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:16 $ docker exec 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent 08:46:16 SSH_AUTH_SOCK=/tmp/ssh-yZqw0zlsqF5T/agent.71 08:46:16 SSH_AGENT_PID=77 08:46:16 Running ssh-add (command line suppressed) 08:46:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2682966743644947098.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2682966743644947098.key) 08:46:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:16 + git semver init 08:46:16 2022-10-17 08:46:16,930 [run_init] DEBUG init version:0.0.0 force:False 08:46:16 2022-10-17 08:46:16,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 08:46:16 2022-10-17 08:46:16,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 08:46:16 2022-10-17 08:46:16,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) 08:46:18 2022-10-17 08:46:17,954 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude 08:46:18 2022-10-17 08:46:17,954 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False 08:46:18 2022-10-17 08:46:17,955 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 08:46:18 2022-10-17 08:46:17,959 [execute] INFO git cat-file --batch-check 08:46:18 2022-10-17 08:46:17,959 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 08:46:18 2022-10-17 08:46:17,965 [execute] INFO git cat-file --batch 08:46:18 2022-10-17 08:46:17,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 08:46:18 2022-10-17 08:46:17,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 08:46:18 0.0.0 [Pipeline] } 08:46:18 $ docker exec --env ******** --env ******** 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent -k 08:46:18 unset SSH_AUTH_SOCK; 08:46:18 unset SSH_AGENT_PID; 08:46:18 echo Agent pid 77 killed; 08:46:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:46:18 + git semver [Pipeline] } 08:46:19 $ docker stop --time=1 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf 08:46:20 $ docker rm -f 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf [Pipeline] // withDockerContainer [Pipeline] sh 08:46:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:46:20 Stashed 1 file(s) [Pipeline] echo 08:46:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:21 provisioning config files... 08:46:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config17197310151354080444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:21 ---> docker-login.sh 08:46:21 nexus3.edgexfoundry.org:10001 08:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:21 Configure a credential helper to remove this warning. See 08:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:21 08:46:21 Login Succeeded 08:46:21 nexus3.edgexfoundry.org:10002 08:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:21 Configure a credential helper to remove this warning. See 08:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:21 08:46:21 Login Succeeded 08:46:21 nexus3.edgexfoundry.org:10003 08:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:21 Configure a credential helper to remove this warning. See 08:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:21 08:46:21 Login Succeeded 08:46:21 nexus3.edgexfoundry.org:10004 08:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:21 Configure a credential helper to remove this warning. See 08:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:21 08:46:21 Login Succeeded 08:46:21 docker.io 08:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:22 Configure a credential helper to remove this warning. See 08:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:22 08:46:22 Login Succeeded 08:46:22 ---> docker-login.sh ends [Pipeline] } 08:46:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:46:22 ========================================================= 08:46:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:46:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 08:46:22 Sending build context to Docker daemon 6.173MB 08:46:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 08:46:22 Step 2/13 : FROM ${BASE} AS builder 08:46:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:46:22 213ec9aee27d: Pulling fs layer 08:46:22 4583459ba037: Pulling fs layer 08:46:22 93c1e223e6f2: Pulling fs layer 08:46:22 53926ce57604: Pulling fs layer 08:46:22 21b2b0c7a3f4: Pulling fs layer 08:46:22 30f14e443154: Pulling fs layer 08:46:22 801331c1e519: Pulling fs layer 08:46:22 99cc6dd402b0: Pulling fs layer 08:46:22 7d9ed39f4882: Pulling fs layer 08:46:22 53926ce57604: Waiting 08:46:22 21b2b0c7a3f4: Waiting 08:46:22 30f14e443154: Waiting 08:46:22 801331c1e519: Waiting 08:46:22 99cc6dd402b0: Waiting 08:46:22 7d9ed39f4882: Waiting 08:46:22 93c1e223e6f2: Verifying Checksum 08:46:22 93c1e223e6f2: Download complete 08:46:22 4583459ba037: Download complete 08:46:22 21b2b0c7a3f4: Download complete 08:46:22 30f14e443154: Verifying Checksum 08:46:22 30f14e443154: Download complete 08:46:22 213ec9aee27d: Verifying Checksum 08:46:22 801331c1e519: Download complete 08:46:22 213ec9aee27d: Pull complete 08:46:23 4583459ba037: Pull complete 08:46:23 93c1e223e6f2: Pull complete 08:46:23 7d9ed39f4882: Verifying Checksum 08:46:23 7d9ed39f4882: Download complete 08:46:23 99cc6dd402b0: Verifying Checksum 08:46:23 99cc6dd402b0: Download complete 08:46:23 53926ce57604: Download complete 08:46:26 53926ce57604: Pull complete 08:46:27 21b2b0c7a3f4: Pull complete 08:46:27 30f14e443154: Pull complete 08:46:27 801331c1e519: Pull complete 08:46:28 99cc6dd402b0: Pull complete 08:46:29 7d9ed39f4882: Pull complete 08:46:29 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 08:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:46:29 ---> 1dedd983c030 08:46:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:46:33 ---> Running in 9b31bf8d385a 08:46:33 Removing intermediate container 9b31bf8d385a 08:46:33 ---> 52cc63f251b4 08:46:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:46:33 ---> Running in cca2b3edae32 08:46:33 Removing intermediate container cca2b3edae32 08:46:33 ---> 480ecaaf8d17 08:46:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:46:33 ---> Running in 6009307a3e68 08:46:33 Removing intermediate container 6009307a3e68 08:46:33 ---> cfd61c2e4c46 08:46:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:46:33 ---> Running in 55a3a7768845 08:46:33 Removing intermediate container 55a3a7768845 08:46:33 ---> 29eb982f436d 08:46:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:33 ---> Running in 65ba920c6066 08:46:34 Removing intermediate container 65ba920c6066 08:46:34 ---> 127276fd459b 08:46:34 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:46:34 ---> Running in a4b847ea7126 08:46:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:46:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:46:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:46:35 Still waiting to schedule task 08:46:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:46:36 (2/4) Installing libedit (20210910.3.1-r0) 08:46:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:46:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:46:36 Executing busybox-1.35.0-r17.trigger 08:46:36 OK: 216 MiB in 55 packages 08:46:36 Removing intermediate container a4b847ea7126 08:46:36 ---> 8cc1f4cb30c9 08:46:36 Step 9/13 : WORKDIR /device-mqtt-go 08:46:36 ---> Running in f5f30fa0e96a 08:46:36 Removing intermediate container f5f30fa0e96a 08:46:36 ---> 6598b08b77c8 08:46:36 Step 10/13 : COPY go.mod vendor* ./ 08:46:37 ---> 0e9f5ed02d8c 08:46:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:37 ---> Running in e2dbc1c86240 08:46:59 Removing intermediate container e2dbc1c86240 08:46:59 ---> 3a345fb77382 08:46:59 Step 12/13 : COPY . . 08:46:59 ---> 04e21bbac8b1 08:46:59 Step 13/13 : RUN $MAKE 08:46:59 ---> Running in 8c155841077e 08:46:59 noop 08:46:59 Removing intermediate container 8c155841077e 08:46:59 ---> f0c2a21f61d0 08:46:59 Successfully built f0c2a21f61d0 08:46:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:59 + docker inspect -f . ci-base-image-x86_64 08:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:59 prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container 08:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:47:00 $ docker top 97be1481e7ee3fcd5f4d1f9c4bb900f16c530b2fed85fe5bdf49394d4e6717fd -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:00 + go version 08:47:00 go version go1.18.7 linux/amd64 [Pipeline] } 08:47:00 $ docker stop --time=1 97be1481e7ee3fcd5f4d1f9c4bb900f16c530b2fed85fe5bdf49394d4e6717fd 08:47:01 $ docker rm -f 97be1481e7ee3fcd5f4d1f9c4bb900f16c530b2fed85fe5bdf49394d4e6717fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:02 + docker inspect -f . ci-base-image-x86_64 08:47:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:02 prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container 08:47:02 $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:47:02 $ docker top 1572e2ed18d7220c8bfb69dffcdc0e3dece498918a43cd09012487f94057415a -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh 08:47:03 + make test 08:47:03 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:47:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:47:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:47:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 08:47:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:47:18 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." 08:47:18 GCO_ENABLED=1 GO111MODULE=on go vet ./... 08:47:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:47:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:47:21 ./bin/test-attribution-txt.sh [Pipeline] echo 08:47:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:47:21 $ docker stop --time=1 1572e2ed18d7220c8bfb69dffcdc0e3dece498918a43cd09012487f94057415a 08:47:23 $ docker rm -f 1572e2ed18d7220c8bfb69dffcdc0e3dece498918a43cd09012487f94057415a [Pipeline] // withDockerContainer [Pipeline] sh 08:47:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:47:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:47:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:47:24 + ls -al . 08:47:24 total 184 08:47:24 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 08:47 . 08:47:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:45 .. 08:47:24 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 08:45 .dockerignore 08:47:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 08:47 .git 08:47:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:45 .github 08:47:24 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 08:45 .gitignore 08:47:24 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 08:45 .golangci.yml 08:47:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 08:46 .semver 08:47:24 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 08:45 Attribution.txt 08:47:24 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 08:45 CHANGELOG.md 08:47:24 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 08:45 Dockerfile 08:47:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 08:45 GOVERNANCE.md 08:47:24 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 08:45 Jenkinsfile 08:47:24 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 08:45 LICENSE 08:47:24 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 08:45 Makefile 08:47:24 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 08:45 OWNERS.md 08:47:24 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 08:45 README.md 08:47:24 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 08:46 VERSION 08:47:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:45 bin 08:47:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:45 cmd 08:47:24 -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 08:47 coverage.out 08:47:24 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 08:45 go.mod 08:47:24 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 08:45 go.sum 08:47:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:45 internal 08:47:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:45 mock 08:47:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:45 snap 08:47:24 -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 08:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:25 + 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=0897854ee068baa8fe7bd73caf08c1f8e30db33a --label arch=amd64 --label version=0.0.0 . 08:47:25 Sending build context to Docker daemon 6.191MB 08:47:25 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:47:25 Step 2/25 : FROM ${BASE} AS builder 08:47:25 ---> f0c2a21f61d0 08:47:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 08:47:25 ---> Running in f1986d2954e6 08:47:25 Removing intermediate container f1986d2954e6 08:47:25 ---> 44c1469b1615 08:47:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:47:25 ---> Running in 85c0bff06e8f 08:47:25 Removing intermediate container 85c0bff06e8f 08:47:25 ---> 41341ff0f4e8 08:47:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:47:25 ---> Running in d5b3f797a856 08:47:25 Removing intermediate container d5b3f797a856 08:47:25 ---> ebfa99bd19bb 08:47:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 08:47:25 ---> Running in 922f12b46fe5 08:47:25 Removing intermediate container 922f12b46fe5 08:47:25 ---> 55d8d1bbe22a 08:47:25 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:25 ---> Running in 6b5a040c7144 08:47:26 Removing intermediate container 6b5a040c7144 08:47:26 ---> d807f408a2c3 08:47:26 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:26 ---> Running in d2c107b8fb69 08:47:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:47:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:47:27 OK: 216 MiB in 55 packages 08:47:28 Removing intermediate container d2c107b8fb69 08:47:28 ---> d834e33a5ecc 08:47:28 Step 9/25 : WORKDIR /device-mqtt-go 08:47:28 ---> Running in 1943a264b005 08:47:28 Removing intermediate container 1943a264b005 08:47:28 ---> bf8d5801a6af 08:47:28 Step 10/25 : COPY go.mod vendor* ./ 08:47:28 ---> 9317250541e5 08:47:28 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:47:28 ---> Running in 72070506492c 08:47:29 Removing intermediate container 72070506492c 08:47:29 ---> 4e2038b9285a 08:47:29 Step 12/25 : COPY . . 08:47:29 ---> 46f06ddd48fd 08:47:29 Step 13/25 : RUN $MAKE 08:47:29 ---> Running in 55d21d8f86dc 08:47:29 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 08:47:51 Removing intermediate container 55d21d8f86dc 08:47:51 ---> 0584bbde30b6 08:47:51 Step 14/25 : FROM alpine:3.16 08:47:51 3.16: Pulling from library/alpine 08:47:51 213ec9aee27d: Already exists 08:47:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:47:51 Status: Downloaded newer image for alpine:3.16 08:47:51 ---> 9c6f07244728 08:47:51 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:47:51 ---> Running in 8ab7bf82369c 08:47:51 Removing intermediate container 8ab7bf82369c 08:47:51 ---> ac518c75b6ab 08:47:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:47:51 ---> Running in 770ac9ad6d33 08:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:47:51 (1/6) Installing dumb-init (1.2.5-r1) 08:47:51 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:47:51 (3/6) Installing libsodium (1.0.18-r0) 08:47:51 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:47:51 (5/6) Installing libzmq (4.3.4-r0) 08:47:51 (6/6) Installing zeromq (4.3.4-r0) 08:47:51 Executing busybox-1.35.0-r17.trigger 08:47:51 OK: 8 MiB in 20 packages 08:47:51 Removing intermediate container 770ac9ad6d33 08:47:51 ---> a2d67f46574e 08:47:51 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 08:47:52 ---> b1eb00584840 08:47:52 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 08:47:52 ---> 7d6426574c71 08:47:52 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:47:52 ---> 72d7b17941b7 08:47:52 Step 20/25 : EXPOSE 59982 08:47:52 ---> Running in f86aa493aceb 08:47:52 Removing intermediate container f86aa493aceb 08:47:52 ---> d13797c8779a 08:47:52 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 08:47:52 ---> Running in 086057a850d3 08:47:52 Removing intermediate container 086057a850d3 08:47:52 ---> ce0c0a989d55 08:47:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:47:52 ---> Running in 88866769a3a3 08:47:52 Removing intermediate container 88866769a3a3 08:47:52 ---> a04cd0025328 08:47:52 Step 23/25 : LABEL arch=amd64 08:47:52 ---> Running in b44b1964e8d3 08:47:52 Removing intermediate container b44b1964e8d3 08:47:52 ---> 275959b0c3a6 08:47:52 Step 24/25 : LABEL git_sha=0897854ee068baa8fe7bd73caf08c1f8e30db33a 08:47:52 ---> Running in 83d6187c5f83 08:47:52 Removing intermediate container 83d6187c5f83 08:47:52 ---> 9a7fa3e9d6cf 08:47:52 Step 25/25 : LABEL version=0.0.0 08:47:52 ---> Running in 1af1b6d8ec69 08:47:52 Removing intermediate container 1af1b6d8ec69 08:47:52 ---> 9a90a0a5200e 08:47:52 [Warning] One or more build-args [ARCH] were not consumed 08:47:52 Successfully built 9a90a0a5200e 08:47:52 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 08:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:53 08:47:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:47:53 latest: Pulling from edgex-lftools-log-publisher 08:47:53 5eb5b503b376: Pulling fs layer 08:47:53 5c69ac0246d0: Pulling fs layer 08:47:53 ec43610c2a17: Pulling fs layer 08:47:53 3a2ae6a8a46f: Pulling fs layer 08:47:53 33b1e0a273af: Pulling fs layer 08:47:53 5d3b04190fa2: Pulling fs layer 08:47:53 2f39f015ded8: Pulling fs layer 08:47:53 33b1e0a273af: Waiting 08:47:53 5d3b04190fa2: Waiting 08:47:53 2f39f015ded8: Waiting 08:47:53 3a2ae6a8a46f: Waiting 08:47:53 5c69ac0246d0: Verifying Checksum 08:47:53 5c69ac0246d0: Download complete 08:47:53 3a2ae6a8a46f: Verifying Checksum 08:47:53 3a2ae6a8a46f: Download complete 08:47:53 33b1e0a273af: Verifying Checksum 08:47:53 33b1e0a273af: Download complete 08:47:53 ec43610c2a17: Verifying Checksum 08:47:53 ec43610c2a17: Download complete 08:47:53 5d3b04190fa2: Download complete 08:47:53 5eb5b503b376: Verifying Checksum 08:47:53 5eb5b503b376: Download complete 08:47:54 2f39f015ded8: Verifying Checksum 08:47:54 2f39f015ded8: Download complete 08:47:54 5eb5b503b376: Pull complete 08:47:55 5c69ac0246d0: Pull complete 08:47:55 ec43610c2a17: Pull complete 08:47:55 3a2ae6a8a46f: Pull complete 08:47:55 33b1e0a273af: Pull complete 08:47:55 5d3b04190fa2: Pull complete 08:48:00 2f39f015ded8: Pull complete 08:48:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:48:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:00 prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container 08:48:00 $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:48:03 $ docker top 3a0bb7466632a286656df6c4c530ccd5404d4ec9443dc5fb8441836d10f5289d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:03 ---> job-cost.sh 08:48:03 lf-activate-venv: SKIPPING 08:48:03 INFO: No Stack... 08:48:03 INFO: Retrieving Pricing Info for: v3-standard-8 08:48:04 INFO: Archiving Costs [Pipeline] sh 08:48:04 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv 08:48:04 + cut -d, -f6 [Pipeline] lock 08:48:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] 08:48:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] did not exist. Created. 08:48:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:48:04 + echo total: 0.2199999988079071 [Pipeline] stash 08:48:04 Stashed 1 file(s) [Pipeline] } 08:48:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] // lock [Pipeline] } 08:48:04 $ docker stop --time=1 3a0bb7466632a286656df6c4c530ccd5404d4ec9443dc5fb8441836d10f5289d 08:48:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8052 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 08:48:06 $ docker rm -f 3a0bb7466632a286656df6c4c530ccd5404d4ec9443dc5fb8441836d10f5289d [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 08:48:06 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 08:48:06 Selected Git installation does not exist. Using Default 08:48:06 The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } 08:48:11 using credential edgex-jenkins-ssh 08:48:11 Cloning the remote Git repository 08:48:11 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:48:11 > git init /w/workspace/device-mqtt-go/6 # timeout=10 08:48:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:48:11 > git --version # timeout=10 08:48:11 > git --version # 'git version 2.25.1' 08:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:11 Verifying host key using known hosts file 08:48:11 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. 08:48:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:48:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:48:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:48:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:48:14 Merging remotes/origin/main commit 7d55b05ab01bc20af024da7fbe574cccb5f70c8f into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a 08:48:14 Merge succeeded, producing b74824706d9f6e80093b801f72e0f3b2631ae0f1 08:48:14 Checking out Revision b74824706d9f6e80093b801f72e0f3b2631ae0f1 (PR-423) 08:48:13 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:48:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:13 Verifying host key using known hosts file 08:48:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:48:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:48:14 > git config core.sparsecheckout # timeout=10 08:48:14 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 08:48:14 > git remote # timeout=10 08:48:14 > git config --get remote.origin.url # timeout=10 08:48:14 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:14 Verifying host key using known hosts file 08:48:14 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. 08:48:14 > git merge 7d55b05ab01bc20af024da7fbe574cccb5f70c8f # timeout=10 08:48:14 > git rev-parse HEAD^{commit} # timeout=10 08:48:14 > git config core.sparsecheckout # timeout=10 08:48:14 > git checkout -f b74824706d9f6e80093b801f72e0f3b2631ae0f1 # timeout=10 08:48:18 Commit message: "Merge commit '7d55b05ab01bc20af024da7fbe574cccb5f70c8f' into HEAD" 08:48:18 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:48:18 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:18 Dload Upload Total Spent Left Speed 08:48:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 08:48:18 > git rev-list --no-walk 9e2d16dccc36d1bd39c779aacc0c524732d32e48 # timeout=10 08:48:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:48:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:48:19 + sudo tee /etc/docker/daemon.new 08:48:19 { 08:48:19 "registry-mirrors": [ 08:48:19 "https://nexus3.edgexfoundry.org:10001" 08:48:19 ], 08:48:19 "bip": "10.250.0.254/24", 08:48:19 "hosts": [ 08:48:19 "tcp://0.0.0.0:5555", 08:48:19 "unix:///var/run/docker.sock" 08:48:19 ], 08:48:19 "mtu": 1458, 08:48:19 "selinux-enabled": true, 08:48:19 "seccomp-profile": "/etc/docker/seccomp.json" 08:48:19 } [Pipeline] sh 08:48:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:48:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:38 provisioning config files... 08:48:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config6784277992570338194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:39 ---> docker-login.sh 08:48:39 nexus3.edgexfoundry.org:10001 08:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:39 Configure a credential helper to remove this warning. See 08:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:39 08:48:39 Login Succeeded 08:48:39 nexus3.edgexfoundry.org:10002 08:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:40 Configure a credential helper to remove this warning. See 08:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:40 08:48:40 Login Succeeded 08:48:40 nexus3.edgexfoundry.org:10003 08:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:40 Configure a credential helper to remove this warning. See 08:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:40 08:48:42 Login Succeeded 08:48:42 nexus3.edgexfoundry.org:10004 08:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:42 Configure a credential helper to remove this warning. See 08:48:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:42 08:48:42 Login Succeeded 08:48:42 docker.io 08:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:43 Configure a credential helper to remove this warning. See 08:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:43 08:48:43 Login Succeeded 08:48:43 ---> docker-login.sh ends [Pipeline] } 08:48:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:48:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:48:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:48:43 ========================================================= 08:48:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:48:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:43 + 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 . 08:48:43 Sending build context to Docker daemon 3.197MB 08:48:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 08:48:43 Step 2/13 : FROM ${BASE} AS builder 08:48:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:48:44 9b18e9b68314: Pulling fs layer 08:48:44 d32db5db7311: Pulling fs layer 08:48:44 d0c4b47475fc: Pulling fs layer 08:48:44 5831b945b038: Pulling fs layer 08:48:44 86bbec2aaacd: Pulling fs layer 08:48:44 e10730c5d714: Pulling fs layer 08:48:44 5831b945b038: Waiting 08:48:44 86bbec2aaacd: Waiting 08:48:44 5dd5c2283517: Pulling fs layer 08:48:44 d5ac0230b979: Pulling fs layer 08:48:44 e10730c5d714: Waiting 08:48:44 5dd5c2283517: Waiting 08:48:44 d5ac0230b979: Waiting 08:48:44 d0c4b47475fc: Download complete 08:48:44 d32db5db7311: Verifying Checksum 08:48:44 d32db5db7311: Download complete 08:48:44 86bbec2aaacd: Download complete 08:48:44 e10730c5d714: Download complete 08:48:44 9b18e9b68314: Verifying Checksum 08:48:44 9b18e9b68314: Download complete 08:48:45 9b18e9b68314: Pull complete 08:48:45 d5ac0230b979: Verifying Checksum 08:48:45 d5ac0230b979: Download complete 08:48:45 d32db5db7311: Pull complete 08:48:46 d0c4b47475fc: Pull complete 08:48:46 5dd5c2283517: Verifying Checksum 08:48:46 5dd5c2283517: Download complete 08:48:47 5831b945b038: Verifying Checksum 08:48:47 5831b945b038: Download complete 08:48:59 5831b945b038: Pull complete 08:48:59 86bbec2aaacd: Pull complete 08:48:59 e10730c5d714: Pull complete 08:49:06 5dd5c2283517: Pull complete 08:49:08 d5ac0230b979: Pull complete 08:49:08 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 08:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:49:08 ---> 59b3b1a385d4 08:49:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 08:49:08 ---> Running in cd8280f2e1e9 08:49:09 Removing intermediate container cd8280f2e1e9 08:49:09 ---> eaecf964b940 08:49:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:49:09 ---> Running in 4f8ed3ec99e3 08:49:09 Removing intermediate container 4f8ed3ec99e3 08:49:09 ---> b3ca19dc4be1 08:49:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:49:09 ---> Running in be3cadbd14cb 08:49:09 Removing intermediate container be3cadbd14cb 08:49:09 ---> 90b84ca42b11 08:49:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 08:49:09 ---> Running in 3396bf5d0b41 08:49:10 Removing intermediate container 3396bf5d0b41 08:49:10 ---> 06e65fb51211 08:49:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:10 ---> Running in 5133c1e83cfd 08:49:12 Removing intermediate container 5133c1e83cfd 08:49:12 ---> bff2b851a598 08:49:12 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:49:12 ---> Running in 60915449d0b0 08:49:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:49:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:49:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 08:49:14 (2/4) Installing libedit (20210910.3.1-r0) 08:49:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 08:49:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 08:49:15 Executing busybox-1.35.0-r17.trigger 08:49:15 OK: 226 MiB in 55 packages 08:49:16 Removing intermediate container 60915449d0b0 08:49:16 ---> 48d3913d43f1 08:49:16 Step 9/13 : WORKDIR /device-mqtt-go 08:49:16 ---> Running in f8f73f06141e 08:49:16 Removing intermediate container f8f73f06141e 08:49:16 ---> 0a666c4a6832 08:49:16 Step 10/13 : COPY go.mod vendor* ./ 08:49:17 ---> bb69e7e71e8f 08:49:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:49:17 ---> Running in b56edc8b3e1f 08:50:04 Removing intermediate container b56edc8b3e1f 08:50:04 ---> 63f20e285074 08:50:04 Step 12/13 : COPY . . 08:50:04 ---> 2367f5398807 08:50:04 Step 13/13 : RUN $MAKE 08:50:04 ---> Running in 46aa22dc13c1 08:50:05 noop 08:50:05 Removing intermediate container 46aa22dc13c1 08:50:05 ---> 8e12510f890c 08:50:05 Successfully built 8e12510f890c 08:50:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:06 + docker inspect -f . ci-base-image-arm64 08:50:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:50:06 prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container 08:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:07 $ docker top ba2f42a9d022b986672818bb5ece81fef390a9631776c17fd82d365689528edc -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:08 + go version 08:50:08 go version go1.18.7 linux/arm64 [Pipeline] } 08:50:08 $ docker stop --time=1 ba2f42a9d022b986672818bb5ece81fef390a9631776c17fd82d365689528edc 08:50:10 $ docker rm -f ba2f42a9d022b986672818bb5ece81fef390a9631776c17fd82d365689528edc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:10 + docker inspect -f . ci-base-image-arm64 08:50:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:50:10 prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container 08:50:10 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:11 $ docker top 4ba4d9ca091544755e250a0e4ffcc4059b5cb242db94a5a14c9688b3123e58f6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:12 + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh 08:50:13 + make test 08:50:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:50:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:51:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:51:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 08:51:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:51:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:51:36 GCO_ENABLED=1 GO111MODULE=on go vet ./... 08:51:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:51:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:51:58 ./bin/test-attribution-txt.sh [Pipeline] echo 08:51:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:51:58 $ docker stop --time=1 4ba4d9ca091544755e250a0e4ffcc4059b5cb242db94a5a14c9688b3123e58f6 08:52:00 $ docker rm -f 4ba4d9ca091544755e250a0e4ffcc4059b5cb242db94a5a14c9688b3123e58f6 [Pipeline] // withDockerContainer [Pipeline] sh 08:52:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:52:01 Warning: overwriting stash ‘coverage-report’ 08:52:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:02 + ls -al . 08:52:02 total 180 08:52:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 08:50 . 08:52:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:48 .. 08:52:02 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 08:48 .dockerignore 08:52:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 08:48 .git 08:52:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:48 .github 08:52:02 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 08:48 .gitignore 08:52:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 08:48 .golangci.yml 08:52:02 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 08:48 Attribution.txt 08:52:02 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 08:48 CHANGELOG.md 08:52:02 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 08:48 Dockerfile 08:52:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 08:48 GOVERNANCE.md 08:52:02 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 08:48 Jenkinsfile 08:52:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 08:48 LICENSE 08:52:02 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 08:48 Makefile 08:52:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 08:48 OWNERS.md 08:52:02 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 08:48 README.md 08:52:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 08:46 VERSION 08:52:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:48 bin 08:52:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:48 cmd 08:52:02 -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 08:51 coverage.out 08:52:02 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 08:48 go.mod 08:52:02 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 08:48 go.sum 08:52:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:48 internal 08:52:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:48 mock 08:52:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:48 snap 08:52:02 -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 08:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:02 + 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=b74824706d9f6e80093b801f72e0f3b2631ae0f1 --label arch=arm64 --label version=0.0.0 . 08:52:02 Sending build context to Docker daemon 3.215MB 08:52:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 08:52:02 Step 2/25 : FROM ${BASE} AS builder 08:52:02 ---> 8e12510f890c 08:52:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 08:52:02 ---> Running in 4d230c3163b7 08:52:03 Removing intermediate container 4d230c3163b7 08:52:03 ---> c1a75c47aac7 08:52:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:52:03 ---> Running in 9e709e52389b 08:52:03 Removing intermediate container 9e709e52389b 08:52:03 ---> 18c6224489b2 08:52:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:52:03 ---> Running in 788b00833321 08:52:04 Removing intermediate container 788b00833321 08:52:04 ---> 493e398e5077 08:52:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 08:52:04 ---> Running in 97b41a60ddf1 08:52:04 Removing intermediate container 97b41a60ddf1 08:52:04 ---> b1c470113930 08:52:04 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:04 ---> Running in 1b4536afe7fd 08:52:06 Removing intermediate container 1b4536afe7fd 08:52:06 ---> 3401ad3d307e 08:52:06 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:06 ---> Running in 8bd528e907d4 08:52:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:52:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:52:08 OK: 226 MiB in 55 packages 08:52:09 Removing intermediate container 8bd528e907d4 08:52:09 ---> 9def4b5d158b 08:52:09 Step 9/25 : WORKDIR /device-mqtt-go 08:52:09 ---> Running in d6232cf9f27d 08:52:10 Removing intermediate container d6232cf9f27d 08:52:10 ---> 55ed1b8f23a9 08:52:10 Step 10/25 : COPY go.mod vendor* ./ 08:52:10 ---> 5326f2bdb680 08:52:10 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:10 ---> Running in e53bcf44a6b7 08:52:13 Removing intermediate container e53bcf44a6b7 08:52:13 ---> c65c21483b23 08:52:13 Step 12/25 : COPY . . 08:52:14 ---> a2e21ae642c8 08:52:14 Step 13/25 : RUN $MAKE 08:52:14 ---> Running in e8740aebce49 08:52:15 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 08:54:52 Removing intermediate container e8740aebce49 08:54:52 ---> b8f3dc42c141 08:54:52 Step 14/25 : FROM alpine:3.16 08:54:52 3.16: Pulling from library/alpine 08:54:52 9b18e9b68314: Already exists 08:54:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:54:52 Status: Downloaded newer image for alpine:3.16 08:54:52 ---> a6215f271958 08:54:52 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:54:52 ---> Running in 33c707a2bb91 08:54:52 Removing intermediate container 33c707a2bb91 08:54:52 ---> 0d55ec58387b 08:54:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:54:52 ---> Running in 8c70f9424d18 08:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:54:52 (1/6) Installing dumb-init (1.2.5-r1) 08:54:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:54:52 (3/6) Installing libsodium (1.0.18-r0) 08:54:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:54:52 (5/6) Installing libzmq (4.3.4-r0) 08:54:52 (6/6) Installing zeromq (4.3.4-r0) 08:54:52 Executing busybox-1.35.0-r17.trigger 08:54:52 OK: 8 MiB in 20 packages 08:54:52 Removing intermediate container 8c70f9424d18 08:54:52 ---> c6a2b0ef4e63 08:54:52 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 08:54:52 ---> 688c692e9b50 08:54:52 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 08:54:52 ---> fb7d8ddf9c0d 08:54:52 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:54:52 ---> 1ecd4085cce8 08:54:52 Step 20/25 : EXPOSE 59982 08:54:52 ---> Running in 81e5686bae97 08:54:52 Removing intermediate container 81e5686bae97 08:54:52 ---> a45a1edea11f 08:54:52 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 08:54:52 ---> Running in aa5b648d0973 08:54:52 Removing intermediate container aa5b648d0973 08:54:52 ---> dfb2bc31afcb 08:54:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:54:52 ---> Running in 15b0908abbbf 08:54:52 Removing intermediate container 15b0908abbbf 08:54:52 ---> 9fe201a82794 08:54:52 Step 23/25 : LABEL arch=arm64 08:54:52 ---> Running in 77dfc47a08aa 08:54:52 Removing intermediate container 77dfc47a08aa 08:54:52 ---> 2d10e188db5c 08:54:52 Step 24/25 : LABEL git_sha=b74824706d9f6e80093b801f72e0f3b2631ae0f1 08:54:52 ---> Running in 9279801374ee 08:54:52 Removing intermediate container 9279801374ee 08:54:52 ---> 028de8434239 08:54:52 Step 25/25 : LABEL version=0.0.0 08:54:52 ---> Running in 3b1b67787194 08:54:52 Removing intermediate container 3b1b67787194 08:54:52 ---> 460fe0ac3c81 08:54:52 [Warning] One or more build-args [ARCH] were not consumed 08:54:52 Successfully built 460fe0ac3c81 08:54:52 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 08:54:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:54:53 08:54:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:54:53 arm64: Pulling from edgex-lftools-log-publisher 08:54:53 8998bd30e6a1: Pulling fs layer 08:54:53 04944245beec: Pulling fs layer 08:54:53 699f458cf7ca: Pulling fs layer 08:54:53 765212b225bb: Pulling fs layer 08:54:53 f23df028b6ca: Pulling fs layer 08:54:53 d65c8cfc05b1: Pulling fs layer 08:54:53 2437ff75d9bd: Pulling fs layer 08:54:53 765212b225bb: Waiting 08:54:53 f23df028b6ca: Waiting 08:54:53 d65c8cfc05b1: Waiting 08:54:53 2437ff75d9bd: Waiting 08:54:53 04944245beec: Verifying Checksum 08:54:53 04944245beec: Download complete 08:54:53 765212b225bb: Verifying Checksum 08:54:53 765212b225bb: Download complete 08:54:53 f23df028b6ca: Verifying Checksum 08:54:53 f23df028b6ca: Download complete 08:54:53 d65c8cfc05b1: Verifying Checksum 08:54:53 d65c8cfc05b1: Download complete 08:54:53 699f458cf7ca: Verifying Checksum 08:54:53 699f458cf7ca: Download complete 08:54:54 8998bd30e6a1: Verifying Checksum 08:54:54 8998bd30e6a1: Download complete 08:54:56 2437ff75d9bd: Verifying Checksum 08:54:56 2437ff75d9bd: Download complete 08:54:58 8998bd30e6a1: Pull complete 08:54:58 04944245beec: Pull complete 08:54:59 699f458cf7ca: Pull complete 08:55:00 765212b225bb: Pull complete 08:55:00 f23df028b6ca: Pull complete 08:55:01 d65c8cfc05b1: Pull complete 08:55:16 2437ff75d9bd: Pull complete 08:55:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:55:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:16 prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container 08:55:16 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:55:18 $ docker top 24cfd28c108bd4a7be82668006efe0bab94efb8e5c303cac35eda04764350577 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:19 ---> job-cost.sh 08:55:19 lf-activate-venv: SKIPPING 08:55:19 INFO: No Stack... 08:55:19 INFO: Retrieving Pricing Info for: v3-standard-4 08:55:20 INFO: Archiving Costs [Pipeline] sh 08:55:21 + cat /w/workspace/device-mqtt-go/6/archives/cost.csv 08:55:21 + cut -d, -f6 [Pipeline] lock 08:55:21 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] 08:55:21 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] did not exist. Created. 08:55:21 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:55:21 /w/workspace/device-mqtt-go/6@tmp/durable-11bf59f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:55:22 + echo total: 0.10999999940395355 [Pipeline] stash 08:55:22 Warning: overwriting stash ‘stack-cost’ 08:55:22 Stashed 1 file(s) [Pipeline] } 08:55:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] // lock [Pipeline] } 08:55:22 $ docker stop --time=1 24cfd28c108bd4a7be82668006efe0bab94efb8e5c303cac35eda04764350577 08:55:23 $ docker rm -f 24cfd28c108bd4a7be82668006efe0bab94efb8e5c303cac35eda04764350577 [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 08:55:24 provisioning config files... 08:55:24 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config9729996263882108081tmp [Pipeline] { [Pipeline] sh 08:55:24 + set +x 08:55:24 + curl -s https://codecov.io/bash 08:55:24 + bash -s -- 08:55:24 08:55:24 _____ _ 08:55:24 / ____| | | 08:55:24 | | ___ __| | ___ ___ _____ __ 08:55:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:55:24 | |___| (_) | (_| | __/ (_| (_) \ V / 08:55:24 \_____\___/ \__,_|\___|\___\___/ \_/ 08:55:24 Bash-1.0.6 08:55:24 08:55:24 08:55:24 ==> git version 2.25.1 found 08:55:24 ==> 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 08:55:24 Release-Date: 2020-01-08 08:55:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:55:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:55:24 ==> Jenkins CI detected. 08:55:24 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 08:55:24 project root: . 08:55:24 --> token set from env 08:55:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:55:24 ==> Running gcov in . (disable via -X gcov) 08:55:24 ==> Python coveragepy not found 08:55:24 ==> Searching for coverage reports in: 08:55:24 + . 08:55:24 -> Found 1 reports 08:55:24 ==> Detecting git/mercurial file structure 08:55:24 ==> Reading reports 08:55:24 + ./coverage.out bytes=17887 08:55:24 ==> Appending adjustments 08:55:24 https://docs.codecov.io/docs/fixing-reports 08:55:24 + Found adjustments 08:55:24 ==> Gzipping contents 08:55:24 4.0K /tmp/codecov.5PTgsI.gz 08:55:24 ==> Uploading reports 08:55:24 url: https://codecov.io 08:55:24 query: branch=PR-423&commit=0897854ee068baa8fe7bd73caf08c1f8e30db33a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 08:55:24 -> Pinging Codecov 08:55:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=0897854ee068baa8fe7bd73caf08c1f8e30db33a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 08:55:25 -> Uploading to 08:55:25 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/7D719EC7BBE17E464838252E33014C33/0897854ee068baa8fe7bd73caf08c1f8e30db33a/7ea552bd-e0e1-4134-90ea-a5e75f174a71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T085524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f97d7d9330dc59a5bd9f0a6e971e9300c1089066f9105a66bc82469923d42c0 08:55:25 % Total % Received % Xferd Average Speed Time Time Time Current 08:55:25 Dload Upload Total Spent Left Speed 08:55:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14398 --:--:-- --:--:-- --:--:-- 14333 100 3182 0 0 100 3182 0 12053 --:--:-- --:--:-- --:--:-- 12007 08:55:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] } 08:55:25 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 08:55:25 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] 08:55:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 08:55:25 total 16 08:55:25 drwxr-xr-x 3 root root 4096 Oct 17 08:48 . 08:55:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 08:48 .. 08:55:25 drwxr-xr-x 2 root root 4096 Oct 17 08:48 cost 08:55:25 -rw-r--r-- 1 root root 86 Oct 17 08:48 cost.csv 08:55:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 08:55:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 08:55:25 total 16 08:55:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 08:48 . 08:55:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 08:48 .. 08:55:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 08:48 cost 08:55:25 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:55:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:55:27 ---> package-listing.sh 08:55:27 ++ tr '[:upper:]' '[:lower:]' 08:55:27 ++ facter osfamily 08:55:27 + OS_FAMILY=debian 08:55:27 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 08:55:27 + START_PACKAGES=/tmp/packages_start.txt 08:55:27 + END_PACKAGES=/tmp/packages_end.txt 08:55:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:55:27 + PACKAGES=/tmp/packages_start.txt 08:55:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 08:55:27 + PACKAGES=/tmp/packages_end.txt 08:55:27 + case "${OS_FAMILY}" in 08:55:27 + dpkg -l 08:55:27 + grep '^ii' 08:55:27 + '[' -f /tmp/packages_start.txt ']' 08:55:27 + '[' -f /tmp/packages_end.txt ']' 08:55:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:55:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 08:55:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ 08:55:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo 08:55:27 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:55:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:55:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:28 prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container 08:55:28 $ 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-423/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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:55:28 $ docker top cf8facd561c998e1a53adb4c220c9a175cc6ac470c33a44a0df314ffc4884044 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:28 + touch /tmp/pre-build-complete [Pipeline] sh 08:55:29 + mkdir -p /var/log/sysstat [Pipeline] sh 08:55:29 + ls /var/log/sa-host 08:55:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:55:29 provisioning config files... 08:55:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config15691599785567999144tmp [Pipeline] { [Pipeline] echo 08:55:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:55:29 ---> create-netrc.sh [Pipeline] } 08:55:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:55:30 ---> python-tools-install.sh [Pipeline] echo 08:55:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:55:30 ---> sudo-logs.sh 08:55:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:55:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:55:30 ---> job-cost.sh 08:55:30 lf-activate-venv: SKIPPING 08:55:30 DEBUG: total: 0.2199999988079071 08:55:30 INFO: Retrieving Stack Cost... 08:55:31 INFO: Retrieving Pricing Info for: v3-standard-8 08:55:31 INFO: Archiving Costs [Pipeline] echo 08:55:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:55:32 ---> logs-deploy.sh 08:55:32 lf-activate-venv: SKIPPING 08:55:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/6 08:55:32 INFO: archiving workspace using pattern(s): 08:55:32 Archives upload complete. 08:55:32 INFO: archiving logs to Nexus