Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f3e35657ccdab69bc5deb803fdb81c7e35b804b+caab5c19f0226ea205a717313438d75c5b5382a1 (c93fa84d8b157ab2fdc311b5f0f5e78ac85e779b) 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-ssh7683390818374552268.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-ssh2855828447811444197.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-434/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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8358094707856689350.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-ssh7055179926186062488.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-434/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-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17885463404771490327.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-118141 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [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-434 # 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/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 4f3e35657ccdab69bc5deb803fdb81c7e35b804b Merge succeeded, producing 82eabfe01dd99d5630d5de19c4fb96662eb503f9 Checking out Revision 82eabfe01dd99d5630d5de19c4fb96662eb503f9 (PR-434) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # 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 82eabfe01dd99d5630d5de19c4fb96662eb503f9 # timeout=10 Commit message: "Merge commit 'caab5c19f0226ea205a717313438d75c5b5382a1' into HEAD" > git rev-list --no-walk 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T19:17:25.668Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T19:17:25.730Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T19:17:25.747Z] ========================================================= [2022-11-03T19:17:25.747Z] EdgeX Global Pipelines Version Info [2022-11-03T19:17:25.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:17:26.453Z] ------------------- [2022-11-03T19:17:26.453Z] stable info: [2022-11-03T19:17:26.453Z] ------------------- [2022-11-03T19:17:26.453Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T19:17:26.453Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T19:17:26.453Z] Message: update stable to v1.0.244 [2022-11-03T19:17:27.023Z] ------------------- [2022-11-03T19:17:27.023Z] experimental info: [2022-11-03T19:17:27.023Z] ------------------- [2022-11-03T19:17:27.023Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T19:17:27.023Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T19:17:27.023Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T19:17:27.179Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-03T19:17:27.189Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-03T19:17:27.197Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T19:17:27.205Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T19:17:27.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T19:17:27.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T19:17:27.238Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T19:17:27.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T19:17:27.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T19:17:27.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T19:17:27.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T19:17:27.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-03T19:17:27.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T19:17:27.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T19:17:27.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T19:17:27.363Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T19:17:27.381Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T19:17:27.398Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T19:17:27.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T19:17:27.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T19:17:27.454Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-03T19:17:27.463Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-03T19:17:27.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T19:17:27.487Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T19:17:27.495Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T19:17:27.502Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T19:17:27.511Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T19:17:27.522Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo [2022-11-03T19:17:27.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo [2022-11-03T19:17:27.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo [2022-11-03T19:17:27.566Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82eabfe01dd99d5630d5de19c4fb96662eb503f9 [Pipeline] echo [2022-11-03T19:17:27.585Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82eabfe [Pipeline] echo [2022-11-03T19:17:27.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T19:17:27.649Z] provisioning config files... [2022-11-03T19:17:27.662Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config17024501543753701113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:17:27.961Z] ---> docker-login.sh [2022-11-03T19:17:27.961Z] nexus3.edgexfoundry.org:10001 [2022-11-03T19:17:28.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:28.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:28.480Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:28.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:28.480Z] [2022-11-03T19:17:28.480Z] Login Succeeded [2022-11-03T19:17:28.480Z] nexus3.edgexfoundry.org:10002 [2022-11-03T19:17:28.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:28.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:28.480Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:28.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:28.480Z] [2022-11-03T19:17:28.480Z] Login Succeeded [2022-11-03T19:17:28.480Z] nexus3.edgexfoundry.org:10003 [2022-11-03T19:17:28.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:28.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:28.740Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:28.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:28.740Z] [2022-11-03T19:17:28.740Z] Login Succeeded [2022-11-03T19:17:28.740Z] nexus3.edgexfoundry.org:10004 [2022-11-03T19:17:28.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:28.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:28.740Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:28.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:28.740Z] [2022-11-03T19:17:28.740Z] Login Succeeded [2022-11-03T19:17:28.740Z] docker.io [2022-11-03T19:17:28.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:29.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:29.309Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:29.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:29.309Z] [2022-11-03T19:17:29.309Z] Login Succeeded [2022-11-03T19:17:29.309Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T19:17:29.316Z] 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:17:29.686Z] + git rev-list -1 --merges 82eabfe01dd99d5630d5de19c4fb96662eb503f9~1..82eabfe01dd99d5630d5de19c4fb96662eb503f9 [Pipeline] echo [2022-11-03T19:17:29.715Z] -----------> git rev-list -1 --merges 82eabfe01dd99d5630d5de19c4fb96662eb503f9~1..82eabfe01dd99d5630d5de19c4fb96662eb503f9 82eabfe01dd99d5630d5de19c4fb96662eb503f9 [2022-11-03T19:17:29.715Z] 82eabfe01dd99d5630d5de19c4fb96662eb503f9 [false] [Pipeline] sh [2022-11-03T19:17:30.002Z] + git log --format=format:%s -1 82eabfe01dd99d5630d5de19c4fb96662eb503f9 [Pipeline] echo [2022-11-03T19:17:30.015Z] ========================================================= [2022-11-03T19:17:30.015Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T19:17:30.015Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T19:17:30.331Z] + git log --format=format:%s -1 82eabfe01dd99d5630d5de19c4fb96662eb503f9 [Pipeline] echo [2022-11-03T19:17:30.342Z] [semverPrep] GIT_COMMIT: 82eabfe01dd99d5630d5de19c4fb96662eb503f9, Commit Message: Merge commit 'caab5c19f0226ea205a717313438d75c5b5382a1' into HEAD [Pipeline] echo [2022-11-03T19:17:30.353Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T19:17:30.710Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T19:17:30.710Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T19:17:30.710Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T19:17:30.710Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T19:17:30.710Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-11-03T19:17:30.710Z] -a /etc/ssh/ssh_known_hosts [2022-11-03T19:17:30.710Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:17:31.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T19:17:31.116Z] [2022-11-03T19:17:31.116Z] 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:17:31.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T19:17:31.415Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T19:17:31.415Z] b85a868b505f: Pulling fs layer [2022-11-03T19:17:31.415Z] e2be974225ed: Pulling fs layer [2022-11-03T19:17:31.415Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T19:17:31.415Z] 988bab9f4d93: Pulling fs layer [2022-11-03T19:17:31.415Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T19:17:31.415Z] eaf3925da568: Pulling fs layer [2022-11-03T19:17:31.415Z] bab4dde63d76: Pulling fs layer [2022-11-03T19:17:31.415Z] bde34c3a00c8: Pulling fs layer [2022-11-03T19:17:31.415Z] b352a97aabf1: Pulling fs layer [2022-11-03T19:17:31.415Z] 4872d77fe225: Pulling fs layer [2022-11-03T19:17:31.415Z] 5851b861e8e6: Pulling fs layer [2022-11-03T19:17:31.415Z] eaf3925da568: Waiting [2022-11-03T19:17:31.415Z] bab4dde63d76: Waiting [2022-11-03T19:17:31.415Z] bde34c3a00c8: Waiting [2022-11-03T19:17:31.415Z] 1469e6f7b9e6: Waiting [2022-11-03T19:17:31.415Z] b352a97aabf1: Waiting [2022-11-03T19:17:31.415Z] 4872d77fe225: Waiting [2022-11-03T19:17:31.415Z] 5851b861e8e6: Waiting [2022-11-03T19:17:31.415Z] 988bab9f4d93: Waiting [2022-11-03T19:17:31.415Z] e2be974225ed: Download complete [2022-11-03T19:17:31.415Z] 988bab9f4d93: Verifying Checksum [2022-11-03T19:17:31.415Z] 988bab9f4d93: Download complete [2022-11-03T19:17:31.674Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T19:17:31.674Z] 1469e6f7b9e6: Download complete [2022-11-03T19:17:31.674Z] eaf3925da568: Verifying Checksum [2022-11-03T19:17:31.674Z] eaf3925da568: Download complete [2022-11-03T19:17:31.674Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T19:17:31.674Z] 339a4e72a1f5: Download complete [2022-11-03T19:17:31.674Z] bde34c3a00c8: Download complete [2022-11-03T19:17:31.674Z] b352a97aabf1: Download complete [2022-11-03T19:17:31.674Z] 4872d77fe225: Verifying Checksum [2022-11-03T19:17:31.674Z] 4872d77fe225: Download complete [2022-11-03T19:17:31.674Z] 5851b861e8e6: Download complete [2022-11-03T19:17:31.674Z] b85a868b505f: Verifying Checksum [2022-11-03T19:17:31.674Z] b85a868b505f: Download complete [2022-11-03T19:17:31.932Z] bab4dde63d76: Verifying Checksum [2022-11-03T19:17:31.932Z] bab4dde63d76: Download complete [2022-11-03T19:17:32.868Z] b85a868b505f: Pull complete [2022-11-03T19:17:32.868Z] e2be974225ed: Pull complete [2022-11-03T19:17:33.471Z] 339a4e72a1f5: Pull complete [2022-11-03T19:17:33.471Z] 988bab9f4d93: Pull complete [2022-11-03T19:17:33.730Z] 1469e6f7b9e6: Pull complete [2022-11-03T19:17:33.730Z] eaf3925da568: Pull complete [2022-11-03T19:17:35.632Z] bab4dde63d76: Pull complete [2022-11-03T19:17:35.632Z] bde34c3a00c8: Pull complete [2022-11-03T19:17:35.632Z] b352a97aabf1: Pull complete [2022-11-03T19:17:35.632Z] 4872d77fe225: Pull complete [2022-11-03T19:17:35.892Z] 5851b861e8e6: Pull complete [2022-11-03T19:17:35.892Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T19:17:35.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T19:17:35.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:17:35.965Z] prd-ubuntu20.04-docker-8c-8g-118141 does not seem to be running inside a container [2022-11-03T19:17:35.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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:17:38.507Z] $ docker top a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc -eo pid,comm [2022-11-03T19:17:38.561Z] 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:17:38.561Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T19:17:38.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T19:17:38.600Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T19:17:38.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T19:17:38.714Z] $ docker exec a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc ssh-agent [2022-11-03T19:17:38.837Z] SSH_AUTH_SOCK=/tmp/ssh-N15S4MJBb5oG/agent.33 [2022-11-03T19:17:38.837Z] SSH_AGENT_PID=39 [2022-11-03T19:17:38.843Z] Running ssh-add (command line suppressed) [2022-11-03T19:17:38.943Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_3147448382064641406.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_3147448382064641406.key) [2022-11-03T19:17:38.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T19:17:39.254Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T19:17:39.273Z] $ docker exec --env ******** --env ******** a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc ssh-agent -k [2022-11-03T19:17:39.386Z] unset SSH_AUTH_SOCK; [2022-11-03T19:17:39.387Z] unset SSH_AGENT_PID; [2022-11-03T19:17:39.387Z] echo Agent pid 39 killed; [2022-11-03T19:17:39.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T19:17:39.425Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T19:17:39.425Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T19:17:39.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T19:17:39.540Z] $ docker exec a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc ssh-agent [2022-11-03T19:17:39.647Z] SSH_AUTH_SOCK=/tmp/ssh-2kCvEuI40yDL/agent.71 [2022-11-03T19:17:39.647Z] SSH_AGENT_PID=77 [2022-11-03T19:17:39.651Z] Running ssh-add (command line suppressed) [2022-11-03T19:17:39.745Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_13981798287061866247.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_13981798287061866247.key) [2022-11-03T19:17:39.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T19:17:40.044Z] + git semver init [2022-11-03T19:17:40.303Z] 2022-11-03 19:17:40,259 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T19:17:40.303Z] 2022-11-03 19:17:40,260 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-03T19:17:40.303Z] 2022-11-03 19:17:40,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-03T19:17:40.303Z] 2022-11-03 19:17:40,261 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434, universal_newlines=False, shell=None, istream=None) [2022-11-03T19:17:41.243Z] 2022-11-03 19:17:41,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.git/info/exclude [2022-11-03T19:17:41.243Z] 2022-11-03 19:17:41,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 with force:False [2022-11-03T19:17:41.243Z] 2022-11-03 19:17:41,236 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-03T19:17:41.243Z] 2022-11-03 19:17:41,243 [execute] INFO git cat-file --batch-check [2022-11-03T19:17:41.243Z] 2022-11-03 19:17:41,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T19:17:41.502Z] 2022-11-03 19:17:41,251 [execute] INFO git cat-file --batch [2022-11-03T19:17:41.502Z] 2022-11-03 19:17:41,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T19:17:41.502Z] 2022-11-03 19:17:41,258 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-03T19:17:41.502Z] 0.0.0 [Pipeline] } [2022-11-03T19:17:41.513Z] $ docker exec --env ******** --env ******** a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc ssh-agent -k [2022-11-03T19:17:41.623Z] unset SSH_AUTH_SOCK; [2022-11-03T19:17:41.624Z] unset SSH_AGENT_PID; [2022-11-03T19:17:41.624Z] echo Agent pid 77 killed; [2022-11-03T19:17:41.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T19:17:41.931Z] + git semver [Pipeline] } [2022-11-03T19:17:42.216Z] $ docker stop --time=1 a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc [2022-11-03T19:17:43.495Z] $ docker rm -f a2186fb27ed4f732de0d58dbf7bb729cbbeef89a94b1c405c4245a14a3a263fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T19:17:43.832Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T19:17:44.013Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T19:17:44.016Z] [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:17:44.171Z] provisioning config files... [2022-11-03T19:17:44.181Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config1077177291866544237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:17:44.475Z] ---> docker-login.sh [2022-11-03T19:17:44.475Z] nexus3.edgexfoundry.org:10001 [2022-11-03T19:17:44.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:44.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:44.475Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:44.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:44.475Z] [2022-11-03T19:17:44.475Z] Login Succeeded [2022-11-03T19:17:44.475Z] nexus3.edgexfoundry.org:10002 [2022-11-03T19:17:44.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:44.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:44.475Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:44.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:44.475Z] [2022-11-03T19:17:44.475Z] Login Succeeded [2022-11-03T19:17:44.475Z] nexus3.edgexfoundry.org:10003 [2022-11-03T19:17:44.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:44.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:44.734Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:44.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:44.734Z] [2022-11-03T19:17:44.734Z] Login Succeeded [2022-11-03T19:17:44.734Z] nexus3.edgexfoundry.org:10004 [2022-11-03T19:17:44.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:44.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:44.734Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:44.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:44.734Z] [2022-11-03T19:17:44.734Z] Login Succeeded [2022-11-03T19:17:44.735Z] docker.io [2022-11-03T19:17:44.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:17:45.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:17:45.253Z] Configure a credential helper to remove this warning. See [2022-11-03T19:17:45.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:17:45.253Z] [2022-11-03T19:17:45.253Z] Login Succeeded [2022-11-03T19:17:45.253Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T19:17:45.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T19:17:45.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:17:45.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:17:45.333Z] ========================================================= [2022-11-03T19:17:45.333Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T19:17:45.333Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:17:45.631Z] + 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:17:45.631Z] Sending build context to Docker daemon 6.246MB [2022-11-03T19:17:45.631Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:17:45.631Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T19:17:45.631Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T19:17:45.631Z] 213ec9aee27d: Pulling fs layer [2022-11-03T19:17:45.631Z] 4583459ba037: Pulling fs layer [2022-11-03T19:17:45.631Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T19:17:45.631Z] 53926ce57604: Pulling fs layer [2022-11-03T19:17:45.631Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T19:17:45.631Z] 22ff95d597cd: Pulling fs layer [2022-11-03T19:17:45.631Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T19:17:45.631Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T19:17:45.631Z] a7acece74701: Pulling fs layer [2022-11-03T19:17:45.631Z] 53926ce57604: Waiting [2022-11-03T19:17:45.631Z] 22ff95d597cd: Waiting [2022-11-03T19:17:45.631Z] 12d6caf4c0d1: Waiting [2022-11-03T19:17:45.631Z] 21b2b0c7a3f4: Waiting [2022-11-03T19:17:45.631Z] 96b7cbca73a9: Waiting [2022-11-03T19:17:45.631Z] a7acece74701: Waiting [2022-11-03T19:17:45.631Z] 93c1e223e6f2: Download complete [2022-11-03T19:17:45.631Z] 4583459ba037: Verifying Checksum [2022-11-03T19:17:45.631Z] 4583459ba037: Download complete [2022-11-03T19:17:45.631Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T19:17:45.631Z] 21b2b0c7a3f4: Download complete [2022-11-03T19:17:45.631Z] 22ff95d597cd: Download complete [2022-11-03T19:17:45.889Z] 213ec9aee27d: Verifying Checksum [2022-11-03T19:17:45.889Z] 213ec9aee27d: Download complete [2022-11-03T19:17:45.889Z] 12d6caf4c0d1: Download complete [2022-11-03T19:17:45.889Z] 213ec9aee27d: Pull complete [2022-11-03T19:17:46.154Z] 4583459ba037: Pull complete [2022-11-03T19:17:46.154Z] 93c1e223e6f2: Pull complete [2022-11-03T19:17:46.154Z] a7acece74701: Verifying Checksum [2022-11-03T19:17:46.154Z] a7acece74701: Download complete [2022-11-03T19:17:46.413Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T19:17:46.413Z] 96b7cbca73a9: Download complete [2022-11-03T19:17:46.672Z] 53926ce57604: Verifying Checksum [2022-11-03T19:17:46.672Z] 53926ce57604: Download complete [2022-11-03T19:17:50.861Z] 53926ce57604: Pull complete [2022-11-03T19:17:50.861Z] 21b2b0c7a3f4: Pull complete [2022-11-03T19:17:50.861Z] 22ff95d597cd: Pull complete [2022-11-03T19:17:50.861Z] 12d6caf4c0d1: Pull complete [2022-11-03T19:17:52.758Z] 96b7cbca73a9: Pull complete [2022-11-03T19:17:53.692Z] a7acece74701: Pull complete [2022-11-03T19:17:53.692Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T19:17:53.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T19:17:53.692Z] ---> db6d94c90886 [2022-11-03T19:17:53.692Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:17:56.999Z] ---> Running in e1f032ec258e [2022-11-03T19:17:56.999Z] Removing intermediate container e1f032ec258e [2022-11-03T19:17:56.999Z] ---> 77b682e98ffe [2022-11-03T19:17:56.999Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:17:56.999Z] ---> Running in ab034fece087 [2022-11-03T19:17:56.999Z] Removing intermediate container ab034fece087 [2022-11-03T19:17:56.999Z] ---> 6cdd2bde67f3 [2022-11-03T19:17:56.999Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:17:56.999Z] ---> Running in 976d7c100586 [2022-11-03T19:17:57.260Z] Removing intermediate container 976d7c100586 [2022-11-03T19:17:57.260Z] ---> 716267822779 [2022-11-03T19:17:57.260Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:17:57.260Z] ---> Running in 474dec7fe7cb [2022-11-03T19:17:57.260Z] Removing intermediate container 474dec7fe7cb [2022-11-03T19:17:57.260Z] ---> e4a7fa4870c7 [2022-11-03T19:17:57.260Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:17:57.260Z] ---> Running in 6e61048986d6 [2022-11-03T19:17:57.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T19:17:57.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T19:17:58.036Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T19:17:58.036Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T19:17:58.036Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T19:17:58.036Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T19:17:58.036Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:17:58.036Z] OK: 216 MiB in 55 packages [2022-11-03T19:17:58.605Z] Removing intermediate container 6e61048986d6 [2022-11-03T19:17:58.605Z] ---> 95dd4ca4207d [2022-11-03T19:17:58.605Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-03T19:17:58.605Z] ---> Running in f3dbff27fd25 [2022-11-03T19:17:58.605Z] Removing intermediate container f3dbff27fd25 [2022-11-03T19:17:58.605Z] ---> 6415c32e92f8 [2022-11-03T19:17:58.605Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T19:17:58.605Z] ---> a753b1d78995 [2022-11-03T19:17:58.605Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:17:58.865Z] ---> Running in c3f64dfcb5f2 [2022-11-03T19:17:59.117Z] Still waiting to schedule task [2022-11-03T19:17:59.118Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-03T19:18:20.803Z] Removing intermediate container c3f64dfcb5f2 [2022-11-03T19:18:20.803Z] ---> ddff85912d7d [2022-11-03T19:18:20.803Z] Step 11/12 : COPY . . [2022-11-03T19:18:20.803Z] ---> d9a11e51d7f4 [2022-11-03T19:18:20.803Z] Step 12/12 : RUN $MAKE [2022-11-03T19:18:20.803Z] ---> Running in d03a50dc9fec [2022-11-03T19:18:21.063Z] noop [2022-11-03T19:18:21.321Z] Removing intermediate container d03a50dc9fec [2022-11-03T19:18:21.321Z] ---> faefc052e111 [2022-11-03T19:18:21.321Z] Successfully built faefc052e111 [2022-11-03T19:18:21.321Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:18:21.637Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T19:18:21.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:18:21.702Z] prd-ubuntu20.04-docker-8c-8g-118141 does not seem to be running inside a container [2022-11-03T19:18:21.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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:18:22.055Z] $ docker top 3052a5d0587ad320d576a1adc0e195d9f204e33458cf772abbb3662e182322dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:18:22.390Z] + go version [2022-11-03T19:18:22.390Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T19:18:22.404Z] $ docker stop --time=1 3052a5d0587ad320d576a1adc0e195d9f204e33458cf772abbb3662e182322dc [2022-11-03T19:18:23.661Z] $ docker rm -f 3052a5d0587ad320d576a1adc0e195d9f204e33458cf772abbb3662e182322dc [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:18:24.051Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T19:18:24.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:18:24.120Z] prd-ubuntu20.04-docker-8c-8g-118141 does not seem to be running inside a container [2022-11-03T19:18:24.152Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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:18:24.464Z] $ docker top 27d45f6e13e80974d2c0cd7e0f652611ac4e1fb38b34bae7ae29d78a3b7ea27c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:18:24.797Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] fileExists [Pipeline] sh [2022-11-03T19:18:25.095Z] + make test [2022-11-03T19:18:25.095Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-03T19:18:25.353Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-03T19:18:35.314Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-03T19:18:35.314Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-11-03T19:18:35.314Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-03T19:18:40.575Z] 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:18:40.575Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T19:18:43.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T19:18:43.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T19:18:43.861Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T19:18:43.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T19:18:43.885Z] $ docker stop --time=1 27d45f6e13e80974d2c0cd7e0f652611ac4e1fb38b34bae7ae29d78a3b7ea27c [2022-11-03T19:18:46.496Z] $ docker rm -f 27d45f6e13e80974d2c0cd7e0f652611ac4e1fb38b34bae7ae29d78a3b7ea27c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T19:18:46.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T19:18:47.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T19:18:47.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T19:18:47.805Z] + ls -al . [2022-11-03T19:18:47.806Z] total 196 [2022-11-03T19:18:47.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 19:18 . [2022-11-03T19:18:47.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:17 .. [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 19:17 .dockerignore [2022-11-03T19:18:47.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 19:18 .git [2022-11-03T19:18:47.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:17 .github [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 19:17 .gitignore [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 19:17 .golangci.yml [2022-11-03T19:18:47.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 19:17 .semver [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 3 19:17 Attribution.txt [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 3 19:17 CHANGELOG.md [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 3 19:17 Dockerfile [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 19:17 GOVERNANCE.md [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 3 19:17 Jenkinsfile [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 19:17 LICENSE [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 3 19:17 Makefile [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 19:17 OWNERS.md [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 3 19:17 README.md [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 19:17 VERSION [2022-11-03T19:18:47.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:17 bin [2022-11-03T19:18:47.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:17 cmd [2022-11-03T19:18:47.806Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 3 19:18 coverage.out [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 3512 Nov 3 19:17 go.mod [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 19:17 go.sum [2022-11-03T19:18:47.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:17 internal [2022-11-03T19:18:47.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:17 mock [2022-11-03T19:18:47.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:17 snap [2022-11-03T19:18:47.806Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 3 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:18:48.118Z] + 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=82eabfe01dd99d5630d5de19c4fb96662eb503f9 --label arch=amd64 --label version=0.0.0 . [2022-11-03T19:18:48.118Z] Sending build context to Docker daemon 6.265MB [2022-11-03T19:18:48.118Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:18:48.118Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-03T19:18:48.118Z] ---> faefc052e111 [2022-11-03T19:18:48.118Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:18:48.379Z] ---> Running in 5664a6fb72a3 [2022-11-03T19:18:48.379Z] Removing intermediate container 5664a6fb72a3 [2022-11-03T19:18:48.379Z] ---> b5d35d7f59ee [2022-11-03T19:18:48.379Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:18:48.379Z] ---> Running in d91873dbc3f3 [2022-11-03T19:18:48.379Z] Removing intermediate container d91873dbc3f3 [2022-11-03T19:18:48.379Z] ---> d37e9350f9da [2022-11-03T19:18:48.379Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:18:48.379Z] ---> Running in 779f90cb5531 [2022-11-03T19:18:48.637Z] Removing intermediate container 779f90cb5531 [2022-11-03T19:18:48.637Z] ---> 074e091fcf0b [2022-11-03T19:18:48.637Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:18:48.637Z] ---> Running in 2fbf797c2447 [2022-11-03T19:18:48.637Z] Removing intermediate container 2fbf797c2447 [2022-11-03T19:18:48.637Z] ---> 555377ff4bf5 [2022-11-03T19:18:48.637Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:18:48.637Z] ---> Running in f684d9b5825c [2022-11-03T19:18:48.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T19:18:49.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T19:18:49.414Z] OK: 216 MiB in 55 packages [2022-11-03T19:18:49.981Z] Removing intermediate container f684d9b5825c [2022-11-03T19:18:49.981Z] ---> 9abb1ba4a236 [2022-11-03T19:18:49.981Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-03T19:18:49.981Z] ---> Running in 37178c4b1e43 [2022-11-03T19:18:49.981Z] Removing intermediate container 37178c4b1e43 [2022-11-03T19:18:49.981Z] ---> b388c58e76c2 [2022-11-03T19:18:49.981Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-03T19:18:49.981Z] ---> 966e260e4d77 [2022-11-03T19:18:49.981Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:18:49.981Z] ---> Running in d6a389cb28c4 [2022-11-03T19:18:50.991Z] Removing intermediate container d6a389cb28c4 [2022-11-03T19:18:50.991Z] ---> 79d28b8a5324 [2022-11-03T19:18:50.991Z] Step 11/24 : COPY . . [2022-11-03T19:18:51.251Z] ---> 5495e916aa3b [2022-11-03T19:18:51.251Z] Step 12/24 : RUN $MAKE [2022-11-03T19:18:51.251Z] ---> Running in 3122164c552f [2022-11-03T19:18:51.521Z] 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:19:13.462Z] Removing intermediate container 3122164c552f [2022-11-03T19:19:13.462Z] ---> 31965a9a8474 [2022-11-03T19:19:13.462Z] Step 13/24 : FROM alpine:3.16 [2022-11-03T19:19:13.462Z] 3.16: Pulling from library/alpine [2022-11-03T19:19:13.462Z] 213ec9aee27d: Already exists [2022-11-03T19:19:13.462Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T19:19:13.462Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T19:19:13.462Z] ---> 9c6f07244728 [2022-11-03T19:19:13.462Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-03T19:19:13.462Z] ---> Running in e719a78efbf2 [2022-11-03T19:19:13.462Z] Removing intermediate container e719a78efbf2 [2022-11-03T19:19:13.462Z] ---> 4fe4dcb8e547 [2022-11-03T19:19:13.462Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T19:19:13.462Z] ---> Running in 3755dd17e17b [2022-11-03T19:19:13.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T19:19:13.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T19:19:13.462Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T19:19:13.462Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T19:19:13.462Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T19:19:13.462Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T19:19:13.462Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T19:19:13.462Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T19:19:13.462Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:19:13.462Z] OK: 8 MiB in 20 packages [2022-11-03T19:19:13.462Z] Removing intermediate container 3755dd17e17b [2022-11-03T19:19:13.462Z] ---> 4d69dc051fec [2022-11-03T19:19:13.462Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-03T19:19:14.401Z] ---> 4d8571be3c8b [2022-11-03T19:19:14.401Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-03T19:19:14.401Z] ---> c75e747cfe78 [2022-11-03T19:19:14.401Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-03T19:19:14.401Z] ---> c4c3eb5f46f1 [2022-11-03T19:19:14.401Z] Step 19/24 : EXPOSE 59982 [2022-11-03T19:19:14.401Z] ---> Running in 811c0ca94598 [2022-11-03T19:19:14.662Z] Removing intermediate container 811c0ca94598 [2022-11-03T19:19:14.662Z] ---> 4da9a054ac85 [2022-11-03T19:19:14.662Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-03T19:19:14.662Z] ---> Running in 604d749f754c [2022-11-03T19:19:14.662Z] Removing intermediate container 604d749f754c [2022-11-03T19:19:14.662Z] ---> 067c01c6ba88 [2022-11-03T19:19:14.662Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T19:19:14.662Z] ---> Running in ba89d81b6cc4 [2022-11-03T19:19:14.662Z] Removing intermediate container ba89d81b6cc4 [2022-11-03T19:19:14.662Z] ---> d7518a90b19d [2022-11-03T19:19:14.662Z] Step 22/24 : LABEL arch=amd64 [2022-11-03T19:19:14.919Z] ---> Running in 6357d6ab16d9 [2022-11-03T19:19:14.919Z] Removing intermediate container 6357d6ab16d9 [2022-11-03T19:19:14.919Z] ---> 559440170ded [2022-11-03T19:19:14.919Z] Step 23/24 : LABEL git_sha=82eabfe01dd99d5630d5de19c4fb96662eb503f9 [2022-11-03T19:19:14.919Z] ---> Running in 255a7b7f524e [2022-11-03T19:19:14.919Z] Removing intermediate container 255a7b7f524e [2022-11-03T19:19:14.919Z] ---> 9ef3d6949868 [2022-11-03T19:19:14.919Z] Step 24/24 : LABEL version=0.0.0 [2022-11-03T19:19:14.919Z] ---> Running in b8d04c862cfa [2022-11-03T19:19:15.176Z] Removing intermediate container b8d04c862cfa [2022-11-03T19:19:15.176Z] ---> a4e59ef89c88 [2022-11-03T19:19:15.176Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T19:19:15.176Z] Successfully built a4e59ef89c88 [2022-11-03T19:19:15.176Z] 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:19:15.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:19:15.598Z] [2022-11-03T19:19:15.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:19:15.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:19:15.902Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T19:19:15.902Z] 5eb5b503b376: Pulling fs layer [2022-11-03T19:19:15.902Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T19:19:15.902Z] ec43610c2a17: Pulling fs layer [2022-11-03T19:19:15.902Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T19:19:15.902Z] 33b1e0a273af: Pulling fs layer [2022-11-03T19:19:15.902Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T19:19:15.902Z] 2f39f015ded8: Pulling fs layer [2022-11-03T19:19:15.902Z] 3a2ae6a8a46f: Waiting [2022-11-03T19:19:15.902Z] 33b1e0a273af: Waiting [2022-11-03T19:19:15.902Z] 5d3b04190fa2: Waiting [2022-11-03T19:19:15.902Z] 2f39f015ded8: Waiting [2022-11-03T19:19:15.902Z] 5c69ac0246d0: Verifying Checksum [2022-11-03T19:19:15.902Z] 5c69ac0246d0: Download complete [2022-11-03T19:19:15.902Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T19:19:15.902Z] 3a2ae6a8a46f: Download complete [2022-11-03T19:19:16.160Z] ec43610c2a17: Verifying Checksum [2022-11-03T19:19:16.160Z] ec43610c2a17: Download complete [2022-11-03T19:19:16.160Z] 33b1e0a273af: Verifying Checksum [2022-11-03T19:19:16.160Z] 33b1e0a273af: Download complete [2022-11-03T19:19:16.160Z] 5d3b04190fa2: Download complete [2022-11-03T19:19:16.160Z] 5eb5b503b376: Verifying Checksum [2022-11-03T19:19:16.160Z] 5eb5b503b376: Download complete [2022-11-03T19:19:16.726Z] 2f39f015ded8: Verifying Checksum [2022-11-03T19:19:16.726Z] 2f39f015ded8: Download complete [2022-11-03T19:19:17.291Z] 5eb5b503b376: Pull complete [2022-11-03T19:19:17.548Z] 5c69ac0246d0: Pull complete [2022-11-03T19:19:18.114Z] ec43610c2a17: Pull complete [2022-11-03T19:19:18.114Z] 3a2ae6a8a46f: Pull complete [2022-11-03T19:19:18.114Z] 33b1e0a273af: Pull complete [2022-11-03T19:19:18.372Z] 5d3b04190fa2: Pull complete [2022-11-03T19:19:22.552Z] 2f39f015ded8: Pull complete [2022-11-03T19:19:22.552Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T19:19:22.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:19:22.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:19:22.630Z] prd-ubuntu20.04-docker-8c-8g-118141 does not seem to be running inside a container [2022-11-03T19:19:22.663Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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:19:25.914Z] $ docker top 07fd94f324a4d2d9b3f0eda58e901907f6a525af968786aa7039ffa039676cd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:19:26.288Z] ---> job-cost.sh [2022-11-03T19:19:26.288Z] lf-activate-venv: SKIPPING [2022-11-03T19:19:26.288Z] INFO: No Stack... [2022-11-03T19:19:26.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T19:19:26.805Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T19:19:27.093Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/cost.csv [2022-11-03T19:19:27.093Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T19:19:27.106Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] [2022-11-03T19:19:27.115Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] did not exist. Created. [2022-11-03T19:19:27.115Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T19:19:27.416Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T19:19:27.448Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T19:19:27.455Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T19:19:27.476Z] $ docker stop --time=1 07fd94f324a4d2d9b3f0eda58e901907f6a525af968786aa7039ffa039676cd1 [2022-11-03T19:19:28.499Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118143 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-03T19:19:28.644Z] $ docker rm -f 07fd94f324a4d2d9b3f0eda58e901907f6a525af968786aa7039ffa039676cd1 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-11-03T19:19:28.701Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-11-03T19:19:28.734Z] Selected Git installation does not exist. Using Default [2022-11-03T19:19:28.734Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2022-11-03T19:19:33.458Z] using credential edgex-jenkins-ssh [2022-11-03T19:19:33.477Z] Cloning the remote Git repository [2022-11-03T19:19:33.531Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-03T19:19:33.603Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-11-03T19:19:33.783Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-03T19:19:33.784Z] > git --version # timeout=10 [2022-11-03T19:19:33.807Z] > git --version # 'git version 2.25.1' [2022-11-03T19:19:33.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T19:19:33.864Z] Verifying host key using known hosts file [2022-11-03T19:19:34.061Z] 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:19:34.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T19:19:35.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-03T19:19:35.237Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T19:19:36.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-03T19:19:36.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-03T19:19:36.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T19:19:36.134Z] Verifying host key using known hosts file [2022-11-03T19:19:36.141Z] 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:19:36.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-03T19:19:36.697Z] Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [2022-11-03T19:19:36.942Z] Merge succeeded, producing 916c95f7591c82d11d12ae833a0db195c78769ed [2022-11-03T19:19:36.942Z] Checking out Revision 916c95f7591c82d11d12ae833a0db195c78769ed (PR-434) [2022-11-03T19:19:36.716Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T19:19:36.736Z] > git checkout -f 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 [2022-11-03T19:19:36.816Z] > git remote # timeout=10 [2022-11-03T19:19:36.834Z] > git config --get remote.origin.url # timeout=10 [2022-11-03T19:19:36.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T19:19:36.867Z] Verifying host key using known hosts file [2022-11-03T19:19:36.870Z] 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:19:36.879Z] > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 [2022-11-03T19:19:36.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-03T19:19:36.951Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T19:19:36.964Z] > git checkout -f 916c95f7591c82d11d12ae833a0db195c78769ed # timeout=10 [2022-11-03T19:19:40.388Z] Commit message: "Merge commit 'caab5c19f0226ea205a717313438d75c5b5382a1' into HEAD" [2022-11-03T19:19:40.396Z] > git rev-list --no-walk 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T19:19:41.265Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T19:19:41.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T19:19:41.265Z] Dload Upload Total Spent Left Speed [2022-11-03T19:19:41.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh [2022-11-03T19:19:41.919Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T19:19:42.243Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T19:19:42.243Z] + sudo tee /etc/docker/daemon.new [2022-11-03T19:19:42.243Z] { [2022-11-03T19:19:42.243Z] "registry-mirrors": [ [2022-11-03T19:19:42.243Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T19:19:42.243Z] ], [2022-11-03T19:19:42.243Z] "bip": "10.250.0.254/24", [2022-11-03T19:19:42.243Z] "hosts": [ [2022-11-03T19:19:42.243Z] "tcp://0.0.0.0:5555", [2022-11-03T19:19:42.243Z] "unix:///var/run/docker.sock" [2022-11-03T19:19:42.243Z] ], [2022-11-03T19:19:42.243Z] "mtu": 1458, [2022-11-03T19:19:42.243Z] "selinux-enabled": true, [2022-11-03T19:19:42.243Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T19:19:42.243Z] } [Pipeline] sh [2022-11-03T19:19:42.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T19:19:42.883Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T19:20:04.996Z] provisioning config files... [2022-11-03T19:20:05.025Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config17023893909824915075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:20:05.375Z] ---> docker-login.sh [2022-11-03T19:20:05.375Z] nexus3.edgexfoundry.org:10001 [2022-11-03T19:20:05.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:20:05.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:20:05.961Z] Configure a credential helper to remove this warning. See [2022-11-03T19:20:05.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:20:05.961Z] [2022-11-03T19:20:05.961Z] Login Succeeded [2022-11-03T19:20:05.961Z] nexus3.edgexfoundry.org:10002 [2022-11-03T19:20:06.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:20:06.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:20:06.230Z] Configure a credential helper to remove this warning. See [2022-11-03T19:20:06.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:20:06.230Z] [2022-11-03T19:20:06.230Z] Login Succeeded [2022-11-03T19:20:06.230Z] nexus3.edgexfoundry.org:10003 [2022-11-03T19:20:06.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:20:06.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:20:06.769Z] Configure a credential helper to remove this warning. See [2022-11-03T19:20:06.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:20:06.769Z] [2022-11-03T19:20:06.769Z] Login Succeeded [2022-11-03T19:20:06.769Z] nexus3.edgexfoundry.org:10004 [2022-11-03T19:20:07.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:20:07.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:20:07.042Z] Configure a credential helper to remove this warning. See [2022-11-03T19:20:07.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:20:07.042Z] [2022-11-03T19:20:07.042Z] Login Succeeded [2022-11-03T19:20:07.042Z] docker.io [2022-11-03T19:20:07.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T19:20:07.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T19:20:07.581Z] Configure a credential helper to remove this warning. See [2022-11-03T19:20:07.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T19:20:07.581Z] [2022-11-03T19:20:07.581Z] Login Succeeded [2022-11-03T19:20:07.581Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T19:20:07.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T19:20:07.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:20:07.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T19:20:07.782Z] ========================================================= [2022-11-03T19:20:07.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T19:20:07.782Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:20:08.126Z] + 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:20:08.397Z] Sending build context to Docker daemon 3.24MB [2022-11-03T19:20:08.397Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:20:08.397Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T19:20:08.671Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T19:20:08.671Z] 9b18e9b68314: Pulling fs layer [2022-11-03T19:20:08.671Z] 35d82f9e3411: Pulling fs layer [2022-11-03T19:20:08.671Z] e16973657156: Pulling fs layer [2022-11-03T19:20:08.671Z] fc693d55d65f: Pulling fs layer [2022-11-03T19:20:08.671Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T19:20:08.671Z] dda99020689f: Pulling fs layer [2022-11-03T19:20:08.671Z] db1c61fa0a46: Pulling fs layer [2022-11-03T19:20:08.671Z] 891c053d2c06: Pulling fs layer [2022-11-03T19:20:08.671Z] fc693d55d65f: Waiting [2022-11-03T19:20:08.671Z] 7e9fc2657dce: Waiting [2022-11-03T19:20:08.671Z] dda99020689f: Waiting [2022-11-03T19:20:08.671Z] db1c61fa0a46: Waiting [2022-11-03T19:20:08.671Z] 891c053d2c06: Waiting [2022-11-03T19:20:08.671Z] e16973657156: Verifying Checksum [2022-11-03T19:20:08.671Z] e16973657156: Download complete [2022-11-03T19:20:08.671Z] 35d82f9e3411: Verifying Checksum [2022-11-03T19:20:08.671Z] 35d82f9e3411: Download complete [2022-11-03T19:20:08.671Z] 7e9fc2657dce: Verifying Checksum [2022-11-03T19:20:08.671Z] 7e9fc2657dce: Download complete [2022-11-03T19:20:08.671Z] dda99020689f: Verifying Checksum [2022-11-03T19:20:08.671Z] dda99020689f: Download complete [2022-11-03T19:20:08.671Z] 9b18e9b68314: Download complete [2022-11-03T19:20:09.650Z] 9b18e9b68314: Pull complete [2022-11-03T19:20:09.930Z] 891c053d2c06: Verifying Checksum [2022-11-03T19:20:09.930Z] 891c053d2c06: Download complete [2022-11-03T19:20:10.206Z] 35d82f9e3411: Pull complete [2022-11-03T19:20:10.805Z] e16973657156: Pull complete [2022-11-03T19:20:11.401Z] db1c61fa0a46: Verifying Checksum [2022-11-03T19:20:11.401Z] db1c61fa0a46: Download complete [2022-11-03T19:20:11.992Z] fc693d55d65f: Verifying Checksum [2022-11-03T19:20:11.992Z] fc693d55d65f: Download complete [2022-11-03T19:20:24.316Z] fc693d55d65f: Pull complete [2022-11-03T19:20:24.316Z] 7e9fc2657dce: Pull complete [2022-11-03T19:20:24.583Z] dda99020689f: Pull complete [2022-11-03T19:20:31.269Z] db1c61fa0a46: Pull complete [2022-11-03T19:20:32.697Z] 891c053d2c06: Pull complete [2022-11-03T19:20:32.697Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T19:20:32.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T19:20:32.698Z] ---> f96f9c87975a [2022-11-03T19:20:32.698Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:20:34.648Z] ---> Running in 8923308dcdf1 [2022-11-03T19:20:34.929Z] Removing intermediate container 8923308dcdf1 [2022-11-03T19:20:34.929Z] ---> d1f250cba226 [2022-11-03T19:20:34.929Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:20:35.199Z] ---> Running in f1ddeb55ea0f [2022-11-03T19:20:35.468Z] Removing intermediate container f1ddeb55ea0f [2022-11-03T19:20:35.468Z] ---> c4db6894a13b [2022-11-03T19:20:35.468Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:20:35.468Z] ---> Running in 1724b3db91df [2022-11-03T19:20:36.055Z] Removing intermediate container 1724b3db91df [2022-11-03T19:20:36.055Z] ---> a99f8e0f549d [2022-11-03T19:20:36.055Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:20:36.055Z] ---> Running in ffcd7c3deaba [2022-11-03T19:20:36.334Z] Removing intermediate container ffcd7c3deaba [2022-11-03T19:20:36.334Z] ---> ab3741c8c63c [2022-11-03T19:20:36.334Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:20:36.334Z] ---> Running in 1ab1dc1c233b [2022-11-03T19:20:37.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T19:20:37.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T19:20:38.718Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T19:20:38.718Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T19:20:38.718Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T19:20:38.718Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T19:20:38.718Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:20:38.985Z] OK: 226 MiB in 55 packages [2022-11-03T19:20:39.954Z] Removing intermediate container 1ab1dc1c233b [2022-11-03T19:20:39.954Z] ---> c0e036f74876 [2022-11-03T19:20:39.954Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-03T19:20:39.954Z] ---> Running in 61c2719d4243 [2022-11-03T19:20:40.223Z] Removing intermediate container 61c2719d4243 [2022-11-03T19:20:40.223Z] ---> 34420c897489 [2022-11-03T19:20:40.223Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T19:20:40.809Z] ---> 3b885118b0ed [2022-11-03T19:20:40.809Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:20:40.809Z] ---> Running in ea310c1ded66 [2022-11-03T19:21:37.223Z] Removing intermediate container ea310c1ded66 [2022-11-03T19:21:37.223Z] ---> 9d2a420c53ea [2022-11-03T19:21:37.223Z] Step 11/12 : COPY . . [2022-11-03T19:21:37.223Z] ---> 11931ebbd013 [2022-11-03T19:21:37.223Z] Step 12/12 : RUN $MAKE [2022-11-03T19:21:37.223Z] ---> Running in f625c5fff518 [2022-11-03T19:21:37.223Z] noop [2022-11-03T19:21:37.223Z] Removing intermediate container f625c5fff518 [2022-11-03T19:21:37.223Z] ---> 9cbd0b6e2820 [2022-11-03T19:21:37.223Z] Successfully built 9cbd0b6e2820 [2022-11-03T19:21:37.223Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:21:37.572Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T19:21:37.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:21:37.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-118143 does not seem to be running inside a container [2022-11-03T19:21:37.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:21:39.028Z] $ docker top 27af606e18384a3cb9a9e3f784992bc1985f1e1145f95842c1431598971dcd2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:21:39.826Z] + go version [2022-11-03T19:21:39.826Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T19:21:39.844Z] $ docker stop --time=1 27af606e18384a3cb9a9e3f784992bc1985f1e1145f95842c1431598971dcd2a [2022-11-03T19:21:41.452Z] $ docker rm -f 27af606e18384a3cb9a9e3f784992bc1985f1e1145f95842c1431598971dcd2a [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:21:41.966Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T19:21:41.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:21:42.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-118143 does not seem to be running inside a container [2022-11-03T19:21:42.193Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:21:43.303Z] $ docker top 8913ae1202cb0015e33f187483085ebdad5d5eb1ed8031c1d823a313208a07a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:21:44.111Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2022-11-03T19:21:44.436Z] + make test [2022-11-03T19:21:44.436Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-03T19:21:46.385Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-03T19:23:23.060Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-03T19:23:23.060Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements [2022-11-03T19:23:23.060Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-03T19:23:23.060Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T19:23:23.060Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T19:23:35.367Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T19:23:35.367Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T19:23:35.367Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T19:23:35.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T19:23:35.400Z] $ docker stop --time=1 8913ae1202cb0015e33f187483085ebdad5d5eb1ed8031c1d823a313208a07a8 [2022-11-03T19:23:37.370Z] $ docker rm -f 8913ae1202cb0015e33f187483085ebdad5d5eb1ed8031c1d823a313208a07a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T19:23:38.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T19:23:38.328Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T19:23:38.744Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T19:23:39.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T19:23:39.441Z] + ls -al . [2022-11-03T19:23:39.441Z] total 192 [2022-11-03T19:23:39.441Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 19:21 . [2022-11-03T19:23:39.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:19 .. [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 19:19 .dockerignore [2022-11-03T19:23:39.441Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 19:19 .git [2022-11-03T19:23:39.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:19 .github [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 19:19 .gitignore [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 19:19 .golangci.yml [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 3 19:19 Attribution.txt [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 3 19:19 CHANGELOG.md [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 3 19:19 Dockerfile [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 19:19 GOVERNANCE.md [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 3 19:19 Jenkinsfile [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 19:19 LICENSE [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 3 19:19 Makefile [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 19:19 OWNERS.md [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 3 19:19 README.md [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 19:17 VERSION [2022-11-03T19:23:39.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:19 bin [2022-11-03T19:23:39.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:19 cmd [2022-11-03T19:23:39.441Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 3 19:23 coverage.out [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 3512 Nov 3 19:19 go.mod [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 19:19 go.sum [2022-11-03T19:23:39.441Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 19:19 internal [2022-11-03T19:23:39.441Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 19:19 mock [2022-11-03T19:23:39.441Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 19:19 snap [2022-11-03T19:23:39.441Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 3 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:23:39.782Z] + 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=916c95f7591c82d11d12ae833a0db195c78769ed --label arch=arm64 --label version=0.0.0 . [2022-11-03T19:23:40.049Z] Sending build context to Docker daemon 3.259MB [2022-11-03T19:23:40.049Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T19:23:40.049Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-03T19:23:40.049Z] ---> 9cbd0b6e2820 [2022-11-03T19:23:40.049Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-03T19:23:40.319Z] ---> Running in 29c88f1630a6 [2022-11-03T19:23:40.586Z] Removing intermediate container 29c88f1630a6 [2022-11-03T19:23:40.586Z] ---> 004a8c865160 [2022-11-03T19:23:40.586Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T19:23:40.586Z] ---> Running in 89616c358e0e [2022-11-03T19:23:40.855Z] Removing intermediate container 89616c358e0e [2022-11-03T19:23:40.855Z] ---> e89db2548412 [2022-11-03T19:23:40.855Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T19:23:40.855Z] ---> Running in 046c00235ef5 [2022-11-03T19:23:41.123Z] Removing intermediate container 046c00235ef5 [2022-11-03T19:23:41.123Z] ---> fc0339a43e2b [2022-11-03T19:23:41.123Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T19:23:41.392Z] ---> Running in dfce6ef8ca30 [2022-11-03T19:23:41.661Z] Removing intermediate container dfce6ef8ca30 [2022-11-03T19:23:41.661Z] ---> 306428266051 [2022-11-03T19:23:41.661Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T19:23:41.661Z] ---> Running in 5c7823896254 [2022-11-03T19:23:42.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T19:23:42.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T19:23:43.982Z] OK: 226 MiB in 55 packages [2022-11-03T19:23:44.962Z] Removing intermediate container 5c7823896254 [2022-11-03T19:23:44.962Z] ---> 08a220d00c6c [2022-11-03T19:23:44.962Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-03T19:23:44.962Z] ---> Running in 5f0963c715a6 [2022-11-03T19:23:45.578Z] Removing intermediate container 5f0963c715a6 [2022-11-03T19:23:45.578Z] ---> 832b11365f3e [2022-11-03T19:23:45.578Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-03T19:23:45.875Z] ---> fedc94d5ba13 [2022-11-03T19:23:45.875Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T19:23:46.159Z] ---> Running in e66caabc986c [2022-11-03T19:23:48.745Z] Removing intermediate container e66caabc986c [2022-11-03T19:23:48.745Z] ---> 38aa3a841211 [2022-11-03T19:23:48.745Z] Step 11/24 : COPY . . [2022-11-03T19:23:49.333Z] ---> 68469cb8a38d [2022-11-03T19:23:49.333Z] Step 12/24 : RUN $MAKE [2022-11-03T19:23:49.333Z] ---> Running in 4768c2f3c2a5 [2022-11-03T19:23:51.956Z] 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:26:43.745Z] Removing intermediate container 4768c2f3c2a5 [2022-11-03T19:26:43.745Z] ---> 2c1e202f346f [2022-11-03T19:26:43.745Z] Step 13/24 : FROM alpine:3.16 [2022-11-03T19:26:43.745Z] 3.16: Pulling from library/alpine [2022-11-03T19:26:43.745Z] 9b18e9b68314: Already exists [2022-11-03T19:26:43.745Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T19:26:43.745Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T19:26:43.745Z] ---> a6215f271958 [2022-11-03T19:26:43.745Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-03T19:26:43.745Z] ---> Running in e9c04942f4a5 [2022-11-03T19:26:43.745Z] Removing intermediate container e9c04942f4a5 [2022-11-03T19:26:43.745Z] ---> 7518525b7d62 [2022-11-03T19:26:43.745Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T19:26:43.745Z] ---> Running in 3c59ff7f743e [2022-11-03T19:26:43.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T19:26:43.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T19:26:43.745Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T19:26:43.745Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T19:26:43.745Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T19:26:43.745Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T19:26:43.745Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T19:26:43.745Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T19:26:43.745Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T19:26:43.745Z] OK: 8 MiB in 20 packages [2022-11-03T19:26:43.745Z] Removing intermediate container 3c59ff7f743e [2022-11-03T19:26:43.745Z] ---> be3fa4eb01fb [2022-11-03T19:26:43.745Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-03T19:26:43.745Z] ---> b5d571c2794b [2022-11-03T19:26:43.745Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-03T19:26:43.745Z] ---> f436a10abfa0 [2022-11-03T19:26:43.745Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-03T19:26:43.745Z] ---> c2a31133774a [2022-11-03T19:26:43.745Z] Step 19/24 : EXPOSE 59982 [2022-11-03T19:26:43.745Z] ---> Running in 568329eacc21 [2022-11-03T19:26:43.745Z] Removing intermediate container 568329eacc21 [2022-11-03T19:26:43.745Z] ---> d138d852558b [2022-11-03T19:26:43.745Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-03T19:26:43.745Z] ---> Running in 5da9fb3a5268 [2022-11-03T19:26:44.014Z] Removing intermediate container 5da9fb3a5268 [2022-11-03T19:26:44.014Z] ---> 9770c015a74e [2022-11-03T19:26:44.014Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T19:26:44.014Z] ---> Running in eaac32590773 [2022-11-03T19:26:44.283Z] Removing intermediate container eaac32590773 [2022-11-03T19:26:44.283Z] ---> 71b225f955be [2022-11-03T19:26:44.283Z] Step 22/24 : LABEL arch=arm64 [2022-11-03T19:26:44.283Z] ---> Running in c07b3a2b62d9 [2022-11-03T19:26:44.560Z] Removing intermediate container c07b3a2b62d9 [2022-11-03T19:26:44.560Z] ---> 6f1958e0ed28 [2022-11-03T19:26:44.560Z] Step 23/24 : LABEL git_sha=916c95f7591c82d11d12ae833a0db195c78769ed [2022-11-03T19:26:44.828Z] ---> Running in 99e3ff5a873e [2022-11-03T19:26:45.098Z] Removing intermediate container 99e3ff5a873e [2022-11-03T19:26:45.098Z] ---> c8790551ce44 [2022-11-03T19:26:45.098Z] Step 24/24 : LABEL version=0.0.0 [2022-11-03T19:26:45.098Z] ---> Running in 00c3c5a819bb [2022-11-03T19:26:45.368Z] Removing intermediate container 00c3c5a819bb [2022-11-03T19:26:45.368Z] ---> 4bcbd310f8d0 [2022-11-03T19:26:45.368Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T19:26:45.368Z] Successfully built 4bcbd310f8d0 [2022-11-03T19:26:45.368Z] 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:26:45.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T19:26:45.808Z] [2022-11-03T19:26:45.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:26:46.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T19:26:46.410Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T19:26:46.410Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T19:26:46.410Z] 04944245beec: Pulling fs layer [2022-11-03T19:26:46.410Z] 699f458cf7ca: Pulling fs layer [2022-11-03T19:26:46.410Z] 765212b225bb: Pulling fs layer [2022-11-03T19:26:46.410Z] f23df028b6ca: Pulling fs layer [2022-11-03T19:26:46.410Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T19:26:46.410Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T19:26:46.410Z] f23df028b6ca: Waiting [2022-11-03T19:26:46.410Z] d65c8cfc05b1: Waiting [2022-11-03T19:26:46.410Z] 2437ff75d9bd: Waiting [2022-11-03T19:26:46.410Z] 765212b225bb: Waiting [2022-11-03T19:26:46.410Z] 04944245beec: Verifying Checksum [2022-11-03T19:26:46.410Z] 04944245beec: Download complete [2022-11-03T19:26:46.410Z] 765212b225bb: Verifying Checksum [2022-11-03T19:26:46.410Z] 765212b225bb: Download complete [2022-11-03T19:26:46.410Z] f23df028b6ca: Download complete [2022-11-03T19:26:46.410Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T19:26:46.410Z] d65c8cfc05b1: Download complete [2022-11-03T19:26:46.680Z] 699f458cf7ca: Verifying Checksum [2022-11-03T19:26:46.680Z] 699f458cf7ca: Download complete [2022-11-03T19:26:46.950Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T19:26:46.950Z] 8998bd30e6a1: Download complete [2022-11-03T19:26:49.562Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T19:26:49.562Z] 2437ff75d9bd: Download complete [2022-11-03T19:26:51.513Z] 8998bd30e6a1: Pull complete [2022-11-03T19:26:52.100Z] 04944245beec: Pull complete [2022-11-03T19:26:53.513Z] 699f458cf7ca: Pull complete [2022-11-03T19:26:53.780Z] 765212b225bb: Pull complete [2022-11-03T19:26:54.743Z] f23df028b6ca: Pull complete [2022-11-03T19:26:54.743Z] d65c8cfc05b1: Pull complete [2022-11-03T19:27:09.751Z] 2437ff75d9bd: Pull complete [2022-11-03T19:27:09.751Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T19:27:09.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T19:27:09.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:27:09.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-118143 does not seem to be running inside a container [2022-11-03T19:27:10.016Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:27:12.826Z] $ docker top 0b74084e5edbeda587584a67f2c78a047fe7856e7962a6082a524a741af0991a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:13.674Z] ---> job-cost.sh [2022-11-03T19:27:13.675Z] lf-activate-venv: SKIPPING [2022-11-03T19:27:13.675Z] INFO: No Stack... [2022-11-03T19:27:13.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T19:27:15.346Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T19:27:15.985Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-11-03T19:27:15.985Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T19:27:16.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] [2022-11-03T19:27:16.061Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] did not exist. Created. [2022-11-03T19:27:16.061Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T19:27:16.720Z] /w/workspace/device-mqtt-go/2@tmp/durable-a05a35af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T19:27:17.375Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T19:27:17.399Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T19:27:17.448Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T19:27:17.457Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T19:27:17.471Z] $ docker stop --time=1 0b74084e5edbeda587584a67f2c78a047fe7856e7962a6082a524a741af0991a [2022-11-03T19:27:18.981Z] $ docker rm -f 0b74084e5edbeda587584a67f2c78a047fe7856e7962a6082a524a741af0991a [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:27:19.367Z] provisioning config files... [2022-11-03T19:27:19.375Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config13047510460798855751tmp [Pipeline] { [Pipeline] sh [2022-11-03T19:27:19.667Z] + set +x [2022-11-03T19:27:19.667Z] + bash -s -- [2022-11-03T19:27:19.667Z] + curl -s https://codecov.io/bash [2022-11-03T19:27:19.667Z] [2022-11-03T19:27:19.667Z] _____ _ [2022-11-03T19:27:19.667Z] / ____| | | [2022-11-03T19:27:19.667Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T19:27:19.667Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T19:27:19.667Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T19:27:19.667Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T19:27:19.667Z] Bash-1.0.6 [2022-11-03T19:27:19.667Z] [2022-11-03T19:27:19.667Z] [2022-11-03T19:27:19.667Z] ==> git version 2.25.1 found [2022-11-03T19:27:19.667Z] ==> 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:27:19.667Z] Release-Date: 2020-01-08 [2022-11-03T19:27:19.667Z] 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:27:19.667Z] 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:27:19.667Z] ==> Jenkins CI detected. [2022-11-03T19:27:19.667Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-03T19:27:19.667Z] project root: . [2022-11-03T19:27:19.667Z] --> token set from env [2022-11-03T19:27:19.667Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T19:27:19.667Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T19:27:19.667Z] ==> Python coveragepy not found [2022-11-03T19:27:19.667Z] ==> Searching for coverage reports in: [2022-11-03T19:27:19.667Z] + . [2022-11-03T19:27:19.667Z] -> Found 1 reports [2022-11-03T19:27:19.667Z] ==> Detecting git/mercurial file structure [2022-11-03T19:27:19.667Z] ==> Reading reports [2022-11-03T19:27:19.667Z] + ./coverage.out bytes=17887 [2022-11-03T19:27:19.926Z] ==> Appending adjustments [2022-11-03T19:27:19.926Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T19:27:19.926Z] + Found adjustments [2022-11-03T19:27:19.926Z] ==> Gzipping contents [2022-11-03T19:27:19.926Z] 4.0K /tmp/codecov.f89MHe.gz [2022-11-03T19:27:19.926Z] ==> Uploading reports [2022-11-03T19:27:19.926Z] url: https://codecov.io [2022-11-03T19:27:19.926Z] query: branch=PR-434&commit=82eabfe01dd99d5630d5de19c4fb96662eb503f9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-03T19:27:19.926Z] -> Pinging Codecov [2022-11-03T19:27:19.926Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-434&commit=82eabfe01dd99d5630d5de19c4fb96662eb503f9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-03T19:27:20.185Z] -> Uploading to [2022-11-03T19:27:20.185Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/7D719EC7BBE17E464838252E33014C33/82eabfe01dd99d5630d5de19c4fb96662eb503f9/3586e9ec-c306-47b0-8bbf-d922a5b46f5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T192720Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e6a06a3fac04d64cd3c9ea93e225699be8f37b313253c925f647e4e6e78db1d [2022-11-03T19:27:20.185Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T19:27:20.185Z] Dload Upload Total Spent Left Speed [2022-11-03T19:27:20.444Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12178 --:--:-- --:--:-- --:--:-- 12178 [2022-11-03T19:27:20.444Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/82eabfe01dd99d5630d5de19c4fb96662eb503f9 [Pipeline] } [2022-11-03T19:27:20.450Z] 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:27:21.133Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives ] [2022-11-03T19:27:21.134Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-03T19:27:21.134Z] total 16 [2022-11-03T19:27:21.134Z] drwxr-xr-x 3 root root 4096 Nov 3 19:19 . [2022-11-03T19:27:21.134Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 19:19 .. [2022-11-03T19:27:21.134Z] drwxr-xr-x 2 root root 4096 Nov 3 19:19 cost [2022-11-03T19:27:21.134Z] -rw-r--r-- 1 root root 86 Nov 3 19:19 cost.csv [2022-11-03T19:27:21.134Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-03T19:27:21.134Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-03T19:27:21.134Z] total 16 [2022-11-03T19:27:21.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 19:19 . [2022-11-03T19:27:21.134Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 19:19 .. [2022-11-03T19:27:21.134Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 19:19 cost [2022-11-03T19:27:21.134Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 3 19:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:21.422Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:22.286Z] ---> package-listing.sh [2022-11-03T19:27:22.286Z] ++ facter osfamily [2022-11-03T19:27:22.286Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T19:27:22.547Z] + OS_FAMILY=debian [2022-11-03T19:27:22.547Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-03T19:27:22.547Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T19:27:22.547Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T19:27:22.547Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T19:27:22.547Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T19:27:22.547Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-03T19:27:22.547Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T19:27:22.547Z] + case "${OS_FAMILY}" in [2022-11-03T19:27:22.547Z] + dpkg -l [2022-11-03T19:27:22.547Z] + grep '^ii' [2022-11-03T19:27:22.547Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T19:27:22.547Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T19:27:22.547Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T19:27:22.547Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-03T19:27:22.547Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [2022-11-03T19:27:22.547Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [Pipeline] echo [2022-11-03T19:27:22.557Z] 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-434/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:27:22.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T19:27:23.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T19:27:23.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T19:27:23.455Z] prd-ubuntu20.04-docker-8c-8g-118141 does not seem to be running inside a container [2022-11-03T19:27:23.490Z] $ 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-434/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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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:27:23.693Z] $ docker top fec036be9d5a85623d4291f578f831c89f2b3093c6da29005d23824e2f319351 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T19:27:24.028Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T19:27:24.311Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T19:27:24.597Z] + ls /var/log/sa-host [2022-11-03T19:27:24.597Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T19:27:24.730Z] provisioning config files... [2022-11-03T19:27:24.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config16889094583028126404tmp [Pipeline] { [Pipeline] echo [2022-11-03T19:27:24.750Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:25.034Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T19:27:25.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:25.362Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T19:27:25.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:25.652Z] ---> sudo-logs.sh [2022-11-03T19:27:25.652Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T19:27:25.680Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:25.962Z] ---> job-cost.sh [2022-11-03T19:27:25.962Z] lf-activate-venv: SKIPPING [2022-11-03T19:27:25.962Z] DEBUG: total: 0.2199999988079071 [2022-11-03T19:27:25.962Z] INFO: Retrieving Stack Cost... [2022-11-03T19:27:26.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T19:27:26.790Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T19:27:26.799Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T19:27:27.086Z] ---> logs-deploy.sh [2022-11-03T19:27:27.086Z] lf-activate-venv: SKIPPING [2022-11-03T19:27:27.086Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-434/2 [2022-11-03T19:27:27.086Z] INFO: archiving workspace using pattern(s): [2022-11-03T19:27:28.023Z] Archives upload complete. [2022-11-03T19:27:28.282Z] INFO: archiving logs to Nexus