Pull request #429 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+6b3f84b720025cbd9914345d3acb7d77e6659599 (1541305f852a54360ac15a5c6b0df9a0f71100ab) 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-ssh5542332815938054685.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4188809681836455811.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9720210637107469758.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3270000264185469562.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1649755751484441416.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10262853775069070488.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8996 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing fa87d88a994f5fe2e81ddf427b8127062ba1e917 Checking out Revision fa87d88a994f5fe2e81ddf427b8127062ba1e917 (PR-429) Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:49:55 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:49:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:49:55 ========================================================= 01:49:55 EdgeX Global Pipelines Version Info 01:49:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:49:56 ------------------- 01:49:56 stable info: 01:49:56 ------------------- 01:49:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:49:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:49:56 Message: update stable to v1.0.243 01:49:56 ------------------- 01:49:56 experimental info: 01:49:56 ------------------- 01:49:56 Commited By: **** collab-it+edgex@linuxfoundation.org 01:49:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:49:56 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:49:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa87d88 [Pipeline] echo 01:49:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:58 provisioning config files... 01:49:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config3915904484646854905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:58 ---> docker-login.sh 01:49:58 nexus3.edgexfoundry.org:10001 01:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:59 Configure a credential helper to remove this warning. See 01:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:59 01:49:59 Login Succeeded 01:49:59 nexus3.edgexfoundry.org:10002 01:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:59 Configure a credential helper to remove this warning. See 01:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:59 01:49:59 Login Succeeded 01:49:59 nexus3.edgexfoundry.org:10003 01:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:59 Configure a credential helper to remove this warning. See 01:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:59 01:49:59 Login Succeeded 01:49:59 nexus3.edgexfoundry.org:10004 01:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:59 Configure a credential helper to remove this warning. See 01:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:59 01:49:59 Login Succeeded 01:49:59 docker.io 01:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:00 Configure a credential helper to remove this warning. See 01:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:00 01:50:00 Login Succeeded 01:50:00 ---> docker-login.sh ends [Pipeline] } 01:50:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:50:00 + git rev-list -1 --merges fa87d88a994f5fe2e81ddf427b8127062ba1e917~1..fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo 01:50:00 -----------> git rev-list -1 --merges fa87d88a994f5fe2e81ddf427b8127062ba1e917~1..fa87d88a994f5fe2e81ddf427b8127062ba1e917 fa87d88a994f5fe2e81ddf427b8127062ba1e917 [false] [Pipeline] sh 01:50:01 + git log --format=format:%s -1 fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo 01:50:01 ========================================================= 01:50:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:50:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:01 + git log --format=format:%s -1 fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo 01:50:01 [semverPrep] GIT_COMMIT: fa87d88a994f5fe2e81ddf427b8127062ba1e917, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo 01:50:01 [semverPrep] This is not a build commit. [Pipeline] sh 01:50:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:50:02 + grep -v github /etc/ssh/ssh_known_hosts 01:50:02 + [ -e /tmp/ssh_known_hosts ] 01:50:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:50:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:50:02 sudo tee -a /etc/ssh/ssh_known_hosts 01:50:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:02 01:50:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:03 0.1.4: Pulling from edgex-devops/py-git-semver 01:50:03 b85a868b505f: Pulling fs layer 01:50:03 e2be974225ed: Pulling fs layer 01:50:03 339a4e72a1f5: Pulling fs layer 01:50:03 988bab9f4d93: Pulling fs layer 01:50:03 1469e6f7b9e6: Pulling fs layer 01:50:03 988bab9f4d93: Waiting 01:50:03 eaf3925da568: Pulling fs layer 01:50:03 bab4dde63d76: Pulling fs layer 01:50:03 eaf3925da568: Waiting 01:50:03 bde34c3a00c8: Pulling fs layer 01:50:03 bab4dde63d76: Waiting 01:50:03 b352a97aabf1: Pulling fs layer 01:50:03 4872d77fe225: Pulling fs layer 01:50:03 b352a97aabf1: Waiting 01:50:03 4872d77fe225: Waiting 01:50:03 5851b861e8e6: Pulling fs layer 01:50:03 e2be974225ed: Verifying Checksum 01:50:03 e2be974225ed: Download complete 01:50:03 988bab9f4d93: Verifying Checksum 01:50:03 988bab9f4d93: Download complete 01:50:03 1469e6f7b9e6: Verifying Checksum 01:50:03 1469e6f7b9e6: Download complete 01:50:03 eaf3925da568: Download complete 01:50:03 339a4e72a1f5: Verifying Checksum 01:50:03 339a4e72a1f5: Download complete 01:50:03 bde34c3a00c8: Download complete 01:50:03 b85a868b505f: Verifying Checksum 01:50:03 b85a868b505f: Download complete 01:50:03 4872d77fe225: Verifying Checksum 01:50:03 4872d77fe225: Download complete 01:50:03 5851b861e8e6: Verifying Checksum 01:50:03 5851b861e8e6: Download complete 01:50:03 b352a97aabf1: Verifying Checksum 01:50:03 b352a97aabf1: Download complete 01:50:03 bab4dde63d76: Verifying Checksum 01:50:03 bab4dde63d76: Download complete 01:50:04 b85a868b505f: Pull complete 01:50:04 e2be974225ed: Pull complete 01:50:05 339a4e72a1f5: Pull complete 01:50:05 988bab9f4d93: Pull complete 01:50:06 1469e6f7b9e6: Pull complete 01:50:06 eaf3925da568: Pull complete 01:50:08 bab4dde63d76: Pull complete 01:50:08 bde34c3a00c8: Pull complete 01:50:08 b352a97aabf1: Pull complete 01:50:08 4872d77fe225: Pull complete 01:50:08 5851b861e8e6: Pull complete 01:50:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:50:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:08 prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container 01:50:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:50:10 $ docker top 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba -eo pid,comm 01:50:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:50:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:50:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:11 [ssh-agent] Looking for ssh-agent implementation... 01:50:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:11 $ docker exec 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent 01:50:11 SSH_AUTH_SOCK=/tmp/ssh-eTfD0wfwzIbn/agent.31 01:50:11 SSH_AGENT_PID=37 01:50:11 Running ssh-add (command line suppressed) 01:50:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_6529107967281888153.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_6529107967281888153.key) 01:50:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:11 + git tag --points-at HEAD [Pipeline] } 01:50:11 $ docker exec --env ******** --env ******** 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent -k 01:50:11 unset SSH_AUTH_SOCK; 01:50:11 unset SSH_AGENT_PID; 01:50:11 echo Agent pid 37 killed; 01:50:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:50:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:12 [ssh-agent] Looking for ssh-agent implementation... 01:50:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:12 $ docker exec 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent 01:50:12 SSH_AUTH_SOCK=/tmp/ssh-q1tpOo8FXI8q/agent.69 01:50:12 SSH_AGENT_PID=74 01:50:12 Running ssh-add (command line suppressed) 01:50:12 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_12183632863663614017.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_12183632863663614017.key) 01:50:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:12 + git semver init 01:50:13 2022-10-24 01:50:12,947 [run_init] DEBUG init version:0.0.0 force:False 01:50:13 2022-10-24 01:50:12,948 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 01:50:13 2022-10-24 01:50:12,948 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 01:50:13 2022-10-24 01:50:12,949 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) 01:50:13 2022-10-24 01:50:13,937 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude 01:50:13 2022-10-24 01:50:13,938 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False 01:50:13 2022-10-24 01:50:13,938 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 01:50:13 2022-10-24 01:50:13,942 [execute] INFO git cat-file --batch-check 01:50:13 2022-10-24 01:50:13,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 01:50:13 2022-10-24 01:50:13,948 [execute] INFO git cat-file --batch 01:50:13 2022-10-24 01:50:13,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 01:50:13 2022-10-24 01:50:13,955 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 01:50:13 0.0.0 [Pipeline] } 01:50:14 $ docker exec --env ******** --env ******** 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent -k 01:50:14 unset SSH_AUTH_SOCK; 01:50:14 unset SSH_AGENT_PID; 01:50:14 echo Agent pid 74 killed; 01:50:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:50:14 + git semver [Pipeline] } 01:50:15 $ docker stop --time=1 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba 01:50:16 $ docker rm -f 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba [Pipeline] // withDockerContainer [Pipeline] sh 01:50:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:50:17 Stashed 1 file(s) [Pipeline] echo 01:50:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:18 provisioning config files... 01:50:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config1995837286286879957tmp [Pipeline] { [Pipeline] libraryResource 01:50:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8931 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] sh [Pipeline] { [Pipeline] ws 01:50:18 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:50:18 Selected Git installation does not exist. Using Default 01:50:18 The recommended git tool is: NONE 01:50:18 ---> docker-login.sh 01:50:18 nexus3.edgexfoundry.org:10001 01:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:18 Configure a credential helper to remove this warning. See 01:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:18 01:50:18 Login Succeeded 01:50:18 nexus3.edgexfoundry.org:10002 01:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:18 Configure a credential helper to remove this warning. See 01:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:18 01:50:18 Login Succeeded 01:50:18 nexus3.edgexfoundry.org:10003 01:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:19 Configure a credential helper to remove this warning. See 01:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:19 01:50:19 Login Succeeded 01:50:19 nexus3.edgexfoundry.org:10004 01:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:19 Configure a credential helper to remove this warning. See 01:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:19 01:50:19 Login Succeeded 01:50:19 docker.io 01:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:19 Configure a credential helper to remove this warning. See 01:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:19 01:50:19 Login Succeeded 01:50:19 ---> docker-login.sh ends [Pipeline] } 01:50:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:19 ========================================================= 01:50:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:50:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:50:20 Sending build context to Docker daemon 6.213MB 01:50:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:50:20 Step 2/13 : FROM ${BASE} AS builder 01:50:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:50:20 213ec9aee27d: Pulling fs layer 01:50:20 4583459ba037: Pulling fs layer 01:50:20 93c1e223e6f2: Pulling fs layer 01:50:20 53926ce57604: Pulling fs layer 01:50:20 21b2b0c7a3f4: Pulling fs layer 01:50:20 30f14e443154: Pulling fs layer 01:50:20 801331c1e519: Pulling fs layer 01:50:20 99cc6dd402b0: Pulling fs layer 01:50:20 7d9ed39f4882: Pulling fs layer 01:50:20 30f14e443154: Waiting 01:50:20 801331c1e519: Waiting 01:50:20 99cc6dd402b0: Waiting 01:50:20 7d9ed39f4882: Waiting 01:50:20 53926ce57604: Waiting 01:50:20 21b2b0c7a3f4: Waiting 01:50:20 93c1e223e6f2: Verifying Checksum 01:50:20 93c1e223e6f2: Download complete 01:50:20 4583459ba037: Verifying Checksum 01:50:20 4583459ba037: Download complete 01:50:20 21b2b0c7a3f4: Verifying Checksum 01:50:20 21b2b0c7a3f4: Download complete 01:50:20 30f14e443154: Verifying Checksum 01:50:20 30f14e443154: Download complete 01:50:20 213ec9aee27d: Verifying Checksum 01:50:20 213ec9aee27d: Download complete 01:50:20 801331c1e519: Verifying Checksum 01:50:20 801331c1e519: Download complete 01:50:20 213ec9aee27d: Pull complete 01:50:20 4583459ba037: Pull complete 01:50:20 93c1e223e6f2: Pull complete 01:50:21 7d9ed39f4882: Verifying Checksum 01:50:21 7d9ed39f4882: Download complete 01:50:21 53926ce57604: Download complete 01:50:21 99cc6dd402b0: Verifying Checksum 01:50:21 99cc6dd402b0: Download complete 01:50:24 using credential edgex-jenkins-ssh 01:50:24 Cloning the remote Git repository 01:50:24 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:50:24 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:50:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:50:24 > git --version # timeout=10 01:50:24 > git --version # 'git version 2.25.1' 01:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:24 Verifying host key using known hosts file 01:50:25 53926ce57604: Pull complete 01:50:25 21b2b0c7a3f4: Pull complete 01:50:25 30f14e443154: Pull complete 01:50:25 801331c1e519: Pull complete 01:50:24 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:50:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:50:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:50:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:50:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:50:26 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:26 Verifying host key using known hosts file 01:50:26 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:50:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:50:27 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 01:50:27 Merge succeeded, producing fa87d88a994f5fe2e81ddf427b8127062ba1e917 01:50:27 Checking out Revision fa87d88a994f5fe2e81ddf427b8127062ba1e917 (PR-429) 01:50:27 99cc6dd402b0: Pull complete 01:50:28 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" 01:50:28 > git --version # timeout=10 01:50:28 > git --version # 'git version 2.25.1' 01:50:28 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 01:50:27 > git config core.sparsecheckout # timeout=10 01:50:27 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 01:50:27 > git remote # timeout=10 01:50:27 > git config --get remote.origin.url # timeout=10 01:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 01:50:27 Verifying host key using known hosts file 01:50:27 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:50:27 > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 01:50:27 > git rev-parse HEAD^{commit} # timeout=10 01:50:27 > git config core.sparsecheckout # timeout=10 01:50:27 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [Pipeline] script 01:50:28 7d9ed39f4882: Pull complete 01:50:28 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:50:28 ---> 1dedd983c030 01:50:28 Step 3/13 : ARG ADD_BUILD_TAGS="" [Pipeline] { [Pipeline] sh 01:50:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:50:29 % Total % Received % Xferd Average Speed Time Time Time Current 01:50:29 Dload Upload Total Spent Left Speed 01:50:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 01:50:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:50:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:50:30 + sudo tee /etc/docker/daemon.new 01:50:30 { 01:50:30 "registry-mirrors": [ 01:50:30 "https://nexus3.edgexfoundry.org:10001" 01:50:30 ], 01:50:30 "bip": "10.250.0.254/24", 01:50:30 "hosts": [ 01:50:30 "tcp://0.0.0.0:5555", 01:50:30 "unix:///var/run/docker.sock" 01:50:30 ], 01:50:30 "mtu": 1458, 01:50:30 "selinux-enabled": true, 01:50:30 "seccomp-profile": "/etc/docker/seccomp.json" 01:50:30 } [Pipeline] sh 01:50:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:50:31 + sudo service docker restart 01:50:32 ---> Running in f2f1b022dbd0 01:50:32 Removing intermediate container f2f1b022dbd0 01:50:32 ---> 01b439ba4232 01:50:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:32 ---> Running in bca4ab3c89d3 01:50:32 Removing intermediate container bca4ab3c89d3 01:50:32 ---> 1590a0607b22 01:50:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:50:32 ---> Running in 636283c403a4 01:50:32 Removing intermediate container 636283c403a4 01:50:32 ---> e82747d26f0d 01:50:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:50:32 ---> Running in 6a1a51234b0a 01:50:32 Removing intermediate container 6a1a51234b0a 01:50:32 ---> ff044f4b044d 01:50:32 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:32 ---> Running in 39a04145ea63 01:50:32 Removing intermediate container 39a04145ea63 01:50:32 ---> bc52d459b33c 01:50:32 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:32 ---> Running in 59f176a68301 01:50:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:50:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:50:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:50:34 (2/4) Installing libedit (20210910.3.1-r0) 01:50:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:50:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:50:34 Executing busybox-1.35.0-r17.trigger 01:50:34 OK: 216 MiB in 55 packages 01:50:35 Removing intermediate container 59f176a68301 01:50:35 ---> 075f55f95e10 01:50:35 Step 9/13 : WORKDIR /device-mqtt-go 01:50:35 ---> Running in cb1872ca2495 01:50:35 Removing intermediate container cb1872ca2495 01:50:35 ---> d04c5c039527 01:50:35 Step 10/13 : COPY go.mod vendor* ./ 01:50:35 ---> 6176b74f9ce2 01:50:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:35 ---> Running in a9c52761c540 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:49 provisioning config files... 01:50:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10417207427978411935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:49 ---> docker-login.sh 01:50:49 nexus3.edgexfoundry.org:10001 01:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:50 Configure a credential helper to remove this warning. See 01:50:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:50 01:50:50 Login Succeeded 01:50:50 nexus3.edgexfoundry.org:10002 01:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:50 Configure a credential helper to remove this warning. See 01:50:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:50 01:50:50 Login Succeeded 01:50:50 nexus3.edgexfoundry.org:10003 01:50:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 nexus3.edgexfoundry.org:10004 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 docker.io 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 ---> docker-login.sh ends [Pipeline] } 01:50:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:52 ========================================================= 01:50:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:50:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:50:53 Sending build context to Docker daemon 3.221MB 01:50:53 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:50:53 Step 2/13 : FROM ${BASE} AS builder 01:50:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:50:53 9b18e9b68314: Pulling fs layer 01:50:53 d32db5db7311: Pulling fs layer 01:50:53 d0c4b47475fc: Pulling fs layer 01:50:53 5831b945b038: Pulling fs layer 01:50:53 86bbec2aaacd: Pulling fs layer 01:50:53 e10730c5d714: Pulling fs layer 01:50:53 5dd5c2283517: Pulling fs layer 01:50:53 d5ac0230b979: Pulling fs layer 01:50:53 e10730c5d714: Waiting 01:50:53 5dd5c2283517: Waiting 01:50:53 5831b945b038: Waiting 01:50:53 d5ac0230b979: Waiting 01:50:53 86bbec2aaacd: Waiting 01:50:53 d0c4b47475fc: Download complete 01:50:53 d32db5db7311: Verifying Checksum 01:50:53 d32db5db7311: Download complete 01:50:53 86bbec2aaacd: Verifying Checksum 01:50:53 86bbec2aaacd: Download complete 01:50:53 e10730c5d714: Verifying Checksum 01:50:53 e10730c5d714: Download complete 01:50:53 9b18e9b68314: Verifying Checksum 01:50:53 9b18e9b68314: Download complete 01:50:54 9b18e9b68314: Pull complete 01:50:54 d5ac0230b979: Verifying Checksum 01:50:54 d5ac0230b979: Download complete 01:50:54 d32db5db7311: Pull complete 01:50:55 d0c4b47475fc: Pull complete 01:50:55 5dd5c2283517: Verifying Checksum 01:50:55 5dd5c2283517: Download complete 01:50:56 5831b945b038: Verifying Checksum 01:50:56 5831b945b038: Download complete 01:50:57 Removing intermediate container a9c52761c540 01:50:57 ---> 742ecb86ab93 01:50:57 Step 12/13 : COPY . . 01:50:57 ---> f6fad27e3bab 01:50:57 Step 13/13 : RUN $MAKE 01:50:57 ---> Running in eef80a42ab38 01:50:57 noop 01:50:57 Removing intermediate container eef80a42ab38 01:50:57 ---> 73a0b31ed27d 01:50:57 Successfully built 73a0b31ed27d 01:50:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:58 + docker inspect -f . ci-base-image-x86_64 01:50:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:58 prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container 01:50:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat 01:50:58 $ docker top c5a7bbc69d907d32638692417a71b6e10575e94d01bddc84180b62d0fbbe0916 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:58 + go version 01:50:58 go version go1.18.7 linux/amd64 [Pipeline] } 01:50:59 $ docker stop --time=1 c5a7bbc69d907d32638692417a71b6e10575e94d01bddc84180b62d0fbbe0916 01:51:00 $ docker rm -f c5a7bbc69d907d32638692417a71b6e10575e94d01bddc84180b62d0fbbe0916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:01 + docker inspect -f . ci-base-image-x86_64 01:51:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:01 prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container 01:51:01 $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat 01:51:01 $ docker top 7b8b8005b4bbf2510ec0c3c2d52fbf158c4c8b4db51146d5b18cb28fea9e76b5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh 01:51:02 + make test 01:51:02 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:51:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:51:08 5831b945b038: Pull complete 01:51:09 86bbec2aaacd: Pull complete 01:51:09 e10730c5d714: Pull complete 01:51:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:51:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 01:51:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:51:16 5dd5c2283517: Pull complete 01:51:17 d5ac0230b979: Pull complete 01:51:17 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:51:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:51:17 ---> 59b3b1a385d4 01:51:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:51:19 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:51:19 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:51:19 ---> Running in 7f81e12f823a 01:51:19 Removing intermediate container 7f81e12f823a 01:51:19 ---> 9502238a411e 01:51:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:51:19 ---> Running in ba14cd55c68b 01:51:19 Removing intermediate container ba14cd55c68b 01:51:19 ---> 363449e799f7 01:51:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:51:19 ---> Running in 217c351a3545 01:51:20 Removing intermediate container 217c351a3545 01:51:20 ---> 227383cd8f83 01:51:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:51:20 ---> Running in 81bb76ccfd13 01:51:20 Removing intermediate container 81bb76ccfd13 01:51:20 ---> fc313f4d61e1 01:51:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:51:20 ---> Running in 3f57ffbe522a 01:51:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:51:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:51:22 ./bin/test-attribution-txt.sh [Pipeline] echo 01:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:51:22 $ docker stop --time=1 7b8b8005b4bbf2510ec0c3c2d52fbf158c4c8b4db51146d5b18cb28fea9e76b5 01:51:22 Removing intermediate container 3f57ffbe522a 01:51:22 ---> 08d5db64609f 01:51:22 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:22 ---> Running in 54b1dc0569db 01:51:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:51:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:51:24 $ docker rm -f 7b8b8005b4bbf2510ec0c3c2d52fbf158c4c8b4db51146d5b18cb28fea9e76b5 [Pipeline] // withDockerContainer [Pipeline] sh 01:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:51:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:51:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:51:25 (2/4) Installing libedit (20210910.3.1-r0) 01:51:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:51:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:51:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:51:26 Executing busybox-1.35.0-r17.trigger 01:51:26 OK: 226 MiB in 55 packages 01:51:26 + ls -al . 01:51:26 total 184 01:51:26 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:51 . 01:51:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:49 .. 01:51:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:49 .dockerignore 01:51:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:51 .git 01:51:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:49 .github 01:51:26 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:49 .gitignore 01:51:26 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:49 .golangci.yml 01:51:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:50 .semver 01:51:26 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:49 Attribution.txt 01:51:26 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:49 CHANGELOG.md 01:51:26 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:49 Dockerfile 01:51:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:49 GOVERNANCE.md 01:51:26 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:49 Jenkinsfile 01:51:26 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:49 LICENSE 01:51:26 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:49 Makefile 01:51:26 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:49 OWNERS.md 01:51:26 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:49 README.md 01:51:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:50 VERSION 01:51:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:49 bin 01:51:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:49 cmd 01:51:26 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:51 coverage.out 01:51:26 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:49 go.mod 01:51:26 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:49 go.sum 01:51:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:49 internal 01:51:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:49 mock 01:51:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:49 snap 01:51:26 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:26 + 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=fa87d88a994f5fe2e81ddf427b8127062ba1e917 --label arch=amd64 --label version=0.0.0 . 01:51:26 Sending build context to Docker daemon 6.231MB 01:51:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:51:26 Step 2/25 : FROM ${BASE} AS builder 01:51:26 ---> 73a0b31ed27d 01:51:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:51:26 ---> Running in 9a8a49af60c9 01:51:26 Removing intermediate container 9a8a49af60c9 01:51:26 ---> 65a9ca45a850 01:51:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:51:26 ---> Running in 95d838dfb79d 01:51:26 Removing intermediate container 95d838dfb79d 01:51:26 ---> 71edf06ed84d 01:51:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:51:26 ---> Running in 72c419047156 01:51:27 Removing intermediate container 54b1dc0569db 01:51:27 ---> 1cdcb869a091 01:51:27 Step 9/13 : WORKDIR /device-mqtt-go 01:51:27 Removing intermediate container 72c419047156 01:51:27 ---> fb4bd9d4d252 01:51:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:51:27 ---> Running in 264e8d28fa9c 01:51:27 Removing intermediate container 264e8d28fa9c 01:51:27 ---> a33882c43440 01:51:27 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:51:27 ---> Running in 94b765ffbace 01:51:27 ---> Running in 3050d8258b47 01:51:27 Removing intermediate container 3050d8258b47 01:51:27 ---> 47de6ad6bcfe 01:51:27 Step 10/13 : COPY go.mod vendor* ./ 01:51:27 Removing intermediate container 94b765ffbace 01:51:27 ---> 57c627cb294b 01:51:27 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:27 ---> Running in 5c26f34737e4 01:51:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:51:28 ---> 18f38b4e92ff 01:51:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:28 ---> Running in 3b953e738dcb 01:51:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:51:29 OK: 216 MiB in 55 packages 01:51:29 Removing intermediate container 5c26f34737e4 01:51:29 ---> 45b0b9258077 01:51:29 Step 9/25 : WORKDIR /device-mqtt-go 01:51:29 ---> Running in e59c45df8330 01:51:29 Removing intermediate container e59c45df8330 01:51:29 ---> 58495a5eeebd 01:51:29 Step 10/25 : COPY go.mod vendor* ./ 01:51:29 ---> 52ee1470eb5b 01:51:29 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:29 ---> Running in 41d334aff7ff 01:51:30 Removing intermediate container 41d334aff7ff 01:51:30 ---> 830bcc7b4f26 01:51:30 Step 12/25 : COPY . . 01:51:31 ---> c62eb658f763 01:51:31 Step 13/25 : RUN $MAKE 01:51:31 ---> Running in 738d0328c9d2 01:51:31 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:51:53 Removing intermediate container 738d0328c9d2 01:51:53 ---> 84b7f2552aef 01:51:53 Step 14/25 : FROM alpine:3.16 01:51:53 3.16: Pulling from library/alpine 01:51:53 213ec9aee27d: Already exists 01:51:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:51:54 Status: Downloaded newer image for alpine:3.16 01:51:54 ---> 9c6f07244728 01:51:54 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:51:54 ---> Running in 8870e264a1e9 01:51:54 Removing intermediate container 8870e264a1e9 01:51:54 ---> 503327e23b41 01:51:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:51:54 ---> Running in 03f261b97054 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:51:54 (1/6) Installing dumb-init (1.2.5-r1) 01:51:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:51:54 (3/6) Installing libsodium (1.0.18-r0) 01:51:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:51:54 (5/6) Installing libzmq (4.3.4-r0) 01:51:54 (6/6) Installing zeromq (4.3.4-r0) 01:51:54 Executing busybox-1.35.0-r17.trigger 01:51:54 OK: 8 MiB in 20 packages 01:51:55 Removing intermediate container 03f261b97054 01:51:55 ---> dc206ab06e81 01:51:55 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:51:56 ---> 623f0bfa9f64 01:51:56 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:51:56 ---> 26d8415e87de 01:51:56 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:51:56 ---> 075282a03d8f 01:51:56 Step 20/25 : EXPOSE 59982 01:51:56 ---> Running in 7dda87c30171 01:51:56 Removing intermediate container 7dda87c30171 01:51:56 ---> 03c1c55637be 01:51:56 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:51:56 ---> Running in 0d98c3911734 01:51:56 Removing intermediate container 0d98c3911734 01:51:56 ---> 831cd0b35dbb 01:51:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:51:56 ---> Running in 98430906abed 01:51:56 Removing intermediate container 98430906abed 01:51:56 ---> 37689e38bfb7 01:51:56 Step 23/25 : LABEL arch=amd64 01:51:56 ---> Running in 1329f70e7c8f 01:51:56 Removing intermediate container 1329f70e7c8f 01:51:56 ---> d76794561787 01:51:56 Step 24/25 : LABEL git_sha=fa87d88a994f5fe2e81ddf427b8127062ba1e917 01:51:56 ---> Running in 2e66295a0b01 01:51:56 Removing intermediate container 2e66295a0b01 01:51:56 ---> 76973b39a92f 01:51:56 Step 25/25 : LABEL version=0.0.0 01:51:56 ---> Running in 8d0ab0b63726 01:51:56 Removing intermediate container 8d0ab0b63726 01:51:56 ---> c59893581311 01:51:56 [Warning] One or more build-args [ARCH] were not consumed 01:51:56 Successfully built c59893581311 01:51:56 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:57 01:51:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:58 latest: Pulling from edgex-lftools-log-publisher 01:51:58 5eb5b503b376: Pulling fs layer 01:51:58 5c69ac0246d0: Pulling fs layer 01:51:58 ec43610c2a17: Pulling fs layer 01:51:58 3a2ae6a8a46f: Pulling fs layer 01:51:58 33b1e0a273af: Pulling fs layer 01:51:58 5d3b04190fa2: Pulling fs layer 01:51:58 2f39f015ded8: Pulling fs layer 01:51:58 33b1e0a273af: Waiting 01:51:58 3a2ae6a8a46f: Waiting 01:51:58 2f39f015ded8: Waiting 01:51:58 5d3b04190fa2: Waiting 01:51:58 5c69ac0246d0: Download complete 01:51:58 3a2ae6a8a46f: Verifying Checksum 01:51:58 3a2ae6a8a46f: Download complete 01:51:58 33b1e0a273af: Verifying Checksum 01:51:58 33b1e0a273af: Download complete 01:51:58 5d3b04190fa2: Download complete 01:51:58 ec43610c2a17: Verifying Checksum 01:51:58 5eb5b503b376: Verifying Checksum 01:51:58 5eb5b503b376: Download complete 01:51:58 2f39f015ded8: Download complete 01:51:59 5eb5b503b376: Pull complete 01:51:59 5c69ac0246d0: Pull complete 01:52:00 ec43610c2a17: Pull complete 01:52:00 3a2ae6a8a46f: Pull complete 01:52:00 33b1e0a273af: Pull complete 01:52:00 5d3b04190fa2: Pull complete 01:52:04 2f39f015ded8: Pull complete 01:52:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:52:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:04 prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container 01:52:04 $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:52:07 $ docker top 38a45cd613645803aa2f5df646aa3f9e887436bc40d6cfca28a84f6f698c2f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:08 ---> job-cost.sh 01:52:08 lf-activate-venv: SKIPPING 01:52:08 INFO: No Stack... 01:52:08 INFO: Retrieving Pricing Info for: v3-standard-8 01:52:09 INFO: Archiving Costs [Pipeline] sh 01:52:09 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv 01:52:09 + cut -d, -f6 [Pipeline] lock 01:52:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] 01:52:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] did not exist. Created. 01:52:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:52:09 + echo total: 0.2199999988079071 [Pipeline] stash 01:52:09 Stashed 1 file(s) [Pipeline] } 01:52:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:52:10 $ docker stop --time=1 38a45cd613645803aa2f5df646aa3f9e887436bc40d6cfca28a84f6f698c2f77 01:52:11 $ docker rm -f 38a45cd613645803aa2f5df646aa3f9e887436bc40d6cfca28a84f6f698c2f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:52:24 Removing intermediate container 3b953e738dcb 01:52:24 ---> 144352b8b6b9 01:52:24 Step 12/13 : COPY . . 01:52:24 ---> 6b876c9f0f3e 01:52:24 Step 13/13 : RUN $MAKE 01:52:24 ---> Running in fc35b85e936a 01:52:24 noop 01:52:24 Removing intermediate container fc35b85e936a 01:52:24 ---> 60a1c588d166 01:52:24 Successfully built 60a1c588d166 01:52:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:25 + docker inspect -f . ci-base-image-arm64 01:52:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:25 prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container 01:52:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:52:26 $ docker top 6a909378a295b7c4c8b4a4ca26065ed5c439747f8ab5cb06a7e81f6d86f97402 -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:27 + go version 01:52:27 go version go1.18.7 linux/arm64 [Pipeline] } 01:52:27 $ docker stop --time=1 6a909378a295b7c4c8b4a4ca26065ed5c439747f8ab5cb06a7e81f6d86f97402 01:52:29 $ docker rm -f 6a909378a295b7c4c8b4a4ca26065ed5c439747f8ab5cb06a7e81f6d86f97402 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:30 + docker inspect -f . ci-base-image-arm64 01:52:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:30 prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container 01:52:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:52:31 $ docker top 40934c63e87c1b0635ef8379842ef6e0be871926f35662c9f4bf6f55215bdf0c -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:32 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:52:32 + make test 01:52:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:52:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:54:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:54:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 01:54:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:54:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:54:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:54:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:54:26 ./bin/test-attribution-txt.sh [Pipeline] echo 01:54:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:54:26 $ docker stop --time=1 40934c63e87c1b0635ef8379842ef6e0be871926f35662c9f4bf6f55215bdf0c 01:54:28 $ docker rm -f 40934c63e87c1b0635ef8379842ef6e0be871926f35662c9f4bf6f55215bdf0c [Pipeline] // withDockerContainer [Pipeline] sh 01:54:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:54:29 Warning: overwriting stash ‘coverage-report’ 01:54:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:54:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:54:31 + ls -al . 01:54:31 total 180 01:54:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:52 . 01:54:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:50 .. 01:54:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:50 .dockerignore 01:54:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:50 .git 01:54:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:50 .github 01:54:31 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:50 .gitignore 01:54:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:50 .golangci.yml 01:54:31 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:50 Attribution.txt 01:54:31 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:50 CHANGELOG.md 01:54:31 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:50 Dockerfile 01:54:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:50 GOVERNANCE.md 01:54:31 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:50 Jenkinsfile 01:54:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:50 LICENSE 01:54:31 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:50 Makefile 01:54:31 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:50 OWNERS.md 01:54:31 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:50 README.md 01:54:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:50 VERSION 01:54:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:50 bin 01:54:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:50 cmd 01:54:31 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:54 coverage.out 01:54:31 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:50 go.mod 01:54:31 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:50 go.sum 01:54:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:50 internal 01:54:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:50 mock 01:54:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:50 snap 01:54:31 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:31 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fa87d88a994f5fe2e81ddf427b8127062ba1e917 --label arch=arm64 --label version=0.0.0 . 01:54:31 Sending build context to Docker daemon 3.239MB 01:54:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:54:31 Step 2/25 : FROM ${BASE} AS builder 01:54:31 ---> 60a1c588d166 01:54:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:54:32 ---> Running in f96d4f6cef54 01:54:32 Removing intermediate container f96d4f6cef54 01:54:32 ---> f59c6f5d1dab 01:54:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:54:32 ---> Running in bac8c6498b9c 01:54:32 Removing intermediate container bac8c6498b9c 01:54:32 ---> 192e43b1993f 01:54:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:54:33 ---> Running in 38b253044211 01:54:33 Removing intermediate container 38b253044211 01:54:33 ---> 5de4bd0567f1 01:54:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:54:33 ---> Running in d18e15293a40 01:54:33 Removing intermediate container d18e15293a40 01:54:33 ---> 6f4e1f7b881a 01:54:33 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:54:33 ---> Running in b067a1ed0c57 01:54:35 Removing intermediate container b067a1ed0c57 01:54:35 ---> 61c8a08b77d0 01:54:35 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:35 ---> Running in dd19cbfcda4e 01:54:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:54:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:54:38 OK: 226 MiB in 55 packages 01:54:39 Removing intermediate container dd19cbfcda4e 01:54:39 ---> 03111e05eef4 01:54:39 Step 9/25 : WORKDIR /device-mqtt-go 01:54:39 ---> Running in ecd37f24b829 01:54:39 Removing intermediate container ecd37f24b829 01:54:39 ---> 1d56a0f73329 01:54:39 Step 10/25 : COPY go.mod vendor* ./ 01:54:39 ---> 2b29165b36cd 01:54:39 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:39 ---> Running in a85dda6a6dc8 01:54:41 Removing intermediate container a85dda6a6dc8 01:54:41 ---> 8ca9461282b9 01:54:41 Step 12/25 : COPY . . 01:54:42 ---> c52855f034bc 01:54:42 Step 13/25 : RUN $MAKE 01:54:42 ---> Running in c6dc095ae0b6 01:54:43 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:57:05 Removing intermediate container c6dc095ae0b6 01:57:05 ---> 23c137a34c9d 01:57:05 Step 14/25 : FROM alpine:3.16 01:57:05 3.16: Pulling from library/alpine 01:57:05 9b18e9b68314: Already exists 01:57:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:57:05 Status: Downloaded newer image for alpine:3.16 01:57:05 ---> a6215f271958 01:57:05 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:57:05 ---> Running in c55472c6a58e 01:57:05 Removing intermediate container c55472c6a58e 01:57:05 ---> 6d0260ae1042 01:57:05 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:57:05 ---> Running in 17f48fb85ed8 01:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:57:05 (1/6) Installing dumb-init (1.2.5-r1) 01:57:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:57:05 (3/6) Installing libsodium (1.0.18-r0) 01:57:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:57:05 (5/6) Installing libzmq (4.3.4-r0) 01:57:05 (6/6) Installing zeromq (4.3.4-r0) 01:57:05 Executing busybox-1.35.0-r17.trigger 01:57:05 OK: 8 MiB in 20 packages 01:57:05 Removing intermediate container 17f48fb85ed8 01:57:05 ---> e17d2fb69ba9 01:57:05 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:57:05 ---> 8eecf0a806b8 01:57:05 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:57:05 ---> b7c5998c3d5d 01:57:05 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:57:05 ---> da261c3ab2e2 01:57:05 Step 20/25 : EXPOSE 59982 01:57:05 ---> Running in 6ad09f057cd2 01:57:05 Removing intermediate container 6ad09f057cd2 01:57:05 ---> 9bc7d1e69c3d 01:57:05 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:57:05 ---> Running in f3e444a4d971 01:57:05 Removing intermediate container f3e444a4d971 01:57:05 ---> dd11ad53ad9f 01:57:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:57:05 ---> Running in e8c87ee0920a 01:57:05 Removing intermediate container e8c87ee0920a 01:57:05 ---> ecce40a6974a 01:57:05 Step 23/25 : LABEL arch=arm64 01:57:05 ---> Running in a0fe74e0892c 01:57:05 Removing intermediate container a0fe74e0892c 01:57:05 ---> 3a2834f56800 01:57:05 Step 24/25 : LABEL git_sha=fa87d88a994f5fe2e81ddf427b8127062ba1e917 01:57:05 ---> Running in 6e32b63b07e1 01:57:05 Removing intermediate container 6e32b63b07e1 01:57:05 ---> 30589f2de9cd 01:57:05 Step 25/25 : LABEL version=0.0.0 01:57:05 ---> Running in 8c15b67c067b 01:57:05 Removing intermediate container 8c15b67c067b 01:57:05 ---> da4f47ae1ed3 01:57:05 [Warning] One or more build-args [ARCH] were not consumed 01:57:05 Successfully built da4f47ae1ed3 01:57:05 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:06 01:57:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:06 arm64: Pulling from edgex-lftools-log-publisher 01:57:06 8998bd30e6a1: Pulling fs layer 01:57:06 04944245beec: Pulling fs layer 01:57:06 699f458cf7ca: Pulling fs layer 01:57:06 765212b225bb: Pulling fs layer 01:57:06 f23df028b6ca: Pulling fs layer 01:57:06 d65c8cfc05b1: Pulling fs layer 01:57:06 2437ff75d9bd: Pulling fs layer 01:57:06 765212b225bb: Waiting 01:57:06 f23df028b6ca: Waiting 01:57:06 d65c8cfc05b1: Waiting 01:57:06 2437ff75d9bd: Waiting 01:57:06 04944245beec: Verifying Checksum 01:57:06 04944245beec: Download complete 01:57:06 765212b225bb: Verifying Checksum 01:57:06 765212b225bb: Download complete 01:57:06 f23df028b6ca: Verifying Checksum 01:57:06 f23df028b6ca: Download complete 01:57:06 d65c8cfc05b1: Verifying Checksum 01:57:06 d65c8cfc05b1: Download complete 01:57:06 699f458cf7ca: Verifying Checksum 01:57:06 699f458cf7ca: Download complete 01:57:07 8998bd30e6a1: Verifying Checksum 01:57:07 8998bd30e6a1: Download complete 01:57:09 2437ff75d9bd: Verifying Checksum 01:57:09 2437ff75d9bd: Download complete 01:57:10 8998bd30e6a1: Pull complete 01:57:11 04944245beec: Pull complete 01:57:12 699f458cf7ca: Pull complete 01:57:12 765212b225bb: Pull complete 01:57:13 f23df028b6ca: Pull complete 01:57:13 d65c8cfc05b1: Pull complete 01:57:28 2437ff75d9bd: Pull complete 01:57:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:57:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:29 prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container 01:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:57:31 $ docker top 08e04aaddcab017fb2ccb6f63d6040e3e9550670239b259dbf8ad2ae7c4b3d73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:32 ---> job-cost.sh 01:57:32 lf-activate-venv: SKIPPING 01:57:32 INFO: No Stack... 01:57:33 INFO: Retrieving Pricing Info for: v3-standard-4 01:57:34 INFO: Archiving Costs [Pipeline] sh 01:57:34 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:57:34 + cut -d, -f6 [Pipeline] lock 01:57:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] 01:57:34 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] did not exist. Created. 01:57:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:57:35 /w/workspace/device-mqtt-go/1@tmp/durable-08b9e0bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:57:35 + echo total: 0.10999999940395355 [Pipeline] stash 01:57:35 Warning: overwriting stash ‘stack-cost’ 01:57:35 Stashed 1 file(s) [Pipeline] } 01:57:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:57:35 $ docker stop --time=1 08e04aaddcab017fb2ccb6f63d6040e3e9550670239b259dbf8ad2ae7c4b3d73 01:57:37 $ docker rm -f 08e04aaddcab017fb2ccb6f63d6040e3e9550670239b259dbf8ad2ae7c4b3d73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:57:38 provisioning config files... 01:57:38 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config5125097599404108776tmp [Pipeline] { [Pipeline] sh 01:57:38 + set +x 01:57:38 + curl -s https://codecov.io/bash 01:57:38 + bash -s -- 01:57:38 01:57:38 _____ _ 01:57:38 / ____| | | 01:57:38 | | ___ __| | ___ ___ _____ __ 01:57:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:57:38 | |___| (_) | (_| | __/ (_| (_) \ V / 01:57:38 \_____\___/ \__,_|\___|\___\___/ \_/ 01:57:38 Bash-1.0.6 01:57:38 01:57:38 01:57:38 ==> git version 2.25.1 found 01:57:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:57:38 Release-Date: 2020-01-08 01:57:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:57:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:57:38 ==> Jenkins CI detected. 01:57:38 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 01:57:38 project root: . 01:57:38 --> token set from env 01:57:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:57:38 ==> Running gcov in . (disable via -X gcov) 01:57:38 ==> Python coveragepy not found 01:57:38 ==> Searching for coverage reports in: 01:57:38 + . 01:57:38 -> Found 1 reports 01:57:38 ==> Detecting git/mercurial file structure 01:57:38 ==> Reading reports 01:57:38 + ./coverage.out bytes=17887 01:57:38 ==> Appending adjustments 01:57:38 https://docs.codecov.io/docs/fixing-reports 01:57:39 + Found adjustments 01:57:39 ==> Gzipping contents 01:57:39 4.0K /tmp/codecov.XvYGqA.gz 01:57:39 ==> Uploading reports 01:57:39 url: https://codecov.io 01:57:39 query: branch=PR-429&commit=fa87d88a994f5fe2e81ddf427b8127062ba1e917&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 01:57:39 -> Pinging Codecov 01:57:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=fa87d88a994f5fe2e81ddf427b8127062ba1e917&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 01:57:39 -> Uploading to 01:57:39 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/fa87d88a994f5fe2e81ddf427b8127062ba1e917/39092958-2159-40db-ba8f-ad97ca6ef58c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T015739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10e9e04c5a29fb3fbdd3311baf0266d2da8aa1619986f1ccee9a820dd9be2eb6 01:57:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:57:39 Dload Upload Total Spent Left Speed 01:57:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14493 --:--:-- --:--:-- --:--:-- 14493 01:57:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] } 01:57:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:57:41 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] 01:57:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 01:57:41 total 16 01:57:41 drwxr-xr-x 3 root root 4096 Oct 24 01:52 . 01:57:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:52 .. 01:57:41 drwxr-xr-x 2 root root 4096 Oct 24 01:52 cost 01:57:41 -rw-r--r-- 1 root root 86 Oct 24 01:52 cost.csv 01:57:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 01:57:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 01:57:41 total 16 01:57:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:52 . 01:57:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:52 .. 01:57:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:52 cost 01:57:41 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 01:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:57:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:57:42 ---> package-listing.sh 01:57:42 ++ facter osfamily 01:57:42 ++ tr '[:upper:]' '[:lower:]' 01:57:42 + OS_FAMILY=debian 01:57:42 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 01:57:42 + START_PACKAGES=/tmp/packages_start.txt 01:57:42 + END_PACKAGES=/tmp/packages_end.txt 01:57:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:57:42 + PACKAGES=/tmp/packages_start.txt 01:57:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 01:57:42 + PACKAGES=/tmp/packages_end.txt 01:57:42 + case "${OS_FAMILY}" in 01:57:42 + dpkg -l 01:57:42 + grep '^ii' 01:57:42 + '[' -f /tmp/packages_start.txt ']' 01:57:42 + '[' -f /tmp/packages_end.txt ']' 01:57:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:57:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 01:57:42 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ 01:57:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo 01:57:42 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:57:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:57:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:43 prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container 01:57:43 $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:57:44 $ docker top 0aae89975ebb2624bc410e069e57f8f44a510707cb7488b141abab461daed1fa -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:44 + touch /tmp/pre-build-complete [Pipeline] sh 01:57:44 + mkdir -p /var/log/sysstat [Pipeline] sh 01:57:45 + ls /var/log/sa-host 01:57:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:45 provisioning config files... 01:57:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config16411088852050598018tmp [Pipeline] { [Pipeline] echo 01:57:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:57:45 ---> create-netrc.sh [Pipeline] } 01:57:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:57:46 ---> python-tools-install.sh [Pipeline] echo 01:57:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:57:46 ---> sudo-logs.sh 01:57:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:57:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:57:46 ---> job-cost.sh 01:57:46 lf-activate-venv: SKIPPING 01:57:46 DEBUG: total: 0.2199999988079071 01:57:46 INFO: Retrieving Stack Cost... 01:57:47 INFO: Retrieving Pricing Info for: v3-standard-8 01:57:47 INFO: Archiving Costs [Pipeline] echo 01:57:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:57:48 ---> logs-deploy.sh 01:57:48 lf-activate-venv: SKIPPING 01:57:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/1 01:57:48 INFO: archiving workspace using pattern(s): 01:57:49 Archives upload complete. 01:57:49 INFO: archiving logs to Nexus