Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 96c3debd235dda18a7fa7c4abd6d74e869e80f48+57f44dfb208181fe6cb075f759c071dd5c5ec6f2 (1c162e94afa59f36601762de02df7264391ae62d) 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-ssh5436438629709696721.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-ssh10908877965350074009.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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11917441504700338376.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-ssh2110027426716732953.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11130454547784296806.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1378’ Running on prd-ubuntu20.04-docker-8c-8g-1393 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [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-414 # 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 Merge succeeded, producing 1854ca0a69f62cf29a025916da93190d40dfdbd7 Checking out Revision 1854ca0a69f62cf29a025916da93190d40dfdbd7 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # 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 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1854ca0a69f62cf29a025916da93190d40dfdbd7 # timeout=10 Commit message: "Merge commit '57f44dfb208181fe6cb075f759c071dd5c5ec6f2' into HEAD" > git rev-list --no-walk 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:19:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:19:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:19:56 ========================================================= 19:19:56 EdgeX Global Pipelines Version Info 19:19:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:19:56 ------------------- 19:19:56 stable info: 19:19:56 ------------------- 19:19:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:19:56 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:19:56 Message: update stable to v1.0.239 19:19:57 ------------------- 19:19:57 experimental info: 19:19:57 ------------------- 19:19:57 Commited By: **** collab-it+edgex@linuxfoundation.org 19:19:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:19:57 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1854ca0 [Pipeline] echo 19:19:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:57 provisioning config files... 19:19:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config8056895038487528916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:58 ---> docker-login.sh 19:19:58 nexus3.edgexfoundry.org:10001 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:58 Configure a credential helper to remove this warning. See 19:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:58 19:19:58 Login Succeeded 19:19:58 nexus3.edgexfoundry.org:10002 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:58 Configure a credential helper to remove this warning. See 19:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:58 19:19:58 Login Succeeded 19:19:58 nexus3.edgexfoundry.org:10003 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:58 Configure a credential helper to remove this warning. See 19:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:58 19:19:58 Login Succeeded 19:19:58 nexus3.edgexfoundry.org:10004 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:58 Configure a credential helper to remove this warning. See 19:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:58 19:19:58 Login Succeeded 19:19:58 docker.io 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 ---> docker-login.sh ends [Pipeline] } 19:19:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:19:59 + git rev-list -1 --merges 1854ca0a69f62cf29a025916da93190d40dfdbd7~1..1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo 19:19:59 -----------> git rev-list -1 --merges 1854ca0a69f62cf29a025916da93190d40dfdbd7~1..1854ca0a69f62cf29a025916da93190d40dfdbd7 1854ca0a69f62cf29a025916da93190d40dfdbd7 19:19:59 1854ca0a69f62cf29a025916da93190d40dfdbd7 [false] [Pipeline] sh 19:20:00 + git log --format=format:%s -1 1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo 19:20:00 ========================================================= 19:20:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:20:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:00 + git log --format=format:%s -1 1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] echo 19:20:00 [semverPrep] GIT_COMMIT: 1854ca0a69f62cf29a025916da93190d40dfdbd7, Commit Message: Merge commit '57f44dfb208181fe6cb075f759c071dd5c5ec6f2' into HEAD [Pipeline] echo 19:20:00 [semverPrep] This is not a build commit. [Pipeline] sh 19:20:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:00 + grep -v github /etc/ssh/ssh_known_hosts 19:20:00 + [ -e /tmp/ssh_known_hosts ] 19:20:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:20:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:20:00 + sudo tee -a /etc/ssh/ssh_known_hosts 19:20:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:01 19:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:01 0.1.4: Pulling from edgex-devops/py-git-semver 19:20:01 b85a868b505f: Pulling fs layer 19:20:01 e2be974225ed: Pulling fs layer 19:20:01 339a4e72a1f5: Pulling fs layer 19:20:01 988bab9f4d93: Pulling fs layer 19:20:01 1469e6f7b9e6: Pulling fs layer 19:20:01 eaf3925da568: Pulling fs layer 19:20:01 bab4dde63d76: Pulling fs layer 19:20:01 bde34c3a00c8: Pulling fs layer 19:20:01 b352a97aabf1: Pulling fs layer 19:20:01 4872d77fe225: Pulling fs layer 19:20:01 5851b861e8e6: Pulling fs layer 19:20:01 bde34c3a00c8: Waiting 19:20:01 b352a97aabf1: Waiting 19:20:01 4872d77fe225: Waiting 19:20:01 988bab9f4d93: Waiting 19:20:01 1469e6f7b9e6: Waiting 19:20:01 5851b861e8e6: Waiting 19:20:01 eaf3925da568: Waiting 19:20:01 bab4dde63d76: Waiting 19:20:01 e2be974225ed: Download complete 19:20:01 988bab9f4d93: Verifying Checksum 19:20:01 988bab9f4d93: Download complete 19:20:01 1469e6f7b9e6: Verifying Checksum 19:20:01 1469e6f7b9e6: Download complete 19:20:01 339a4e72a1f5: Verifying Checksum 19:20:01 339a4e72a1f5: Download complete 19:20:01 eaf3925da568: Download complete 19:20:01 bde34c3a00c8: Verifying Checksum 19:20:01 bde34c3a00c8: Download complete 19:20:01 b352a97aabf1: Download complete 19:20:01 4872d77fe225: Verifying Checksum 19:20:01 4872d77fe225: Download complete 19:20:01 5851b861e8e6: Verifying Checksum 19:20:01 5851b861e8e6: Download complete 19:20:01 b85a868b505f: Verifying Checksum 19:20:01 b85a868b505f: Download complete 19:20:02 bab4dde63d76: Verifying Checksum 19:20:02 bab4dde63d76: Download complete 19:20:03 b85a868b505f: Pull complete 19:20:03 e2be974225ed: Pull complete 19:20:03 339a4e72a1f5: Pull complete 19:20:03 988bab9f4d93: Pull complete 19:20:04 1469e6f7b9e6: Pull complete 19:20:04 eaf3925da568: Pull complete 19:20:05 bab4dde63d76: Pull complete 19:20:05 bde34c3a00c8: Pull complete 19:20:05 b352a97aabf1: Pull complete 19:20:05 4872d77fe225: Pull complete 19:20:06 5851b861e8e6: Pull complete 19:20:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:06 prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container 19:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 19:20:09 $ docker top a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 -eo pid,comm 19:20:09 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). 19:20:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:09 [ssh-agent] Looking for ssh-agent implementation... 19:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:09 $ docker exec a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent 19:20:09 SSH_AUTH_SOCK=/tmp/ssh-Eb3180GmhIXl/agent.32 19:20:09 SSH_AGENT_PID=38 19:20:09 Running ssh-add (command line suppressed) 19:20:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1952055266933297.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1952055266933297.key) 19:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:09 + git tag --points-at HEAD [Pipeline] } 19:20:09 $ docker exec --env ******** --env ******** a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent -k 19:20:09 unset SSH_AUTH_SOCK; 19:20:09 unset SSH_AGENT_PID; 19:20:09 echo Agent pid 38 killed; 19:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:09 [ssh-agent] Looking for ssh-agent implementation... 19:20:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:10 $ docker exec a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent 19:20:10 SSH_AUTH_SOCK=/tmp/ssh-Gw0RlGWd2YYd/agent.70 19:20:10 SSH_AGENT_PID=76 19:20:10 Running ssh-add (command line suppressed) 19:20:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1088146627522619753.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_1088146627522619753.key) 19:20:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:10 + git semver init 19:20:10 2022-09-27 19:20:10,829 [run_init] DEBUG init version:0.0.0 force:False 19:20:10 2022-09-27 19:20:10,829 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 19:20:10 2022-09-27 19:20:10,830 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 19:20:10 2022-09-27 19:20:10,830 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) 19:20:11 2022-09-27 19:20:11,772 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude 19:20:11 2022-09-27 19:20:11,773 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False 19:20:11 2022-09-27 19:20:11,773 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 19:20:11 2022-09-27 19:20:11,777 [execute] INFO git cat-file --batch-check 19:20:11 2022-09-27 19:20:11,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 19:20:11 2022-09-27 19:20:11,784 [execute] INFO git cat-file --batch 19:20:11 2022-09-27 19:20:11,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 19:20:11 2022-09-27 19:20:11,789 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 19:20:11 0.0.0 [Pipeline] } 19:20:11 $ docker exec --env ******** --env ******** a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 ssh-agent -k 19:20:11 unset SSH_AUTH_SOCK; 19:20:11 unset SSH_AGENT_PID; 19:20:11 echo Agent pid 76 killed; 19:20:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:20:12 + git semver [Pipeline] } 19:20:12 $ docker stop --time=1 a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 19:20:13 $ docker rm -f a7a2f3a2f260c6929d301641975020d5fc186ce3a4c2eff1b932478d7e665876 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:20:14 Stashed 1 file(s) [Pipeline] echo 19:20:14 [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 19:20:14 provisioning config files... 19:20:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config17621810099474652162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:14 ---> docker-login.sh 19:20:14 nexus3.edgexfoundry.org:10001 19:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:14 Configure a credential helper to remove this warning. See 19:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:14 19:20:14 Login Succeeded 19:20:14 nexus3.edgexfoundry.org:10002 19:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:14 Configure a credential helper to remove this warning. See 19:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:14 19:20:14 Login Succeeded 19:20:14 nexus3.edgexfoundry.org:10003 19:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:15 Configure a credential helper to remove this warning. See 19:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:15 19:20:15 Login Succeeded 19:20:15 nexus3.edgexfoundry.org:10004 19:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:15 Configure a credential helper to remove this warning. See 19:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:15 19:20:15 Login Succeeded 19:20:15 docker.io 19:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:15 Configure a credential helper to remove this warning. See 19:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:15 19:20:15 Login Succeeded 19:20:15 ---> docker-login.sh ends [Pipeline] } 19:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:20:15 ========================================================= 19:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:20:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:16 + 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 . 19:20:16 Sending build context to Docker daemon 6.137MB 19:20:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:20:16 Step 2/13 : FROM ${BASE} AS builder 19:20:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:20:16 2408cc74d12b: Pulling fs layer 19:20:16 ea60b727a1ce: Pulling fs layer 19:20:16 30c4a7721957: Pulling fs layer 19:20:16 370296b7ddb6: Pulling fs layer 19:20:16 7c6cee850709: Pulling fs layer 19:20:16 39a5fcdaea64: Pulling fs layer 19:20:16 d94ebbe4e438: Pulling fs layer 19:20:16 bcfd1f05c69d: Pulling fs layer 19:20:16 59ccb84bbe0f: Pulling fs layer 19:20:16 39a5fcdaea64: Waiting 19:20:16 d94ebbe4e438: Waiting 19:20:16 bcfd1f05c69d: Waiting 19:20:16 59ccb84bbe0f: Waiting 19:20:16 370296b7ddb6: Waiting 19:20:16 7c6cee850709: Waiting 19:20:16 30c4a7721957: Download complete 19:20:16 ea60b727a1ce: Verifying Checksum 19:20:16 ea60b727a1ce: Download complete 19:20:16 7c6cee850709: Verifying Checksum 19:20:16 7c6cee850709: Download complete 19:20:16 2408cc74d12b: Verifying Checksum 19:20:16 2408cc74d12b: Download complete 19:20:16 39a5fcdaea64: Verifying Checksum 19:20:16 39a5fcdaea64: Download complete 19:20:16 d94ebbe4e438: Download complete 19:20:16 2408cc74d12b: Pull complete 19:20:16 ea60b727a1ce: Pull complete 19:20:16 30c4a7721957: Pull complete 19:20:17 59ccb84bbe0f: Verifying Checksum 19:20:17 59ccb84bbe0f: Download complete 19:20:17 bcfd1f05c69d: Verifying Checksum 19:20:17 bcfd1f05c69d: Download complete 19:20:17 370296b7ddb6: Verifying Checksum 19:20:17 370296b7ddb6: Download complete 19:20:21 370296b7ddb6: Pull complete 19:20:21 7c6cee850709: Pull complete 19:20:21 39a5fcdaea64: Pull complete 19:20:21 d94ebbe4e438: Pull complete 19:20:22 bcfd1f05c69d: Pull complete 19:20:23 59ccb84bbe0f: Pull complete 19:20:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:20:23 ---> a4fb48ad2a94 19:20:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:20:27 ---> Running in 13bf0571d167 19:20:27 Removing intermediate container 13bf0571d167 19:20:27 ---> 1df150d3f6e4 19:20:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:20:27 ---> Running in 60341cb15897 19:20:27 Removing intermediate container 60341cb15897 19:20:27 ---> eea3b6952ea8 19:20:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:20:27 ---> Running in 20138229f304 19:20:27 Removing intermediate container 20138229f304 19:20:27 ---> a73eaf38d509 19:20:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:20:28 ---> Running in e7a056f3e408 19:20:28 Removing intermediate container e7a056f3e408 19:20:28 ---> 3e8b2b4a3eb3 19:20:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:20:28 ---> Running in b05e1a22f7bb 19:20:28 Removing intermediate container b05e1a22f7bb 19:20:28 ---> d5f16e6f0e0b 19:20:28 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:20:28 ---> Running in d7bc1855fe19 19:20:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:20:29 Still waiting to schedule task 19:20:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1390’ 19:20:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:20:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:20:30 (2/4) Installing libedit (20210910.3.1-r0) 19:20:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:20:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:20:30 Executing busybox-1.35.0-r13.trigger 19:20:30 OK: 216 MiB in 55 packages 19:20:30 Removing intermediate container d7bc1855fe19 19:20:30 ---> 322dbf4e8d50 19:20:30 Step 9/13 : WORKDIR /device-mqtt-go 19:20:30 ---> Running in 82cb22e15090 19:20:30 Removing intermediate container 82cb22e15090 19:20:30 ---> dae171923717 19:20:30 Step 10/13 : COPY go.mod vendor* ./ 19:20:31 ---> fb4c4f22924c 19:20:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:31 ---> Running in 8be6c39e1aba 19:20:53 Removing intermediate container 8be6c39e1aba 19:20:53 ---> 1370654d4935 19:20:53 Step 12/13 : COPY . . 19:20:53 ---> f3f44ef6f811 19:20:53 Step 13/13 : RUN $MAKE 19:20:53 ---> Running in 992f1622b3e4 19:20:53 noop 19:20:53 Removing intermediate container 992f1622b3e4 19:20:53 ---> be1f4102bb90 19:20:53 Successfully built be1f4102bb90 19:20:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:53 + docker inspect -f . ci-base-image-x86_64 19:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:53 prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container 19:20:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 19:20:53 $ docker top 22ee905baef5fa016588da6083742c798163c094a72a89666be44e4086dc2b5f -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:54 + go version 19:20:54 go version go1.18.3 linux/amd64 [Pipeline] } 19:20:54 $ docker stop --time=1 22ee905baef5fa016588da6083742c798163c094a72a89666be44e4086dc2b5f 19:20:55 $ docker rm -f 22ee905baef5fa016588da6083742c798163c094a72a89666be44e4086dc2b5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:56 + docker inspect -f . ci-base-image-x86_64 19:20:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:56 prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container 19:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 19:20:56 $ docker top c933a36b04bc1bf548f41282a2a676abb7fefb59ef7ddf74f84c56059173f06e -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh 19:20:57 + make test 19:20:57 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:20:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:21:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:21:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 19:21:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:21:13 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." 19:21:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:21:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:21:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:21:17 ./bin/test-attribution-txt.sh [Pipeline] echo 19:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:21:17 $ docker stop --time=1 c933a36b04bc1bf548f41282a2a676abb7fefb59ef7ddf74f84c56059173f06e 19:21:19 $ docker rm -f c933a36b04bc1bf548f41282a2a676abb7fefb59ef7ddf74f84c56059173f06e [Pipeline] // withDockerContainer [Pipeline] sh 19:21:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:21:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:21:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:21:20 + ls -al . 19:21:20 total 184 19:21:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 19:20 . 19:21:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:19 .. 19:21:20 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 19:19 .dockerignore 19:21:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 19:21 .git 19:21:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:19 .github 19:21:20 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 19:19 .gitignore 19:21:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 19:19 .golangci.yml 19:21:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 19:20 .semver 19:21:20 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 19:19 Attribution.txt 19:21:20 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 19:19 CHANGELOG.md 19:21:20 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 19:19 Dockerfile 19:21:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 19:19 GOVERNANCE.md 19:21:20 -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 19:19 Jenkinsfile 19:21:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 19:19 LICENSE 19:21:20 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 19:19 Makefile 19:21:20 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 19:19 OWNERS.md 19:21:20 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 19:19 README.md 19:21:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 19:20 VERSION 19:21:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:19 bin 19:21:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:19 cmd 19:21:20 -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 19:21 coverage.out 19:21:20 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 19:19 go.mod 19:21:20 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 19:19 go.sum 19:21:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:19 internal 19:21:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:19 mock 19:21:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:19 snap 19:21:20 -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:21 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1854ca0a69f62cf29a025916da93190d40dfdbd7 --label arch=amd64 --label version=0.0.0 . 19:21:21 Sending build context to Docker daemon 6.156MB 19:21:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:21:21 Step 2/25 : FROM ${BASE} AS builder 19:21:21 ---> be1f4102bb90 19:21:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:21:21 ---> Running in 79c28770d5ec 19:21:21 Removing intermediate container 79c28770d5ec 19:21:21 ---> b5c8513a7eb7 19:21:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:21:21 ---> Running in fb3efe0f47c5 19:21:21 Removing intermediate container fb3efe0f47c5 19:21:21 ---> ba8bfdc3c63d 19:21:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:21:21 ---> Running in 0a5b4610d2e7 19:21:21 Removing intermediate container 0a5b4610d2e7 19:21:21 ---> 3712e5879e36 19:21:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:21:21 ---> Running in 248fdae81249 19:21:21 Removing intermediate container 248fdae81249 19:21:21 ---> 93aa938d533e 19:21:21 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:21:21 ---> Running in 15d4b81a1cbf 19:21:22 Removing intermediate container 15d4b81a1cbf 19:21:22 ---> d93dd7491885 19:21:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:21:22 ---> Running in 66c6e6561991 19:21:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:21:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:21:23 OK: 216 MiB in 55 packages 19:21:24 Removing intermediate container 66c6e6561991 19:21:24 ---> 6bc02ed3b1d9 19:21:24 Step 9/25 : WORKDIR /device-mqtt-go 19:21:24 ---> Running in 8a1056df5147 19:21:24 Removing intermediate container 8a1056df5147 19:21:24 ---> b9243b534b20 19:21:24 Step 10/25 : COPY go.mod vendor* ./ 19:21:24 ---> 7707cec0cf5c 19:21:24 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:21:24 ---> Running in a9355b00e377 19:21:25 Removing intermediate container a9355b00e377 19:21:25 ---> 5c67f8261e24 19:21:25 Step 12/25 : COPY . . 19:21:25 ---> 3a389e4d81e6 19:21:25 Step 13/25 : RUN $MAKE 19:21:25 ---> Running in ba08fa85733a 19:21:25 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 19:21:47 Removing intermediate container ba08fa85733a 19:21:47 ---> 7c5b684b2503 19:21:47 Step 14/25 : FROM alpine:3.16 19:21:47 3.16: Pulling from library/alpine 19:21:47 213ec9aee27d: Pulling fs layer 19:21:47 213ec9aee27d: Verifying Checksum 19:21:47 213ec9aee27d: Download complete 19:21:48 213ec9aee27d: Pull complete 19:21:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:21:48 Status: Downloaded newer image for alpine:3.16 19:21:48 ---> 9c6f07244728 19:21:48 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:21:48 ---> Running in 8de9940cff6b 19:21:48 Removing intermediate container 8de9940cff6b 19:21:48 ---> 236b003d95dc 19:21:48 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:21:48 ---> Running in e39bf57188f0 19:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:21:49 (1/6) Installing dumb-init (1.2.5-r1) 19:21:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:21:49 (3/6) Installing libsodium (1.0.18-r0) 19:21:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:21:49 (5/6) Installing libzmq (4.3.4-r0) 19:21:49 (6/6) Installing zeromq (4.3.4-r0) 19:21:49 Executing busybox-1.35.0-r17.trigger 19:21:49 OK: 8 MiB in 20 packages 19:21:49 Removing intermediate container e39bf57188f0 19:21:49 ---> 5f529c3c9f05 19:21:49 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 19:21:50 ---> c7b5025430dd 19:21:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 19:21:50 ---> 6ce1451d4f19 19:21:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:21:50 ---> e783196eda28 19:21:50 Step 20/25 : EXPOSE 59982 19:21:50 ---> Running in aea3d75be191 19:21:50 Removing intermediate container aea3d75be191 19:21:50 ---> d87044e6d257 19:21:50 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 19:21:50 ---> Running in 401d4f3a8eb9 19:21:50 Removing intermediate container 401d4f3a8eb9 19:21:50 ---> f593e38ac1e9 19:21:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:21:50 ---> Running in ad0417a623eb 19:21:50 Removing intermediate container ad0417a623eb 19:21:50 ---> 71da7a51ae3e 19:21:50 Step 23/25 : LABEL arch=amd64 19:21:50 ---> Running in b7be80937798 19:21:51 Removing intermediate container b7be80937798 19:21:51 ---> 4ba5ef046eb5 19:21:51 Step 24/25 : LABEL git_sha=1854ca0a69f62cf29a025916da93190d40dfdbd7 19:21:51 ---> Running in 0f3dd8bfdc50 19:21:51 Removing intermediate container 0f3dd8bfdc50 19:21:51 ---> c7facb4afe90 19:21:51 Step 25/25 : LABEL version=0.0.0 19:21:51 ---> Running in e890eb522808 19:21:51 Removing intermediate container e890eb522808 19:21:51 ---> db3053c05a4b 19:21:51 [Warning] One or more build-args [ARCH] were not consumed 19:21:51 Successfully built db3053c05a4b 19:21:51 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 19:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:51 19:21:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:51 latest: Pulling from edgex-lftools-log-publisher 19:21:51 5eb5b503b376: Pulling fs layer 19:21:51 5c69ac0246d0: Pulling fs layer 19:21:51 ec43610c2a17: Pulling fs layer 19:21:51 3a2ae6a8a46f: Pulling fs layer 19:21:51 33b1e0a273af: Pulling fs layer 19:21:51 5d3b04190fa2: Pulling fs layer 19:21:51 2f39f015ded8: Pulling fs layer 19:21:51 3a2ae6a8a46f: Waiting 19:21:51 33b1e0a273af: Waiting 19:21:51 5d3b04190fa2: Waiting 19:21:51 2f39f015ded8: Waiting 19:21:51 5c69ac0246d0: Verifying Checksum 19:21:51 5c69ac0246d0: Download complete 19:21:51 3a2ae6a8a46f: Verifying Checksum 19:21:51 3a2ae6a8a46f: Download complete 19:21:51 33b1e0a273af: Verifying Checksum 19:21:51 33b1e0a273af: Download complete 19:21:52 5d3b04190fa2: Verifying Checksum 19:21:52 5d3b04190fa2: Download complete 19:21:52 ec43610c2a17: Download complete 19:21:52 5eb5b503b376: Verifying Checksum 19:21:52 5eb5b503b376: Download complete 19:21:52 2f39f015ded8: Download complete 19:21:53 5eb5b503b376: Pull complete 19:21:53 5c69ac0246d0: Pull complete 19:21:53 ec43610c2a17: Pull complete 19:21:53 3a2ae6a8a46f: Pull complete 19:21:54 33b1e0a273af: Pull complete 19:21:54 5d3b04190fa2: Pull complete 19:21:58 2f39f015ded8: Pull complete 19:21:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:21:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:58 prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container 19:21:58 $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 19:22:02 $ docker top 1d7a2af57c24ef843f6e788434e6f3b369388b54adc639027f1a639cf078f535 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:02 ---> job-cost.sh 19:22:02 lf-activate-venv: SKIPPING 19:22:02 INFO: No Stack... 19:22:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:22:03 INFO: Archiving Costs [Pipeline] sh 19:22:04 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv 19:22:04 + cut -d, -f6 [Pipeline] lock 19:22:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] 19:22:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] did not exist. Created. 19:22:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:22:04 + echo total: 0.2199999988079071 [Pipeline] stash 19:22:04 Stashed 1 file(s) [Pipeline] } 19:22:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:22:04 $ docker stop --time=1 1d7a2af57c24ef843f6e788434e6f3b369388b54adc639027f1a639cf078f535 19:22:05 $ docker rm -f 1d7a2af57c24ef843f6e788434e6f3b369388b54adc639027f1a639cf078f535 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:24:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1394 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws 19:24:04 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 19:24:04 Selected Git installation does not exist. Using Default 19:24:04 The recommended git tool is: NONE 19:24:10 using credential edgex-jenkins-ssh 19:24:10 Cloning the remote Git repository 19:24:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:24:10 > git init /w/workspace/device-mqtt-go/4 # timeout=10 19:24:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:24:10 > git --version # timeout=10 19:24:10 > git --version # 'git version 2.25.1' 19:24:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:10 Verifying host key using known hosts file 19:24:10 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:24:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:24:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:24:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:24:13 Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 19:24:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:24:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:24:12 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:12 Verifying host key using known hosts file 19:24:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:24:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:24:13 Merge succeeded, producing 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 19:24:13 Checking out Revision 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 (PR-414) 19:24:13 > git config core.sparsecheckout # timeout=10 19:24:13 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 19:24:13 > git remote # timeout=10 19:24:13 > git config --get remote.origin.url # timeout=10 19:24:13 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:13 Verifying host key using known hosts file 19:24: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. 19:24:13 > git merge 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 19:24:13 > git rev-parse HEAD^{commit} # timeout=10 19:24:13 > git config core.sparsecheckout # timeout=10 19:24:13 > git checkout -f 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 # timeout=10 19:24:17 Commit message: "Merge commit '57f44dfb208181fe6cb075f759c071dd5c5ec6f2' into HEAD" 19:24:17 > git rev-list --no-walk 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:24:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:24:18 % Total % Received % Xferd Average Speed Time Time Time Current 19:24:18 Dload Upload Total Spent Left Speed 19:24:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh 19:24:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:24:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:24:19 + sudo tee /etc/docker/daemon.new 19:24:19 { 19:24:19 "registry-mirrors": [ 19:24:19 "https://nexus3.edgexfoundry.org:10001" 19:24:19 ], 19:24:19 "bip": "10.250.0.254/24", 19:24:19 "hosts": [ 19:24:19 "tcp://0.0.0.0:5555", 19:24:19 "unix:///var/run/docker.sock" 19:24:19 ], 19:24:19 "mtu": 1458, 19:24:19 "selinux-enabled": true, 19:24:19 "seccomp-profile": "/etc/docker/seccomp.json" 19:24:19 } [Pipeline] sh 19:24:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:24:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:24:38 provisioning config files... 19:24:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config9374093482777384528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:24:38 ---> docker-login.sh 19:24:38 nexus3.edgexfoundry.org:10001 19:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:39 Configure a credential helper to remove this warning. See 19:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:39 19:24:39 Login Succeeded 19:24:39 nexus3.edgexfoundry.org:10002 19:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:39 Configure a credential helper to remove this warning. See 19:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:39 19:24:39 Login Succeeded 19:24:39 nexus3.edgexfoundry.org:10003 19:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:40 Configure a credential helper to remove this warning. See 19:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:40 19:24:40 Login Succeeded 19:24:40 nexus3.edgexfoundry.org:10004 19:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:40 Configure a credential helper to remove this warning. See 19:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:40 19:24:40 Login Succeeded 19:24:40 docker.io 19:24:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:41 Configure a credential helper to remove this warning. See 19:24:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:41 19:24:41 Login Succeeded 19:24:41 ---> docker-login.sh ends [Pipeline] } 19:24:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:24:41 ========================================================= 19:24:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:24:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:24:42 Sending build context to Docker daemon 3.178MB 19:24:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:24:42 Step 2/13 : FROM ${BASE} AS builder 19:24:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:24:42 b3c136eddcbf: Pulling fs layer 19:24:42 c0a3192eca97: Pulling fs layer 19:24:42 a050256f5b6f: Pulling fs layer 19:24:42 656be50a0ddc: Pulling fs layer 19:24:42 2bbca73fdf42: Pulling fs layer 19:24:42 46d945488cbd: Pulling fs layer 19:24:42 8a5474983e97: Pulling fs layer 19:24:42 329c88fbcd65: Pulling fs layer 19:24:42 8a5474983e97: Waiting 19:24:42 46d945488cbd: Waiting 19:24:42 329c88fbcd65: Waiting 19:24:42 656be50a0ddc: Waiting 19:24:42 2bbca73fdf42: Waiting 19:24:42 a050256f5b6f: Verifying Checksum 19:24:42 a050256f5b6f: Download complete 19:24:42 c0a3192eca97: Verifying Checksum 19:24:42 c0a3192eca97: Download complete 19:24:42 2bbca73fdf42: Verifying Checksum 19:24:42 2bbca73fdf42: Download complete 19:24:42 46d945488cbd: Verifying Checksum 19:24:42 46d945488cbd: Download complete 19:24:42 b3c136eddcbf: Verifying Checksum 19:24:42 b3c136eddcbf: Download complete 19:24:43 b3c136eddcbf: Pull complete 19:24:43 329c88fbcd65: Download complete 19:24:44 c0a3192eca97: Pull complete 19:24:44 a050256f5b6f: Pull complete 19:24:45 8a5474983e97: Verifying Checksum 19:24:45 8a5474983e97: Download complete 19:24:45 656be50a0ddc: Verifying Checksum 19:24:45 656be50a0ddc: Download complete 19:24:58 656be50a0ddc: Pull complete 19:24:58 2bbca73fdf42: Pull complete 19:24:58 46d945488cbd: Pull complete 19:25:04 8a5474983e97: Pull complete 19:25:06 329c88fbcd65: Pull complete 19:25:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:25:06 ---> ff4287adb874 19:25:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:25:08 ---> Running in 8767c52c189d 19:25:08 Removing intermediate container 8767c52c189d 19:25:08 ---> 0a70d9b3367a 19:25:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:25:08 ---> Running in acd4eb019f8b 19:25:09 Removing intermediate container acd4eb019f8b 19:25:09 ---> 30b5e48c4ec5 19:25:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:25:09 ---> Running in 986b8c3efe0e 19:25:09 Removing intermediate container 986b8c3efe0e 19:25:09 ---> 6f535dcaf9a6 19:25:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:25:09 ---> Running in e4ae65a36006 19:25:10 Removing intermediate container e4ae65a36006 19:25:10 ---> 79be170e8283 19:25:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:10 ---> Running in e02a6a2cde9d 19:25:11 Removing intermediate container e02a6a2cde9d 19:25:11 ---> d0741a212c1c 19:25:11 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:11 ---> Running in 042b8f7f8256 19:25:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:25:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:25:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:25:14 (2/4) Installing libedit (20210910.3.1-r0) 19:25:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:25:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:25:15 Executing busybox-1.35.0-r13.trigger 19:25:15 OK: 226 MiB in 55 packages 19:25:16 Removing intermediate container 042b8f7f8256 19:25:16 ---> 06f10bc2c37a 19:25:16 Step 9/13 : WORKDIR /device-mqtt-go 19:25:16 ---> Running in c851bb45ee1a 19:25:16 Removing intermediate container c851bb45ee1a 19:25:16 ---> 4b9803df2e0b 19:25:16 Step 10/13 : COPY go.mod vendor* ./ 19:25:17 ---> 8181f9dc8860 19:25:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:25:17 ---> Running in 52f6ca7a8264 19:26:26 Removing intermediate container 52f6ca7a8264 19:26:26 ---> 6b5e4b51e217 19:26:26 Step 12/13 : COPY . . 19:26:26 ---> 604f5efa1805 19:26:26 Step 13/13 : RUN $MAKE 19:26:26 ---> Running in 954fdb768b51 19:26:26 noop 19:26:26 Removing intermediate container 954fdb768b51 19:26:26 ---> de92a5562fbb 19:26:26 Successfully built de92a5562fbb 19:26:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:26 + docker inspect -f . ci-base-image-arm64 19:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:26 prd-ubuntu20.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container 19:26:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-arm64 cat 19:26:28 $ docker top 0328ff17cbf8d403f5afb1aefb561ced38c614d5b2fbb2d0679344d04cf27cc2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:28 + go version 19:26:28 go version go1.18.3 linux/arm64 [Pipeline] } 19:26:28 $ docker stop --time=1 0328ff17cbf8d403f5afb1aefb561ced38c614d5b2fbb2d0679344d04cf27cc2 19:26:30 $ docker rm -f 0328ff17cbf8d403f5afb1aefb561ced38c614d5b2fbb2d0679344d04cf27cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:31 + docker inspect -f . ci-base-image-arm64 19:26:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:31 prd-ubuntu20.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container 19:26:31 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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-arm64 cat 19:26:32 $ docker top 5b59958d928dc98d5b42c0aae10d37b0b32473afae3809387e61ba24a9994351 -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 19:26:33 + make test 19:26:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:26:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:28:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:28:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 19:28:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:28:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:28:12 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:28:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:28:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:28:31 ./bin/test-attribution-txt.sh [Pipeline] echo 19:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:28:31 $ docker stop --time=1 5b59958d928dc98d5b42c0aae10d37b0b32473afae3809387e61ba24a9994351 19:28:33 $ docker rm -f 5b59958d928dc98d5b42c0aae10d37b0b32473afae3809387e61ba24a9994351 [Pipeline] // withDockerContainer [Pipeline] sh 19:28:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:28:34 Warning: overwriting stash ‘coverage-report’ 19:28:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:28:35 + ls -al . 19:28:35 total 180 19:28:35 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 19:26 . 19:28:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:24 .. 19:28:35 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 19:24 .dockerignore 19:28:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 19:24 .git 19:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:24 .github 19:28:35 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 19:24 .gitignore 19:28:35 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 19:24 .golangci.yml 19:28:35 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 19:24 Attribution.txt 19:28:35 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 19:24 CHANGELOG.md 19:28:35 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 19:24 Dockerfile 19:28:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 19:24 GOVERNANCE.md 19:28:35 -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 19:24 Jenkinsfile 19:28:35 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 19:24 LICENSE 19:28:35 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 19:24 Makefile 19:28:35 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 19:24 OWNERS.md 19:28:35 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 19:24 README.md 19:28:35 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 19:20 VERSION 19:28:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:24 bin 19:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:24 cmd 19:28:35 -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 19:28 coverage.out 19:28:35 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 19:24 go.mod 19:28:35 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 19:24 go.sum 19:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 19:24 internal 19:28:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 19:24 mock 19:28:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 19:24 snap 19:28:35 -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 19:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:35 + 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=69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 --label arch=arm64 --label version=0.0.0 . 19:28:36 Sending build context to Docker daemon 3.196MB 19:28:36 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:28:36 Step 2/25 : FROM ${BASE} AS builder 19:28:36 ---> de92a5562fbb 19:28:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:28:36 ---> Running in dca6b31a5faf 19:28:36 Removing intermediate container dca6b31a5faf 19:28:36 ---> 0c190f3c639b 19:28:36 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:28:36 ---> Running in 930421abb92d 19:28:37 Removing intermediate container 930421abb92d 19:28:37 ---> 2bc55bfd8dd3 19:28:37 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:28:37 ---> Running in 401b3daffd57 19:28:37 Removing intermediate container 401b3daffd57 19:28:37 ---> f21c6e36cb82 19:28:37 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:28:37 ---> Running in 3a9de969166b 19:28:38 Removing intermediate container 3a9de969166b 19:28:38 ---> 197a4e75d04b 19:28:38 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:28:38 ---> Running in a07d9eac8169 19:28:40 Removing intermediate container a07d9eac8169 19:28:40 ---> 67c21f1e6588 19:28:40 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:28:40 ---> Running in 1c9b3df6a158 19:28:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:28:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:28:43 OK: 226 MiB in 55 packages 19:28:44 Removing intermediate container 1c9b3df6a158 19:28:44 ---> 896ee5b122e9 19:28:44 Step 9/25 : WORKDIR /device-mqtt-go 19:28:44 ---> Running in 1e050e72040d 19:28:44 Removing intermediate container 1e050e72040d 19:28:44 ---> c9865218da83 19:28:44 Step 10/25 : COPY go.mod vendor* ./ 19:28:45 ---> c7a1a063d83d 19:28:45 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:28:45 ---> Running in 1248b31c285a 19:28:47 Removing intermediate container 1248b31c285a 19:28:47 ---> 55bfb3966169 19:28:47 Step 12/25 : COPY . . 19:28:48 ---> 9be5e43e5e00 19:28:48 Step 13/25 : RUN $MAKE 19:28:48 ---> Running in 9a41cd46fa77 19:28:49 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 19:31:26 Removing intermediate container 9a41cd46fa77 19:31:26 ---> 1223b9e83a17 19:31:26 Step 14/25 : FROM alpine:3.16 19:31:26 3.16: Pulling from library/alpine 19:31:26 9b18e9b68314: Pulling fs layer 19:31:26 9b18e9b68314: Verifying Checksum 19:31:26 9b18e9b68314: Download complete 19:31:26 9b18e9b68314: Pull complete 19:31:26 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:31:26 Status: Downloaded newer image for alpine:3.16 19:31:26 ---> a6215f271958 19:31:26 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:31:26 ---> Running in 685959af6234 19:31:26 Removing intermediate container 685959af6234 19:31:26 ---> 585099a79aa4 19:31:26 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:31:26 ---> Running in c933bca4db8b 19:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:31:26 (1/6) Installing dumb-init (1.2.5-r1) 19:31:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:31:26 (3/6) Installing libsodium (1.0.18-r0) 19:31:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:31:26 (5/6) Installing libzmq (4.3.4-r0) 19:31:26 (6/6) Installing zeromq (4.3.4-r0) 19:31:26 Executing busybox-1.35.0-r17.trigger 19:31:26 OK: 8 MiB in 20 packages 19:31:26 Removing intermediate container c933bca4db8b 19:31:26 ---> 4cf4442b9fb5 19:31:26 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 19:31:26 ---> 1cd12eb39d42 19:31:26 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 19:31:26 ---> b5e902964029 19:31:26 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:31:26 ---> 00b0ed60cc44 19:31:26 Step 20/25 : EXPOSE 59982 19:31:26 ---> Running in 5da522ba3674 19:31:26 Removing intermediate container 5da522ba3674 19:31:26 ---> d90b45026603 19:31:26 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 19:31:26 ---> Running in a8a1bb054533 19:31:26 Removing intermediate container a8a1bb054533 19:31:26 ---> 9b81aa3d17f2 19:31:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:31:26 ---> Running in b0a94c796ab4 19:31:26 Removing intermediate container b0a94c796ab4 19:31:26 ---> f5cd09fe6947 19:31:27 Step 23/25 : LABEL arch=arm64 19:31:27 ---> Running in 0081c3319d42 19:31:27 Removing intermediate container 0081c3319d42 19:31:27 ---> 07c0589b432d 19:31:27 Step 24/25 : LABEL git_sha=69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 19:31:27 ---> Running in 70225d4f4034 19:31:27 Removing intermediate container 70225d4f4034 19:31:27 ---> ed3f4c14b9eb 19:31:27 Step 25/25 : LABEL version=0.0.0 19:31:27 ---> Running in b3dbe84409b8 19:31:28 Removing intermediate container b3dbe84409b8 19:31:28 ---> 8543b4193519 19:31:28 [Warning] One or more build-args [ARCH] were not consumed 19:31:28 Successfully built 8543b4193519 19:31:28 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 19:31:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:31:28 19:31:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:31:29 arm64: Pulling from edgex-lftools-log-publisher 19:31:29 8998bd30e6a1: Pulling fs layer 19:31:29 04944245beec: Pulling fs layer 19:31:29 699f458cf7ca: Pulling fs layer 19:31:29 765212b225bb: Pulling fs layer 19:31:29 f23df028b6ca: Pulling fs layer 19:31:29 d65c8cfc05b1: Pulling fs layer 19:31:29 2437ff75d9bd: Pulling fs layer 19:31:29 765212b225bb: Waiting 19:31:29 f23df028b6ca: Waiting 19:31:29 d65c8cfc05b1: Waiting 19:31:29 2437ff75d9bd: Waiting 19:31:29 04944245beec: Verifying Checksum 19:31:29 04944245beec: Download complete 19:31:29 765212b225bb: Verifying Checksum 19:31:29 765212b225bb: Download complete 19:31:29 f23df028b6ca: Download complete 19:31:29 d65c8cfc05b1: Verifying Checksum 19:31:29 d65c8cfc05b1: Download complete 19:31:29 699f458cf7ca: Verifying Checksum 19:31:29 699f458cf7ca: Download complete 19:31:29 8998bd30e6a1: Verifying Checksum 19:31:29 8998bd30e6a1: Download complete 19:31:32 2437ff75d9bd: Download complete 19:31:33 8998bd30e6a1: Pull complete 19:31:34 04944245beec: Pull complete 19:31:35 699f458cf7ca: Pull complete 19:31:35 765212b225bb: Pull complete 19:31:36 f23df028b6ca: Pull complete 19:31:36 d65c8cfc05b1: Pull complete 19:31:51 2437ff75d9bd: Pull complete 19:31:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:31:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:31:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:52 prd-ubuntu20.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container 19:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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:arm64 cat 19:31:54 $ docker top c495a350cc37f0b3925e7287e47cc3160a841b005f17cdbb7870f3b70206a02e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:55 ---> job-cost.sh 19:31:55 lf-activate-venv: SKIPPING 19:31:55 INFO: No Stack... 19:31:55 INFO: Retrieving Pricing Info for: v3-standard-4 19:31:56 INFO: Archiving Costs [Pipeline] sh 19:31:57 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 19:31:57 + cut -d, -f6 [Pipeline] lock 19:31:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] 19:31:57 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] did not exist. Created. 19:31:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:31:57 /w/workspace/device-mqtt-go/4@tmp/durable-9c3a3ee7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:31:57 + echo total: 0.10999999940395355 [Pipeline] stash 19:31:57 Warning: overwriting stash ‘stack-cost’ 19:31:57 Stashed 1 file(s) [Pipeline] } 19:31:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:31:57 $ docker stop --time=1 c495a350cc37f0b3925e7287e47cc3160a841b005f17cdbb7870f3b70206a02e 19:31:59 $ docker rm -f c495a350cc37f0b3925e7287e47cc3160a841b005f17cdbb7870f3b70206a02e [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 19:31:59 provisioning config files... 19:31:59 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config9004359930609533732tmp [Pipeline] { [Pipeline] sh 19:32:00 + set +x 19:32:00 + + bash -s -- 19:32:00 curl -s https://codecov.io/bash 19:32:00 19:32:00 _____ _ 19:32:00 / ____| | | 19:32:00 | | ___ __| | ___ ___ _____ __ 19:32:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:32:00 | |___| (_) | (_| | __/ (_| (_) \ V / 19:32:00 \_____\___/ \__,_|\___|\___\___/ \_/ 19:32:00 Bash-1.0.6 19:32:00 19:32:00 19:32:00 ==> git version 2.25.1 found 19:32:00 ==> 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 19:32:00 Release-Date: 2020-01-08 19:32:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:32:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:32:00 ==> Jenkins CI detected. 19:32:00 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 19:32:00 project root: . 19:32:00 --> token set from env 19:32:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:32:00 ==> Running gcov in . (disable via -X gcov) 19:32:00 ==> Python coveragepy not found 19:32:00 ==> Searching for coverage reports in: 19:32:00 + . 19:32:00 -> Found 1 reports 19:32:00 ==> Detecting git/mercurial file structure 19:32:00 ==> Reading reports 19:32:00 + ./coverage.out bytes=17887 19:32:00 ==> Appending adjustments 19:32:00 https://docs.codecov.io/docs/fixing-reports 19:32:00 + Found adjustments 19:32:00 ==> Gzipping contents 19:32:00 4.0K /tmp/codecov.hnizcQ.gz 19:32:00 ==> Uploading reports 19:32:00 url: https://codecov.io 19:32:00 query: branch=PR-414&commit=1854ca0a69f62cf29a025916da93190d40dfdbd7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 19:32:00 -> Pinging Codecov 19:32:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-414&commit=1854ca0a69f62cf29a025916da93190d40dfdbd7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 19:32:00 -> Uploading to 19:32:00 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7D719EC7BBE17E464838252E33014C33/1854ca0a69f62cf29a025916da93190d40dfdbd7/ef2d9b36-9b95-4f2b-a800-6c16afb9bf29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T193200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d6b8524ec2c57931c11026f4b49d2d71e5f9e2a2806fe32102332ff30179145 19:32:00 % Total % Received % Xferd Average Speed Time Time Time Current 19:32:00 Dload Upload Total Spent Left Speed 19:32:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 14421 --:--:-- --:--:-- --:--:-- 14357 100 3216 0 0 100 3216 0 13073 --:--:-- --:--:-- --:--:-- 13020 19:32:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1854ca0a69f62cf29a025916da93190d40dfdbd7 [Pipeline] } 19:32:00 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 19:32:01 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] 19:32:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 19:32:01 total 16 19:32:01 drwxr-xr-x 3 root root 4096 Sep 27 19:22 . 19:32:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 19:22 .. 19:32:01 drwxr-xr-x 2 root root 4096 Sep 27 19:22 cost 19:32:01 -rw-r--r-- 1 root root 86 Sep 27 19:22 cost.csv 19:32:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 19:32:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 19:32:01 total 16 19:32:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 19:22 . 19:32:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 19:22 .. 19:32:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 19:22 cost 19:32:01 -rw-r--r-- 1 jenkins jenkins 86 Sep 27 19:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:32:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:32:02 ---> package-listing.sh 19:32:02 ++ facter osfamily 19:32:02 ++ tr '[:upper:]' '[:lower:]' 19:32:02 + OS_FAMILY=debian 19:32:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 19:32:02 + START_PACKAGES=/tmp/packages_start.txt 19:32:02 + END_PACKAGES=/tmp/packages_end.txt 19:32:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:32:02 + PACKAGES=/tmp/packages_start.txt 19:32:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 19:32:02 + PACKAGES=/tmp/packages_end.txt 19:32:02 + case "${OS_FAMILY}" in 19:32:02 + dpkg -l 19:32:02 + grep '^ii' 19:32:02 + '[' -f /tmp/packages_start.txt ']' 19:32:02 + '[' -f /tmp/packages_end.txt ']' 19:32:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:32:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 19:32:02 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ 19:32:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo 19:32:03 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:32:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:03 prd-ubuntu20.04-docker-8c-8g-1393 does not seem to be running inside a container 19:32:03 $ 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-414/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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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 19:32:04 $ docker top f2d48975ce40d8337e3078af0ef2d79fbf2955a5f7b3f7d9749f1fd8303df4b6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:04 + touch /tmp/pre-build-complete [Pipeline] sh 19:32:04 + mkdir -p /var/log/sysstat [Pipeline] sh 19:32:05 + ls /var/log/sa-host 19:32:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:32:05 provisioning config files... 19:32:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config9293127399049681335tmp [Pipeline] { [Pipeline] echo 19:32:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:32:05 ---> create-netrc.sh [Pipeline] } 19:32:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:32:05 ---> python-tools-install.sh [Pipeline] echo 19:32:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:32:06 ---> sudo-logs.sh 19:32:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:32:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:32:06 ---> job-cost.sh 19:32:06 lf-activate-venv: SKIPPING 19:32:06 DEBUG: total: 0.2199999988079071 19:32:06 INFO: Retrieving Stack Cost... 19:32:06 INFO: Retrieving Pricing Info for: v3-standard-8 19:32:07 INFO: Archiving Costs [Pipeline] echo 19:32:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:32:07 ---> logs-deploy.sh 19:32:07 lf-activate-venv: SKIPPING 19:32:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/4 19:32:07 INFO: archiving workspace using pattern(s): 19:32:08 Archives upload complete. 19:32:08 INFO: archiving logs to Nexus