Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+caab5c19f0226ea205a717313438d75c5b5382a1 (4049ad196bd8505bd3bd0e80c08efece2de6d056) 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-ssh4439811612512438965.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17757616257493330667.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1232066281177238998.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15257045204148530563.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8944972820611402704.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118142 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 caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 66cd86d1a1d35c7f3ef591195a318954ac40ef2c Checking out Revision 66cd86d1a1d35c7f3ef591195a318954ac40ef2c (PR-429) > 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 caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66cd86d1a1d35c7f3ef591195a318954ac40ef2c # timeout=10 Commit message: "Merge commit 'caab5c19f0226ea205a717313438d75c5b5382a1' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 76f008e63d3978bd6867cf7edb279ee078f760c2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T19:18:25.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T19:18:25.618Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T19:18:25.638Z] ========================================================= [2022-11-03T19:18:25.638Z] EdgeX Global Pipelines Version Info [2022-11-03T19:18:25.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:18:26.352Z] ------------------- [2022-11-03T19:18:26.353Z] stable info: [2022-11-03T19:18:26.353Z] ------------------- [2022-11-03T19:18:26.353Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T19:18:26.353Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T19:18:26.353Z] Message: update stable to v1.0.244 [2022-11-03T19:18:26.925Z] ------------------- [2022-11-03T19:18:26.925Z] experimental info: [2022-11-03T19:18:26.925Z] ------------------- [2022-11-03T19:18:26.925Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T19:18:26.925Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T19:18:26.925Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T19:18:27.088Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-03T19:18:27.100Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-03T19:18:27.111Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T19:18:27.122Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T19:18:27.136Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T19:18:27.147Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T19:18:27.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T19:18:27.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T19:18:27.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T19:18:27.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T19:18:27.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T19:18:27.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-03T19:18:27.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T19:18:27.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T19:18:27.270Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T19:18:27.281Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T19:18:27.295Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T19:18:27.311Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T19:18:27.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T19:18:27.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T19:18:27.347Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-03T19:18:27.358Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-03T19:18:27.369Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T19:18:27.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T19:18:27.395Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T19:18:27.407Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T19:18:27.427Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T19:18:27.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-11-03T19:18:27.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-11-03T19:18:27.464Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-11-03T19:18:27.474Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66cd86d1a1d35c7f3ef591195a318954ac40ef2c [Pipeline] echo [2022-11-03T19:18:27.488Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 66cd86d [Pipeline] echo [2022-11-03T19:18:27.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T19:18:27.539Z] provisioning config files... [2022-11-03T19:18:27.553Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config8239294447741595752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:18:27.853Z] ---> docker-login.sh [2022-11-03T19:18:27.853Z] nexus3.edgexfoundry.org:10001 [2022-11-03T19:18:28.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:28.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:28.114Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:28.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:28.114Z] [2022-11-03T19:18:28.114Z] Login Succeeded [2022-11-03T19:18:28.114Z] nexus3.edgexfoundry.org:10002 [2022-11-03T19:18:28.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:28.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:28.114Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:28.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:28.114Z] [2022-11-03T19:18:28.114Z] Login Succeeded [2022-11-03T19:18:28.114Z] nexus3.edgexfoundry.org:10003 [2022-11-03T19:18:28.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:28.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:28.376Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:28.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:28.376Z] [2022-11-03T19:18:28.376Z] Login Succeeded [2022-11-03T19:18:28.376Z] nexus3.edgexfoundry.org:10004 [2022-11-03T19:18:28.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:28.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:28.376Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:28.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:28.376Z] [2022-11-03T19:18:28.376Z] Login Succeeded [2022-11-03T19:18:28.376Z] docker.io [2022-11-03T19:18:28.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:28.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:28.896Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:28.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:28.896Z] [2022-11-03T19:18:28.896Z] Login Succeeded [2022-11-03T19:18:28.896Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T19:18:28.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T19:18:29.276Z] + git rev-list -1 --merges 66cd86d1a1d35c7f3ef591195a318954ac40ef2c~1..66cd86d1a1d35c7f3ef591195a318954ac40ef2c [Pipeline] echo [2022-11-03T19:18:29.301Z] -----------> git rev-list -1 --merges 66cd86d1a1d35c7f3ef591195a318954ac40ef2c~1..66cd86d1a1d35c7f3ef591195a318954ac40ef2c 66cd86d1a1d35c7f3ef591195a318954ac40ef2c [2022-11-03T19:18:29.301Z] 66cd86d1a1d35c7f3ef591195a318954ac40ef2c [false] [Pipeline] sh [2022-11-03T19:18:29.592Z] + git log --format=format:%s -1 66cd86d1a1d35c7f3ef591195a318954ac40ef2c [Pipeline] echo [2022-11-03T19:18:29.607Z] ========================================================= [2022-11-03T19:18:29.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T19:18:29.607Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T19:18:29.941Z] + git log --format=format:%s -1 66cd86d1a1d35c7f3ef591195a318954ac40ef2c [Pipeline] echo [2022-11-03T19:18:29.952Z] [semverPrep] GIT_COMMIT: 66cd86d1a1d35c7f3ef591195a318954ac40ef2c, Commit Message: Merge commit 'caab5c19f0226ea205a717313438d75c5b5382a1' into HEAD [Pipeline] echo [2022-11-03T19:18:29.962Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T19:18:30.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T19:18:30.311Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T19:18:30.311Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T19:18:30.311Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T19:18:30.311Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T19:18:30.311Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T19:18:30.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:18:30.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T19:18:30.663Z] [2022-11-03T19:18:30.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:18:30.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T19:18:30.965Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T19:18:30.965Z] b85a868b505f: Pulling fs layer [2022-11-03T19:18:30.965Z] e2be974225ed: Pulling fs layer [2022-11-03T19:18:30.965Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T19:18:30.965Z] 988bab9f4d93: Pulling fs layer [2022-11-03T19:18:30.965Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T19:18:30.965Z] eaf3925da568: Pulling fs layer [2022-11-03T19:18:30.965Z] bab4dde63d76: Pulling fs layer [2022-11-03T19:18:30.965Z] bde34c3a00c8: Pulling fs layer [2022-11-03T19:18:30.965Z] b352a97aabf1: Pulling fs layer [2022-11-03T19:18:30.965Z] 4872d77fe225: Pulling fs layer [2022-11-03T19:18:30.965Z] 5851b861e8e6: Pulling fs layer [2022-11-03T19:18:30.965Z] 1469e6f7b9e6: Waiting [2022-11-03T19:18:30.965Z] eaf3925da568: Waiting [2022-11-03T19:18:30.965Z] bab4dde63d76: Waiting [2022-11-03T19:18:30.965Z] bde34c3a00c8: Waiting [2022-11-03T19:18:30.965Z] b352a97aabf1: Waiting [2022-11-03T19:18:30.965Z] 4872d77fe225: Waiting [2022-11-03T19:18:30.965Z] 5851b861e8e6: Waiting [2022-11-03T19:18:30.965Z] 988bab9f4d93: Waiting [2022-11-03T19:18:30.965Z] e2be974225ed: Verifying Checksum [2022-11-03T19:18:30.965Z] e2be974225ed: Download complete [2022-11-03T19:18:30.965Z] 988bab9f4d93: Download complete [2022-11-03T19:18:31.227Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T19:18:31.228Z] 1469e6f7b9e6: Download complete [2022-11-03T19:18:31.228Z] eaf3925da568: Download complete [2022-11-03T19:18:31.228Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T19:18:31.228Z] 339a4e72a1f5: Download complete [2022-11-03T19:18:31.228Z] bde34c3a00c8: Verifying Checksum [2022-11-03T19:18:31.228Z] bde34c3a00c8: Download complete [2022-11-03T19:18:31.228Z] b352a97aabf1: Verifying Checksum [2022-11-03T19:18:31.228Z] 4872d77fe225: Verifying Checksum [2022-11-03T19:18:31.228Z] 4872d77fe225: Download complete [2022-11-03T19:18:31.228Z] 5851b861e8e6: Verifying Checksum [2022-11-03T19:18:31.228Z] 5851b861e8e6: Download complete [2022-11-03T19:18:31.228Z] b85a868b505f: Download complete [2022-11-03T19:18:31.801Z] bab4dde63d76: Verifying Checksum [2022-11-03T19:18:31.801Z] bab4dde63d76: Download complete [2022-11-03T19:18:32.734Z] b85a868b505f: Pull complete [2022-11-03T19:18:32.734Z] e2be974225ed: Pull complete [2022-11-03T19:18:33.303Z] 339a4e72a1f5: Pull complete [2022-11-03T19:18:33.303Z] 988bab9f4d93: Pull complete [2022-11-03T19:18:33.872Z] 1469e6f7b9e6: Pull complete [2022-11-03T19:18:33.872Z] eaf3925da568: Pull complete [2022-11-03T19:18:35.780Z] bab4dde63d76: Pull complete [2022-11-03T19:18:35.780Z] bde34c3a00c8: Pull complete [2022-11-03T19:18:36.039Z] b352a97aabf1: Pull complete [2022-11-03T19:18:36.039Z] 4872d77fe225: Pull complete [2022-11-03T19:18:36.039Z] 5851b861e8e6: Pull complete [2022-11-03T19:18:36.039Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T19:18:36.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T19:18:36.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:18:36.132Z] prd-ubuntu20.04-docker-8c-8g-118142 does not seem to be running inside a container [2022-11-03T19:18:36.170Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T19:18:37.616Z] $ docker top 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 -eo pid,comm [2022-11-03T19:18:37.675Z] 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). [2022-11-03T19:18:37.675Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T19:18:37.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T19:18:37.712Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T19:18:37.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T19:18:37.847Z] $ docker exec 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 ssh-agent [2022-11-03T19:18:37.965Z] SSH_AUTH_SOCK=/tmp/ssh-VFhgKVWWFZs6/agent.32 [2022-11-03T19:18:37.965Z] SSH_AGENT_PID=38 [2022-11-03T19:18:37.971Z] Running ssh-add (command line suppressed) [2022-11-03T19:18:38.076Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1870702889637680299.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1870702889637680299.key) [2022-11-03T19:18:38.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T19:18:38.382Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T19:18:38.396Z] $ docker exec --env ******** --env ******** 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 ssh-agent -k [2022-11-03T19:18:38.497Z] unset SSH_AUTH_SOCK; [2022-11-03T19:18:38.498Z] unset SSH_AGENT_PID; [2022-11-03T19:18:38.498Z] echo Agent pid 38 killed; [2022-11-03T19:18:38.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T19:18:38.536Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T19:18:38.536Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T19:18:38.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T19:18:38.665Z] $ docker exec 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 ssh-agent [2022-11-03T19:18:38.786Z] SSH_AUTH_SOCK=/tmp/ssh-SQ5KIlcbltS9/agent.70 [2022-11-03T19:18:38.786Z] SSH_AGENT_PID=76 [2022-11-03T19:18:38.791Z] Running ssh-add (command line suppressed) [2022-11-03T19:18:38.905Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_11210930825251742915.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_11210930825251742915.key) [2022-11-03T19:18:38.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T19:18:39.212Z] + git semver init [2022-11-03T19:18:39.474Z] 2022-11-03 19:18:39,401 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T19:18:39.474Z] 2022-11-03 19:18:39,402 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-11-03T19:18:39.474Z] 2022-11-03 19:18:39,403 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-11-03T19:18:39.474Z] 2022-11-03 19:18:39,403 [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) [2022-11-03T19:18:40.416Z] 2022-11-03 19:18:40,313 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,314 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,314 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,319 [execute] INFO git cat-file --batch-check [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,328 [execute] INFO git cat-file --batch [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T19:18:40.417Z] 2022-11-03 19:18:40,334 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-11-03T19:18:40.417Z] 0.0.0 [Pipeline] } [2022-11-03T19:18:40.424Z] $ docker exec --env ******** --env ******** 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 ssh-agent -k [2022-11-03T19:18:40.532Z] unset SSH_AUTH_SOCK; [2022-11-03T19:18:40.532Z] unset SSH_AGENT_PID; [2022-11-03T19:18:40.532Z] echo Agent pid 76 killed; [2022-11-03T19:18:40.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T19:18:40.844Z] + git semver [Pipeline] } [2022-11-03T19:18:41.115Z] $ docker stop --time=1 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 [2022-11-03T19:18:42.416Z] $ docker rm -f 3a9610cca3e5f58442aa7161d34484ab4e4e10e0d15e71b9e9534e45bdea5d55 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T19:18:42.759Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T19:18:43.004Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T19:18:43.007Z] [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 [2022-11-03T19:18:43.140Z] provisioning config files... [2022-11-03T19:18:43.149Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config14448006576241423774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:18:43.448Z] ---> docker-login.sh [2022-11-03T19:18:43.448Z] nexus3.edgexfoundry.org:10001 [2022-11-03T19:18:43.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:43.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:43.448Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:43.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:43.448Z] [2022-11-03T19:18:43.448Z] Login Succeeded [2022-11-03T19:18:43.448Z] nexus3.edgexfoundry.org:10002 [2022-11-03T19:18:43.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:43.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:43.448Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:43.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:43.448Z] [2022-11-03T19:18:43.448Z] Login Succeeded [2022-11-03T19:18:43.448Z] nexus3.edgexfoundry.org:10003 [2022-11-03T19:18:43.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:43.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:43.707Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:43.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:43.707Z] [2022-11-03T19:18:43.707Z] Login Succeeded [2022-11-03T19:18:43.707Z] nexus3.edgexfoundry.org:10004 [2022-11-03T19:18:43.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:43.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:43.707Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:43.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:43.707Z] [2022-11-03T19:18:43.707Z] Login Succeeded [2022-11-03T19:18:43.707Z] docker.io [2022-11-03T19:18:43.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:18:44.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:18:44.230Z] Configure a credential helper to remove this warning. See [2022-11-03T19:18:44.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:18:44.230Z] [2022-11-03T19:18:44.230Z] Login Succeeded [2022-11-03T19:18:44.230Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T19:18:44.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T19:18:44.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:18:44.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:18:44.322Z] ========================================================= [2022-11-03T19:18:44.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T19:18:44.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:18:44.638Z] + 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 . [2022-11-03T19:18:44.638Z] Sending build context to Docker daemon 6.242MB [2022-11-03T19:18:44.638Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:18:44.638Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T19:18:44.638Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T19:18:44.638Z] 213ec9aee27d: Pulling fs layer [2022-11-03T19:18:44.638Z] 4583459ba037: Pulling fs layer [2022-11-03T19:18:44.638Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T19:18:44.638Z] 53926ce57604: Pulling fs layer [2022-11-03T19:18:44.638Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T19:18:44.638Z] 22ff95d597cd: Pulling fs layer [2022-11-03T19:18:44.638Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T19:18:44.638Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T19:18:44.638Z] a7acece74701: Pulling fs layer [2022-11-03T19:18:44.638Z] 53926ce57604: Waiting [2022-11-03T19:18:44.638Z] 21b2b0c7a3f4: Waiting [2022-11-03T19:18:44.638Z] 22ff95d597cd: Waiting [2022-11-03T19:18:44.638Z] 12d6caf4c0d1: Waiting [2022-11-03T19:18:44.638Z] a7acece74701: Waiting [2022-11-03T19:18:44.638Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T19:18:44.638Z] 93c1e223e6f2: Download complete [2022-11-03T19:18:44.638Z] 4583459ba037: Download complete [2022-11-03T19:18:44.904Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T19:18:44.904Z] 21b2b0c7a3f4: Download complete [2022-11-03T19:18:44.904Z] 22ff95d597cd: Verifying Checksum [2022-11-03T19:18:44.904Z] 22ff95d597cd: Download complete [2022-11-03T19:18:44.904Z] 213ec9aee27d: Verifying Checksum [2022-11-03T19:18:44.904Z] 213ec9aee27d: Download complete [2022-11-03T19:18:44.904Z] 12d6caf4c0d1: Verifying Checksum [2022-11-03T19:18:44.904Z] 12d6caf4c0d1: Download complete [2022-11-03T19:18:44.904Z] 213ec9aee27d: Pull complete [2022-11-03T19:18:45.177Z] 4583459ba037: Pull complete [2022-11-03T19:18:45.177Z] 93c1e223e6f2: Pull complete [2022-11-03T19:18:45.438Z] a7acece74701: Verifying Checksum [2022-11-03T19:18:45.438Z] a7acece74701: Download complete [2022-11-03T19:18:46.008Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T19:18:46.008Z] 96b7cbca73a9: Download complete [2022-11-03T19:18:46.008Z] 53926ce57604: Verifying Checksum [2022-11-03T19:18:46.008Z] 53926ce57604: Download complete [2022-11-03T19:18:50.197Z] 53926ce57604: Pull complete [2022-11-03T19:18:50.197Z] 21b2b0c7a3f4: Pull complete [2022-11-03T19:18:50.197Z] 22ff95d597cd: Pull complete [2022-11-03T19:18:50.197Z] 12d6caf4c0d1: Pull complete [2022-11-03T19:18:52.722Z] 96b7cbca73a9: Pull complete [2022-11-03T19:18:53.288Z] a7acece74701: Pull complete [2022-11-03T19:18:53.288Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T19:18:53.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T19:18:53.288Z] ---> db6d94c90886 [2022-11-03T19:18:53.288Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:18:54.666Z] ---> Running in e409e420b1ea [2022-11-03T19:18:54.925Z] Removing intermediate container e409e420b1ea [2022-11-03T19:18:54.925Z] ---> e13f15067ede [2022-11-03T19:18:54.925Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:18:54.925Z] ---> Running in 87db9090e582 [2022-11-03T19:18:54.925Z] Removing intermediate container 87db9090e582 [2022-11-03T19:18:54.925Z] ---> 3dfdf105b6dc [2022-11-03T19:18:54.925Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:18:54.925Z] ---> Running in 6154e6d81eb2 [2022-11-03T19:18:55.183Z] Removing intermediate container 6154e6d81eb2 [2022-11-03T19:18:55.183Z] ---> 6e2864bdb951 [2022-11-03T19:18:55.183Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:18:55.183Z] ---> Running in c911f43a1875 [2022-11-03T19:18:55.183Z] Removing intermediate container c911f43a1875 [2022-11-03T19:18:55.183Z] ---> abdbb0fa966a [2022-11-03T19:18:55.183Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:18:55.442Z] ---> Running in f5717417961f [2022-11-03T19:18:55.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T19:18:55.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T19:18:55.961Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T19:18:55.961Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T19:18:55.961Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T19:18:55.961Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T19:18:55.961Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:18:55.961Z] OK: 216 MiB in 55 packages [2022-11-03T19:18:56.220Z] Removing intermediate container f5717417961f [2022-11-03T19:18:56.220Z] ---> 3eb2ebcb9571 [2022-11-03T19:18:56.220Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-03T19:18:56.480Z] ---> Running in e70be6da802d [2022-11-03T19:18:56.480Z] Removing intermediate container e70be6da802d [2022-11-03T19:18:56.480Z] ---> 66bd03204abf [2022-11-03T19:18:56.480Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T19:18:56.480Z] ---> ef9836257321 [2022-11-03T19:18:56.480Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:18:56.741Z] ---> Running in a7dbffe4a951 [2022-11-03T19:18:58.113Z] Still waiting to schedule task [2022-11-03T19:18:58.114Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118143’ is offline [2022-11-03T19:19:14.840Z] Removing intermediate container a7dbffe4a951 [2022-11-03T19:19:14.840Z] ---> 591bf51d1498 [2022-11-03T19:19:14.840Z] Step 11/12 : COPY . . [2022-11-03T19:19:14.840Z] ---> fd1f303b5426 [2022-11-03T19:19:14.840Z] Step 12/12 : RUN $MAKE [2022-11-03T19:19:14.840Z] ---> Running in 9186f104af68 [2022-11-03T19:19:14.840Z] noop [2022-11-03T19:19:14.840Z] Removing intermediate container 9186f104af68 [2022-11-03T19:19:14.840Z] ---> 6cdc4a10a95a [2022-11-03T19:19:14.840Z] Successfully built 6cdc4a10a95a [2022-11-03T19:19:14.840Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:19:15.144Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T19:19:15.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:19:15.211Z] prd-ubuntu20.04-docker-8c-8g-118142 does not seem to be running inside a container [2022-11-03T19:19:15.236Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T19:19:15.664Z] $ docker top 6de6bf343f2c7033a6911cdd545b8ee35207d9ed98943088a03f80b4067ebca0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:19:16.019Z] + go version [2022-11-03T19:19:16.019Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T19:19:16.027Z] $ docker stop --time=1 6de6bf343f2c7033a6911cdd545b8ee35207d9ed98943088a03f80b4067ebca0 [2022-11-03T19:19:17.370Z] $ docker rm -f 6de6bf343f2c7033a6911cdd545b8ee35207d9ed98943088a03f80b4067ebca0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:19:17.789Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T19:19:17.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:19:17.862Z] prd-ubuntu20.04-docker-8c-8g-118142 does not seem to be running inside a container [2022-11-03T19:19:17.887Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T19:19:18.257Z] $ docker top 849b96dcdfb68ade65d9eb6c86312d8567b47d7bb923053f0c38d8ac24bff563 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:19:18.603Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2022-11-03T19:19:18.895Z] + make test [2022-11-03T19:19:18.895Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-03T19:19:19.153Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-03T19:19:29.119Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-03T19:19:29.376Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-11-03T19:19:29.376Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-03T19:19:37.480Z] 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." [2022-11-03T19:19:37.480Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T19:19:40.006Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T19:19:40.006Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T19:19:40.006Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T19:19:40.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T19:19:40.287Z] $ docker stop --time=1 849b96dcdfb68ade65d9eb6c86312d8567b47d7bb923053f0c38d8ac24bff563 [2022-11-03T19:19:42.060Z] $ docker rm -f 849b96dcdfb68ade65d9eb6c86312d8567b47d7bb923053f0c38d8ac24bff563 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T19:19:42.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T19:19:42.588Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T19:19:43.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T19:19:43.307Z] + ls -al . [2022-11-03T19:19:43.307Z] total 196 [2022-11-03T19:19:43.307Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 19:19 . [2022-11-03T19:19:43.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:18 .. [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 19:18 .dockerignore [2022-11-03T19:19:43.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 19:19 .git [2022-11-03T19:19:43.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:18 .github [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 19:18 .gitignore [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 19:18 .golangci.yml [2022-11-03T19:19:43.307Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 19:18 .semver [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 3 19:18 Attribution.txt [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 3 19:18 CHANGELOG.md [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 3 19:18 Dockerfile [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 19:18 GOVERNANCE.md [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 3 19:18 Jenkinsfile [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 19:18 LICENSE [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 3 19:18 Makefile [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 19:18 OWNERS.md [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 3 19:18 README.md [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 19:18 VERSION [2022-11-03T19:19:43.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:18 bin [2022-11-03T19:19:43.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:18 cmd [2022-11-03T19:19:43.307Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 3 19:19 coverage.out [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 3512 Nov 3 19:18 go.mod [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 19:18 go.sum [2022-11-03T19:19:43.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:18 internal [2022-11-03T19:19:43.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:18 mock [2022-11-03T19:19:43.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:18 snap [2022-11-03T19:19:43.307Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 3 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:19:43.614Z] + 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=66cd86d1a1d35c7f3ef591195a318954ac40ef2c --label arch=amd64 --label version=0.0.0 . [2022-11-03T19:19:43.614Z] Sending build context to Docker daemon 6.261MB [2022-11-03T19:19:43.614Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:19:43.614Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-03T19:19:43.614Z] ---> 6cdc4a10a95a [2022-11-03T19:19:43.614Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:19:43.614Z] ---> Running in df7388884062 [2022-11-03T19:19:43.874Z] Removing intermediate container df7388884062 [2022-11-03T19:19:43.874Z] ---> bd1444ac13b2 [2022-11-03T19:19:43.874Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:19:43.874Z] ---> Running in 219bfe69f35f [2022-11-03T19:19:43.874Z] Removing intermediate container 219bfe69f35f [2022-11-03T19:19:43.874Z] ---> cfdef5c8c0c4 [2022-11-03T19:19:43.874Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:19:43.874Z] ---> Running in 0163f3cfde8e [2022-11-03T19:19:44.132Z] Removing intermediate container 0163f3cfde8e [2022-11-03T19:19:44.132Z] ---> a5e3b46aa952 [2022-11-03T19:19:44.132Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:19:44.132Z] ---> Running in 3124501d678b [2022-11-03T19:19:44.132Z] Removing intermediate container 3124501d678b [2022-11-03T19:19:44.132Z] ---> c0debc3fba5e [2022-11-03T19:19:44.132Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:19:44.132Z] ---> Running in 56178608eafa [2022-11-03T19:19:44.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T19:19:44.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T19:19:44.910Z] OK: 216 MiB in 55 packages [2022-11-03T19:19:45.479Z] Removing intermediate container 56178608eafa [2022-11-03T19:19:45.479Z] ---> 9b758e698871 [2022-11-03T19:19:45.479Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-03T19:19:45.479Z] ---> Running in 8ef4b3438f21 [2022-11-03T19:19:45.479Z] Removing intermediate container 8ef4b3438f21 [2022-11-03T19:19:45.479Z] ---> 3cc10387accc [2022-11-03T19:19:45.479Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-03T19:19:45.479Z] ---> 3bb9f6abfa8c [2022-11-03T19:19:45.479Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:19:45.479Z] ---> Running in 83894d393741 [2022-11-03T19:19:46.431Z] Removing intermediate container 83894d393741 [2022-11-03T19:19:46.431Z] ---> f9939e09e052 [2022-11-03T19:19:46.431Z] Step 11/24 : COPY . . [2022-11-03T19:19:46.690Z] ---> a41d40bd5ce6 [2022-11-03T19:19:46.690Z] Step 12/24 : RUN $MAKE [2022-11-03T19:19:46.690Z] ---> Running in 4d99894ef3b9 [2022-11-03T19:19:46.947Z] 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 [2022-11-03T19:20:08.883Z] Removing intermediate container 4d99894ef3b9 [2022-11-03T19:20:08.883Z] ---> 51051138b24a [2022-11-03T19:20:08.883Z] Step 13/24 : FROM alpine:3.16 [2022-11-03T19:20:08.883Z] 3.16: Pulling from library/alpine [2022-11-03T19:20:08.883Z] 213ec9aee27d: Already exists [2022-11-03T19:20:08.883Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T19:20:08.883Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T19:20:08.883Z] ---> 9c6f07244728 [2022-11-03T19:20:08.883Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-03T19:20:08.883Z] ---> Running in 05c4141301cf [2022-11-03T19:20:08.883Z] Removing intermediate container 05c4141301cf [2022-11-03T19:20:08.883Z] ---> a4aff94082e6 [2022-11-03T19:20:08.883Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T19:20:08.883Z] ---> Running in c88ce51a3131 [2022-11-03T19:20:08.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T19:20:08.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T19:20:08.883Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T19:20:08.883Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T19:20:08.883Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T19:20:08.883Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T19:20:08.883Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T19:20:08.883Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T19:20:08.883Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:20:08.883Z] OK: 8 MiB in 20 packages [2022-11-03T19:20:08.883Z] Removing intermediate container c88ce51a3131 [2022-11-03T19:20:08.883Z] ---> 01da337294d3 [2022-11-03T19:20:08.883Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-03T19:20:08.883Z] ---> ee330d6902a7 [2022-11-03T19:20:08.883Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-03T19:20:08.883Z] ---> 608b6ec65cdc [2022-11-03T19:20:08.883Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-03T19:20:08.883Z] ---> 38123ade5317 [2022-11-03T19:20:08.883Z] Step 19/24 : EXPOSE 59982 [2022-11-03T19:20:08.883Z] ---> Running in dc37a81cede4 [2022-11-03T19:20:08.883Z] Removing intermediate container dc37a81cede4 [2022-11-03T19:20:08.883Z] ---> f46f28a87367 [2022-11-03T19:20:08.883Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-03T19:20:08.883Z] ---> Running in e3d5cb96468d [2022-11-03T19:20:08.883Z] Removing intermediate container e3d5cb96468d [2022-11-03T19:20:08.883Z] ---> ce09a77d5bb5 [2022-11-03T19:20:08.883Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T19:20:08.883Z] ---> Running in a05f355fa252 [2022-11-03T19:20:09.142Z] Removing intermediate container a05f355fa252 [2022-11-03T19:20:09.142Z] ---> 47adf42b7a61 [2022-11-03T19:20:09.142Z] Step 22/24 : LABEL arch=amd64 [2022-11-03T19:20:09.142Z] ---> Running in ef3db1cd219e [2022-11-03T19:20:09.142Z] Removing intermediate container ef3db1cd219e [2022-11-03T19:20:09.142Z] ---> c79bf7e28891 [2022-11-03T19:20:09.142Z] Step 23/24 : LABEL git_sha=66cd86d1a1d35c7f3ef591195a318954ac40ef2c [2022-11-03T19:20:09.142Z] ---> Running in 6d63e38263f6 [2022-11-03T19:20:09.402Z] Removing intermediate container 6d63e38263f6 [2022-11-03T19:20:09.402Z] ---> c3310d12ec80 [2022-11-03T19:20:09.402Z] Step 24/24 : LABEL version=0.0.0 [2022-11-03T19:20:09.402Z] ---> Running in 72382c01bad2 [2022-11-03T19:20:09.402Z] Removing intermediate container 72382c01bad2 [2022-11-03T19:20:09.402Z] ---> d8f237e89cc5 [2022-11-03T19:20:09.402Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T19:20:09.402Z] Successfully built d8f237e89cc5 [2022-11-03T19:20:09.402Z] 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 [2022-11-03T19:20:09.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:20:09.825Z] [2022-11-03T19:20:09.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:20:10.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:20:10.127Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T19:20:10.127Z] 5eb5b503b376: Pulling fs layer [2022-11-03T19:20:10.127Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T19:20:10.127Z] ec43610c2a17: Pulling fs layer [2022-11-03T19:20:10.127Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T19:20:10.127Z] 33b1e0a273af: Pulling fs layer [2022-11-03T19:20:10.127Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T19:20:10.127Z] 2f39f015ded8: Pulling fs layer [2022-11-03T19:20:10.127Z] 5d3b04190fa2: Waiting [2022-11-03T19:20:10.127Z] 3a2ae6a8a46f: Waiting [2022-11-03T19:20:10.127Z] 2f39f015ded8: Waiting [2022-11-03T19:20:10.127Z] 5c69ac0246d0: Verifying Checksum [2022-11-03T19:20:10.127Z] 5c69ac0246d0: Download complete [2022-11-03T19:20:10.127Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T19:20:10.127Z] 3a2ae6a8a46f: Download complete [2022-11-03T19:20:10.390Z] 33b1e0a273af: Verifying Checksum [2022-11-03T19:20:10.390Z] 33b1e0a273af: Download complete [2022-11-03T19:20:10.390Z] ec43610c2a17: Verifying Checksum [2022-11-03T19:20:10.390Z] ec43610c2a17: Download complete [2022-11-03T19:20:10.390Z] 5d3b04190fa2: Verifying Checksum [2022-11-03T19:20:10.390Z] 5d3b04190fa2: Download complete [2022-11-03T19:20:10.655Z] 5eb5b503b376: Verifying Checksum [2022-11-03T19:20:10.655Z] 5eb5b503b376: Download complete [2022-11-03T19:20:11.228Z] 2f39f015ded8: Download complete [2022-11-03T19:20:11.794Z] 5eb5b503b376: Pull complete [2022-11-03T19:20:11.794Z] 5c69ac0246d0: Pull complete [2022-11-03T19:20:12.359Z] ec43610c2a17: Pull complete [2022-11-03T19:20:12.359Z] 3a2ae6a8a46f: Pull complete [2022-11-03T19:20:12.616Z] 33b1e0a273af: Pull complete [2022-11-03T19:20:12.616Z] 5d3b04190fa2: Pull complete [2022-11-03T19:20:16.788Z] 2f39f015ded8: Pull complete [2022-11-03T19:20:16.788Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T19:20:16.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:20:16.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:20:16.864Z] prd-ubuntu20.04-docker-8c-8g-118142 does not seem to be running inside a container [2022-11-03T19:20:16.893Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T19:20:18.579Z] $ docker top 0378835b06dc82088ce8a5ffdce438e12ca325b760b56c712837943297787365 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:20:18.964Z] ---> job-cost.sh [2022-11-03T19:20:18.964Z] lf-activate-venv: SKIPPING [2022-11-03T19:20:18.964Z] INFO: No Stack... [2022-11-03T19:20:19.530Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T19:20:19.791Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T19:20:20.076Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2022-11-03T19:20:20.076Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T19:20:20.086Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] [2022-11-03T19:20:20.093Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] did not exist. Created. [2022-11-03T19:20:20.093Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T19:20:20.396Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T19:20:20.423Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T19:20:20.430Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T19:20:20.442Z] $ docker stop --time=1 0378835b06dc82088ce8a5ffdce438e12ca325b760b56c712837943297787365 [2022-11-03T19:20:21.631Z] $ docker rm -f 0378835b06dc82088ce8a5ffdce438e12ca325b760b56c712837943297787365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T19:21:23.496Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118144 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2022-11-03T19:21:23.508Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-11-03T19:21:23.547Z] Selected Git installation does not exist. Using Default [2022-11-03T19:21:23.547Z] The recommended git tool is: NONE [2022-11-03T19:21:28.958Z] using credential edgex-jenkins-ssh [2022-11-03T19:21:28.976Z] Cloning the remote Git repository [2022-11-03T19:21:29.027Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-03T19:21:29.104Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-11-03T19:21:29.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-03T19:21:29.248Z] > git --version # timeout=10 [2022-11-03T19:21:29.269Z] > git --version # 'git version 2.25.1' [2022-11-03T19:21:29.271Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T19:21:29.321Z] Verifying host key using known hosts file [2022-11-03T19:21:29.512Z] 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. [2022-11-03T19:21:29.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T19:21:30.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-03T19:21:30.691Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T19:21:32.202Z] Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-11-03T19:21:31.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-03T19:21:31.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-03T19:21:31.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T19:21:31.624Z] Verifying host key using known hosts file [2022-11-03T19:21:31.631Z] 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. [2022-11-03T19:21:31.643Z] > 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 [2022-11-03T19:21:32.220Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T19:21:32.238Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2022-11-03T19:21:32.320Z] > git remote # timeout=10 [2022-11-03T19:21:32.337Z] > git config --get remote.origin.url # timeout=10 [2022-11-03T19:21:32.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T19:21:32.362Z] Verifying host key using known hosts file [2022-11-03T19:21:32.365Z] 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. [2022-11-03T19:21:32.374Z] > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 [2022-11-03T19:21:32.456Z] Merge succeeded, producing d692d045062a2385482fa742ae9df406de0babbb [2022-11-03T19:21:32.457Z] Checking out Revision d692d045062a2385482fa742ae9df406de0babbb (PR-429) [2022-11-03T19:21:32.438Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-03T19:21:32.464Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T19:21:32.481Z] > git checkout -f d692d045062a2385482fa742ae9df406de0babbb # timeout=10 [2022-11-03T19:21:36.016Z] Commit message: "Merge commit 'caab5c19f0226ea205a717313438d75c5b5382a1' into HEAD" [2022-11-03T19:21:36.041Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T19:21:36.023Z] > git rev-list --no-walk 76f008e63d3978bd6867cf7edb279ee078f760c2 # timeout=10 [2022-11-03T19:21:36.928Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T19:21:36.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T19:21:36.928Z] Dload Upload Total Spent Left Speed [2022-11-03T19:21:36.928Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 246k [Pipeline] sh [2022-11-03T19:21:37.623Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T19:21:37.952Z] + sudo tee /etc/docker/daemon.new [2022-11-03T19:21:37.952Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T19:21:37.952Z] { [2022-11-03T19:21:37.952Z] "registry-mirrors": [ [2022-11-03T19:21:37.952Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T19:21:37.952Z] ], [2022-11-03T19:21:37.952Z] "bip": "10.250.0.254/24", [2022-11-03T19:21:37.952Z] "hosts": [ [2022-11-03T19:21:37.952Z] "tcp://0.0.0.0:5555", [2022-11-03T19:21:37.952Z] "unix:///var/run/docker.sock" [2022-11-03T19:21:37.952Z] ], [2022-11-03T19:21:37.952Z] "mtu": 1458, [2022-11-03T19:21:37.952Z] "selinux-enabled": true, [2022-11-03T19:21:37.952Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T19:21:37.952Z] } [Pipeline] sh [2022-11-03T19:21:38.284Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T19:21:38.627Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T19:21:56.880Z] provisioning config files... [2022-11-03T19:21:56.907Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config9670008680395014306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:21:57.261Z] ---> docker-login.sh [2022-11-03T19:21:57.261Z] nexus3.edgexfoundry.org:10001 [2022-11-03T19:21:57.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:21:57.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:21:57.851Z] Configure a credential helper to remove this warning. See [2022-11-03T19:21:57.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:21:57.851Z] [2022-11-03T19:21:57.851Z] Login Succeeded [2022-11-03T19:21:57.851Z] nexus3.edgexfoundry.org:10002 [2022-11-03T19:21:58.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:21:58.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:21:58.394Z] Configure a credential helper to remove this warning. See [2022-11-03T19:21:58.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:21:58.394Z] [2022-11-03T19:21:58.394Z] Login Succeeded [2022-11-03T19:21:58.394Z] nexus3.edgexfoundry.org:10003 [2022-11-03T19:21:58.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:21:58.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:21:58.663Z] Configure a credential helper to remove this warning. See [2022-11-03T19:21:58.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:21:58.663Z] [2022-11-03T19:21:58.663Z] Login Succeeded [2022-11-03T19:21:58.663Z] nexus3.edgexfoundry.org:10004 [2022-11-03T19:21:58.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:21:58.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:21:58.933Z] Configure a credential helper to remove this warning. See [2022-11-03T19:21:58.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:21:58.933Z] [2022-11-03T19:21:58.933Z] Login Succeeded [2022-11-03T19:21:58.933Z] docker.io [2022-11-03T19:21:59.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:21:59.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:21:59.791Z] Configure a credential helper to remove this warning. See [2022-11-03T19:21:59.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:21:59.791Z] [2022-11-03T19:21:59.791Z] Login Succeeded [2022-11-03T19:21:59.791Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T19:21:59.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T19:21:59.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:21:59.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:21:59.985Z] ========================================================= [2022-11-03T19:21:59.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T19:21:59.985Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:22:00.326Z] + 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 . [2022-11-03T19:22:00.598Z] Sending build context to Docker daemon 3.241MB [2022-11-03T19:22:00.598Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:22:00.598Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T19:22:00.867Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T19:22:00.867Z] 9b18e9b68314: Pulling fs layer [2022-11-03T19:22:00.867Z] 35d82f9e3411: Pulling fs layer [2022-11-03T19:22:00.867Z] e16973657156: Pulling fs layer [2022-11-03T19:22:00.867Z] fc693d55d65f: Pulling fs layer [2022-11-03T19:22:00.867Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T19:22:00.867Z] dda99020689f: Pulling fs layer [2022-11-03T19:22:00.867Z] db1c61fa0a46: Pulling fs layer [2022-11-03T19:22:00.867Z] 891c053d2c06: Pulling fs layer [2022-11-03T19:22:00.867Z] fc693d55d65f: Waiting [2022-11-03T19:22:00.867Z] 7e9fc2657dce: Waiting [2022-11-03T19:22:00.867Z] dda99020689f: Waiting [2022-11-03T19:22:00.867Z] db1c61fa0a46: Waiting [2022-11-03T19:22:00.867Z] 891c053d2c06: Waiting [2022-11-03T19:22:00.867Z] e16973657156: Verifying Checksum [2022-11-03T19:22:00.867Z] e16973657156: Download complete [2022-11-03T19:22:00.867Z] 35d82f9e3411: Verifying Checksum [2022-11-03T19:22:00.867Z] 35d82f9e3411: Download complete [2022-11-03T19:22:00.867Z] 7e9fc2657dce: Verifying Checksum [2022-11-03T19:22:00.867Z] 7e9fc2657dce: Download complete [2022-11-03T19:22:00.867Z] dda99020689f: Verifying Checksum [2022-11-03T19:22:00.867Z] dda99020689f: Download complete [2022-11-03T19:22:00.867Z] 9b18e9b68314: Verifying Checksum [2022-11-03T19:22:00.867Z] 9b18e9b68314: Download complete [2022-11-03T19:22:01.846Z] 9b18e9b68314: Pull complete [2022-11-03T19:22:02.432Z] 891c053d2c06: Verifying Checksum [2022-11-03T19:22:02.432Z] 891c053d2c06: Download complete [2022-11-03T19:22:02.701Z] 35d82f9e3411: Pull complete [2022-11-03T19:22:02.973Z] e16973657156: Pull complete [2022-11-03T19:22:03.563Z] db1c61fa0a46: Verifying Checksum [2022-11-03T19:22:03.563Z] db1c61fa0a46: Download complete [2022-11-03T19:22:04.152Z] fc693d55d65f: Verifying Checksum [2022-11-03T19:22:04.152Z] fc693d55d65f: Download complete [2022-11-03T19:22:16.490Z] fc693d55d65f: Pull complete [2022-11-03T19:22:16.490Z] 7e9fc2657dce: Pull complete [2022-11-03T19:22:16.758Z] dda99020689f: Pull complete [2022-11-03T19:22:23.422Z] db1c61fa0a46: Pull complete [2022-11-03T19:22:24.859Z] 891c053d2c06: Pull complete [2022-11-03T19:22:24.859Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T19:22:24.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T19:22:24.859Z] ---> f96f9c87975a [2022-11-03T19:22:24.859Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:22:26.808Z] ---> Running in 758bb7950353 [2022-11-03T19:22:27.086Z] Removing intermediate container 758bb7950353 [2022-11-03T19:22:27.086Z] ---> 68359f5fe05a [2022-11-03T19:22:27.086Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:22:27.353Z] ---> Running in 7a3dfdd485f5 [2022-11-03T19:22:27.621Z] Removing intermediate container 7a3dfdd485f5 [2022-11-03T19:22:27.621Z] ---> 035c1e52a4a5 [2022-11-03T19:22:27.621Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:22:27.621Z] ---> Running in 18904ea41018 [2022-11-03T19:22:27.890Z] Removing intermediate container 18904ea41018 [2022-11-03T19:22:27.890Z] ---> 97394bb3c466 [2022-11-03T19:22:27.890Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:22:28.161Z] ---> Running in 175d9119e21d [2022-11-03T19:22:28.429Z] Removing intermediate container 175d9119e21d [2022-11-03T19:22:28.429Z] ---> 36585eddd9cf [2022-11-03T19:22:28.429Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:22:28.429Z] ---> Running in c0e59c9275d6 [2022-11-03T19:22:29.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T19:22:29.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T19:22:30.947Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T19:22:30.947Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T19:22:30.947Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T19:22:30.947Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T19:22:30.947Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:22:30.947Z] OK: 226 MiB in 55 packages [2022-11-03T19:22:31.909Z] Removing intermediate container c0e59c9275d6 [2022-11-03T19:22:31.909Z] ---> 6556142843fc [2022-11-03T19:22:31.909Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-03T19:22:32.178Z] ---> Running in 445f2d975473 [2022-11-03T19:22:32.446Z] Removing intermediate container 445f2d975473 [2022-11-03T19:22:32.446Z] ---> 350c5c0524f0 [2022-11-03T19:22:32.446Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T19:22:33.033Z] ---> c95f8647d77d [2022-11-03T19:22:33.033Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:22:33.033Z] ---> Running in 6175aad16362 [2022-11-03T19:23:29.454Z] Removing intermediate container 6175aad16362 [2022-11-03T19:23:29.454Z] ---> ed358cd07fe2 [2022-11-03T19:23:29.454Z] Step 11/12 : COPY . . [2022-11-03T19:23:29.454Z] ---> d6ac0dba30a5 [2022-11-03T19:23:29.454Z] Step 12/12 : RUN $MAKE [2022-11-03T19:23:29.454Z] ---> Running in c643705ee2ae [2022-11-03T19:23:29.454Z] noop [2022-11-03T19:23:29.454Z] Removing intermediate container c643705ee2ae [2022-11-03T19:23:29.454Z] ---> f58e71c3cf31 [2022-11-03T19:23:29.454Z] Successfully built f58e71c3cf31 [2022-11-03T19:23:29.454Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:23:29.807Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T19:23:29.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:23:29.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-118144 does not seem to be running inside a container [2022-11-03T19:23:30.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-03T19:23:31.305Z] $ docker top 1f6589bccaa2f677bbd0dcd7158ac8e41e64a8885f2a1ccf85eb1880ce3d2445 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:23:32.148Z] + go version [2022-11-03T19:23:32.148Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T19:23:32.171Z] $ docker stop --time=1 1f6589bccaa2f677bbd0dcd7158ac8e41e64a8885f2a1ccf85eb1880ce3d2445 [2022-11-03T19:23:33.806Z] $ docker rm -f 1f6589bccaa2f677bbd0dcd7158ac8e41e64a8885f2a1ccf85eb1880ce3d2445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:23:34.353Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T19:23:34.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:23:34.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-118144 does not seem to be running inside a container [2022-11-03T19:23:34.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-03T19:23:35.766Z] $ docker top 677d0dba3d41184f9ea8009587a43d886f50726b7b6b499d26f54bdc8680df88 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:23:36.256Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh [2022-11-03T19:23:36.902Z] + make test [2022-11-03T19:23:36.902Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-03T19:23:38.311Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-03T19:25:14.981Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-03T19:25:14.981Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.088s coverage: 21.8% of statements [2022-11-03T19:25:14.981Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-03T19:25:14.981Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T19:25:14.981Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T19:25:33.209Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T19:25:33.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T19:25:33.209Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T19:25:33.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T19:25:33.247Z] $ docker stop --time=1 677d0dba3d41184f9ea8009587a43d886f50726b7b6b499d26f54bdc8680df88 [2022-11-03T19:25:35.098Z] $ docker rm -f 677d0dba3d41184f9ea8009587a43d886f50726b7b6b499d26f54bdc8680df88 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T19:25:36.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T19:25:36.089Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T19:25:36.568Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T19:25:36.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T19:25:37.280Z] + ls -al . [2022-11-03T19:25:37.280Z] total 192 [2022-11-03T19:25:37.280Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 19:23 . [2022-11-03T19:25:37.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:21 .. [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 19:21 .dockerignore [2022-11-03T19:25:37.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 19:21 .git [2022-11-03T19:25:37.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:21 .github [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 19:21 .gitignore [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 19:21 .golangci.yml [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 3 19:21 Attribution.txt [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 3 19:21 CHANGELOG.md [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 3 19:21 Dockerfile [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 19:21 GOVERNANCE.md [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 3 19:21 Jenkinsfile [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 19:21 LICENSE [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 3 19:21 Makefile [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 19:21 OWNERS.md [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 3 19:21 README.md [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 19:18 VERSION [2022-11-03T19:25:37.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:21 bin [2022-11-03T19:25:37.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:21 cmd [2022-11-03T19:25:37.280Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 3 19:25 coverage.out [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 3512 Nov 3 19:21 go.mod [2022-11-03T19:25:37.280Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 19:21 go.sum [2022-11-03T19:25:37.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:21 internal [2022-11-03T19:25:37.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:21 mock [2022-11-03T19:25:37.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:21 snap [2022-11-03T19:25:37.281Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 3 19:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:25:37.626Z] + 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=d692d045062a2385482fa742ae9df406de0babbb --label arch=arm64 --label version=0.0.0 . [2022-11-03T19:25:37.894Z] Sending build context to Docker daemon 3.26MB [2022-11-03T19:25:38.163Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:25:38.163Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-03T19:25:38.163Z] ---> f58e71c3cf31 [2022-11-03T19:25:38.163Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:25:38.163Z] ---> Running in 7a11dc79b718 [2022-11-03T19:25:38.753Z] Removing intermediate container 7a11dc79b718 [2022-11-03T19:25:38.753Z] ---> 225039c2b36e [2022-11-03T19:25:38.753Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:25:38.753Z] ---> Running in e81823c7adff [2022-11-03T19:25:39.021Z] Removing intermediate container e81823c7adff [2022-11-03T19:25:39.021Z] ---> 0fd06a0cf589 [2022-11-03T19:25:39.021Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:25:39.021Z] ---> Running in b702158f6975 [2022-11-03T19:25:39.309Z] Removing intermediate container b702158f6975 [2022-11-03T19:25:39.309Z] ---> bb7eab72ba65 [2022-11-03T19:25:39.309Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:25:39.578Z] ---> Running in c6b4fb6bddcf [2022-11-03T19:25:39.849Z] Removing intermediate container c6b4fb6bddcf [2022-11-03T19:25:39.849Z] ---> 030a440ae1fb [2022-11-03T19:25:39.849Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:25:39.849Z] ---> Running in 74aa48ca1fbc [2022-11-03T19:25:41.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T19:25:41.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T19:25:42.510Z] OK: 226 MiB in 55 packages [2022-11-03T19:25:43.656Z] Removing intermediate container 74aa48ca1fbc [2022-11-03T19:25:43.656Z] ---> a8636fb4f947 [2022-11-03T19:25:43.656Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-03T19:25:43.656Z] ---> Running in c28584913b93 [2022-11-03T19:25:44.265Z] Removing intermediate container c28584913b93 [2022-11-03T19:25:44.265Z] ---> b8aac1f46dc8 [2022-11-03T19:25:44.265Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-03T19:25:44.869Z] ---> 2cd2e9cfe649 [2022-11-03T19:25:44.869Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:25:44.869Z] ---> Running in acfea4931d3c [2022-11-03T19:25:47.521Z] Removing intermediate container acfea4931d3c [2022-11-03T19:25:47.521Z] ---> 6d1416d92e7b [2022-11-03T19:25:47.521Z] Step 11/24 : COPY . . [2022-11-03T19:25:48.122Z] ---> a809ceae4888 [2022-11-03T19:25:48.122Z] Step 12/24 : RUN $MAKE [2022-11-03T19:25:48.399Z] ---> Running in 6ba0945180ab [2022-11-03T19:25:49.373Z] 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 [2022-11-03T19:28:26.242Z] Removing intermediate container 6ba0945180ab [2022-11-03T19:28:26.242Z] ---> a8e2369ab748 [2022-11-03T19:28:26.242Z] Step 13/24 : FROM alpine:3.16 [2022-11-03T19:28:26.510Z] 3.16: Pulling from library/alpine [2022-11-03T19:28:26.792Z] 9b18e9b68314: Already exists [2022-11-03T19:28:26.792Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T19:28:26.792Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T19:28:26.792Z] ---> a6215f271958 [2022-11-03T19:28:26.792Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-03T19:28:27.061Z] ---> Running in b05b7ca5390e [2022-11-03T19:28:27.331Z] Removing intermediate container b05b7ca5390e [2022-11-03T19:28:27.331Z] ---> a8de0a2a6b6d [2022-11-03T19:28:27.331Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T19:28:27.331Z] ---> Running in 7d04d9b5f07d [2022-11-03T19:28:28.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T19:28:28.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T19:28:29.989Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T19:28:29.989Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T19:28:29.989Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T19:28:29.989Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T19:28:29.989Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T19:28:29.989Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T19:28:29.989Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:28:29.989Z] OK: 8 MiB in 20 packages [2022-11-03T19:28:30.957Z] Removing intermediate container 7d04d9b5f07d [2022-11-03T19:28:30.957Z] ---> ea96bb5b46a1 [2022-11-03T19:28:30.957Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-03T19:28:32.909Z] ---> 5dbcc08123b5 [2022-11-03T19:28:32.909Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-03T19:28:33.198Z] ---> 62cb18e8a8df [2022-11-03T19:28:33.198Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-03T19:28:33.469Z] ---> 95671870026a [2022-11-03T19:28:33.469Z] Step 19/24 : EXPOSE 59982 [2022-11-03T19:28:33.741Z] ---> Running in 2c5fbe3abe21 [2022-11-03T19:28:34.008Z] Removing intermediate container 2c5fbe3abe21 [2022-11-03T19:28:34.008Z] ---> 20fa99014fd1 [2022-11-03T19:28:34.008Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-03T19:28:34.008Z] ---> Running in 81f3b0d6741c [2022-11-03T19:28:34.276Z] Removing intermediate container 81f3b0d6741c [2022-11-03T19:28:34.276Z] ---> a78467f39d64 [2022-11-03T19:28:34.276Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T19:28:34.547Z] ---> Running in 9abbfed38add [2022-11-03T19:28:34.814Z] Removing intermediate container 9abbfed38add [2022-11-03T19:28:34.814Z] ---> fd9f8602e5e5 [2022-11-03T19:28:34.814Z] Step 22/24 : LABEL arch=arm64 [2022-11-03T19:28:34.814Z] ---> Running in 70a87f050b62 [2022-11-03T19:28:35.084Z] Removing intermediate container 70a87f050b62 [2022-11-03T19:28:35.084Z] ---> a364c44bb177 [2022-11-03T19:28:35.084Z] Step 23/24 : LABEL git_sha=d692d045062a2385482fa742ae9df406de0babbb [2022-11-03T19:28:35.084Z] ---> Running in 79b7f7064c81 [2022-11-03T19:28:35.674Z] Removing intermediate container 79b7f7064c81 [2022-11-03T19:28:35.674Z] ---> 765b90e183e5 [2022-11-03T19:28:35.674Z] Step 24/24 : LABEL version=0.0.0 [2022-11-03T19:28:35.674Z] ---> Running in e43ad1fb760a [2022-11-03T19:28:35.943Z] Removing intermediate container e43ad1fb760a [2022-11-03T19:28:35.943Z] ---> 22f50d9baf15 [2022-11-03T19:28:35.943Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T19:28:35.943Z] Successfully built 22f50d9baf15 [2022-11-03T19:28:35.943Z] 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 [2022-11-03T19:28:36.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T19:28:36.351Z] [2022-11-03T19:28:36.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:28:36.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T19:28:36.681Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T19:28:36.681Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T19:28:36.681Z] 04944245beec: Pulling fs layer [2022-11-03T19:28:36.681Z] 699f458cf7ca: Pulling fs layer [2022-11-03T19:28:36.681Z] 765212b225bb: Pulling fs layer [2022-11-03T19:28:36.681Z] f23df028b6ca: Pulling fs layer [2022-11-03T19:28:36.681Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T19:28:36.681Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T19:28:36.681Z] d65c8cfc05b1: Waiting [2022-11-03T19:28:36.681Z] 2437ff75d9bd: Waiting [2022-11-03T19:28:36.681Z] 765212b225bb: Waiting [2022-11-03T19:28:36.681Z] f23df028b6ca: Waiting [2022-11-03T19:28:36.953Z] 04944245beec: Verifying Checksum [2022-11-03T19:28:36.953Z] 04944245beec: Download complete [2022-11-03T19:28:36.953Z] 765212b225bb: Verifying Checksum [2022-11-03T19:28:36.953Z] 765212b225bb: Download complete [2022-11-03T19:28:36.953Z] f23df028b6ca: Verifying Checksum [2022-11-03T19:28:36.953Z] f23df028b6ca: Download complete [2022-11-03T19:28:36.953Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T19:28:36.953Z] d65c8cfc05b1: Download complete [2022-11-03T19:28:37.223Z] 699f458cf7ca: Verifying Checksum [2022-11-03T19:28:37.223Z] 699f458cf7ca: Download complete [2022-11-03T19:28:37.494Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T19:28:37.494Z] 8998bd30e6a1: Download complete [2022-11-03T19:28:40.075Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T19:28:40.075Z] 2437ff75d9bd: Download complete [2022-11-03T19:28:41.487Z] 8998bd30e6a1: Pull complete [2022-11-03T19:28:41.755Z] 04944245beec: Pull complete [2022-11-03T19:28:43.173Z] 699f458cf7ca: Pull complete [2022-11-03T19:28:43.173Z] 765212b225bb: Pull complete [2022-11-03T19:28:44.134Z] f23df028b6ca: Pull complete [2022-11-03T19:28:44.134Z] d65c8cfc05b1: Pull complete [2022-11-03T19:28:59.126Z] 2437ff75d9bd: Pull complete [2022-11-03T19:28:59.126Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T19:28:59.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T19:28:59.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:28:59.323Z] prd-ubuntu20.04-docker-arm64-4c-16g-118144 does not seem to be running inside a container [2022-11-03T19:28:59.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-03T19:29:02.179Z] $ docker top 991f5375cf497fe76cd464b637218491d6e11a90233061f5342970d314c9b8e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:03.053Z] ---> job-cost.sh [2022-11-03T19:29:03.053Z] lf-activate-venv: SKIPPING [2022-11-03T19:29:03.053Z] INFO: No Stack... [2022-11-03T19:29:03.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T19:29:04.276Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T19:29:04.601Z] + cut -d, -f6 [2022-11-03T19:29:04.870Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [Pipeline] lock [2022-11-03T19:29:04.945Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] [2022-11-03T19:29:04.953Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] did not exist. Created. [2022-11-03T19:29:04.953Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T19:29:05.610Z] /w/workspace/device-mqtt-go/4@tmp/durable-5c489293/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T19:29:06.266Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T19:29:06.281Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T19:29:06.347Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T19:29:06.357Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T19:29:06.379Z] $ docker stop --time=1 991f5375cf497fe76cd464b637218491d6e11a90233061f5342970d314c9b8e4 [2022-11-03T19:29:07.905Z] $ docker rm -f 991f5375cf497fe76cd464b637218491d6e11a90233061f5342970d314c9b8e4 [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 [2022-11-03T19:29:08.289Z] provisioning config files... [2022-11-03T19:29:08.295Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config11589991812381284686tmp [Pipeline] { [Pipeline] sh [2022-11-03T19:29:08.585Z] + set +x [2022-11-03T19:29:08.585Z] + bash -s -- [2022-11-03T19:29:08.585Z] + curl -s https://codecov.io/bash [2022-11-03T19:29:08.585Z] [2022-11-03T19:29:08.585Z] _____ _ [2022-11-03T19:29:08.585Z] / ____| | | [2022-11-03T19:29:08.585Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T19:29:08.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T19:29:08.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T19:29:08.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T19:29:08.585Z] Bash-1.0.6 [2022-11-03T19:29:08.585Z] [2022-11-03T19:29:08.585Z] [2022-11-03T19:29:08.585Z] ==> git version 2.25.1 found [2022-11-03T19:29:08.585Z] ==> 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 [2022-11-03T19:29:08.585Z] Release-Date: 2020-01-08 [2022-11-03T19:29:08.585Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-03T19:29:08.585Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T19:29:08.585Z] ==> Jenkins CI detected. [2022-11-03T19:29:08.585Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-11-03T19:29:08.585Z] project root: . [2022-11-03T19:29:08.585Z] --> token set from env [2022-11-03T19:29:08.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T19:29:08.585Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T19:29:08.585Z] ==> Python coveragepy not found [2022-11-03T19:29:08.585Z] ==> Searching for coverage reports in: [2022-11-03T19:29:08.585Z] + . [2022-11-03T19:29:08.585Z] -> Found 1 reports [2022-11-03T19:29:08.585Z] ==> Detecting git/mercurial file structure [2022-11-03T19:29:08.585Z] ==> Reading reports [2022-11-03T19:29:08.585Z] + ./coverage.out bytes=17887 [2022-11-03T19:29:08.585Z] ==> Appending adjustments [2022-11-03T19:29:08.585Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T19:29:08.844Z] + Found adjustments [2022-11-03T19:29:08.844Z] ==> Gzipping contents [2022-11-03T19:29:08.844Z] 4.0K /tmp/codecov.7fqQOK.gz [2022-11-03T19:29:08.844Z] ==> Uploading reports [2022-11-03T19:29:08.844Z] url: https://codecov.io [2022-11-03T19:29:08.844Z] query: branch=PR-429&commit=66cd86d1a1d35c7f3ef591195a318954ac40ef2c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-11-03T19:29:08.844Z] -> Pinging Codecov [2022-11-03T19:29:08.844Z] 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=66cd86d1a1d35c7f3ef591195a318954ac40ef2c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-11-03T19:29:09.102Z] -> Uploading to [2022-11-03T19:29:09.102Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/7D719EC7BBE17E464838252E33014C33/66cd86d1a1d35c7f3ef591195a318954ac40ef2c/dbe17170-4afc-4dbc-a9a4-929bd80bdb37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T192908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=445ab631493be061abc593ef5b0fdf4c317c0376991157bc2b3273f67d43dc6e [2022-11-03T19:29:09.102Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T19:29:09.102Z] Dload Upload Total Spent Left Speed [2022-11-03T19:29:09.361Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14235 --:--:-- --:--:-- --:--:-- 14235 [2022-11-03T19:29:09.361Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/66cd86d1a1d35c7f3ef591195a318954ac40ef2c [Pipeline] } [2022-11-03T19:29:09.368Z] 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 [2022-11-03T19:29:10.019Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2022-11-03T19:29:10.019Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-03T19:29:10.019Z] total 16 [2022-11-03T19:29:10.019Z] drwxr-xr-x 3 root root 4096 Nov 3 19:20 . [2022-11-03T19:29:10.019Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 19:20 .. [2022-11-03T19:29:10.019Z] drwxr-xr-x 2 root root 4096 Nov 3 19:20 cost [2022-11-03T19:29:10.020Z] -rw-r--r-- 1 root root 86 Nov 3 19:20 cost.csv [2022-11-03T19:29:10.020Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-03T19:29:10.020Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-11-03T19:29:10.020Z] total 16 [2022-11-03T19:29:10.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 19:20 . [2022-11-03T19:29:10.020Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 19:20 .. [2022-11-03T19:29:10.020Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 19:20 cost [2022-11-03T19:29:10.020Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 3 19:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:10.311Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:11.170Z] ---> package-listing.sh [2022-11-03T19:29:11.170Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T19:29:11.170Z] ++ facter osfamily [2022-11-03T19:29:11.429Z] + OS_FAMILY=debian [2022-11-03T19:29:11.429Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-11-03T19:29:11.429Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T19:29:11.429Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T19:29:11.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T19:29:11.429Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T19:29:11.429Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-11-03T19:29:11.429Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T19:29:11.429Z] + case "${OS_FAMILY}" in [2022-11-03T19:29:11.429Z] + dpkg -l [2022-11-03T19:29:11.429Z] + grep '^ii' [2022-11-03T19:29:11.429Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T19:29:11.429Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T19:29:11.429Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T19:29:11.429Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-11-03T19:29:11.429Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2022-11-03T19:29:11.429Z] + 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 [2022-11-03T19:29:11.440Z] 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 [2022-11-03T19:29:11.717Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:29:12.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:29:12.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:29:12.350Z] prd-ubuntu20.04-docker-8c-8g-118142 does not seem to be running inside a container [2022-11-03T19:29:12.381Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T19:29:12.612Z] $ docker top 25d8dbd2c26300dc165eb7f2b23d4515b3acc40591a35d6ce842ec99171f4b4d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:29:12.964Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T19:29:13.252Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T19:29:13.538Z] + ls /var/log/sa-host [2022-11-03T19:29:13.538Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T19:29:13.597Z] provisioning config files... [2022-11-03T19:29:13.605Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config5491215798189699239tmp [Pipeline] { [Pipeline] echo [2022-11-03T19:29:13.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:13.892Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T19:29:13.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:14.222Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T19:29:14.230Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:14.513Z] ---> sudo-logs.sh [2022-11-03T19:29:14.513Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T19:29:14.545Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:14.828Z] ---> job-cost.sh [2022-11-03T19:29:14.828Z] lf-activate-venv: SKIPPING [2022-11-03T19:29:14.828Z] DEBUG: total: 0.2199999988079071 [2022-11-03T19:29:14.828Z] INFO: Retrieving Stack Cost... [2022-11-03T19:29:15.397Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T19:29:15.655Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T19:29:15.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:29:15.944Z] ---> logs-deploy.sh [2022-11-03T19:29:15.944Z] lf-activate-venv: SKIPPING [2022-11-03T19:29:15.944Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/4 [2022-11-03T19:29:15.944Z] INFO: archiving workspace using pattern(s): [2022-11-03T19:29:16.885Z] Archives upload complete. [2022-11-03T19:29:16.885Z] INFO: archiving logs to Nexus