Pull request #365 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 4d191eb3dac98c01714bec6e3dd8edd5055992ab rather than d466526941577fbd373ebce709283655f16e1fd0 Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab 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-ssh1955340614713457376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh8456964251771368216.key > 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 c72b16708d6eed9a08be464a432ce22db7d90667 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-365/workspace@libs/edgex-global-pipelines/.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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13893596971567704624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh17009886264919088534.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-365/workspace@libs/lf-pipelines/.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-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh821029166434123242.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21759’ Running on prd-ubuntu20.04-docker-8c-8g-21762 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [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-365 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit d466526941577fbd373ebce709283655f16e1fd0 Merge succeeded, producing d466526941577fbd373ebce709283655f16e1fd0 Checking out Revision d466526941577fbd373ebce709283655f16e1fd0 (PR-365) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 Commit message: "feat(snap): use new version of hooks with bug fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T08:46:14.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T08:46:14.193Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T08:46:14.213Z] ========================================================= [2022-04-22T08:46:14.213Z] EdgeX Global Pipelines Version Info [2022-04-22T08:46:14.213Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c # timeout=10 [2022-04-22T08:46:15.024Z] ------------------- [2022-04-22T08:46:15.025Z] stable info: [2022-04-22T08:46:15.025Z] ------------------- [2022-04-22T08:46:15.025Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T08:46:15.025Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T08:46:15.025Z] Message: update stable to v1.0.221 [2022-04-22T08:46:15.599Z] ------------------- [2022-04-22T08:46:15.599Z] experimental info: [2022-04-22T08:46:15.599Z] ------------------- [2022-04-22T08:46:15.599Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T08:46:15.599Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T08:46:15.599Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T08:46:15.714Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-22T08:46:15.728Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-22T08:46:15.741Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T08:46:15.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T08:46:15.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T08:46:15.788Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T08:46:15.800Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T08:46:15.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-22T08:46:15.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T08:46:15.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T08:46:15.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T08:46:15.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-22T08:46:15.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T08:46:15.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T08:46:15.910Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T08:46:15.921Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T08:46:15.935Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:46:15.953Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T08:46:15.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T08:46:15.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T08:46:15.992Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-22T08:46:16.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-22T08:46:16.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T08:46:16.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T08:46:16.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T08:46:16.052Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T08:46:16.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo [2022-04-22T08:46:16.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo [2022-04-22T08:46:16.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo [2022-04-22T08:46:16.117Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo [2022-04-22T08:46:16.129Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d466526 [Pipeline] echo [2022-04-22T08:46:16.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:46:16.177Z] provisioning config files... [2022-04-22T08:46:16.191Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config3582454916958974890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:46:16.501Z] ---> docker-login.sh [2022-04-22T08:46:16.501Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:46:16.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:16.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:16.763Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:16.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:16.763Z] [2022-04-22T08:46:16.763Z] Login Succeeded [2022-04-22T08:46:16.763Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:46:17.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:17.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:17.024Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:17.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:17.024Z] [2022-04-22T08:46:17.024Z] Login Succeeded [2022-04-22T08:46:17.024Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:46:17.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:17.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:17.024Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:17.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:17.024Z] [2022-04-22T08:46:17.024Z] Login Succeeded [2022-04-22T08:46:17.024Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:46:17.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:17.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:17.286Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:17.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:17.286Z] [2022-04-22T08:46:17.286Z] Login Succeeded [2022-04-22T08:46:17.286Z] docker.io [2022-04-22T08:46:17.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:17.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:17.862Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:17.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:17.862Z] [2022-04-22T08:46:17.862Z] Login Succeeded [2022-04-22T08:46:17.862Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:46:17.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T08:46:18.247Z] + git rev-list -1 --merges d466526941577fbd373ebce709283655f16e1fd0~1..d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo [2022-04-22T08:46:18.279Z] -----------> git rev-list -1 --merges d466526941577fbd373ebce709283655f16e1fd0~1..d466526941577fbd373ebce709283655f16e1fd0 d466526941577fbd373ebce709283655f16e1fd0 [false] [Pipeline] sh [2022-04-22T08:46:18.573Z] + git log --format=format:%s -1 d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo [2022-04-22T08:46:18.590Z] ========================================================= [2022-04-22T08:46:18.590Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T08:46:18.590Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T08:46:18.929Z] + git log --format=format:%s -1 d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo [2022-04-22T08:46:18.940Z] [semverPrep] GIT_COMMIT: d466526941577fbd373ebce709283655f16e1fd0, Commit Message: feat(snap): use new version of hooks with bug fix [Pipeline] echo [2022-04-22T08:46:18.947Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T08:46:19.321Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T08:46:19.322Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T08:46:19.322Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T08:46:19.322Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T08:46:19.322Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T08:46:19.322Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T08:46:19.322Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:46:19.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:46:19.667Z] [2022-04-22T08:46:19.667Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:46:19.979Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:46:19.979Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T08:46:19.979Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T08:46:19.979Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T08:46:19.979Z] 4c7163046ea9: Pulling fs layer [2022-04-22T08:46:19.979Z] 0c2d73faf560: Pulling fs layer [2022-04-22T08:46:19.979Z] 0c2d73faf560: Waiting [2022-04-22T08:46:19.979Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T08:46:19.979Z] 3e5f54012d9b: Download complete [2022-04-22T08:46:19.979Z] a0d0a0d46f8b: Verifying Checksum [2022-04-22T08:46:19.979Z] a0d0a0d46f8b: Download complete [2022-04-22T08:46:20.245Z] 0c2d73faf560: Verifying Checksum [2022-04-22T08:46:20.245Z] 0c2d73faf560: Download complete [2022-04-22T08:46:20.245Z] 4c7163046ea9: Verifying Checksum [2022-04-22T08:46:20.245Z] 4c7163046ea9: Download complete [2022-04-22T08:46:20.245Z] a0d0a0d46f8b: Pull complete [2022-04-22T08:46:20.508Z] 3e5f54012d9b: Pull complete [2022-04-22T08:46:20.769Z] 4c7163046ea9: Pull complete [2022-04-22T08:46:21.032Z] 0c2d73faf560: Pull complete [2022-04-22T08:46:21.032Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T08:46:21.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T08:46:21.032Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T08:46:21.217Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-04-22T08:46:21.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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:10004/edgex-devops/git-semver:latest cat [2022-04-22T08:46:22.702Z] $ docker top 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T08:46:22.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T08:46:22.802Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T08:46:22.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T08:46:22.950Z] $ docker exec 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent [2022-04-22T08:46:23.081Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXldDbEi/agent.14 [2022-04-22T08:46:23.081Z] SSH_AGENT_PID=21 [2022-04-22T08:46:23.091Z] Running ssh-add (command line suppressed) [2022-04-22T08:46:23.211Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_3120848554345478535.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_3120848554345478535.key) [2022-04-22T08:46:23.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T08:46:23.522Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T08:46:23.540Z] $ docker exec --env ******** --env ******** 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent -k [2022-04-22T08:46:23.653Z] unset SSH_AUTH_SOCK; [2022-04-22T08:46:23.653Z] unset SSH_AGENT_PID; [2022-04-22T08:46:23.653Z] echo Agent pid 21 killed; [2022-04-22T08:46:23.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T08:46:23.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T08:46:23.696Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T08:46:23.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T08:46:23.835Z] $ docker exec 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent [2022-04-22T08:46:23.977Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNeABBF/agent.54 [2022-04-22T08:46:23.977Z] SSH_AGENT_PID=62 [2022-04-22T08:46:23.983Z] Running ssh-add (command line suppressed) [2022-04-22T08:46:24.099Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_1208328137541918804.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_1208328137541918804.key) [2022-04-22T08:46:24.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T08:46:24.408Z] + git semver init [2022-04-22T08:46:24.408Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T08:46:24.408Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git [2022-04-22T08:46:24.408Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 [2022-04-22T08:46:24.408Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T08:46:24.408Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T08:46:24.408Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T08:46:24.408Z] # $SEMVER_BRANCH = PR-365 [2022-04-22T08:46:24.408Z] # $SEMVER_TEMP = /tmp/semver-429980842 [2022-04-22T08:46:24.408Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-22T08:46:25.353Z] # '/tmp/semver-429980842' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' [2022-04-22T08:46:25.353Z] # -> Force: false [2022-04-22T08:46:25.353Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } [2022-04-22T08:46:25.367Z] $ docker exec --env ******** --env ******** 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent -k [2022-04-22T08:46:25.503Z] unset SSH_AUTH_SOCK; [2022-04-22T08:46:25.503Z] unset SSH_AGENT_PID; [2022-04-22T08:46:25.503Z] echo Agent pid 62 killed; [2022-04-22T08:46:25.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T08:46:25.828Z] + git semver [Pipeline] } [2022-04-22T08:46:25.844Z] $ docker stop --time=1 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f [2022-04-22T08:46:27.301Z] $ docker rm -f 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T08:46:27.655Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T08:46:27.905Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T08:46:27.909Z] [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-04-22T08:46:28.051Z] provisioning config files... [2022-04-22T08:46:28.060Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config3829895364061226505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:46:28.361Z] ---> docker-login.sh [2022-04-22T08:46:28.361Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:46:28.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:28.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:28.361Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:28.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:28.361Z] [2022-04-22T08:46:28.361Z] Login Succeeded [2022-04-22T08:46:28.361Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:46:28.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:28.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:28.622Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:28.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:28.622Z] [2022-04-22T08:46:28.622Z] Login Succeeded [2022-04-22T08:46:28.622Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:46:28.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:28.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:28.622Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:28.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:28.622Z] [2022-04-22T08:46:28.622Z] Login Succeeded [2022-04-22T08:46:28.622Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:46:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:28.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:28.882Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:28.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:28.883Z] [2022-04-22T08:46:28.883Z] Login Succeeded [2022-04-22T08:46:28.883Z] docker.io [2022-04-22T08:46:28.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:46:29.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:46:29.143Z] Configure a credential helper to remove this warning. See [2022-04-22T08:46:29.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:46:29.143Z] [2022-04-22T08:46:29.143Z] Login Succeeded [2022-04-22T08:46:29.143Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:46:29.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T08:46:29.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T08:46:29.236Z] ========================================================= [2022-04-22T08:46:29.236Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T08:46:29.236Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:46:29.558Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T08:46:29.558Z] Sending build context to Docker daemon 5.869MB [2022-04-22T08:46:29.558Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:46:29.558Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-22T08:46:29.558Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T08:46:29.558Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T08:46:29.558Z] 666ba61612fd: Pulling fs layer [2022-04-22T08:46:29.558Z] 8ed8ca486205: Pulling fs layer [2022-04-22T08:46:29.558Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T08:46:29.558Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T08:46:29.558Z] 640e595b4fbd: Pulling fs layer [2022-04-22T08:46:29.558Z] 763cafe07f6e: Pulling fs layer [2022-04-22T08:46:29.558Z] 0c0b528cf693: Pulling fs layer [2022-04-22T08:46:29.558Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T08:46:29.558Z] 763cafe07f6e: Waiting [2022-04-22T08:46:29.558Z] 4fe6c5a15a65: Waiting [2022-04-22T08:46:29.558Z] 10935f4eaf8b: Waiting [2022-04-22T08:46:29.558Z] 22a0e8bec74d: Waiting [2022-04-22T08:46:29.558Z] 640e595b4fbd: Waiting [2022-04-22T08:46:29.820Z] 8ed8ca486205: Verifying Checksum [2022-04-22T08:46:29.820Z] 8ed8ca486205: Download complete [2022-04-22T08:46:29.820Z] 666ba61612fd: Download complete [2022-04-22T08:46:29.820Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T08:46:29.820Z] 22a0e8bec74d: Download complete [2022-04-22T08:46:29.820Z] 640e595b4fbd: Verifying Checksum [2022-04-22T08:46:29.820Z] 640e595b4fbd: Download complete [2022-04-22T08:46:29.820Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T08:46:29.820Z] 59bf1c3509f3: Download complete [2022-04-22T08:46:29.820Z] 763cafe07f6e: Verifying Checksum [2022-04-22T08:46:29.820Z] 763cafe07f6e: Download complete [2022-04-22T08:46:29.820Z] 0c0b528cf693: Verifying Checksum [2022-04-22T08:46:29.820Z] 0c0b528cf693: Download complete [2022-04-22T08:46:29.820Z] 59bf1c3509f3: Pull complete [2022-04-22T08:46:30.393Z] 666ba61612fd: Pull complete [2022-04-22T08:46:30.393Z] 8ed8ca486205: Pull complete [2022-04-22T08:46:30.393Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T08:46:30.393Z] 10935f4eaf8b: Download complete [2022-04-22T08:46:30.393Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T08:46:30.393Z] 4fe6c5a15a65: Download complete [2022-04-22T08:46:34.610Z] 4fe6c5a15a65: Pull complete [2022-04-22T08:46:34.610Z] 22a0e8bec74d: Pull complete [2022-04-22T08:46:34.610Z] 640e595b4fbd: Pull complete [2022-04-22T08:46:34.869Z] 763cafe07f6e: Pull complete [2022-04-22T08:46:34.869Z] 0c0b528cf693: Pull complete [2022-04-22T08:46:37.411Z] 10935f4eaf8b: Pull complete [2022-04-22T08:46:37.411Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T08:46:37.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T08:46:37.411Z] ---> 99d49a6021b9 [2022-04-22T08:46:37.411Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T08:46:39.329Z] ---> Running in 65d21ece51a2 [2022-04-22T08:46:39.329Z] Removing intermediate container 65d21ece51a2 [2022-04-22T08:46:39.329Z] ---> f2400eb56c4d [2022-04-22T08:46:39.329Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T08:46:39.329Z] ---> Running in bc19e36b9ba8 [2022-04-22T08:46:39.329Z] Removing intermediate container bc19e36b9ba8 [2022-04-22T08:46:39.329Z] ---> b523d733ae84 [2022-04-22T08:46:39.329Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:46:39.329Z] ---> Running in 7bcae306b8a1 [2022-04-22T08:46:39.903Z] Removing intermediate container 7bcae306b8a1 [2022-04-22T08:46:39.903Z] ---> 05ce745b0fec [2022-04-22T08:46:39.903Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T08:46:39.903Z] ---> Running in 7e5802628ccb [2022-04-22T08:46:40.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T08:46:41.109Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T08:46:41.373Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-22T08:46:41.373Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-22T08:46:41.635Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-22T08:46:41.635Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-22T08:46:41.635Z] Executing busybox-1.34.1-r3.trigger [2022-04-22T08:46:41.635Z] OK: 224 MiB in 56 packages [2022-04-22T08:46:42.208Z] Removing intermediate container 7e5802628ccb [2022-04-22T08:46:42.209Z] ---> fc443922f463 [2022-04-22T08:46:42.209Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-22T08:46:42.209Z] ---> Running in 79be14061c8a [2022-04-22T08:46:42.470Z] Removing intermediate container 79be14061c8a [2022-04-22T08:46:42.470Z] ---> fa5654cf30a3 [2022-04-22T08:46:42.470Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-22T08:46:42.470Z] ---> 9e1b2102f2e2 [2022-04-22T08:46:42.470Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:46:42.732Z] ---> Running in 71863f03a67d [2022-04-22T08:46:43.011Z] Still waiting to schedule task [2022-04-22T08:46:43.012Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21760’ is offline [2022-04-22T08:47:04.732Z] Removing intermediate container 71863f03a67d [2022-04-22T08:47:04.732Z] ---> 46cdcaf02f16 [2022-04-22T08:47:04.732Z] Step 10/12 : COPY . . [2022-04-22T08:47:04.732Z] ---> 766a78aa5211 [2022-04-22T08:47:04.732Z] Step 11/12 : ARG MAKE='make build' [2022-04-22T08:47:04.732Z] ---> Running in 3ff0acb98c14 [2022-04-22T08:47:04.732Z] Removing intermediate container 3ff0acb98c14 [2022-04-22T08:47:04.732Z] ---> 87d797c98237 [2022-04-22T08:47:04.732Z] Step 12/12 : RUN $MAKE [2022-04-22T08:47:04.732Z] ---> Running in d8d8b6e8226b [2022-04-22T08:47:04.732Z] noop [2022-04-22T08:47:04.732Z] Removing intermediate container d8d8b6e8226b [2022-04-22T08:47:04.732Z] ---> af239debe155 [2022-04-22T08:47:04.732Z] Successfully built af239debe155 [2022-04-22T08:47:04.732Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:47:05.036Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T08:47:05.036Z] . [Pipeline] withDockerContainer [2022-04-22T08:47:05.105Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-04-22T08:47:05.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T08:47:05.604Z] $ docker top 7b7001c5fb906e9e53779e642396494145d01d38a90dc9dc12288ffb88c05c5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T08:47:05.960Z] + go version [2022-04-22T08:47:05.960Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T08:47:05.975Z] $ docker stop --time=1 7b7001c5fb906e9e53779e642396494145d01d38a90dc9dc12288ffb88c05c5d [2022-04-22T08:47:07.268Z] $ docker rm -f 7b7001c5fb906e9e53779e642396494145d01d38a90dc9dc12288ffb88c05c5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:47:07.729Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T08:47:07.729Z] . [Pipeline] withDockerContainer [2022-04-22T08:47:07.802Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-04-22T08:47:07.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T08:47:08.437Z] $ docker top 08e48b10a766bbce6e788fcf665ec39b6848833f306ad52d32da4aced804d1c0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T08:47:08.815Z] + make test [2022-04-22T08:47:08.815Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-22T08:47:09.386Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-22T08:47:19.374Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-22T08:47:19.374Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-04-22T08:47:19.374Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-22T08:47:25.951Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-22T08:47:28.492Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T08:47:28.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T08:47:28.753Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T08:47:29.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T08:47:29.041Z] $ docker stop --time=1 08e48b10a766bbce6e788fcf665ec39b6848833f306ad52d32da4aced804d1c0 [2022-04-22T08:47:31.081Z] $ docker rm -f 08e48b10a766bbce6e788fcf665ec39b6848833f306ad52d32da4aced804d1c0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T08:47:31.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T08:47:31.746Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T08:47:32.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T08:47:33.072Z] + ls -al . [2022-04-22T08:47:33.072Z] total 176 [2022-04-22T08:47:33.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 08:47 . [2022-04-22T08:47:33.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:46 .. [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:46 .dockerignore [2022-04-22T08:47:33.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:46 .git [2022-04-22T08:47:33.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:46 .github [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 08:46 .gitignore [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:46 .golangci.yml [2022-04-22T08:47:33.072Z] drwx------ 3 jenkins jenkins 4096 Apr 22 08:46 .semver [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 08:46 Attribution.txt [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 08:46 CHANGELOG.md [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:46 Dockerfile [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:46 GOVERNANCE.md [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 08:46 Jenkinsfile [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:46 LICENSE [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:46 Makefile [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 08:46 OWNERS.md [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 08:46 README.md [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:46 VERSION [2022-04-22T08:47:33.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:46 bin [2022-04-22T08:47:33.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:46 cmd [2022-04-22T08:47:33.072Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 08:47 coverage.out [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 08:46 go.mod [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 08:46 go.sum [2022-04-22T08:47:33.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:46 internal [2022-04-22T08:47:33.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:46 mock [2022-04-22T08:47:33.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:46 snap [2022-04-22T08:47:33.072Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:47:33.371Z] + 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=d466526941577fbd373ebce709283655f16e1fd0 --label arch=amd64 --label version=0.0.0 . [2022-04-22T08:47:33.371Z] Sending build context to Docker daemon 5.887MB [2022-04-22T08:47:33.371Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:47:33.371Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-22T08:47:33.371Z] ---> af239debe155 [2022-04-22T08:47:33.371Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T08:47:33.631Z] ---> Running in 909f8232e426 [2022-04-22T08:47:33.631Z] Removing intermediate container 909f8232e426 [2022-04-22T08:47:33.631Z] ---> ff7642f791a3 [2022-04-22T08:47:33.631Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T08:47:33.631Z] ---> Running in 43155853db34 [2022-04-22T08:47:33.891Z] Removing intermediate container 43155853db34 [2022-04-22T08:47:33.891Z] ---> 6a2f82cdd64f [2022-04-22T08:47:33.891Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:47:33.891Z] ---> Running in ac06aaea5e89 [2022-04-22T08:47:34.462Z] Removing intermediate container ac06aaea5e89 [2022-04-22T08:47:34.462Z] ---> bd0134535ea1 [2022-04-22T08:47:34.462Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T08:47:34.722Z] ---> Running in edf1d2ba35c3 [2022-04-22T08:47:34.983Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T08:47:35.556Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T08:47:36.126Z] OK: 224 MiB in 56 packages [2022-04-22T08:47:36.384Z] Removing intermediate container edf1d2ba35c3 [2022-04-22T08:47:36.384Z] ---> fb9e68ebfbd2 [2022-04-22T08:47:36.384Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-22T08:47:36.384Z] ---> Running in 388d61bc6fce [2022-04-22T08:47:36.384Z] Removing intermediate container 388d61bc6fce [2022-04-22T08:47:36.384Z] ---> b4e1c950d2a9 [2022-04-22T08:47:36.384Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-22T08:47:36.643Z] ---> 621a7ba5b987 [2022-04-22T08:47:36.643Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:47:36.643Z] ---> Running in 42580b43d5ed [2022-04-22T08:47:37.213Z] Removing intermediate container 42580b43d5ed [2022-04-22T08:47:37.213Z] ---> 1abd62db4f26 [2022-04-22T08:47:37.213Z] Step 10/24 : COPY . . [2022-04-22T08:47:37.481Z] ---> befa32570130 [2022-04-22T08:47:37.481Z] Step 11/24 : ARG MAKE='make build' [2022-04-22T08:47:37.741Z] ---> Running in 0dbab6452417 [2022-04-22T08:47:37.741Z] Removing intermediate container 0dbab6452417 [2022-04-22T08:47:37.741Z] ---> 4068adb2193b [2022-04-22T08:47:37.741Z] Step 12/24 : RUN $MAKE [2022-04-22T08:47:37.741Z] ---> Running in 91767d8cc389 [2022-04-22T08:47:38.001Z] GCO_ENABLED=1 GO111MODULE=on go build -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-04-22T08:47:59.949Z] Removing intermediate container 91767d8cc389 [2022-04-22T08:47:59.949Z] ---> db3ed2edb5fe [2022-04-22T08:47:59.949Z] Step 13/24 : FROM alpine:3.14 [2022-04-22T08:47:59.949Z] 3.14: Pulling from library/alpine [2022-04-22T08:47:59.949Z] 8663204ce13b: Pulling fs layer [2022-04-22T08:47:59.949Z] 8663204ce13b: Verifying Checksum [2022-04-22T08:47:59.949Z] 8663204ce13b: Download complete [2022-04-22T08:47:59.949Z] 8663204ce13b: Pull complete [2022-04-22T08:47:59.949Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T08:47:59.949Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T08:47:59.949Z] ---> e04c818066af [2022-04-22T08:47:59.949Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-22T08:47:59.949Z] ---> Running in 4c95b0fd2487 [2022-04-22T08:47:59.949Z] Removing intermediate container 4c95b0fd2487 [2022-04-22T08:47:59.949Z] ---> e96bd3888ba2 [2022-04-22T08:47:59.949Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-22T08:47:59.949Z] ---> Running in 57550c66c5dd [2022-04-22T08:47:59.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T08:47:59.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T08:47:59.949Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-22T08:47:59.949Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T08:47:59.949Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-22T08:47:59.949Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T08:47:59.949Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-22T08:47:59.949Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-22T08:47:59.949Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T08:47:59.949Z] OK: 8 MiB in 20 packages [2022-04-22T08:47:59.949Z] Removing intermediate container 57550c66c5dd [2022-04-22T08:47:59.949Z] ---> 9f86a9cfaf4a [2022-04-22T08:47:59.949Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-22T08:48:00.519Z] ---> 12b76139dc0a [2022-04-22T08:48:00.519Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-22T08:48:00.519Z] ---> a9924981727e [2022-04-22T08:48:00.519Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-22T08:48:00.778Z] ---> 488655d26c56 [2022-04-22T08:48:00.778Z] Step 19/24 : EXPOSE 59982 [2022-04-22T08:48:00.779Z] ---> Running in 2a4e1e2732ac [2022-04-22T08:48:00.779Z] Removing intermediate container 2a4e1e2732ac [2022-04-22T08:48:00.779Z] ---> d11533f44332 [2022-04-22T08:48:00.779Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-22T08:48:01.038Z] ---> Running in 9e4106ea4132 [2022-04-22T08:48:01.038Z] Removing intermediate container 9e4106ea4132 [2022-04-22T08:48:01.038Z] ---> 1174c62bb6be [2022-04-22T08:48:01.038Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T08:48:01.038Z] ---> Running in cf57996491e2 [2022-04-22T08:48:01.038Z] Removing intermediate container cf57996491e2 [2022-04-22T08:48:01.038Z] ---> f4f177e4e47e [2022-04-22T08:48:01.038Z] Step 22/24 : LABEL arch=amd64 [2022-04-22T08:48:01.310Z] ---> Running in cde1db181285 [2022-04-22T08:48:01.310Z] Removing intermediate container cde1db181285 [2022-04-22T08:48:01.310Z] ---> 5f0b08502f2a [2022-04-22T08:48:01.310Z] Step 23/24 : LABEL git_sha=d466526941577fbd373ebce709283655f16e1fd0 [2022-04-22T08:48:01.310Z] ---> Running in 811a2f9f028c [2022-04-22T08:48:01.310Z] Removing intermediate container 811a2f9f028c [2022-04-22T08:48:01.310Z] ---> 283c0902e75c [2022-04-22T08:48:01.310Z] Step 24/24 : LABEL version=0.0.0 [2022-04-22T08:48:01.570Z] ---> Running in f024d4342e11 [2022-04-22T08:48:01.570Z] Removing intermediate container f024d4342e11 [2022-04-22T08:48:01.570Z] ---> 877a8344b65b [2022-04-22T08:48:01.570Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T08:48:01.570Z] Successfully built 877a8344b65b [2022-04-22T08:48:01.570Z] Successfully tagged device-mqtt:latest [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] sh [2022-04-22T08:48:01.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:48:01.973Z] [2022-04-22T08:48:01.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:48:02.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:48:02.272Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T08:48:02.272Z] 5eb5b503b376: Pulling fs layer [2022-04-22T08:48:02.272Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T08:48:02.272Z] ec43610c2a17: Pulling fs layer [2022-04-22T08:48:02.272Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T08:48:02.272Z] 33b1e0a273af: Pulling fs layer [2022-04-22T08:48:02.272Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T08:48:02.272Z] 2f39f015ded8: Pulling fs layer [2022-04-22T08:48:02.272Z] 33b1e0a273af: Waiting [2022-04-22T08:48:02.272Z] 5d3b04190fa2: Waiting [2022-04-22T08:48:02.272Z] 2f39f015ded8: Waiting [2022-04-22T08:48:02.272Z] 3a2ae6a8a46f: Waiting [2022-04-22T08:48:02.272Z] 5c69ac0246d0: Verifying Checksum [2022-04-22T08:48:02.272Z] 5c69ac0246d0: Download complete [2022-04-22T08:48:02.272Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T08:48:02.272Z] 3a2ae6a8a46f: Download complete [2022-04-22T08:48:02.272Z] 33b1e0a273af: Verifying Checksum [2022-04-22T08:48:02.272Z] 33b1e0a273af: Download complete [2022-04-22T08:48:02.272Z] ec43610c2a17: Verifying Checksum [2022-04-22T08:48:02.272Z] ec43610c2a17: Download complete [2022-04-22T08:48:02.272Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T08:48:02.272Z] 5d3b04190fa2: Download complete [2022-04-22T08:48:02.531Z] 5eb5b503b376: Verifying Checksum [2022-04-22T08:48:02.531Z] 5eb5b503b376: Download complete [2022-04-22T08:48:03.098Z] 2f39f015ded8: Download complete [2022-04-22T08:48:03.665Z] 5eb5b503b376: Pull complete [2022-04-22T08:48:03.923Z] 5c69ac0246d0: Pull complete [2022-04-22T08:48:04.492Z] ec43610c2a17: Pull complete [2022-04-22T08:48:04.492Z] 3a2ae6a8a46f: Pull complete [2022-04-22T08:48:04.751Z] 33b1e0a273af: Pull complete [2022-04-22T08:48:04.751Z] 5d3b04190fa2: Pull complete [2022-04-22T08:48:10.035Z] 2f39f015ded8: Pull complete [2022-04-22T08:48:10.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T08:48:10.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:48:10.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T08:48:10.095Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-04-22T08:48:10.133Z] $ 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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T08:48:12.734Z] $ docker top cf4a34666ef9ed40fb0d2bd58e5ae213cf86be2a5efd3af642f5c97862f011e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:48:13.125Z] ---> job-cost.sh [2022-04-22T08:48:13.125Z] lf-activate-venv: SKIPPING [2022-04-22T08:48:13.125Z] INFO: No Stack... [2022-04-22T08:48:13.695Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T08:48:13.955Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T08:48:14.248Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv [2022-04-22T08:48:14.248Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T08:48:14.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [2022-04-22T08:48:14.271Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] did not exist. Created. [2022-04-22T08:48:14.271Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T08:48:14.571Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T08:48:14.594Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T08:48:14.600Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T08:48:14.623Z] $ docker stop --time=1 cf4a34666ef9ed40fb0d2bd58e5ae213cf86be2a5efd3af642f5c97862f011e3 [2022-04-22T08:48:15.781Z] $ docker rm -f cf4a34666ef9ed40fb0d2bd58e5ae213cf86be2a5efd3af642f5c97862f011e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T08:48:17.812Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21763 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws [2022-04-22T08:48:17.822Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-04-22T08:48:18.075Z] Selected Git installation does not exist. Using Default [2022-04-22T08:48:18.075Z] The recommended git tool is: NONE [2022-04-22T08:48:24.533Z] using credential edgex-jenkins-ssh [2022-04-22T08:48:24.595Z] Cloning the remote Git repository [2022-04-22T08:48:24.654Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-22T08:48:24.730Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-04-22T08:48:24.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-22T08:48:24.817Z] > git --version # timeout=10 [2022-04-22T08:48:24.835Z] > git --version # 'git version 2.25.1' [2022-04-22T08:48:24.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T08:48:24.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T08:48:26.685Z] Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit d466526941577fbd373ebce709283655f16e1fd0 [2022-04-22T08:48:26.894Z] Merge succeeded, producing d466526941577fbd373ebce709283655f16e1fd0 [2022-04-22T08:48:26.895Z] Checking out Revision d466526941577fbd373ebce709283655f16e1fd0 (PR-365) [2022-04-22T08:48:25.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-22T08:48:26.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T08:48:26.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-22T08:48:26.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-22T08:48:26.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T08:48:26.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-22T08:48:26.708Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T08:48:26.723Z] > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 [2022-04-22T08:48:26.809Z] > git remote # timeout=10 [2022-04-22T08:48:26.827Z] > git config --get remote.origin.url # timeout=10 [2022-04-22T08:48:26.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T08:48:26.852Z] > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [2022-04-22T08:48:26.875Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-22T08:48:26.906Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T08:48:26.922Z] > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 [2022-04-22T08:48:31.065Z] Commit message: "feat(snap): use new version of hooks with bug fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T08:48:32.012Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T08:48:32.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T08:48:32.012Z] Dload Upload Total Spent Left Speed [2022-04-22T08:48:32.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh [2022-04-22T08:48:32.515Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T08:48:32.863Z] + sudo tee /etc/docker/daemon.new [2022-04-22T08:48:32.863Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T08:48:32.863Z] { [2022-04-22T08:48:32.863Z] "registry-mirrors": [ [2022-04-22T08:48:32.863Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T08:48:32.863Z] ], [2022-04-22T08:48:32.863Z] "bip": "10.250.0.254/24", [2022-04-22T08:48:32.863Z] "hosts": [ [2022-04-22T08:48:32.863Z] "tcp://0.0.0.0:5555", [2022-04-22T08:48:32.863Z] "unix:///var/run/docker.sock" [2022-04-22T08:48:32.863Z] ], [2022-04-22T08:48:32.863Z] "mtu": 1458, [2022-04-22T08:48:32.863Z] "selinux-enabled": true, [2022-04-22T08:48:32.863Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T08:48:32.863Z] } [Pipeline] sh [2022-04-22T08:48:33.214Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T08:48:33.647Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:48:52.008Z] provisioning config files... [2022-04-22T08:48:52.033Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config6060633341724549030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:48:52.394Z] ---> docker-login.sh [2022-04-22T08:48:52.394Z] nexus3.edgexfoundry.org:10001 [2022-04-22T08:48:52.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:48:53.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:48:53.266Z] Configure a credential helper to remove this warning. See [2022-04-22T08:48:53.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:48:53.266Z] [2022-04-22T08:48:53.266Z] Login Succeeded [2022-04-22T08:48:53.266Z] nexus3.edgexfoundry.org:10002 [2022-04-22T08:48:53.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:48:53.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:48:53.821Z] Configure a credential helper to remove this warning. See [2022-04-22T08:48:53.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:48:53.821Z] [2022-04-22T08:48:53.821Z] Login Succeeded [2022-04-22T08:48:53.821Z] nexus3.edgexfoundry.org:10003 [2022-04-22T08:48:54.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:48:54.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:48:54.094Z] Configure a credential helper to remove this warning. See [2022-04-22T08:48:54.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:48:54.094Z] [2022-04-22T08:48:54.094Z] Login Succeeded [2022-04-22T08:48:54.094Z] nexus3.edgexfoundry.org:10004 [2022-04-22T08:48:54.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:48:54.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:48:54.694Z] Configure a credential helper to remove this warning. See [2022-04-22T08:48:54.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:48:54.694Z] [2022-04-22T08:48:54.694Z] Login Succeeded [2022-04-22T08:48:54.694Z] docker.io [2022-04-22T08:48:54.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T08:48:55.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T08:48:55.561Z] Configure a credential helper to remove this warning. See [2022-04-22T08:48:55.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T08:48:55.561Z] [2022-04-22T08:48:55.561Z] Login Succeeded [2022-04-22T08:48:55.561Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T08:48:55.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T08:48:56.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T08:48:56.157Z] ========================================================= [2022-04-22T08:48:56.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T08:48:56.157Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:48:56.513Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T08:48:56.793Z] Sending build context to Docker daemon 3.081MB [2022-04-22T08:48:56.793Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:48:56.793Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-22T08:48:57.079Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T08:48:57.079Z] 9b3977197b4f: Pulling fs layer [2022-04-22T08:48:57.079Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T08:48:57.079Z] 94645a83ff95: Pulling fs layer [2022-04-22T08:48:57.079Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T08:48:57.079Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T08:48:57.079Z] f7c0051592d6: Pulling fs layer [2022-04-22T08:48:57.079Z] a227ed2f7395: Pulling fs layer [2022-04-22T08:48:57.079Z] 7b1c46037f91: Pulling fs layer [2022-04-22T08:48:57.079Z] f7c0051592d6: Waiting [2022-04-22T08:48:57.079Z] a227ed2f7395: Waiting [2022-04-22T08:48:57.079Z] 7b1c46037f91: Waiting [2022-04-22T08:48:57.079Z] 3f3a8bcf1eab: Waiting [2022-04-22T08:48:57.079Z] 0c92f367c5e7: Waiting [2022-04-22T08:48:57.079Z] 94645a83ff95: Download complete [2022-04-22T08:48:57.079Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T08:48:57.079Z] 1a89e8eeedd5: Download complete [2022-04-22T08:48:57.079Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T08:48:57.079Z] 0c92f367c5e7: Download complete [2022-04-22T08:48:57.079Z] f7c0051592d6: Verifying Checksum [2022-04-22T08:48:57.079Z] f7c0051592d6: Download complete [2022-04-22T08:48:57.079Z] 9b3977197b4f: Verifying Checksum [2022-04-22T08:48:57.079Z] 9b3977197b4f: Download complete [2022-04-22T08:48:57.370Z] a227ed2f7395: Verifying Checksum [2022-04-22T08:48:57.371Z] a227ed2f7395: Download complete [2022-04-22T08:48:57.973Z] 9b3977197b4f: Pull complete [2022-04-22T08:48:58.253Z] 1a89e8eeedd5: Pull complete [2022-04-22T08:48:58.853Z] 94645a83ff95: Pull complete [2022-04-22T08:48:59.129Z] 7b1c46037f91: Download complete [2022-04-22T08:48:59.734Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T08:48:59.734Z] 3f3a8bcf1eab: Download complete [2022-04-22T08:49:12.141Z] 3f3a8bcf1eab: Pull complete [2022-04-22T08:49:12.141Z] 0c92f367c5e7: Pull complete [2022-04-22T08:49:12.141Z] f7c0051592d6: Pull complete [2022-04-22T08:49:12.141Z] a227ed2f7395: Pull complete [2022-04-22T08:49:18.876Z] 7b1c46037f91: Pull complete [2022-04-22T08:49:18.876Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T08:49:18.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T08:49:18.876Z] ---> f79e39bc4007 [2022-04-22T08:49:18.876Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T08:49:19.865Z] ---> Running in 156894f6165a [2022-04-22T08:49:19.865Z] Removing intermediate container 156894f6165a [2022-04-22T08:49:19.865Z] ---> e044d8830aae [2022-04-22T08:49:19.865Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T08:49:20.143Z] ---> Running in 8beaa5ffd0c9 [2022-04-22T08:49:20.427Z] Removing intermediate container 8beaa5ffd0c9 [2022-04-22T08:49:20.427Z] ---> e15dcd5a1627 [2022-04-22T08:49:20.427Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:49:20.427Z] ---> Running in d0f30ee9360c [2022-04-22T08:49:22.407Z] Removing intermediate container d0f30ee9360c [2022-04-22T08:49:22.407Z] ---> 98ec65651977 [2022-04-22T08:49:22.407Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T08:49:22.407Z] ---> Running in 6979b3dfd30a [2022-04-22T08:49:23.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T08:49:23.991Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T08:49:24.973Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-22T08:49:24.973Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-22T08:49:24.973Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-22T08:49:25.247Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-22T08:49:25.247Z] Executing busybox-1.34.1-r3.trigger [2022-04-22T08:49:25.529Z] OK: 224 MiB in 56 packages [2022-04-22T08:49:26.996Z] Removing intermediate container 6979b3dfd30a [2022-04-22T08:49:26.997Z] ---> fcd73cda3a39 [2022-04-22T08:49:26.997Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-22T08:49:26.997Z] ---> Running in c17d3858f141 [2022-04-22T08:49:27.599Z] Removing intermediate container c17d3858f141 [2022-04-22T08:49:27.599Z] ---> 6ac2569c01b7 [2022-04-22T08:49:27.599Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-22T08:49:27.874Z] ---> 4cfbdbba953e [2022-04-22T08:49:27.874Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:49:28.157Z] ---> Running in 64c6955c1acc [2022-04-22T08:50:15.161Z] Removing intermediate container 64c6955c1acc [2022-04-22T08:50:15.161Z] ---> 05f4c0edb2ed [2022-04-22T08:50:15.161Z] Step 10/12 : COPY . . [2022-04-22T08:50:15.161Z] ---> 3a0bdc5dd494 [2022-04-22T08:50:15.161Z] Step 11/12 : ARG MAKE='make build' [2022-04-22T08:50:15.161Z] ---> Running in 0db95eeca280 [2022-04-22T08:50:15.161Z] Removing intermediate container 0db95eeca280 [2022-04-22T08:50:15.161Z] ---> 97a797bbbf80 [2022-04-22T08:50:15.161Z] Step 12/12 : RUN $MAKE [2022-04-22T08:50:15.161Z] ---> Running in 57140a7a9191 [2022-04-22T08:50:15.161Z] noop [2022-04-22T08:50:15.161Z] Removing intermediate container 57140a7a9191 [2022-04-22T08:50:15.161Z] ---> 69f17096797e [2022-04-22T08:50:15.161Z] Successfully built 69f17096797e [2022-04-22T08:50:15.161Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:50:15.505Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T08:50:15.505Z] . [Pipeline] withDockerContainer [2022-04-22T08:50:15.755Z] prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container [2022-04-22T08:50:15.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T08:50:17.107Z] $ docker top b7ccbca0842c1720047c08cd902ec9e738c5b9459a4b3a3d71be042f4c3d3daf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T08:50:18.007Z] + go version [2022-04-22T08:50:18.008Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T08:50:18.044Z] $ docker stop --time=1 b7ccbca0842c1720047c08cd902ec9e738c5b9459a4b3a3d71be042f4c3d3daf [2022-04-22T08:50:19.683Z] $ docker rm -f b7ccbca0842c1720047c08cd902ec9e738c5b9459a4b3a3d71be042f4c3d3daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:50:20.301Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T08:50:20.301Z] . [Pipeline] withDockerContainer [2022-04-22T08:50:20.519Z] prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container [2022-04-22T08:50:20.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T08:50:21.884Z] $ docker top 878248096bbe594f32b138bea434859ba19e70a19b3133d5de0e5fb6ceab417e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T08:50:22.799Z] + make test [2022-04-22T08:50:22.799Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-22T08:50:24.239Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-22T08:51:46.131Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-22T08:51:46.131Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-04-22T08:51:46.131Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-22T08:51:46.131Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T08:51:46.131Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-22T08:52:08.308Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T08:52:08.308Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T08:52:08.308Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T08:52:10.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T08:52:10.333Z] $ docker stop --time=1 878248096bbe594f32b138bea434859ba19e70a19b3133d5de0e5fb6ceab417e [2022-04-22T08:52:12.072Z] $ docker rm -f 878248096bbe594f32b138bea434859ba19e70a19b3133d5de0e5fb6ceab417e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T08:52:13.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T08:52:13.023Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T08:52:13.499Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T08:52:13.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T08:52:14.228Z] + ls -al . [2022-04-22T08:52:14.228Z] total 172 [2022-04-22T08:52:14.228Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 08:52 . [2022-04-22T08:52:14.228Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:48 .. [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:48 .dockerignore [2022-04-22T08:52:14.228Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:48 .git [2022-04-22T08:52:14.228Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 .github [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 08:48 .gitignore [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:48 .golangci.yml [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 08:48 Attribution.txt [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 08:48 CHANGELOG.md [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:48 Dockerfile [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:48 GOVERNANCE.md [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 08:48 Jenkinsfile [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:48 LICENSE [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:48 Makefile [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 08:48 OWNERS.md [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 08:48 README.md [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:46 VERSION [2022-04-22T08:52:14.228Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:48 bin [2022-04-22T08:52:14.228Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 cmd [2022-04-22T08:52:14.228Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 08:51 coverage.out [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 08:48 go.mod [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 08:48 go.sum [2022-04-22T08:52:14.228Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 internal [2022-04-22T08:52:14.228Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:48 mock [2022-04-22T08:52:14.228Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:48 snap [2022-04-22T08:52:14.228Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 08:48 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:52:14.579Z] + 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=d466526941577fbd373ebce709283655f16e1fd0 --label arch=arm64 --label version=0.0.0 . [2022-04-22T08:52:14.853Z] Sending build context to Docker daemon 3.099MB [2022-04-22T08:52:14.853Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T08:52:14.853Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-22T08:52:14.853Z] ---> 69f17096797e [2022-04-22T08:52:14.853Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-22T08:52:15.127Z] ---> Running in dd35793066eb [2022-04-22T08:52:15.400Z] Removing intermediate container dd35793066eb [2022-04-22T08:52:15.400Z] ---> 1e1e62f67092 [2022-04-22T08:52:15.400Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-22T08:52:15.400Z] ---> Running in bff8f2e1a608 [2022-04-22T08:52:15.674Z] Removing intermediate container bff8f2e1a608 [2022-04-22T08:52:15.674Z] ---> 36637b1e7042 [2022-04-22T08:52:15.674Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T08:52:15.956Z] ---> Running in 79ab108cee44 [2022-04-22T08:52:17.400Z] Removing intermediate container 79ab108cee44 [2022-04-22T08:52:17.400Z] ---> 5fac05ad4a0b [2022-04-22T08:52:17.400Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-22T08:52:17.400Z] ---> Running in a3d0b46a4fec [2022-04-22T08:52:18.384Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T08:52:19.368Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T08:52:20.348Z] OK: 224 MiB in 56 packages [2022-04-22T08:52:20.949Z] Removing intermediate container a3d0b46a4fec [2022-04-22T08:52:20.949Z] ---> 1597fc454e06 [2022-04-22T08:52:20.949Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-22T08:52:21.226Z] ---> Running in 2378c236aa5f [2022-04-22T08:52:21.528Z] Removing intermediate container 2378c236aa5f [2022-04-22T08:52:21.528Z] ---> 344e0b2afc9b [2022-04-22T08:52:21.528Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-22T08:52:22.153Z] ---> bbe082a1eceb [2022-04-22T08:52:22.153Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T08:52:22.153Z] ---> Running in 9c99f76cf890 [2022-04-22T08:52:24.232Z] Removing intermediate container 9c99f76cf890 [2022-04-22T08:52:24.232Z] ---> b646ec287737 [2022-04-22T08:52:24.232Z] Step 10/24 : COPY . . [2022-04-22T08:52:25.220Z] ---> ed841767d51a [2022-04-22T08:52:25.220Z] Step 11/24 : ARG MAKE='make build' [2022-04-22T08:52:25.499Z] ---> Running in 0bc6b39b28f9 [2022-04-22T08:52:25.772Z] Removing intermediate container 0bc6b39b28f9 [2022-04-22T08:52:25.772Z] ---> 40a6162964f8 [2022-04-22T08:52:25.772Z] Step 12/24 : RUN $MAKE [2022-04-22T08:52:25.772Z] ---> Running in 3f5075acecd3 [2022-04-22T08:52:26.753Z] GCO_ENABLED=1 GO111MODULE=on go build -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-04-22T08:54:33.609Z] Removing intermediate container 3f5075acecd3 [2022-04-22T08:54:33.609Z] ---> dfd50282de22 [2022-04-22T08:54:33.609Z] Step 13/24 : FROM alpine:3.14 [2022-04-22T08:54:33.609Z] 3.14: Pulling from library/alpine [2022-04-22T08:54:33.609Z] 455c02918c45: Pulling fs layer [2022-04-22T08:54:33.609Z] 455c02918c45: Verifying Checksum [2022-04-22T08:54:33.609Z] 455c02918c45: Download complete [2022-04-22T08:54:33.609Z] 455c02918c45: Pull complete [2022-04-22T08:54:33.609Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T08:54:33.609Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T08:54:33.609Z] ---> ac73e934f311 [2022-04-22T08:54:33.609Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-22T08:54:33.609Z] ---> Running in 5cae67733fbe [2022-04-22T08:54:33.609Z] Removing intermediate container 5cae67733fbe [2022-04-22T08:54:33.609Z] ---> e4f350b04454 [2022-04-22T08:54:33.609Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-22T08:54:33.609Z] ---> Running in 69c59ff859dc [2022-04-22T08:54:33.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T08:54:33.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T08:54:33.609Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-22T08:54:33.609Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T08:54:33.609Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-22T08:54:33.609Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T08:54:33.609Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-22T08:54:33.609Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-22T08:54:33.609Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T08:54:33.609Z] OK: 8 MiB in 20 packages [2022-04-22T08:54:33.609Z] Removing intermediate container 69c59ff859dc [2022-04-22T08:54:33.609Z] ---> 8b40672b9510 [2022-04-22T08:54:33.609Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-22T08:54:33.609Z] ---> fff02adb5a48 [2022-04-22T08:54:33.609Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-22T08:54:33.609Z] ---> 1a1a0ee88b42 [2022-04-22T08:54:33.609Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-22T08:54:33.609Z] ---> d0ed837651b1 [2022-04-22T08:54:33.609Z] Step 19/24 : EXPOSE 59982 [2022-04-22T08:54:33.609Z] ---> Running in 887301e2eca6 [2022-04-22T08:54:33.609Z] Removing intermediate container 887301e2eca6 [2022-04-22T08:54:33.609Z] ---> 984c717a76d4 [2022-04-22T08:54:33.609Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-22T08:54:33.609Z] ---> Running in acc06107d0b7 [2022-04-22T08:54:33.609Z] Removing intermediate container acc06107d0b7 [2022-04-22T08:54:33.609Z] ---> ba972f6cfeb0 [2022-04-22T08:54:33.609Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T08:54:33.609Z] ---> Running in e986e661243a [2022-04-22T08:54:33.609Z] Removing intermediate container e986e661243a [2022-04-22T08:54:33.609Z] ---> 2ee1805a369b [2022-04-22T08:54:33.609Z] Step 22/24 : LABEL arch=arm64 [2022-04-22T08:54:33.609Z] ---> Running in 2ea3d711a3ec [2022-04-22T08:54:33.609Z] Removing intermediate container 2ea3d711a3ec [2022-04-22T08:54:33.609Z] ---> 873783fb5d34 [2022-04-22T08:54:33.609Z] Step 23/24 : LABEL git_sha=d466526941577fbd373ebce709283655f16e1fd0 [2022-04-22T08:54:33.609Z] ---> Running in 0bd73265b41e [2022-04-22T08:54:33.609Z] Removing intermediate container 0bd73265b41e [2022-04-22T08:54:33.609Z] ---> c6cf2715656f [2022-04-22T08:54:33.609Z] Step 24/24 : LABEL version=0.0.0 [2022-04-22T08:54:33.609Z] ---> Running in 50717916f294 [2022-04-22T08:54:33.609Z] Removing intermediate container 50717916f294 [2022-04-22T08:54:33.609Z] ---> dd23e2a55536 [2022-04-22T08:54:33.609Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T08:54:33.609Z] Successfully built dd23e2a55536 [2022-04-22T08:54:33.609Z] Successfully tagged device-mqtt-arm64:latest [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] sh [2022-04-22T08:54:34.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T08:54:34.046Z] [2022-04-22T08:54:34.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:54:34.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T08:54:34.672Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T08:54:34.672Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T08:54:34.672Z] 04944245beec: Pulling fs layer [2022-04-22T08:54:34.672Z] 699f458cf7ca: Pulling fs layer [2022-04-22T08:54:34.672Z] 765212b225bb: Pulling fs layer [2022-04-22T08:54:34.672Z] f23df028b6ca: Pulling fs layer [2022-04-22T08:54:34.672Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T08:54:34.672Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T08:54:34.672Z] 2437ff75d9bd: Waiting [2022-04-22T08:54:34.672Z] 765212b225bb: Waiting [2022-04-22T08:54:34.672Z] f23df028b6ca: Waiting [2022-04-22T08:54:34.672Z] d65c8cfc05b1: Waiting [2022-04-22T08:54:34.672Z] 04944245beec: Verifying Checksum [2022-04-22T08:54:34.672Z] 04944245beec: Download complete [2022-04-22T08:54:34.672Z] 765212b225bb: Download complete [2022-04-22T08:54:34.672Z] f23df028b6ca: Download complete [2022-04-22T08:54:34.672Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T08:54:34.672Z] d65c8cfc05b1: Download complete [2022-04-22T08:54:34.947Z] 699f458cf7ca: Verifying Checksum [2022-04-22T08:54:34.947Z] 699f458cf7ca: Download complete [2022-04-22T08:54:35.222Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T08:54:35.222Z] 8998bd30e6a1: Download complete [2022-04-22T08:54:37.867Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T08:54:37.867Z] 2437ff75d9bd: Download complete [2022-04-22T08:54:39.307Z] 8998bd30e6a1: Pull complete [2022-04-22T08:54:39.906Z] 04944245beec: Pull complete [2022-04-22T08:54:41.345Z] 699f458cf7ca: Pull complete [2022-04-22T08:54:41.618Z] 765212b225bb: Pull complete [2022-04-22T08:54:42.596Z] f23df028b6ca: Pull complete [2022-04-22T08:54:42.596Z] d65c8cfc05b1: Pull complete [2022-04-22T08:54:57.677Z] 2437ff75d9bd: Pull complete [2022-04-22T08:54:57.677Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T08:54:57.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T08:54:57.677Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T08:54:57.896Z] prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container [2022-04-22T08:54:57.988Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-22T08:55:00.450Z] $ docker top 188c9db0d7492f13c6bdece4d79b1e005df08e81131b3fe275b0cfae9b7e2888 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:01.367Z] ---> job-cost.sh [2022-04-22T08:55:01.367Z] lf-activate-venv: SKIPPING [2022-04-22T08:55:01.367Z] INFO: No Stack... [2022-04-22T08:55:01.639Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T08:55:02.611Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T08:55:03.274Z] + + cutcat -d, /w/workspace/device-mqtt-go/3/archives/cost.csv -f6 [2022-04-22T08:55:03.274Z] [Pipeline] lock [2022-04-22T08:55:03.341Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [2022-04-22T08:55:03.346Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] did not exist. Created. [2022-04-22T08:55:03.347Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T08:55:04.023Z] /w/workspace/device-mqtt-go/3@tmp/durable-102f7a5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T08:55:04.700Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T08:55:04.722Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T08:55:04.772Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T08:55:04.778Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T08:55:04.811Z] $ docker stop --time=1 188c9db0d7492f13c6bdece4d79b1e005df08e81131b3fe275b0cfae9b7e2888 [2022-04-22T08:55:06.303Z] $ docker rm -f 188c9db0d7492f13c6bdece4d79b1e005df08e81131b3fe275b0cfae9b7e2888 [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-04-22T08:55:06.811Z] provisioning config files... [2022-04-22T08:55:06.821Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config856146462197945189tmp [Pipeline] { [Pipeline] sh [2022-04-22T08:55:07.120Z] + set +x [2022-04-22T08:55:07.121Z] + curl -s https://codecov.io/bash [2022-04-22T08:55:07.121Z] + bash -s -- [2022-04-22T08:55:07.121Z] [2022-04-22T08:55:07.121Z] _____ _ [2022-04-22T08:55:07.121Z] / ____| | | [2022-04-22T08:55:07.121Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T08:55:07.121Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T08:55:07.121Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T08:55:07.121Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T08:55:07.121Z] Bash-1.0.6 [2022-04-22T08:55:07.121Z] [2022-04-22T08:55:07.121Z] [2022-04-22T08:55:07.121Z] ==> git version 2.25.1 found [2022-04-22T08:55:07.121Z] ==> 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-04-22T08:55:07.121Z] Release-Date: 2020-01-08 [2022-04-22T08:55:07.121Z] 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-04-22T08:55:07.121Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T08:55:07.121Z] ==> Jenkins CI detected. [2022-04-22T08:55:07.121Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 [2022-04-22T08:55:07.121Z] project root: . [2022-04-22T08:55:07.121Z] --> token set from env [2022-04-22T08:55:07.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T08:55:07.121Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T08:55:07.121Z] ==> Python coveragepy not found [2022-04-22T08:55:07.121Z] ==> Searching for coverage reports in: [2022-04-22T08:55:07.121Z] + . [2022-04-22T08:55:07.121Z] -> Found 1 reports [2022-04-22T08:55:07.121Z] ==> Detecting git/mercurial file structure [2022-04-22T08:55:07.121Z] ==> Reading reports [2022-04-22T08:55:07.121Z] + ./coverage.out bytes=17887 [2022-04-22T08:55:07.121Z] ==> Appending adjustments [2022-04-22T08:55:07.121Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T08:55:07.381Z] + Found adjustments [2022-04-22T08:55:07.381Z] ==> Gzipping contents [2022-04-22T08:55:07.381Z] 4.0K /tmp/codecov.HZK1fj.gz [2022-04-22T08:55:07.381Z] ==> Uploading reports [2022-04-22T08:55:07.381Z] url: https://codecov.io [2022-04-22T08:55:07.381Z] query: branch=PR-365&commit=d466526941577fbd373ebce709283655f16e1fd0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= [2022-04-22T08:55:07.381Z] -> Pinging Codecov [2022-04-22T08:55:07.381Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-365&commit=d466526941577fbd373ebce709283655f16e1fd0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= [2022-04-22T08:55:07.641Z] -> Uploading to [2022-04-22T08:55:07.641Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7D719EC7BBE17E464838252E33014C33/d466526941577fbd373ebce709283655f16e1fd0/e10a93c4-9a5f-49fe-9044-5f1ffb58c1b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T085507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=549ffbfd23039be2578fff6cb3ba2ca57f57f341f5d3d0aa3d0178660b0c3728 [2022-04-22T08:55:07.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T08:55:07.641Z] Dload Upload Total Spent Left Speed [2022-04-22T08:55:07.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 13186 --:--:-- --:--:-- --:--:-- 13186 [2022-04-22T08:55:07.903Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] } [2022-04-22T08:55:07.913Z] 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-04-22T08:55:08.660Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] [2022-04-22T08:55:08.660Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives [2022-04-22T08:55:08.660Z] total 16 [2022-04-22T08:55:08.660Z] drwxr-xr-x 3 root root 4096 Apr 22 08:48 . [2022-04-22T08:55:08.660Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:48 .. [2022-04-22T08:55:08.660Z] drwxr-xr-x 2 root root 4096 Apr 22 08:48 cost [2022-04-22T08:55:08.660Z] -rw-r--r-- 1 root root 85 Apr 22 08:48 cost.csv [2022-04-22T08:55:08.660Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives [2022-04-22T08:55:08.660Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives [2022-04-22T08:55:08.660Z] total 16 [2022-04-22T08:55:08.660Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 08:48 . [2022-04-22T08:55:08.660Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:48 .. [2022-04-22T08:55:08.660Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 08:48 cost [2022-04-22T08:55:08.660Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 22 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:08.953Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:09.817Z] ---> package-listing.sh [2022-04-22T08:55:09.817Z] ++ facter osfamily [2022-04-22T08:55:09.817Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T08:55:10.077Z] + OS_FAMILY=debian [2022-04-22T08:55:10.077Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 [2022-04-22T08:55:10.077Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T08:55:10.077Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T08:55:10.077Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T08:55:10.077Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T08:55:10.077Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' [2022-04-22T08:55:10.077Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T08:55:10.077Z] + case "${OS_FAMILY}" in [2022-04-22T08:55:10.077Z] + dpkg -l [2022-04-22T08:55:10.077Z] + grep '^ii' [2022-04-22T08:55:10.077Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T08:55:10.077Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T08:55:10.077Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T08:55:10.077Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' [2022-04-22T08:55:10.077Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [2022-04-22T08:55:10.077Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [Pipeline] echo [2022-04-22T08:55:10.087Z] 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T08:55:10.367Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T08:55:10.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T08:55:10.924Z] . [Pipeline] withDockerContainer [2022-04-22T08:55:11.058Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-04-22T08:55:11.099Z] $ 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-365/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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T08:55:11.341Z] $ docker top c48b974e624666adee98d0802d067320c5c9b91a1597f1868b471a07460926c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T08:55:11.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T08:55:11.986Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T08:55:12.279Z] + ls /var/log/sa-host [2022-04-22T08:55:12.279Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T08:55:12.378Z] provisioning config files... [2022-04-22T08:55:12.397Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5005174901322844479tmp [Pipeline] { [Pipeline] echo [2022-04-22T08:55:12.420Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:12.705Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T08:55:12.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:13.059Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T08:55:13.069Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:13.359Z] ---> sudo-logs.sh [2022-04-22T08:55:13.359Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T08:55:13.386Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:13.676Z] ---> job-cost.sh [2022-04-22T08:55:13.676Z] lf-activate-venv: SKIPPING [2022-04-22T08:55:13.676Z] DEBUG: total: 0.2199999988079071 [2022-04-22T08:55:13.676Z] INFO: Retrieving Stack Cost... [2022-04-22T08:55:13.936Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T08:55:14.508Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T08:55:14.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T08:55:14.811Z] ---> logs-deploy.sh [2022-04-22T08:55:14.811Z] lf-activate-venv: SKIPPING [2022-04-22T08:55:14.811Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/3 [2022-04-22T08:55:14.811Z] INFO: archiving workspace using pattern(s): [2022-04-22T08:55:15.755Z] Archives upload complete. [2022-04-22T08:55:15.755Z] INFO: archiving logs to Nexus