Pull request #423 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 459ccc30368983c74f8fc0b30a8da774d92164b5 rather than de52f11cb84c943c1ee8d7598cf261f4a4be872a Obtained Jenkinsfile from 459ccc30368983c74f8fc0b30a8da774d92164b5 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-ssh2819539628489934781.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-ssh4506907849741483554.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16781880868531759707.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-ssh6473009463391005513.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10146922602496218115.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 ‘prd-ubuntu20.04-docker-8c-8g-7527’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7529 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-423 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing de52f11cb84c943c1ee8d7598cf261f4a4be872a Checking out Revision de52f11cb84c943c1ee8d7598cf261f4a4be872a (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 Commit message: "refactor(snap): : Set unique name for config interface" > git rev-list --no-walk de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:14:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:14:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:14:53 ========================================================= 15:14:53 EdgeX Global Pipelines Version Info 15:14:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:14:54 ------------------- 15:14:54 stable info: 15:14:54 ------------------- 15:14:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:14:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 15:14:54 Message: update stable to v1.0.239 15:14:54 ------------------- 15:14:54 experimental info: 15:14:54 ------------------- 15:14:54 Commited By: **** collab-it+edgex@linuxfoundation.org 15:14:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 15:14:54 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:14:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:14:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:14:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de52f11 [Pipeline] echo 15:14:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:14:55 provisioning config files... 15:14:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config18202015940239910289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:14:55 ---> docker-login.sh 15:14:55 nexus3.edgexfoundry.org:10001 15:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:55 Configure a credential helper to remove this warning. See 15:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:55 15:14:55 Login Succeeded 15:14:55 nexus3.edgexfoundry.org:10002 15:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:55 Configure a credential helper to remove this warning. See 15:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:55 15:14:55 Login Succeeded 15:14:55 nexus3.edgexfoundry.org:10003 15:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:56 Configure a credential helper to remove this warning. See 15:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:56 15:14:56 Login Succeeded 15:14:56 nexus3.edgexfoundry.org:10004 15:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:56 Configure a credential helper to remove this warning. See 15:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:56 15:14:56 Login Succeeded 15:14:56 docker.io 15:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:14:56 Configure a credential helper to remove this warning. See 15:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:14:56 15:14:56 Login Succeeded 15:14:56 ---> docker-login.sh ends [Pipeline] } 15:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:14:57 + git rev-list -1 --merges de52f11cb84c943c1ee8d7598cf261f4a4be872a~1..de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo 15:14:57 -----------> git rev-list -1 --merges de52f11cb84c943c1ee8d7598cf261f4a4be872a~1..de52f11cb84c943c1ee8d7598cf261f4a4be872a de52f11cb84c943c1ee8d7598cf261f4a4be872a [false] [Pipeline] sh 15:14:57 + git log --format=format:%s -1 de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo 15:14:57 ========================================================= 15:14:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:14:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:57 + git log --format=format:%s -1 de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo 15:14:57 [semverPrep] GIT_COMMIT: de52f11cb84c943c1ee8d7598cf261f4a4be872a, Commit Message: refactor(snap): : Set unique name for config interface [Pipeline] echo 15:14:57 [semverPrep] This is not a build commit. [Pipeline] sh 15:14:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:14:58 + grep -v github /etc/ssh/ssh_known_hosts 15:14:58 + [ -e /tmp/ssh_known_hosts ] 15:14:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:14:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:14:58 + sudo tee -a /etc/ssh/ssh_known_hosts 15:14:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:58 15:14:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:14:58 0.1.4: Pulling from edgex-devops/py-git-semver 15:14:58 b85a868b505f: Pulling fs layer 15:14:58 e2be974225ed: Pulling fs layer 15:14:58 339a4e72a1f5: Pulling fs layer 15:14:58 988bab9f4d93: Pulling fs layer 15:14:58 1469e6f7b9e6: Pulling fs layer 15:14:58 eaf3925da568: Pulling fs layer 15:14:58 1469e6f7b9e6: Waiting 15:14:58 bab4dde63d76: Pulling fs layer 15:14:58 bde34c3a00c8: Pulling fs layer 15:14:58 b352a97aabf1: Pulling fs layer 15:14:58 4872d77fe225: Pulling fs layer 15:14:58 5851b861e8e6: Pulling fs layer 15:14:58 eaf3925da568: Waiting 15:14:58 b352a97aabf1: Waiting 15:14:58 5851b861e8e6: Waiting 15:14:58 988bab9f4d93: Waiting 15:14:58 e2be974225ed: Download complete 15:14:58 988bab9f4d93: Verifying Checksum 15:14:58 988bab9f4d93: Download complete 15:14:59 339a4e72a1f5: Verifying Checksum 15:14:59 339a4e72a1f5: Download complete 15:14:59 1469e6f7b9e6: Download complete 15:14:59 eaf3925da568: Download complete 15:14:59 bde34c3a00c8: Verifying Checksum 15:14:59 bde34c3a00c8: Download complete 15:14:59 b352a97aabf1: Verifying Checksum 15:14:59 b352a97aabf1: Download complete 15:14:59 4872d77fe225: Verifying Checksum 15:14:59 4872d77fe225: Download complete 15:14:59 5851b861e8e6: Verifying Checksum 15:14:59 5851b861e8e6: Download complete 15:14:59 b85a868b505f: Download complete 15:14:59 bab4dde63d76: Verifying Checksum 15:14:59 bab4dde63d76: Download complete 15:15:00 b85a868b505f: Pull complete 15:15:00 e2be974225ed: Pull complete 15:15:00 339a4e72a1f5: Pull complete 15:15:00 988bab9f4d93: Pull complete 15:15:01 1469e6f7b9e6: Pull complete 15:15:01 eaf3925da568: Pull complete 15:15:03 bab4dde63d76: Pull complete 15:15:03 bde34c3a00c8: Pull complete 15:15:03 b352a97aabf1: Pull complete 15:15:03 4872d77fe225: Pull complete 15:15:03 5851b861e8e6: Pull complete 15:15:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:15:03 prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container 15:15:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:15:04 $ docker top b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 -eo pid,comm 15:15:04 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). 15:15:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:15:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:04 [ssh-agent] Looking for ssh-agent implementation... 15:15:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:04 $ docker exec b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent 15:15:04 SSH_AUTH_SOCK=/tmp/ssh-YyTGGPlHya3Q/agent.33 15:15:04 SSH_AGENT_PID=39 15:15:04 Running ssh-add (command line suppressed) 15:15:04 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13415895517688164026.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13415895517688164026.key) 15:15:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:05 + git tag --points-at HEAD [Pipeline] } 15:15:05 $ docker exec --env ******** --env ******** b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent -k 15:15:05 unset SSH_AUTH_SOCK; 15:15:05 unset SSH_AGENT_PID; 15:15:05 echo Agent pid 39 killed; 15:15:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:15:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:05 [ssh-agent] Looking for ssh-agent implementation... 15:15:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:05 $ docker exec b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent 15:15:05 SSH_AUTH_SOCK=/tmp/ssh-CJr6tLnmJA3k/agent.72 15:15:05 SSH_AGENT_PID=78 15:15:05 Running ssh-add (command line suppressed) 15:15:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16092493839513827067.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16092493839513827067.key) 15:15:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:05 + git semver init 15:15:06 2022-10-10 15:15:06,146 [run_init] DEBUG init version:0.0.0 force:False 15:15:06 2022-10-10 15:15:06,146 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 15:15:06 2022-10-10 15:15:06,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 15:15:06 2022-10-10 15:15:06,147 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) 15:15:07 2022-10-10 15:15:07,079 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude 15:15:07 2022-10-10 15:15:07,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False 15:15:07 2022-10-10 15:15:07,080 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 15:15:07 2022-10-10 15:15:07,084 [execute] INFO git cat-file --batch-check 15:15:07 2022-10-10 15:15:07,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 15:15:07 2022-10-10 15:15:07,093 [execute] INFO git cat-file --batch 15:15:07 2022-10-10 15:15:07,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 15:15:07 2022-10-10 15:15:07,100 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 15:15:07 0.0.0 [Pipeline] } 15:15:07 $ docker exec --env ******** --env ******** b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent -k 15:15:07 unset SSH_AUTH_SOCK; 15:15:07 unset SSH_AGENT_PID; 15:15:07 echo Agent pid 78 killed; 15:15:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:15:07 + git semver [Pipeline] } 15:15:07 $ docker stop --time=1 b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 15:15:09 $ docker rm -f b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 [Pipeline] // withDockerContainer [Pipeline] sh 15:15:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:15:09 Stashed 1 file(s) [Pipeline] echo 15:15:09 [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 15:15:09 provisioning config files... 15:15:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config11023585056996340634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:10 ---> docker-login.sh 15:15:10 nexus3.edgexfoundry.org:10001 15:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:10 Configure a credential helper to remove this warning. See 15:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:10 15:15:10 Login Succeeded 15:15:10 nexus3.edgexfoundry.org:10002 15:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:10 Configure a credential helper to remove this warning. See 15:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:10 15:15:10 Login Succeeded 15:15:10 nexus3.edgexfoundry.org:10003 15:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:10 Configure a credential helper to remove this warning. See 15:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:10 15:15:10 Login Succeeded 15:15:10 nexus3.edgexfoundry.org:10004 15:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:10 Configure a credential helper to remove this warning. See 15:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:10 15:15:10 Login Succeeded 15:15:10 docker.io 15:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:10 Configure a credential helper to remove this warning. See 15:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:10 15:15:10 Login Succeeded 15:15:10 ---> docker-login.sh ends [Pipeline] } 15:15:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:15:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:15:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:15:10 ========================================================= 15:15:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:15:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:11 + 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 . 15:15:11 Sending build context to Docker daemon 6.171MB 15:15:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:15:11 Step 2/13 : FROM ${BASE} AS builder 15:15:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:15:11 2408cc74d12b: Pulling fs layer 15:15:11 ea60b727a1ce: Pulling fs layer 15:15:11 30c4a7721957: Pulling fs layer 15:15:11 370296b7ddb6: Pulling fs layer 15:15:11 7c6cee850709: Pulling fs layer 15:15:11 aa9baa53a306: Pulling fs layer 15:15:11 7c6cee850709: Waiting 15:15:11 370296b7ddb6: Waiting 15:15:11 8b309c321861: Pulling fs layer 15:15:11 d8d76fd02f46: Pulling fs layer 15:15:11 fa31f396de31: Pulling fs layer 15:15:11 aa9baa53a306: Waiting 15:15:11 8b309c321861: Waiting 15:15:11 d8d76fd02f46: Waiting 15:15:11 fa31f396de31: Waiting 15:15:11 30c4a7721957: Verifying Checksum 15:15:11 30c4a7721957: Download complete 15:15:11 ea60b727a1ce: Verifying Checksum 15:15:11 ea60b727a1ce: Download complete 15:15:11 7c6cee850709: Verifying Checksum 15:15:11 7c6cee850709: Download complete 15:15:11 aa9baa53a306: Verifying Checksum 15:15:11 aa9baa53a306: Download complete 15:15:11 2408cc74d12b: Verifying Checksum 15:15:11 2408cc74d12b: Download complete 15:15:11 8b309c321861: Verifying Checksum 15:15:11 8b309c321861: Download complete 15:15:11 2408cc74d12b: Pull complete 15:15:11 ea60b727a1ce: Pull complete 15:15:11 30c4a7721957: Pull complete 15:15:12 fa31f396de31: Verifying Checksum 15:15:12 fa31f396de31: Download complete 15:15:12 370296b7ddb6: Verifying Checksum 15:15:12 370296b7ddb6: Download complete 15:15:12 d8d76fd02f46: Verifying Checksum 15:15:12 d8d76fd02f46: Download complete 15:15:15 370296b7ddb6: Pull complete 15:15:15 7c6cee850709: Pull complete 15:15:15 aa9baa53a306: Pull complete 15:15:15 8b309c321861: Pull complete 15:15:17 d8d76fd02f46: Pull complete 15:15:18 fa31f396de31: Pull complete 15:15:18 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 15:15:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:15:18 ---> cef68f9685f8 15:15:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:15:20 ---> Running in f7c4c8a5e504 15:15:20 Removing intermediate container f7c4c8a5e504 15:15:20 ---> 746f569d40b1 15:15:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:15:20 ---> Running in 145f2f98f508 15:15:20 Removing intermediate container 145f2f98f508 15:15:20 ---> 9169a9d474e8 15:15:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:15:20 ---> Running in 46dbb1df85b6 15:15:20 Removing intermediate container 46dbb1df85b6 15:15:20 ---> 3416aa1896d7 15:15:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:15:20 ---> Running in 05d1a3ef9a46 15:15:20 Removing intermediate container 05d1a3ef9a46 15:15:20 ---> 4d0923721be7 15:15:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:15:20 ---> Running in b9ffb50c6ad4 15:15:21 Removing intermediate container b9ffb50c6ad4 15:15:21 ---> 96c301a2ef0f 15:15:21 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:15:21 ---> Running in cdf67b39c991 15:15:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:15:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:15:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:15:22 (2/4) Installing libedit (20210910.3.1-r0) 15:15:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:15:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:15:23 Executing busybox-1.35.0-r13.trigger 15:15:23 OK: 216 MiB in 55 packages 15:15:23 Removing intermediate container cdf67b39c991 15:15:23 ---> 79b0ca7dc868 15:15:23 Step 9/13 : WORKDIR /device-mqtt-go 15:15:23 ---> Running in 3063e2d07a7d 15:15:23 Removing intermediate container 3063e2d07a7d 15:15:23 ---> cebc1de20d1b 15:15:23 Step 10/13 : COPY go.mod vendor* ./ 15:15:23 ---> ffe65d3ec401 15:15:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:15:23 ---> Running in 8bedfa3278cd 15:15:24 Still waiting to schedule task 15:15:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7528’ is offline 15:15:38 Removing intermediate container 8bedfa3278cd 15:15:38 ---> 75fdb9cbfe8b 15:15:38 Step 12/13 : COPY . . 15:15:38 ---> 0021b9600305 15:15:38 Step 13/13 : RUN $MAKE 15:15:38 ---> Running in 7a801770e510 15:15:38 noop 15:15:38 Removing intermediate container 7a801770e510 15:15:38 ---> b9af0040cc16 15:15:38 Successfully built b9af0040cc16 15:15:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:39 + docker inspect -f . ci-base-image-x86_64 15:15:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:15:39 prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container 15:15:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:15:39 $ docker top 00e2ec5784d768350807e04816a0c423cd99d0e6814d124e9d268798f5ff0d3b -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:39 + go version 15:15:39 go version go1.18.3 linux/amd64 [Pipeline] } 15:15:39 $ docker stop --time=1 00e2ec5784d768350807e04816a0c423cd99d0e6814d124e9d268798f5ff0d3b 15:15:41 $ docker rm -f 00e2ec5784d768350807e04816a0c423cd99d0e6814d124e9d268798f5ff0d3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:41 + docker inspect -f . ci-base-image-x86_64 15:15:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:15:41 prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container 15:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:15:41 $ docker top 218ce9d7de4e581ed7806198412e09fc1299e64636561d265e9dfcc1f5df2e7f -eo pid,comm [Pipeline] { [Pipeline] sh 15:15:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh 15:15:42 + make test 15:15:42 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:15:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:15:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:15:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements 15:15:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:15:58 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." 15:15:58 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:16:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:16:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:16:00 ./bin/test-attribution-txt.sh [Pipeline] echo 15:16:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:16:00 $ docker stop --time=1 218ce9d7de4e581ed7806198412e09fc1299e64636561d265e9dfcc1f5df2e7f 15:16:02 $ docker rm -f 218ce9d7de4e581ed7806198412e09fc1299e64636561d265e9dfcc1f5df2e7f [Pipeline] // withDockerContainer [Pipeline] sh 15:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:16:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:16:03 + ls -al . 15:16:03 total 184 15:16:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 15:15 . 15:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:14 .. 15:16:03 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 15:14 .dockerignore 15:16:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:15 .git 15:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:14 .github 15:16:03 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 15:14 .gitignore 15:16:03 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 15:14 .golangci.yml 15:16:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:15 .semver 15:16:03 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 15:14 Attribution.txt 15:16:03 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 15:14 CHANGELOG.md 15:16:03 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 15:14 Dockerfile 15:16:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:14 GOVERNANCE.md 15:16:03 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 15:14 Jenkinsfile 15:16:03 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 15:14 LICENSE 15:16:03 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 15:14 Makefile 15:16:03 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 15:14 OWNERS.md 15:16:03 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 15:14 README.md 15:16:03 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:15 VERSION 15:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:14 bin 15:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:14 cmd 15:16:03 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 15:15 coverage.out 15:16:03 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 15:14 go.mod 15:16:03 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 15:14 go.sum 15:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:14 internal 15:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:14 mock 15:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:14 snap 15:16:03 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 15:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:04 + 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=de52f11cb84c943c1ee8d7598cf261f4a4be872a --label arch=amd64 --label version=0.0.0 . 15:16:04 Sending build context to Docker daemon 6.19MB 15:16:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:16:04 Step 2/25 : FROM ${BASE} AS builder 15:16:04 ---> b9af0040cc16 15:16:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:16:04 ---> Running in d4f273c0fe5f 15:16:04 Removing intermediate container d4f273c0fe5f 15:16:04 ---> 944403f09a80 15:16:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:16:04 ---> Running in 080cb611cd4d 15:16:04 Removing intermediate container 080cb611cd4d 15:16:04 ---> f4e2a26e248f 15:16:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:16:04 ---> Running in 9723b31b3d6b 15:16:04 Removing intermediate container 9723b31b3d6b 15:16:04 ---> 4e1d4dcdaa7b 15:16:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:16:04 ---> Running in 104c23df3f6f 15:16:04 Removing intermediate container 104c23df3f6f 15:16:04 ---> 9ff5befa7577 15:16:04 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:16:04 ---> Running in 1d0a287c386c 15:16:05 Removing intermediate container 1d0a287c386c 15:16:05 ---> b7665c1e8fa1 15:16:05 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:16:05 ---> Running in 3bef3fe1c1ce 15:16:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:16:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:16:06 OK: 216 MiB in 55 packages 15:16:07 Removing intermediate container 3bef3fe1c1ce 15:16:07 ---> d2a790ffe4de 15:16:07 Step 9/25 : WORKDIR /device-mqtt-go 15:16:07 ---> Running in 3d5ba03ac906 15:16:07 Removing intermediate container 3d5ba03ac906 15:16:07 ---> 2a2ea9261689 15:16:07 Step 10/25 : COPY go.mod vendor* ./ 15:16:07 ---> 09219269da07 15:16:07 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:16:07 ---> Running in 7609e3639745 15:16:08 Removing intermediate container 7609e3639745 15:16:08 ---> 0f21312a701a 15:16:08 Step 12/25 : COPY . . 15:16:08 ---> 4ae64df694da 15:16:08 Step 13/25 : RUN $MAKE 15:16:08 ---> Running in 5aa760badef2 15:16:08 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 15:16:26 Removing intermediate container 5aa760badef2 15:16:26 ---> 77046a0d394f 15:16:26 Step 14/25 : FROM alpine:3.16 15:16:27 3.16: Pulling from library/alpine 15:16:27 213ec9aee27d: Pulling fs layer 15:16:27 213ec9aee27d: Verifying Checksum 15:16:27 213ec9aee27d: Download complete 15:16:27 213ec9aee27d: Pull complete 15:16:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:16:27 Status: Downloaded newer image for alpine:3.16 15:16:27 ---> 9c6f07244728 15:16:27 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:16:27 ---> Running in 90a2236762ac 15:16:27 Removing intermediate container 90a2236762ac 15:16:27 ---> f26a2dc6160a 15:16:27 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 15:16:27 ---> Running in 3e73d7f47232 15:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:16:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:16:28 (1/6) Installing dumb-init (1.2.5-r1) 15:16:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:16:28 (3/6) Installing libsodium (1.0.18-r0) 15:16:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:16:28 (5/6) Installing libzmq (4.3.4-r0) 15:16:28 (6/6) Installing zeromq (4.3.4-r0) 15:16:28 Executing busybox-1.35.0-r17.trigger 15:16:28 OK: 8 MiB in 20 packages 15:16:28 Removing intermediate container 3e73d7f47232 15:16:28 ---> 9a9ab0e20c82 15:16:28 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 15:16:29 ---> 10e3fd6d958e 15:16:29 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 15:16:29 ---> 556091ac47c6 15:16:29 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:16:29 ---> 504cd047c318 15:16:29 Step 20/25 : EXPOSE 59982 15:16:29 ---> Running in c0ffd7f2d146 15:16:29 Removing intermediate container c0ffd7f2d146 15:16:29 ---> 325d0ed53a65 15:16:29 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 15:16:29 ---> Running in fca079357037 15:16:29 Removing intermediate container fca079357037 15:16:29 ---> 5d7c6b558aec 15:16:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:16:29 ---> Running in 3ba600dce3ed 15:16:29 Removing intermediate container 3ba600dce3ed 15:16:29 ---> c81e4dd0deda 15:16:29 Step 23/25 : LABEL arch=amd64 15:16:29 ---> Running in 6d4af7cb6f1e 15:16:29 Removing intermediate container 6d4af7cb6f1e 15:16:29 ---> f1650409c705 15:16:29 Step 24/25 : LABEL git_sha=de52f11cb84c943c1ee8d7598cf261f4a4be872a 15:16:29 ---> Running in 25c2b59a8b15 15:16:30 Removing intermediate container 25c2b59a8b15 15:16:30 ---> 62c7c47d2328 15:16:30 Step 25/25 : LABEL version=0.0.0 15:16:30 ---> Running in bb5f2187afe5 15:16:30 Removing intermediate container bb5f2187afe5 15:16:30 ---> 0e4cdeb698ff 15:16:30 [Warning] One or more build-args [ARCH] were not consumed 15:16:30 Successfully built 0e4cdeb698ff 15:16:30 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 15:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:16:30 15:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:16:30 latest: Pulling from edgex-lftools-log-publisher 15:16:30 5eb5b503b376: Pulling fs layer 15:16:30 5c69ac0246d0: Pulling fs layer 15:16:30 ec43610c2a17: Pulling fs layer 15:16:30 3a2ae6a8a46f: Pulling fs layer 15:16:30 33b1e0a273af: Pulling fs layer 15:16:30 5d3b04190fa2: Pulling fs layer 15:16:30 2f39f015ded8: Pulling fs layer 15:16:30 3a2ae6a8a46f: Waiting 15:16:30 33b1e0a273af: Waiting 15:16:30 5d3b04190fa2: Waiting 15:16:30 2f39f015ded8: Waiting 15:16:30 5c69ac0246d0: Verifying Checksum 15:16:30 5c69ac0246d0: Download complete 15:16:30 3a2ae6a8a46f: Verifying Checksum 15:16:30 3a2ae6a8a46f: Download complete 15:16:30 33b1e0a273af: Verifying Checksum 15:16:30 33b1e0a273af: Download complete 15:16:30 5d3b04190fa2: Verifying Checksum 15:16:30 5d3b04190fa2: Download complete 15:16:31 ec43610c2a17: Verifying Checksum 15:16:31 ec43610c2a17: Download complete 15:16:31 5eb5b503b376: Download complete 15:16:31 2f39f015ded8: Download complete 15:16:32 5eb5b503b376: Pull complete 15:16:32 5c69ac0246d0: Pull complete 15:16:32 ec43610c2a17: Pull complete 15:16:32 3a2ae6a8a46f: Pull complete 15:16:32 33b1e0a273af: Pull complete 15:16:32 5d3b04190fa2: Pull complete 15:16:37 2f39f015ded8: Pull complete 15:16:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:16:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:37 prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container 15:16:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:16:38 $ docker top afda230a6aca5ae934e31dacfe202e9bb26d59fe3c43fdf19f3cdba3e7c30425 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:39 ---> job-cost.sh 15:16:39 lf-activate-venv: SKIPPING 15:16:39 INFO: No Stack... 15:16:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:16:39 INFO: Archiving Costs [Pipeline] sh 15:16:40 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv 15:16:40 + cut -d, -f6 [Pipeline] lock 15:16:40 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] 15:16:40 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] did not exist. Created. 15:16:40 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:16:40 + echo total: 0.2199999988079071 [Pipeline] stash 15:16:40 Stashed 1 file(s) [Pipeline] } 15:16:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:16:40 $ docker stop --time=1 afda230a6aca5ae934e31dacfe202e9bb26d59fe3c43fdf19f3cdba3e7c30425 15:16:41 $ docker rm -f afda230a6aca5ae934e31dacfe202e9bb26d59fe3c43fdf19f3cdba3e7c30425 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:16:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7530 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws 15:16:52 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 15:16:52 Selected Git installation does not exist. Using Default 15:16:52 The recommended git tool is: NONE 15:16:57 using credential edgex-jenkins-ssh 15:16:57 Cloning the remote Git repository 15:16:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:16:58 > git init /w/workspace/device-mqtt-go/4 # timeout=10 15:16:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:16:58 > git --version # timeout=10 15:16:58 > git --version # 'git version 2.25.1' 15:16:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:16:58 Verifying host key using known hosts file 15:16:58 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. 15:16:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:16:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:16:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:01 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a 15:17:01 Merge succeeded, producing de52f11cb84c943c1ee8d7598cf261f4a4be872a 15:17:01 Checking out Revision de52f11cb84c943c1ee8d7598cf261f4a4be872a (PR-423) 15:17:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:17:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:17:00 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:00 Verifying host key using known hosts file 15:17:00 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. 15:17:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:17:01 > git config core.sparsecheckout # timeout=10 15:17:01 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 15:17:01 > git remote # timeout=10 15:17:01 > git config --get remote.origin.url # timeout=10 15:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:01 Verifying host key using known hosts file 15:17:01 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. 15:17:01 > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 15:17:01 > git rev-parse HEAD^{commit} # timeout=10 15:17:01 > git config core.sparsecheckout # timeout=10 15:17:01 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 15:17:04 Commit message: "refactor(snap): : Set unique name for config interface" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:17:05 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:05 Dload Upload Total Spent Left Speed 15:17:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 15:17:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:17:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:17:06 + sudo tee /etc/docker/daemon.new 15:17:06 { 15:17:06 "registry-mirrors": [ 15:17:06 "https://nexus3.edgexfoundry.org:10001" 15:17:06 ], 15:17:06 "bip": "10.250.0.254/24", 15:17:06 "hosts": [ 15:17:06 "tcp://0.0.0.0:5555", 15:17:06 "unix:///var/run/docker.sock" 15:17:06 ], 15:17:06 "mtu": 1458, 15:17:06 "selinux-enabled": true, 15:17:06 "seccomp-profile": "/etc/docker/seccomp.json" 15:17:06 } [Pipeline] sh 15:17:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:17:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:25 provisioning config files... 15:17:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config1638857600409556142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:25 ---> docker-login.sh 15:17:25 nexus3.edgexfoundry.org:10001 15:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:26 Configure a credential helper to remove this warning. See 15:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:26 15:17:26 Login Succeeded 15:17:26 nexus3.edgexfoundry.org:10002 15:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:26 Configure a credential helper to remove this warning. See 15:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:26 15:17:26 Login Succeeded 15:17:26 nexus3.edgexfoundry.org:10003 15:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:27 Configure a credential helper to remove this warning. See 15:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:27 15:17:27 Login Succeeded 15:17:27 nexus3.edgexfoundry.org:10004 15:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:27 Configure a credential helper to remove this warning. See 15:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:27 15:17:27 Login Succeeded 15:17:27 docker.io 15:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:28 Configure a credential helper to remove this warning. See 15:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:28 15:17:28 Login Succeeded 15:17:28 ---> docker-login.sh ends [Pipeline] } 15:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:28 ========================================================= 15:17:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:17:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:28 + 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 . 15:17:28 Sending build context to Docker daemon 3.195MB 15:17:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:17:28 Step 2/13 : FROM ${BASE} AS builder 15:17:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:17:28 b3c136eddcbf: Pulling fs layer 15:17:28 c0a3192eca97: Pulling fs layer 15:17:28 a050256f5b6f: Pulling fs layer 15:17:28 656be50a0ddc: Pulling fs layer 15:17:28 2bbca73fdf42: Pulling fs layer 15:17:28 f607e4fc86c3: Pulling fs layer 15:17:28 4d572c569a2c: Pulling fs layer 15:17:28 fcf976331f73: Pulling fs layer 15:17:28 2bbca73fdf42: Waiting 15:17:28 f607e4fc86c3: Waiting 15:17:28 4d572c569a2c: Waiting 15:17:28 fcf976331f73: Waiting 15:17:28 656be50a0ddc: Waiting 15:17:29 a050256f5b6f: Verifying Checksum 15:17:29 a050256f5b6f: Download complete 15:17:29 c0a3192eca97: Download complete 15:17:29 2bbca73fdf42: Download complete 15:17:29 f607e4fc86c3: Verifying Checksum 15:17:29 f607e4fc86c3: Download complete 15:17:29 b3c136eddcbf: Verifying Checksum 15:17:30 b3c136eddcbf: Pull complete 15:17:30 fcf976331f73: Verifying Checksum 15:17:30 fcf976331f73: Download complete 15:17:30 c0a3192eca97: Pull complete 15:17:30 a050256f5b6f: Pull complete 15:17:31 4d572c569a2c: Verifying Checksum 15:17:31 4d572c569a2c: Download complete 15:17:31 656be50a0ddc: Verifying Checksum 15:17:31 656be50a0ddc: Download complete 15:17:44 656be50a0ddc: Pull complete 15:17:44 2bbca73fdf42: Pull complete 15:17:44 f607e4fc86c3: Pull complete 15:17:49 4d572c569a2c: Pull complete 15:17:50 fcf976331f73: Pull complete 15:17:50 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 15:17:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:17:50 ---> 3970a7415f9e 15:17:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:17:52 ---> Running in 462d6d567e00 15:17:53 Removing intermediate container 462d6d567e00 15:17:53 ---> 07ca26abf893 15:17:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:17:53 ---> Running in ef2c3b197bb2 15:17:53 Removing intermediate container ef2c3b197bb2 15:17:53 ---> 2ef09162d08f 15:17:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:17:53 ---> Running in d05f883a8f25 15:17:53 Removing intermediate container d05f883a8f25 15:17:53 ---> 86e0f1d254ee 15:17:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:17:53 ---> Running in 861c4cb92cc0 15:17:54 Removing intermediate container 861c4cb92cc0 15:17:54 ---> 033fb1ead24f 15:17:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:17:54 ---> Running in 540a4ef74fa2 15:17:56 Removing intermediate container 540a4ef74fa2 15:17:56 ---> bdf61db34569 15:17:56 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:56 ---> Running in 56233e209c01 15:17:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:17:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:17:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:17:59 (2/4) Installing libedit (20210910.3.1-r0) 15:17:59 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:17:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:17:59 Executing busybox-1.35.0-r13.trigger 15:17:59 OK: 226 MiB in 55 packages 15:18:00 Removing intermediate container 56233e209c01 15:18:00 ---> 16b3a8cbd9a7 15:18:00 Step 9/13 : WORKDIR /device-mqtt-go 15:18:00 ---> Running in b5551bbde7ed 15:18:00 Removing intermediate container b5551bbde7ed 15:18:00 ---> 0a1672412d7d 15:18:00 Step 10/13 : COPY go.mod vendor* ./ 15:18:01 ---> 9b0b84d23148 15:18:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:18:01 ---> Running in 2e735e69f158 15:18:48 Removing intermediate container 2e735e69f158 15:18:48 ---> d9451d214b09 15:18:48 Step 12/13 : COPY . . 15:18:48 ---> 2e22e9e79fa1 15:18:48 Step 13/13 : RUN $MAKE 15:18:48 ---> Running in 1c053ff8f382 15:18:49 noop 15:18:49 Removing intermediate container 1c053ff8f382 15:18:49 ---> 8971b4da6e64 15:18:49 Successfully built 8971b4da6e64 15:18:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:50 + docker inspect -f . ci-base-image-arm64 15:18:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:50 prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container 15:18:50 $ 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 ******** -e ******** ci-base-image-arm64 cat 15:18:51 $ docker top 02a1a4be5af5359655c7647f5ea4618d76cf11e10e6eeafac0beb19778e3011f -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:52 + go version 15:18:52 go version go1.18.3 linux/arm64 [Pipeline] } 15:18:52 $ docker stop --time=1 02a1a4be5af5359655c7647f5ea4618d76cf11e10e6eeafac0beb19778e3011f 15:18:53 $ docker rm -f 02a1a4be5af5359655c7647f5ea4618d76cf11e10e6eeafac0beb19778e3011f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:54 + docker inspect -f . ci-base-image-arm64 15:18:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:54 prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container 15:18:54 $ 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 ******** -e ******** ci-base-image-arm64 cat 15:18:55 $ docker top 907c9e97357fe09a7bfb242cdfe158d9748766a727b1ea27da9d34369a81fbe0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:56 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 15:18:56 + make test 15:18:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:18:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:20:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:20:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 15:20:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:20:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:20:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:20:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:20:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:20:42 ./bin/test-attribution-txt.sh [Pipeline] echo 15:20:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:20:42 $ docker stop --time=1 907c9e97357fe09a7bfb242cdfe158d9748766a727b1ea27da9d34369a81fbe0 15:20:44 $ docker rm -f 907c9e97357fe09a7bfb242cdfe158d9748766a727b1ea27da9d34369a81fbe0 [Pipeline] // withDockerContainer [Pipeline] sh 15:20:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:20:45 Warning: overwriting stash ‘coverage-report’ 15:20:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:20:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:20:46 + ls -al . 15:20:46 total 180 15:20:46 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 15:18 . 15:20:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:16 .. 15:20:46 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 15:17 .dockerignore 15:20:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:17 .git 15:20:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:17 .github 15:20:46 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 15:17 .gitignore 15:20:46 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 15:17 .golangci.yml 15:20:46 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 15:17 Attribution.txt 15:20:46 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 15:17 CHANGELOG.md 15:20:46 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 15:17 Dockerfile 15:20:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:17 GOVERNANCE.md 15:20:46 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 15:17 Jenkinsfile 15:20:46 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 15:17 LICENSE 15:20:46 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 15:17 Makefile 15:20:46 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 15:17 OWNERS.md 15:20:46 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 15:17 README.md 15:20:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:15 VERSION 15:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:17 bin 15:20:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:17 cmd 15:20:46 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 15:20 coverage.out 15:20:46 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 15:17 go.mod 15:20:46 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 15:17 go.sum 15:20:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:17 internal 15:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:17 mock 15:20:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:17 snap 15:20:46 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:46 + 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=de52f11cb84c943c1ee8d7598cf261f4a4be872a --label arch=arm64 --label version=0.0.0 . 15:20:46 Sending build context to Docker daemon 3.214MB 15:20:46 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:20:46 Step 2/25 : FROM ${BASE} AS builder 15:20:46 ---> 8971b4da6e64 15:20:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:20:46 ---> Running in 260c24a942cd 15:20:47 Removing intermediate container 260c24a942cd 15:20:47 ---> 967c7b2145b5 15:20:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:20:47 ---> Running in 311645650c4d 15:20:47 Removing intermediate container 311645650c4d 15:20:47 ---> bfde14bbf83e 15:20:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:20:47 ---> Running in e1c26db5ee5d 15:20:48 Removing intermediate container e1c26db5ee5d 15:20:48 ---> 9e00c3947897 15:20:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:20:48 ---> Running in bf4cd23ac09e 15:20:48 Removing intermediate container bf4cd23ac09e 15:20:48 ---> c420373123a3 15:20:48 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:20:48 ---> Running in 32f3192618f2 15:20:49 Removing intermediate container 32f3192618f2 15:20:49 ---> 59ea8a24586d 15:20:49 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:20:50 ---> Running in 8d806b0a03f3 15:20:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:20:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:20:52 OK: 226 MiB in 55 packages 15:20:53 Removing intermediate container 8d806b0a03f3 15:20:53 ---> 8b731daabee0 15:20:53 Step 9/25 : WORKDIR /device-mqtt-go 15:20:53 ---> Running in aa8f466ebeb4 15:20:53 Removing intermediate container aa8f466ebeb4 15:20:53 ---> c94d7e6e238a 15:20:53 Step 10/25 : COPY go.mod vendor* ./ 15:20:54 ---> 4606799a27ac 15:20:54 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:20:54 ---> Running in 991476b0dc67 15:20:56 Removing intermediate container 991476b0dc67 15:20:56 ---> 5350ea87ebf2 15:20:56 Step 12/25 : COPY . . 15:20:56 ---> 38b38798fc3e 15:20:56 Step 13/25 : RUN $MAKE 15:20:56 ---> Running in cc4d575e0e08 15:20:57 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 15:23:34 Removing intermediate container cc4d575e0e08 15:23:34 ---> d156a241ccad 15:23:34 Step 14/25 : FROM alpine:3.16 15:23:34 3.16: Pulling from library/alpine 15:23:34 9b18e9b68314: Pulling fs layer 15:23:34 9b18e9b68314: Verifying Checksum 15:23:34 9b18e9b68314: Download complete 15:23:34 9b18e9b68314: Pull complete 15:23:34 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:23:34 Status: Downloaded newer image for alpine:3.16 15:23:34 ---> a6215f271958 15:23:34 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:23:34 ---> Running in 720510f7d962 15:23:34 Removing intermediate container 720510f7d962 15:23:34 ---> 4f3d24100b8d 15:23:34 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 15:23:34 ---> Running in d3277dd530af 15:23:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:23:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:23:34 (1/6) Installing dumb-init (1.2.5-r1) 15:23:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:23:34 (3/6) Installing libsodium (1.0.18-r0) 15:23:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:23:34 (5/6) Installing libzmq (4.3.4-r0) 15:23:34 (6/6) Installing zeromq (4.3.4-r0) 15:23:34 Executing busybox-1.35.0-r17.trigger 15:23:34 OK: 8 MiB in 20 packages 15:23:34 Removing intermediate container d3277dd530af 15:23:34 ---> 236305df0dff 15:23:34 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 15:23:34 ---> 01715e716cac 15:23:34 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 15:23:34 ---> 35d526e44e52 15:23:34 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:23:34 ---> d8c9ec1df834 15:23:34 Step 20/25 : EXPOSE 59982 15:23:34 ---> Running in b2a273ed4ab7 15:23:34 Removing intermediate container b2a273ed4ab7 15:23:34 ---> 9a06e07d56f3 15:23:34 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 15:23:34 ---> Running in 34221aadd57b 15:23:34 Removing intermediate container 34221aadd57b 15:23:34 ---> a821a35f7485 15:23:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:23:34 ---> Running in 2f1f3fd5b517 15:23:34 Removing intermediate container 2f1f3fd5b517 15:23:34 ---> 7b7e5e88a954 15:23:34 Step 23/25 : LABEL arch=arm64 15:23:34 ---> Running in 26579b6e3b76 15:23:34 Removing intermediate container 26579b6e3b76 15:23:34 ---> d391a6ba5a16 15:23:34 Step 24/25 : LABEL git_sha=de52f11cb84c943c1ee8d7598cf261f4a4be872a 15:23:34 ---> Running in 568940102a05 15:23:34 Removing intermediate container 568940102a05 15:23:34 ---> 671ad21c122c 15:23:34 Step 25/25 : LABEL version=0.0.0 15:23:34 ---> Running in 97e4db3c57b0 15:23:34 Removing intermediate container 97e4db3c57b0 15:23:34 ---> 5a94f4e9334e 15:23:34 [Warning] One or more build-args [ARCH] were not consumed 15:23:34 Successfully built 5a94f4e9334e 15:23:34 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 15:23:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:23:35 15:23:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:23:35 arm64: Pulling from edgex-lftools-log-publisher 15:23:35 8998bd30e6a1: Pulling fs layer 15:23:35 04944245beec: Pulling fs layer 15:23:35 699f458cf7ca: Pulling fs layer 15:23:35 765212b225bb: Pulling fs layer 15:23:35 f23df028b6ca: Pulling fs layer 15:23:35 d65c8cfc05b1: Pulling fs layer 15:23:35 2437ff75d9bd: Pulling fs layer 15:23:35 d65c8cfc05b1: Waiting 15:23:35 765212b225bb: Waiting 15:23:35 f23df028b6ca: Waiting 15:23:35 2437ff75d9bd: Waiting 15:23:35 04944245beec: Verifying Checksum 15:23:35 04944245beec: Download complete 15:23:35 765212b225bb: Verifying Checksum 15:23:35 765212b225bb: Download complete 15:23:35 f23df028b6ca: Verifying Checksum 15:23:35 f23df028b6ca: Download complete 15:23:35 d65c8cfc05b1: Verifying Checksum 15:23:35 d65c8cfc05b1: Download complete 15:23:35 699f458cf7ca: Verifying Checksum 15:23:35 699f458cf7ca: Download complete 15:23:36 8998bd30e6a1: Verifying Checksum 15:23:36 8998bd30e6a1: Download complete 15:23:38 2437ff75d9bd: Verifying Checksum 15:23:38 2437ff75d9bd: Download complete 15:23:40 8998bd30e6a1: Pull complete 15:23:40 04944245beec: Pull complete 15:23:42 699f458cf7ca: Pull complete 15:23:42 765212b225bb: Pull complete 15:23:43 f23df028b6ca: Pull complete 15:23:43 d65c8cfc05b1: Pull complete 15:23:57 2437ff75d9bd: Pull complete 15:23:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:23:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:58 prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container 15:23: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/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:24:00 $ docker top 9ffcc86200451e6b7717dc5f2d5b9d05cbbc6bc6bdb6b4296f6452963f1dbe65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:01 ---> job-cost.sh 15:24:01 lf-activate-venv: SKIPPING 15:24:01 INFO: No Stack... 15:24:02 INFO: Retrieving Pricing Info for: v3-standard-4 15:24:02 INFO: Archiving Costs [Pipeline] sh 15:24:03 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 15:24:03 + cut -d, -f6 [Pipeline] lock 15:24:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] 15:24:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] did not exist. Created. 15:24:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:24:04 /w/workspace/device-mqtt-go/4@tmp/durable-998615cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:24:04 + echo total: 0.10999999940395355 [Pipeline] stash 15:24:04 Warning: overwriting stash ‘stack-cost’ 15:24:04 Stashed 1 file(s) [Pipeline] } 15:24:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:24:04 $ docker stop --time=1 9ffcc86200451e6b7717dc5f2d5b9d05cbbc6bc6bdb6b4296f6452963f1dbe65 15:24:05 $ docker rm -f 9ffcc86200451e6b7717dc5f2d5b9d05cbbc6bc6bdb6b4296f6452963f1dbe65 [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 15:24:06 provisioning config files... 15:24:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config4957916067865063079tmp [Pipeline] { [Pipeline] sh 15:24:06 + set +x 15:24:06 + curl -s https://codecov.io/bash 15:24:06 + bash -s -- 15:24:06 15:24:06 _____ _ 15:24:06 / ____| | | 15:24:06 | | ___ __| | ___ ___ _____ __ 15:24:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:24:06 | |___| (_) | (_| | __/ (_| (_) \ V / 15:24:06 \_____\___/ \__,_|\___|\___\___/ \_/ 15:24:06 Bash-1.0.6 15:24:06 15:24:06 15:24:06 ==> git version 2.25.1 found 15:24:06 ==> 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 15:24:06 Release-Date: 2020-01-08 15:24:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:24:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:24:06 ==> Jenkins CI detected. 15:24:06 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 15:24:06 project root: . 15:24:06 --> token set from env 15:24:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:24:06 ==> Running gcov in . (disable via -X gcov) 15:24:06 ==> Python coveragepy not found 15:24:06 ==> Searching for coverage reports in: 15:24:06 + . 15:24:06 -> Found 1 reports 15:24:06 ==> Detecting git/mercurial file structure 15:24:06 ==> Reading reports 15:24:06 + ./coverage.out bytes=17887 15:24:06 ==> Appending adjustments 15:24:06 https://docs.codecov.io/docs/fixing-reports 15:24:06 + Found adjustments 15:24:06 ==> Gzipping contents 15:24:06 4.0K /tmp/codecov.xCjOD7.gz 15:24:06 ==> Uploading reports 15:24:06 url: https://codecov.io 15:24:06 query: branch=PR-423&commit=de52f11cb84c943c1ee8d7598cf261f4a4be872a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 15:24:06 -> Pinging Codecov 15:24:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=de52f11cb84c943c1ee8d7598cf261f4a4be872a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 15:24:07 -> Uploading to 15:24:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/de52f11cb84c943c1ee8d7598cf261f4a4be872a/f0196fe2-4f1d-4474-93a8-26c9e5cf73a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T152407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=836554570cdcab5bf8e947b5acd5564ed0945babedc39d0151ed0bdb612eb4fc 15:24:07 % Total % Received % Xferd Average Speed Time Time Time Current 15:24:07 Dload Upload Total Spent Left Speed 15:24:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13201 --:--:-- --:--:-- --:--:-- 13147 15:24:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] } 15:24:07 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 15:24:08 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] 15:24:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 15:24:08 total 16 15:24:08 drwxr-xr-x 3 root root 4096 Oct 10 15:16 . 15:24:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:16 .. 15:24:08 drwxr-xr-x 2 root root 4096 Oct 10 15:16 cost 15:24:08 -rw-r--r-- 1 root root 86 Oct 10 15:16 cost.csv 15:24:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 15:24:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 15:24:08 total 16 15:24:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:16 . 15:24:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:16 .. 15:24:08 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 15:16 cost 15:24:08 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 15:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:24:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:24:09 ---> package-listing.sh 15:24:09 ++ facter osfamily 15:24:09 ++ tr '[:upper:]' '[:lower:]' 15:24:09 + OS_FAMILY=debian 15:24:09 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 15:24:09 + START_PACKAGES=/tmp/packages_start.txt 15:24:09 + END_PACKAGES=/tmp/packages_end.txt 15:24:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:24:09 + PACKAGES=/tmp/packages_start.txt 15:24:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 15:24:09 + PACKAGES=/tmp/packages_end.txt 15:24:09 + case "${OS_FAMILY}" in 15:24:09 + dpkg -l 15:24:09 + grep '^ii' 15:24:09 + '[' -f /tmp/packages_start.txt ']' 15:24:09 + '[' -f /tmp/packages_end.txt ']' 15:24:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:24:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 15:24:09 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ 15:24:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo 15:24:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:24:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:10 prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container 15:24:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:24:10 $ docker top 81ce87c1d368f34da2741d15b39bccf05375db11b0c59dddc795965d5a4ca532 -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:24:11 + mkdir -p /var/log/sysstat [Pipeline] sh 15:24:11 + ls /var/log/sa-host 15:24:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:11 provisioning config files... 15:24:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config1038912708058732030tmp [Pipeline] { [Pipeline] echo 15:24:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:24:12 ---> create-netrc.sh [Pipeline] } 15:24:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:24:12 ---> python-tools-install.sh [Pipeline] echo 15:24:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:24:12 ---> sudo-logs.sh 15:24:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:24:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:24:12 ---> job-cost.sh 15:24:12 lf-activate-venv: SKIPPING 15:24:12 DEBUG: total: 0.2199999988079071 15:24:12 INFO: Retrieving Stack Cost... 15:24:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:24:13 INFO: Archiving Costs [Pipeline] echo 15:24:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:24:14 ---> logs-deploy.sh 15:24:14 lf-activate-venv: SKIPPING 15:24:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/4 15:24:14 INFO: archiving workspace using pattern(s): 15:24:14 Archives upload complete. 15:24:14 INFO: archiving logs to Nexus