Pull request #413 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8399587204a84457c9357bb2ad557a89da12c711+848b2de29f6cbb620b3229edbec9a9c03b237451 (0c50a7bf8feec634a3fb8d5bfaa827588c385f3e) 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-ssh7343229431672663327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2277995683903788654.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh934295716134849381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16425610595916072995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16494388028512813913.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17861369419885169893.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-28916 in /w/workspace/gexfoundry_device-mqtt-go_PR-413 [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-413 # 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 848b2de29f6cbb620b3229edbec9a9c03b237451 into PR head commit 8399587204a84457c9357bb2ad557a89da12c711 Merge succeeded, producing 8399587204a84457c9357bb2ad557a89da12c711 Checking out Revision 8399587204a84457c9357bb2ad557a89da12c711 (PR-413) > 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/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8399587204a84457c9357bb2ad557a89da12c711 # 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 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8399587204a84457c9357bb2ad557a89da12c711 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-12T01:35:18.693Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-12T01:35:18.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-12T01:35:18.960Z] ========================================================= [2022-09-12T01:35:18.960Z] EdgeX Global Pipelines Version Info [2022-09-12T01:35:18.960Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:35:19.742Z] ------------------- [2022-09-12T01:35:19.742Z] stable info: [2022-09-12T01:35:19.742Z] ------------------- [2022-09-12T01:35:19.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-12T01:35:19.742Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T01:35:19.742Z] Message: update stable to v1.0.239 [2022-09-12T01:35:20.316Z] ------------------- [2022-09-12T01:35:20.316Z] experimental info: [2022-09-12T01:35:20.316Z] ------------------- [2022-09-12T01:35:20.316Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-12T01:35:20.316Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T01:35:20.317Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-12T01:35:20.644Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-09-12T01:35:20.685Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-09-12T01:35:20.723Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-12T01:35:20.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-12T01:35:20.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-12T01:35:20.844Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-12T01:35:20.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-12T01:35:20.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-12T01:35:20.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-12T01:35:20.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-12T01:35:21.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-12T01:35:21.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-09-12T01:35:21.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-12T01:35:21.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-12T01:35:21.192Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T01:35:21.234Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T01:35:21.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T01:35:21.324Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T01:35:21.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-12T01:35:21.406Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-12T01:35:21.445Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-12T01:35:21.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-12T01:35:21.529Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-12T01:35:21.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-12T01:35:21.622Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-12T01:35:21.675Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-12T01:35:21.729Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-12T01:35:21.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo [2022-09-12T01:35:21.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo [2022-09-12T01:35:21.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo [2022-09-12T01:35:21.941Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8399587204a84457c9357bb2ad557a89da12c711 [Pipeline] echo [2022-09-12T01:35:21.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8399587 [Pipeline] echo [2022-09-12T01:35:22.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:35:22.179Z] provisioning config files... [2022-09-12T01:35:22.193Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/config1941921335697056745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:35:22.584Z] ---> docker-login.sh [2022-09-12T01:35:22.584Z] nexus3.edgexfoundry.org:10001 [2022-09-12T01:35:22.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:23.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:23.104Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:23.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:23.104Z] [2022-09-12T01:35:23.105Z] Login Succeeded [2022-09-12T01:35:23.105Z] nexus3.edgexfoundry.org:10002 [2022-09-12T01:35:23.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:23.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:23.105Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:23.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:23.105Z] [2022-09-12T01:35:23.105Z] Login Succeeded [2022-09-12T01:35:23.105Z] nexus3.edgexfoundry.org:10003 [2022-09-12T01:35:23.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:23.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:23.366Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:23.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:23.366Z] [2022-09-12T01:35:23.366Z] Login Succeeded [2022-09-12T01:35:23.366Z] nexus3.edgexfoundry.org:10004 [2022-09-12T01:35:23.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:23.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:23.366Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:23.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:23.366Z] [2022-09-12T01:35:23.366Z] Login Succeeded [2022-09-12T01:35:23.366Z] docker.io [2022-09-12T01:35:23.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:23.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:23.889Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:23.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:23.889Z] [2022-09-12T01:35:23.889Z] Login Succeeded [2022-09-12T01:35:23.889Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T01:35:23.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-12T01:35:24.520Z] + git rev-list -1 --merges 8399587204a84457c9357bb2ad557a89da12c711~1..8399587204a84457c9357bb2ad557a89da12c711 [Pipeline] echo [2022-09-12T01:35:24.562Z] -----------> git rev-list -1 --merges 8399587204a84457c9357bb2ad557a89da12c711~1..8399587204a84457c9357bb2ad557a89da12c711 8399587204a84457c9357bb2ad557a89da12c711 [false] [Pipeline] sh [2022-09-12T01:35:24.873Z] + git log --format=format:%s -1 8399587204a84457c9357bb2ad557a89da12c711 [Pipeline] echo [2022-09-12T01:35:24.908Z] ========================================================= [2022-09-12T01:35:24.909Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-12T01:35:24.909Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T01:35:25.357Z] + git log --format=format:%s -1 8399587204a84457c9357bb2ad557a89da12c711 [Pipeline] echo [2022-09-12T01:35:25.386Z] [semverPrep] GIT_COMMIT: 8399587204a84457c9357bb2ad557a89da12c711, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-12T01:35:25.412Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-12T01:35:25.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-12T01:35:25.817Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-12T01:35:25.817Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-12T01:35:25.817Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-12T01:35:25.817Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-12T01:35:25.817Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-12T01:35:25.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:35:26.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T01:35:26.330Z] [2022-09-12T01:35:26.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:35:26.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T01:35:26.711Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-12T01:35:26.711Z] b85a868b505f: Pulling fs layer [2022-09-12T01:35:26.711Z] e2be974225ed: Pulling fs layer [2022-09-12T01:35:26.711Z] 339a4e72a1f5: Pulling fs layer [2022-09-12T01:35:26.711Z] 988bab9f4d93: Pulling fs layer [2022-09-12T01:35:26.711Z] 988bab9f4d93: Waiting [2022-09-12T01:35:26.711Z] 1469e6f7b9e6: Pulling fs layer [2022-09-12T01:35:26.711Z] eaf3925da568: Pulling fs layer [2022-09-12T01:35:26.711Z] eaf3925da568: Waiting [2022-09-12T01:35:26.711Z] 1469e6f7b9e6: Waiting [2022-09-12T01:35:26.711Z] bab4dde63d76: Pulling fs layer [2022-09-12T01:35:26.711Z] bde34c3a00c8: Pulling fs layer [2022-09-12T01:35:26.711Z] b352a97aabf1: Pulling fs layer [2022-09-12T01:35:26.711Z] bde34c3a00c8: Waiting [2022-09-12T01:35:26.711Z] bab4dde63d76: Waiting [2022-09-12T01:35:26.711Z] 4872d77fe225: Pulling fs layer [2022-09-12T01:35:26.711Z] 5851b861e8e6: Pulling fs layer [2022-09-12T01:35:26.711Z] 4872d77fe225: Waiting [2022-09-12T01:35:26.711Z] 5851b861e8e6: Waiting [2022-09-12T01:35:26.711Z] b352a97aabf1: Waiting [2022-09-12T01:35:26.711Z] e2be974225ed: Verifying Checksum [2022-09-12T01:35:26.711Z] e2be974225ed: Download complete [2022-09-12T01:35:26.711Z] 988bab9f4d93: Download complete [2022-09-12T01:35:26.972Z] 1469e6f7b9e6: Verifying Checksum [2022-09-12T01:35:26.972Z] 1469e6f7b9e6: Download complete [2022-09-12T01:35:26.972Z] eaf3925da568: Verifying Checksum [2022-09-12T01:35:26.972Z] eaf3925da568: Download complete [2022-09-12T01:35:26.972Z] 339a4e72a1f5: Verifying Checksum [2022-09-12T01:35:26.972Z] 339a4e72a1f5: Download complete [2022-09-12T01:35:26.972Z] bde34c3a00c8: Verifying Checksum [2022-09-12T01:35:26.972Z] bde34c3a00c8: Download complete [2022-09-12T01:35:26.972Z] b352a97aabf1: Verifying Checksum [2022-09-12T01:35:26.972Z] b352a97aabf1: Download complete [2022-09-12T01:35:26.972Z] 4872d77fe225: Verifying Checksum [2022-09-12T01:35:26.972Z] 4872d77fe225: Download complete [2022-09-12T01:35:26.972Z] 5851b861e8e6: Verifying Checksum [2022-09-12T01:35:26.972Z] 5851b861e8e6: Download complete [2022-09-12T01:35:26.972Z] b85a868b505f: Verifying Checksum [2022-09-12T01:35:26.972Z] b85a868b505f: Download complete [2022-09-12T01:35:27.232Z] bab4dde63d76: Download complete [2022-09-12T01:35:28.175Z] b85a868b505f: Pull complete [2022-09-12T01:35:28.434Z] e2be974225ed: Pull complete [2022-09-12T01:35:29.003Z] 339a4e72a1f5: Pull complete [2022-09-12T01:35:29.003Z] 988bab9f4d93: Pull complete [2022-09-12T01:35:29.264Z] 1469e6f7b9e6: Pull complete [2022-09-12T01:35:29.264Z] eaf3925da568: Pull complete [2022-09-12T01:35:31.169Z] bab4dde63d76: Pull complete [2022-09-12T01:35:31.169Z] bde34c3a00c8: Pull complete [2022-09-12T01:35:31.169Z] b352a97aabf1: Pull complete [2022-09-12T01:35:31.169Z] 4872d77fe225: Pull complete [2022-09-12T01:35:31.431Z] 5851b861e8e6: Pull complete [2022-09-12T01:35:31.431Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-12T01:35:31.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T01:35:31.431Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:35:31.665Z] prd-ubuntu20.04-docker-8c-8g-28916 does not seem to be running inside a container [2022-09-12T01:35:31.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-413 -v /w/workspace/gexfoundry_device-mqtt-go_PR-413:/w/workspace/gexfoundry_device-mqtt-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-12T01:35:32.773Z] $ docker top 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 -eo pid,comm [2022-09-12T01:35:32.838Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-12T01:35:32.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-12T01:35:32.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T01:35:32.968Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T01:35:33.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T01:35:33.094Z] $ docker exec 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 ssh-agent [2022-09-12T01:35:33.224Z] SSH_AUTH_SOCK=/tmp/ssh-flmrVX431L93/agent.32 [2022-09-12T01:35:33.224Z] SSH_AGENT_PID=38 [2022-09-12T01:35:33.230Z] Running ssh-add (command line suppressed) [2022-09-12T01:35:33.357Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/private_key_3732865962842275984.key (/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/private_key_3732865962842275984.key) [2022-09-12T01:35:33.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T01:35:33.708Z] + git tag --points-at HEAD [Pipeline] } [2022-09-12T01:35:33.734Z] $ docker exec --env ******** --env ******** 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 ssh-agent -k [2022-09-12T01:35:33.826Z] unset SSH_AUTH_SOCK; [2022-09-12T01:35:33.826Z] unset SSH_AGENT_PID; [2022-09-12T01:35:33.827Z] echo Agent pid 38 killed; [2022-09-12T01:35:33.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-12T01:35:33.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T01:35:33.939Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T01:35:34.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T01:35:34.065Z] $ docker exec 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 ssh-agent [2022-09-12T01:35:34.176Z] SSH_AUTH_SOCK=/tmp/ssh-Z9uBcAhe1Qbb/agent.71 [2022-09-12T01:35:34.176Z] SSH_AGENT_PID=78 [2022-09-12T01:35:34.182Z] Running ssh-add (command line suppressed) [2022-09-12T01:35:34.301Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/private_key_8926419816031295419.key (/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/private_key_8926419816031295419.key) [2022-09-12T01:35:34.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T01:35:34.662Z] + git semver init [2022-09-12T01:35:34.924Z] 2022-09-12 01:35:34,838 [run_init] DEBUG init version:0.0.0 force:False [2022-09-12T01:35:34.924Z] 2022-09-12 01:35:34,838 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver [2022-09-12T01:35:34.924Z] 2022-09-12 01:35:34,839 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver [2022-09-12T01:35:34.924Z] 2022-09-12 01:35:34,839 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-413, universal_newlines=False, shell=None, istream=None) [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,662 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-413/.git/info/exclude [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,662 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver/PR-413 with force:False [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,662 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver/PR-413 [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,667 [execute] INFO git cat-file --batch-check [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,673 [execute] INFO git cat-file --batch [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,673 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T01:35:35.868Z] 2022-09-12 01:35:35,677 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-413/.semver/PR-413 [2022-09-12T01:35:35.868Z] 0.0.0 [Pipeline] } [2022-09-12T01:35:35.894Z] $ docker exec --env ******** --env ******** 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 ssh-agent -k [2022-09-12T01:35:35.997Z] unset SSH_AUTH_SOCK; [2022-09-12T01:35:35.997Z] unset SSH_AGENT_PID; [2022-09-12T01:35:35.998Z] echo Agent pid 78 killed; [2022-09-12T01:35:36.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-12T01:35:36.433Z] + git semver [Pipeline] } [2022-09-12T01:35:36.719Z] $ docker stop --time=1 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 [2022-09-12T01:35:38.001Z] $ docker rm -f 26b73b1607b57e0bddc36aa977cbf7a68f029db3c464e6b77f2e91763a065293 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T01:35:38.424Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-12T01:35:38.763Z] Stashed 1 file(s) [Pipeline] echo [2022-09-12T01:35:38.778Z] [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-09-12T01:35:39.426Z] provisioning config files... [2022-09-12T01:35:39.437Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/config2567188850115111841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:35:39.788Z] ---> docker-login.sh [2022-09-12T01:35:39.788Z] nexus3.edgexfoundry.org:10001 [2022-09-12T01:35:39.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:39.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:39.788Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:39.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:39.788Z] [2022-09-12T01:35:39.788Z] Login Succeeded [2022-09-12T01:35:39.788Z] nexus3.edgexfoundry.org:10002 [2022-09-12T01:35:39.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:40.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:40.049Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:40.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:40.049Z] [2022-09-12T01:35:40.049Z] Login Succeeded [2022-09-12T01:35:40.049Z] nexus3.edgexfoundry.org:10003 [2022-09-12T01:35:40.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:40.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:40.049Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:40.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:40.049Z] [2022-09-12T01:35:40.049Z] Login Succeeded [2022-09-12T01:35:40.049Z] nexus3.edgexfoundry.org:10004 [2022-09-12T01:35:40.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:40.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:40.309Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:40.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:40.309Z] [2022-09-12T01:35:40.309Z] Login Succeeded [2022-09-12T01:35:40.309Z] docker.io [2022-09-12T01:35:40.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:35:40.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:35:40.573Z] Configure a credential helper to remove this warning. See [2022-09-12T01:35:40.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:35:40.573Z] [2022-09-12T01:35:40.573Z] Login Succeeded [2022-09-12T01:35:40.573Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T01:35:40.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T01:35:40.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:35:40.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:35:40.861Z] ========================================================= [2022-09-12T01:35:40.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-12T01:35:40.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:35:41.335Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-12T01:35:41.335Z] Sending build context to Docker daemon 6.102MB [2022-09-12T01:35:41.335Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:35:41.335Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-12T01:35:41.335Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-12T01:35:41.335Z] 2408cc74d12b: Pulling fs layer [2022-09-12T01:35:41.335Z] ea60b727a1ce: Pulling fs layer [2022-09-12T01:35:41.335Z] 30c4a7721957: Pulling fs layer [2022-09-12T01:35:41.335Z] 370296b7ddb6: Pulling fs layer [2022-09-12T01:35:41.335Z] 7c6cee850709: Pulling fs layer [2022-09-12T01:35:41.335Z] 39a5fcdaea64: Pulling fs layer [2022-09-12T01:35:41.335Z] d94ebbe4e438: Pulling fs layer [2022-09-12T01:35:41.335Z] bcfd1f05c69d: Pulling fs layer [2022-09-12T01:35:41.335Z] 59ccb84bbe0f: Pulling fs layer [2022-09-12T01:35:41.335Z] 7c6cee850709: Waiting [2022-09-12T01:35:41.335Z] 39a5fcdaea64: Waiting [2022-09-12T01:35:41.335Z] d94ebbe4e438: Waiting [2022-09-12T01:35:41.335Z] bcfd1f05c69d: Waiting [2022-09-12T01:35:41.335Z] 59ccb84bbe0f: Waiting [2022-09-12T01:35:41.335Z] 370296b7ddb6: Waiting [2022-09-12T01:35:41.335Z] 30c4a7721957: Download complete [2022-09-12T01:35:41.335Z] ea60b727a1ce: Download complete [2022-09-12T01:35:41.335Z] 7c6cee850709: Verifying Checksum [2022-09-12T01:35:41.335Z] 7c6cee850709: Download complete [2022-09-12T01:35:41.335Z] 39a5fcdaea64: Verifying Checksum [2022-09-12T01:35:41.335Z] 39a5fcdaea64: Download complete [2022-09-12T01:35:41.601Z] 2408cc74d12b: Download complete [2022-09-12T01:35:41.601Z] d94ebbe4e438: Download complete [2022-09-12T01:35:41.601Z] 2408cc74d12b: Pull complete [2022-09-12T01:35:41.876Z] ea60b727a1ce: Pull complete [2022-09-12T01:35:41.876Z] 30c4a7721957: Pull complete [2022-09-12T01:35:42.140Z] 59ccb84bbe0f: Verifying Checksum [2022-09-12T01:35:42.140Z] 59ccb84bbe0f: Download complete [2022-09-12T01:35:42.140Z] bcfd1f05c69d: Verifying Checksum [2022-09-12T01:35:42.140Z] bcfd1f05c69d: Download complete [2022-09-12T01:35:42.400Z] 370296b7ddb6: Verifying Checksum [2022-09-12T01:35:42.400Z] 370296b7ddb6: Download complete [2022-09-12T01:35:46.605Z] 370296b7ddb6: Pull complete [2022-09-12T01:35:46.605Z] 7c6cee850709: Pull complete [2022-09-12T01:35:46.605Z] 39a5fcdaea64: Pull complete [2022-09-12T01:35:46.605Z] d94ebbe4e438: Pull complete [2022-09-12T01:35:48.518Z] bcfd1f05c69d: Pull complete [2022-09-12T01:35:49.093Z] 59ccb84bbe0f: Pull complete [2022-09-12T01:35:49.093Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-12T01:35:49.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-12T01:35:49.093Z] ---> a4fb48ad2a94 [2022-09-12T01:35:49.093Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:35:50.478Z] ---> Running in 53e46cdad7a3 [2022-09-12T01:35:50.478Z] Removing intermediate container 53e46cdad7a3 [2022-09-12T01:35:50.478Z] ---> c3c0df959fcf [2022-09-12T01:35:50.478Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:35:50.478Z] ---> Running in 92454e9e4998 [2022-09-12T01:35:50.478Z] Removing intermediate container 92454e9e4998 [2022-09-12T01:35:50.478Z] ---> 7d4ea59c1a61 [2022-09-12T01:35:50.478Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:35:50.478Z] ---> Running in 8d2729c13abf [2022-09-12T01:35:51.047Z] Removing intermediate container 8d2729c13abf [2022-09-12T01:35:51.047Z] ---> 7c65cfa8cee0 [2022-09-12T01:35:51.047Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:35:51.047Z] ---> Running in bc345c0d60c3 [2022-09-12T01:35:51.307Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T01:35:52.246Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T01:35:52.508Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-12T01:35:52.508Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-12T01:35:52.508Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-12T01:35:52.770Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-12T01:35:52.770Z] Executing busybox-1.35.0-r13.trigger [2022-09-12T01:35:52.770Z] OK: 216 MiB in 55 packages [2022-09-12T01:35:53.341Z] Removing intermediate container bc345c0d60c3 [2022-09-12T01:35:53.341Z] ---> 4374410bbae7 [2022-09-12T01:35:53.341Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-09-12T01:35:53.341Z] ---> Running in 0e0ff2997240 [2022-09-12T01:35:53.341Z] Removing intermediate container 0e0ff2997240 [2022-09-12T01:35:53.341Z] ---> e4faa525d087 [2022-09-12T01:35:53.341Z] Step 8/12 : COPY go.mod vendor* ./ [2022-09-12T01:35:53.341Z] ---> 4d7915aaf256 [2022-09-12T01:35:53.341Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:35:53.341Z] ---> Running in 43abedbef895 [2022-09-12T01:35:54.230Z] Still waiting to schedule task [2022-09-12T01:35:54.231Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-12T01:36:11.484Z] Removing intermediate container 43abedbef895 [2022-09-12T01:36:11.484Z] ---> 6a9b4568a8c4 [2022-09-12T01:36:11.484Z] Step 10/12 : COPY . . [2022-09-12T01:36:11.484Z] ---> 926c76d637cf [2022-09-12T01:36:11.484Z] Step 11/12 : ARG MAKE='make build' [2022-09-12T01:36:11.484Z] ---> Running in cc5cfa550d7c [2022-09-12T01:36:11.484Z] Removing intermediate container cc5cfa550d7c [2022-09-12T01:36:11.484Z] ---> 8fe85439a5f2 [2022-09-12T01:36:11.484Z] Step 12/12 : RUN $MAKE [2022-09-12T01:36:11.484Z] ---> Running in 65e8a0d54338 [2022-09-12T01:36:11.484Z] noop [2022-09-12T01:36:11.484Z] Removing intermediate container 65e8a0d54338 [2022-09-12T01:36:11.484Z] ---> ca168b1f852f [2022-09-12T01:36:11.484Z] Successfully built ca168b1f852f [2022-09-12T01:36:11.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:36:11.928Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T01:36:11.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:36:12.083Z] prd-ubuntu20.04-docker-8c-8g-28916 does not seem to be running inside a container [2022-09-12T01:36:12.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-413 -v /w/workspace/gexfoundry_device-mqtt-go_PR-413:/w/workspace/gexfoundry_device-mqtt-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-12T01:36:12.484Z] $ docker top dc7f3ec91f8514cfcdebd22a2e206b5527e0a480536dae7a93353a6a9b014d26 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:36:12.948Z] + go version [2022-09-12T01:36:12.948Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-12T01:36:12.983Z] $ docker stop --time=1 dc7f3ec91f8514cfcdebd22a2e206b5527e0a480536dae7a93353a6a9b014d26 [2022-09-12T01:36:14.251Z] $ docker rm -f dc7f3ec91f8514cfcdebd22a2e206b5527e0a480536dae7a93353a6a9b014d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:36:14.979Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T01:36:14.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:36:15.131Z] prd-ubuntu20.04-docker-8c-8g-28916 does not seem to be running inside a container [2022-09-12T01:36:15.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-413 -v /w/workspace/gexfoundry_device-mqtt-go_PR-413:/w/workspace/gexfoundry_device-mqtt-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-12T01:36:15.489Z] $ docker top 5d450c002319b4dc5d778651d23432a57b8af444e47545df928afe925e4c5443 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:36:15.898Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-413 [Pipeline] fileExists [Pipeline] sh [2022-09-12T01:36:16.265Z] + make test [2022-09-12T01:36:16.265Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T01:36:16.524Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-12T01:36:26.513Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-12T01:36:26.513Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-09-12T01:36:26.513Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-12T01:36:34.640Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-12T01:36:34.640Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T01:36:36.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T01:36:36.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T01:36:36.553Z] ./bin/test-attribution-txt.sh [2022-09-12T01:36:36.553Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-12T01:36:36.553Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-12T01:36:36.553Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-12T01:36:36.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T01:36:36.623Z] $ docker stop --time=1 5d450c002319b4dc5d778651d23432a57b8af444e47545df928afe925e4c5443 [2022-09-12T01:36:38.142Z] $ docker rm -f 5d450c002319b4dc5d778651d23432a57b8af444e47545df928afe925e4c5443 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T01:36:38.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T01:36:38.707Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-12T01:36:39.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T01:36:39.739Z] + ls -al . [2022-09-12T01:36:39.739Z] total 180 [2022-09-12T01:36:39.739Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 01:36 . [2022-09-12T01:36:39.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:35 .. [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 01:35 .dockerignore [2022-09-12T01:36:39.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:36 .git [2022-09-12T01:36:39.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:35 .github [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 01:35 .gitignore [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 01:35 .golangci.yml [2022-09-12T01:36:39.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 01:35 .semver [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 8917 Sep 12 01:35 Attribution.txt [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 12 01:35 CHANGELOG.md [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 1932 Sep 12 01:35 Dockerfile [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 01:35 GOVERNANCE.md [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 01:35 Jenkinsfile [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 01:35 LICENSE [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 1917 Sep 12 01:35 Makefile [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 01:35 OWNERS.md [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 2501 Sep 12 01:35 README.md [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 01:35 VERSION [2022-09-12T01:36:39.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:35 bin [2022-09-12T01:36:39.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:35 cmd [2022-09-12T01:36:39.739Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 12 01:36 coverage.out [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 3452 Sep 12 01:35 go.mod [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 36716 Sep 12 01:35 go.sum [2022-09-12T01:36:39.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:35 internal [2022-09-12T01:36:39.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:35 mock [2022-09-12T01:36:39.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:35 snap [2022-09-12T01:36:39.739Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 12 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:36:40.130Z] + 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=8399587204a84457c9357bb2ad557a89da12c711 --label arch=amd64 --label version=0.0.0 . [2022-09-12T01:36:40.130Z] Sending build context to Docker daemon 6.12MB [2022-09-12T01:36:40.130Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:36:40.130Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-12T01:36:40.130Z] ---> ca168b1f852f [2022-09-12T01:36:40.130Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:36:40.130Z] ---> Running in ffa318b5d46e [2022-09-12T01:36:40.392Z] Removing intermediate container ffa318b5d46e [2022-09-12T01:36:40.392Z] ---> e957ebb71c6e [2022-09-12T01:36:40.392Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:36:40.392Z] ---> Running in 917d7f04adbf [2022-09-12T01:36:40.392Z] Removing intermediate container 917d7f04adbf [2022-09-12T01:36:40.392Z] ---> d30e5eb67d7b [2022-09-12T01:36:40.392Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:36:40.392Z] ---> Running in 291822e91bed [2022-09-12T01:36:40.967Z] Removing intermediate container 291822e91bed [2022-09-12T01:36:40.967Z] ---> eae26601008f [2022-09-12T01:36:40.967Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:36:40.967Z] ---> Running in e32daed8d3c0 [2022-09-12T01:36:41.227Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T01:36:42.180Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T01:36:42.442Z] OK: 216 MiB in 55 packages [2022-09-12T01:36:42.703Z] Removing intermediate container e32daed8d3c0 [2022-09-12T01:36:42.703Z] ---> 81ce958f0ba0 [2022-09-12T01:36:42.703Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-09-12T01:36:42.703Z] ---> Running in 4ada1717ca7d [2022-09-12T01:36:42.964Z] Removing intermediate container 4ada1717ca7d [2022-09-12T01:36:42.964Z] ---> 4d6364ef0608 [2022-09-12T01:36:42.964Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-12T01:36:42.964Z] ---> 2f905bd21ff5 [2022-09-12T01:36:42.964Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:36:42.964Z] ---> Running in 9397c103e25d [2022-09-12T01:36:43.537Z] Removing intermediate container 9397c103e25d [2022-09-12T01:36:43.537Z] ---> cf88b1f6111c [2022-09-12T01:36:43.537Z] Step 10/24 : COPY . . [2022-09-12T01:36:43.798Z] ---> 9e594012e740 [2022-09-12T01:36:43.798Z] Step 11/24 : ARG MAKE='make build' [2022-09-12T01:36:44.065Z] ---> Running in 957108160fe9 [2022-09-12T01:36:44.065Z] Removing intermediate container 957108160fe9 [2022-09-12T01:36:44.065Z] ---> 24aaa2eaa9f0 [2022-09-12T01:36:44.065Z] Step 12/24 : RUN $MAKE [2022-09-12T01:36:44.065Z] ---> Running in 385e69d0725a [2022-09-12T01:36:44.325Z] 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-09-12T01:37:06.311Z] Removing intermediate container 385e69d0725a [2022-09-12T01:37:06.311Z] ---> fcce5e27e887 [2022-09-12T01:37:06.311Z] Step 13/24 : FROM alpine:3.16 [2022-09-12T01:37:06.311Z] 3.16: Pulling from library/alpine [2022-09-12T01:37:06.311Z] 213ec9aee27d: Pulling fs layer [2022-09-12T01:37:06.311Z] 213ec9aee27d: Verifying Checksum [2022-09-12T01:37:06.311Z] 213ec9aee27d: Pull complete [2022-09-12T01:37:06.311Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T01:37:06.311Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T01:37:06.311Z] ---> 9c6f07244728 [2022-09-12T01:37:06.311Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-12T01:37:06.311Z] ---> Running in ab61d4430427 [2022-09-12T01:37:06.311Z] Removing intermediate container ab61d4430427 [2022-09-12T01:37:06.311Z] ---> cee6afab65cc [2022-09-12T01:37:06.311Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T01:37:06.311Z] ---> Running in 88dba3f5c176 [2022-09-12T01:37:06.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T01:37:06.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T01:37:07.143Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T01:37:07.143Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T01:37:07.143Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T01:37:07.143Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T01:37:07.143Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T01:37:07.143Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T01:37:07.143Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T01:37:07.143Z] OK: 8 MiB in 20 packages [2022-09-12T01:37:07.405Z] Removing intermediate container 88dba3f5c176 [2022-09-12T01:37:07.405Z] ---> 5a3e104031b9 [2022-09-12T01:37:07.405Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-12T01:37:07.981Z] ---> 544ab3f3fd0e [2022-09-12T01:37:07.981Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-12T01:37:07.981Z] ---> 46bb182427a0 [2022-09-12T01:37:07.981Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-12T01:37:08.241Z] ---> a08e5ed71a74 [2022-09-12T01:37:08.241Z] Step 19/24 : EXPOSE 59982 [2022-09-12T01:37:08.241Z] ---> Running in e795740d4e04 [2022-09-12T01:37:08.241Z] Removing intermediate container e795740d4e04 [2022-09-12T01:37:08.241Z] ---> cd1d5ba1ef43 [2022-09-12T01:37:08.241Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-09-12T01:37:08.241Z] ---> Running in 97847d917fcc [2022-09-12T01:37:08.503Z] Removing intermediate container 97847d917fcc [2022-09-12T01:37:08.503Z] ---> e9a4e6353bac [2022-09-12T01:37:08.503Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T01:37:08.503Z] ---> Running in 7ce9dc2a903b [2022-09-12T01:37:08.503Z] Removing intermediate container 7ce9dc2a903b [2022-09-12T01:37:08.503Z] ---> c4554be55d48 [2022-09-12T01:37:08.503Z] Step 22/24 : LABEL arch=amd64 [2022-09-12T01:37:08.503Z] ---> Running in 00435fddd26e [2022-09-12T01:37:08.503Z] Removing intermediate container 00435fddd26e [2022-09-12T01:37:08.503Z] ---> c64d57528236 [2022-09-12T01:37:08.503Z] Step 23/24 : LABEL git_sha=8399587204a84457c9357bb2ad557a89da12c711 [2022-09-12T01:37:08.503Z] ---> Running in 68785a33f3d9 [2022-09-12T01:37:08.764Z] Removing intermediate container 68785a33f3d9 [2022-09-12T01:37:08.764Z] ---> 192bed0a1dde [2022-09-12T01:37:08.764Z] Step 24/24 : LABEL version=0.0.0 [2022-09-12T01:37:08.764Z] ---> Running in 34645574181f [2022-09-12T01:37:08.764Z] Removing intermediate container 34645574181f [2022-09-12T01:37:08.764Z] ---> f2c1f0a8b262 [2022-09-12T01:37:08.764Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T01:37:08.764Z] Successfully built f2c1f0a8b262 [2022-09-12T01:37:08.764Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:37:09.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:37:09.697Z] [2022-09-12T01:37:09.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:37:10.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:37:10.079Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-12T01:37:10.079Z] 5eb5b503b376: Pulling fs layer [2022-09-12T01:37:10.079Z] 5c69ac0246d0: Pulling fs layer [2022-09-12T01:37:10.079Z] ec43610c2a17: Pulling fs layer [2022-09-12T01:37:10.079Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-12T01:37:10.079Z] 3a2ae6a8a46f: Waiting [2022-09-12T01:37:10.079Z] 33b1e0a273af: Pulling fs layer [2022-09-12T01:37:10.079Z] 5d3b04190fa2: Pulling fs layer [2022-09-12T01:37:10.079Z] 2f39f015ded8: Pulling fs layer [2022-09-12T01:37:10.079Z] 33b1e0a273af: Waiting [2022-09-12T01:37:10.079Z] 5d3b04190fa2: Waiting [2022-09-12T01:37:10.079Z] 2f39f015ded8: Waiting [2022-09-12T01:37:10.079Z] 5c69ac0246d0: Verifying Checksum [2022-09-12T01:37:10.079Z] 5c69ac0246d0: Download complete [2022-09-12T01:37:10.079Z] 3a2ae6a8a46f: Download complete [2022-09-12T01:37:10.079Z] 33b1e0a273af: Verifying Checksum [2022-09-12T01:37:10.079Z] 33b1e0a273af: Download complete [2022-09-12T01:37:10.079Z] ec43610c2a17: Verifying Checksum [2022-09-12T01:37:10.079Z] ec43610c2a17: Download complete [2022-09-12T01:37:10.079Z] 5d3b04190fa2: Verifying Checksum [2022-09-12T01:37:10.079Z] 5d3b04190fa2: Download complete [2022-09-12T01:37:10.338Z] 5eb5b503b376: Verifying Checksum [2022-09-12T01:37:10.338Z] 5eb5b503b376: Download complete [2022-09-12T01:37:10.907Z] 2f39f015ded8: Download complete [2022-09-12T01:37:11.845Z] 5eb5b503b376: Pull complete [2022-09-12T01:37:11.845Z] 5c69ac0246d0: Pull complete [2022-09-12T01:37:12.415Z] ec43610c2a17: Pull complete [2022-09-12T01:37:12.415Z] 3a2ae6a8a46f: Pull complete [2022-09-12T01:37:12.677Z] 33b1e0a273af: Pull complete [2022-09-12T01:37:12.677Z] 5d3b04190fa2: Pull complete [2022-09-12T01:37:17.965Z] 2f39f015ded8: Pull complete [2022-09-12T01:37:17.965Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-12T01:37:17.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:37:17.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:37:18.177Z] prd-ubuntu20.04-docker-8c-8g-28916 does not seem to be running inside a container [2022-09-12T01:37:18.219Z] $ 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-413 -v /w/workspace/gexfoundry_device-mqtt-go_PR-413:/w/workspace/gexfoundry_device-mqtt-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-12T01:37:19.285Z] $ docker top f73e89f3adbbaa57f5cf022c60145f6264b28bed04216cd0783e7fe5d154ef37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:37:19.766Z] ---> job-cost.sh [2022-09-12T01:37:19.767Z] lf-activate-venv: SKIPPING [2022-09-12T01:37:19.767Z] INFO: No Stack... [2022-09-12T01:37:20.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T01:37:20.599Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T01:37:20.913Z] + + cut -d, -f6cat [2022-09-12T01:37:20.913Z] /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives/cost.csv [Pipeline] lock [2022-09-12T01:37:20.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] [2022-09-12T01:37:20.962Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] did not exist. Created. [2022-09-12T01:37:20.962Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T01:37:21.359Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-12T01:37:21.408Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T01:37:21.437Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T01:37:21.521Z] $ docker stop --time=1 f73e89f3adbbaa57f5cf022c60145f6264b28bed04216cd0783e7fe5d154ef37 [2022-09-12T01:37:22.692Z] $ docker rm -f f73e89f3adbbaa57f5cf022c60145f6264b28bed04216cd0783e7fe5d154ef37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-12T01:40:02.843Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28917 in /w/workspace/gexfoundry_device-mqtt-go_PR-413 [Pipeline] { [Pipeline] ws [2022-09-12T01:40:02.883Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-09-12T01:40:02.975Z] Selected Git installation does not exist. Using Default [2022-09-12T01:40:02.975Z] The recommended git tool is: NONE [2022-09-12T01:40:10.291Z] using credential edgex-jenkins-ssh [2022-09-12T01:40:10.310Z] Cloning the remote Git repository [2022-09-12T01:40:10.374Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-12T01:40:10.478Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-09-12T01:40:10.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-12T01:40:10.684Z] > git --version # timeout=10 [2022-09-12T01:40:10.722Z] > git --version # 'git version 2.25.1' [2022-09-12T01:40:10.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T01:40:10.948Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T01:40:12.874Z] Merging remotes/origin/main commit 848b2de29f6cbb620b3229edbec9a9c03b237451 into PR head commit 8399587204a84457c9357bb2ad557a89da12c711 [2022-09-12T01:40:12.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-12T01:40:12.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T01:40:12.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-12T01:40:12.326Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-12T01:40:12.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T01:40:12.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-12T01:40:12.896Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T01:40:12.909Z] > git checkout -f 8399587204a84457c9357bb2ad557a89da12c711 # timeout=10 [2022-09-12T01:40:12.995Z] > git remote # timeout=10 [2022-09-12T01:40:13.016Z] > git config --get remote.origin.url # timeout=10 [2022-09-12T01:40:13.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T01:40:13.089Z] Merge succeeded, producing 8399587204a84457c9357bb2ad557a89da12c711 [2022-09-12T01:40:13.089Z] Checking out Revision 8399587204a84457c9357bb2ad557a89da12c711 (PR-413) [2022-09-12T01:40:13.053Z] > git merge 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 [2022-09-12T01:40:13.075Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-12T01:40:13.097Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T01:40:13.122Z] > git checkout -f 8399587204a84457c9357bb2ad557a89da12c711 # timeout=10 [2022-09-12T01:40:17.386Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-12T01:40:17.442Z] > git --version # timeout=10 [2022-09-12T01:40:17.453Z] > git --version # 'git version 2.25.1' [2022-09-12T01:40:17.468Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T01:40:18.526Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-12T01:40:18.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T01:40:18.526Z] Dload Upload Total Spent Left Speed [2022-09-12T01:40:18.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 53172 0 --:--:-- --:--:-- --:--:-- 53398 [Pipeline] sh [2022-09-12T01:40:19.517Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-12T01:40:19.868Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-12T01:40:19.868Z] + sudo tee /etc/docker/daemon.new [2022-09-12T01:40:19.868Z] { [2022-09-12T01:40:19.868Z] "registry-mirrors": [ [2022-09-12T01:40:19.868Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-12T01:40:19.868Z] ], [2022-09-12T01:40:19.868Z] "bip": "10.250.0.254/24", [2022-09-12T01:40:19.868Z] "hosts": [ [2022-09-12T01:40:19.868Z] "tcp://0.0.0.0:5555", [2022-09-12T01:40:19.868Z] "unix:///var/run/docker.sock" [2022-09-12T01:40:19.868Z] ], [2022-09-12T01:40:19.868Z] "mtu": 1458, [2022-09-12T01:40:19.868Z] "selinux-enabled": true, [2022-09-12T01:40:19.868Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-12T01:40:19.868Z] } [Pipeline] sh [2022-09-12T01:40:20.230Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-12T01:40:20.594Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:40:39.004Z] provisioning config files... [2022-09-12T01:40:39.033Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6248295144510942489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:40:39.446Z] ---> docker-login.sh [2022-09-12T01:40:39.446Z] nexus3.edgexfoundry.org:10001 [2022-09-12T01:40:40.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:40:40.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:40:40.648Z] Configure a credential helper to remove this warning. See [2022-09-12T01:40:40.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:40:40.648Z] [2022-09-12T01:40:40.648Z] Login Succeeded [2022-09-12T01:40:40.648Z] nexus3.edgexfoundry.org:10002 [2022-09-12T01:40:40.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:40:40.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:40:40.924Z] Configure a credential helper to remove this warning. See [2022-09-12T01:40:40.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:40:40.924Z] [2022-09-12T01:40:40.924Z] Login Succeeded [2022-09-12T01:40:40.924Z] nexus3.edgexfoundry.org:10003 [2022-09-12T01:40:41.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:40:41.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:40:41.538Z] Configure a credential helper to remove this warning. See [2022-09-12T01:40:41.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:40:41.538Z] [2022-09-12T01:40:41.538Z] Login Succeeded [2022-09-12T01:40:41.538Z] nexus3.edgexfoundry.org:10004 [2022-09-12T01:40:41.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:40:42.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:40:42.090Z] Configure a credential helper to remove this warning. See [2022-09-12T01:40:42.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:40:42.090Z] [2022-09-12T01:40:42.090Z] Login Succeeded [2022-09-12T01:40:42.090Z] docker.io [2022-09-12T01:40:42.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T01:40:42.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T01:40:42.637Z] Configure a credential helper to remove this warning. See [2022-09-12T01:40:42.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T01:40:42.637Z] [2022-09-12T01:40:42.637Z] Login Succeeded [2022-09-12T01:40:42.637Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T01:40:42.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T01:40:43.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:40:43.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T01:40:43.133Z] ========================================================= [2022-09-12T01:40:43.133Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-12T01:40:43.133Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:40:43.663Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-12T01:40:43.940Z] Sending build context to Docker daemon 3.153MB [2022-09-12T01:40:43.940Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:40:43.940Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-12T01:40:44.214Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-12T01:40:44.214Z] b3c136eddcbf: Pulling fs layer [2022-09-12T01:40:44.214Z] c0a3192eca97: Pulling fs layer [2022-09-12T01:40:44.214Z] a050256f5b6f: Pulling fs layer [2022-09-12T01:40:44.214Z] 656be50a0ddc: Pulling fs layer [2022-09-12T01:40:44.214Z] 2bbca73fdf42: Pulling fs layer [2022-09-12T01:40:44.214Z] 46d945488cbd: Pulling fs layer [2022-09-12T01:40:44.214Z] 8a5474983e97: Pulling fs layer [2022-09-12T01:40:44.214Z] 329c88fbcd65: Pulling fs layer [2022-09-12T01:40:44.214Z] 8a5474983e97: Waiting [2022-09-12T01:40:44.214Z] 46d945488cbd: Waiting [2022-09-12T01:40:44.214Z] 656be50a0ddc: Waiting [2022-09-12T01:40:44.214Z] 2bbca73fdf42: Waiting [2022-09-12T01:40:44.214Z] 329c88fbcd65: Waiting [2022-09-12T01:40:44.214Z] a050256f5b6f: Verifying Checksum [2022-09-12T01:40:44.214Z] a050256f5b6f: Download complete [2022-09-12T01:40:44.214Z] c0a3192eca97: Verifying Checksum [2022-09-12T01:40:44.214Z] c0a3192eca97: Download complete [2022-09-12T01:40:44.214Z] 2bbca73fdf42: Verifying Checksum [2022-09-12T01:40:44.214Z] 2bbca73fdf42: Download complete [2022-09-12T01:40:44.214Z] 46d945488cbd: Download complete [2022-09-12T01:40:44.214Z] b3c136eddcbf: Download complete [2022-09-12T01:40:45.208Z] b3c136eddcbf: Pull complete [2022-09-12T01:40:45.490Z] 329c88fbcd65: Verifying Checksum [2022-09-12T01:40:45.490Z] 329c88fbcd65: Download complete [2022-09-12T01:40:45.772Z] c0a3192eca97: Pull complete [2022-09-12T01:40:46.055Z] a050256f5b6f: Pull complete [2022-09-12T01:40:46.655Z] 8a5474983e97: Verifying Checksum [2022-09-12T01:40:46.655Z] 8a5474983e97: Download complete [2022-09-12T01:40:47.253Z] 656be50a0ddc: Verifying Checksum [2022-09-12T01:40:47.253Z] 656be50a0ddc: Download complete [2022-09-12T01:41:02.344Z] 656be50a0ddc: Pull complete [2022-09-12T01:41:02.344Z] 2bbca73fdf42: Pull complete [2022-09-12T01:41:02.344Z] 46d945488cbd: Pull complete [2022-09-12T01:41:07.776Z] 8a5474983e97: Pull complete [2022-09-12T01:41:09.216Z] 329c88fbcd65: Pull complete [2022-09-12T01:41:09.216Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-12T01:41:09.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-12T01:41:09.216Z] ---> ff4287adb874 [2022-09-12T01:41:09.216Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:41:09.818Z] ---> Running in cd0ed8b9b807 [2022-09-12T01:41:10.094Z] Removing intermediate container cd0ed8b9b807 [2022-09-12T01:41:10.094Z] ---> c291bcce3a92 [2022-09-12T01:41:10.094Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:41:10.094Z] ---> Running in dfe69bc250ec [2022-09-12T01:41:10.371Z] Removing intermediate container dfe69bc250ec [2022-09-12T01:41:10.371Z] ---> efea23607031 [2022-09-12T01:41:10.371Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:41:10.647Z] ---> Running in d72592ec2d16 [2022-09-12T01:41:12.644Z] Removing intermediate container d72592ec2d16 [2022-09-12T01:41:12.644Z] ---> 24a8ee6794d5 [2022-09-12T01:41:12.644Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:41:12.644Z] ---> Running in d03cf5acd098 [2022-09-12T01:41:13.255Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T01:41:14.245Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T01:41:15.237Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-12T01:41:15.237Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-12T01:41:15.510Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-12T01:41:15.510Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-12T01:41:15.796Z] Executing busybox-1.35.0-r13.trigger [2022-09-12T01:41:15.796Z] OK: 226 MiB in 55 packages [2022-09-12T01:41:16.781Z] Removing intermediate container d03cf5acd098 [2022-09-12T01:41:16.781Z] ---> ad4adc80e5be [2022-09-12T01:41:16.781Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-09-12T01:41:16.781Z] ---> Running in 2022569f2e27 [2022-09-12T01:41:17.058Z] Removing intermediate container 2022569f2e27 [2022-09-12T01:41:17.058Z] ---> 25e12983162f [2022-09-12T01:41:17.058Z] Step 8/12 : COPY go.mod vendor* ./ [2022-09-12T01:41:17.680Z] ---> 7e3f19afe349 [2022-09-12T01:41:17.680Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:41:17.680Z] ---> Running in 69c51d4ea399 [2022-09-12T01:42:04.694Z] Removing intermediate container 69c51d4ea399 [2022-09-12T01:42:04.694Z] ---> 4b71cd2e0a76 [2022-09-12T01:42:04.694Z] Step 10/12 : COPY . . [2022-09-12T01:42:05.291Z] ---> 686a5841a115 [2022-09-12T01:42:05.291Z] Step 11/12 : ARG MAKE='make build' [2022-09-12T01:42:05.291Z] ---> Running in d5aac5d37773 [2022-09-12T01:42:05.897Z] Removing intermediate container d5aac5d37773 [2022-09-12T01:42:05.897Z] ---> f75829f0e413 [2022-09-12T01:42:05.897Z] Step 12/12 : RUN $MAKE [2022-09-12T01:42:05.897Z] ---> Running in be2223e5ec14 [2022-09-12T01:42:06.885Z] noop [2022-09-12T01:42:07.487Z] Removing intermediate container be2223e5ec14 [2022-09-12T01:42:07.487Z] ---> 8510e3b2cff4 [2022-09-12T01:42:07.487Z] Successfully built 8510e3b2cff4 [2022-09-12T01:42:07.487Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:42:07.966Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T01:42:07.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:42:08.297Z] prd-ubuntu20.04-docker-arm64-4c-16g-28917 does not seem to be running inside a container [2022-09-12T01:42:08.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-12T01:42:09.703Z] $ docker top d24042d1f90e5cc797eecb5f556b4861885f1e192be2eee9672061399d38b40f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:42:10.677Z] + go version [2022-09-12T01:42:10.677Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-12T01:42:10.714Z] $ docker stop --time=1 d24042d1f90e5cc797eecb5f556b4861885f1e192be2eee9672061399d38b40f [2022-09-12T01:42:12.346Z] $ docker rm -f d24042d1f90e5cc797eecb5f556b4861885f1e192be2eee9672061399d38b40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:42:13.296Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T01:42:13.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:42:13.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-28917 does not seem to be running inside a container [2022-09-12T01:42:13.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-12T01:42:14.937Z] $ docker top ca218341cae3ee8ee4548df6cdddbc0ee1a96357acfd57119281d32dfebd8787 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:42:15.878Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-12T01:42:16.610Z] + make test [2022-09-12T01:42:16.610Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T01:42:18.052Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-12T01:43:39.901Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-12T01:43:39.901Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-09-12T01:43:39.901Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-12T01:43:39.901Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-12T01:43:39.901Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T01:44:02.124Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T01:44:02.124Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T01:44:02.124Z] ./bin/test-attribution-txt.sh [2022-09-12T01:44:02.124Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-12T01:44:02.124Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-12T01:44:02.124Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-12T01:44:02.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T01:44:02.191Z] $ docker stop --time=1 ca218341cae3ee8ee4548df6cdddbc0ee1a96357acfd57119281d32dfebd8787 [2022-09-12T01:44:04.028Z] $ docker rm -f ca218341cae3ee8ee4548df6cdddbc0ee1a96357acfd57119281d32dfebd8787 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T01:44:05.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T01:44:05.130Z] Warning: overwriting stash ‘coverage-report’ [2022-09-12T01:44:05.637Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T01:44:06.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T01:44:06.593Z] + ls -al . [2022-09-12T01:44:06.593Z] total 176 [2022-09-12T01:44:06.593Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 01:42 . [2022-09-12T01:44:06.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:40 .. [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 01:40 .dockerignore [2022-09-12T01:44:06.593Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 01:40 .git [2022-09-12T01:44:06.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:40 .github [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 01:40 .gitignore [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 01:40 .golangci.yml [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 8917 Sep 12 01:40 Attribution.txt [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 12 01:40 CHANGELOG.md [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 1932 Sep 12 01:40 Dockerfile [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 01:40 GOVERNANCE.md [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 01:40 Jenkinsfile [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 01:40 LICENSE [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 1917 Sep 12 01:40 Makefile [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 01:40 OWNERS.md [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 2501 Sep 12 01:40 README.md [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 01:35 VERSION [2022-09-12T01:44:06.593Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:40 bin [2022-09-12T01:44:06.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:40 cmd [2022-09-12T01:44:06.593Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 12 01:43 coverage.out [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 3452 Sep 12 01:40 go.mod [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 36716 Sep 12 01:40 go.sum [2022-09-12T01:44:06.593Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 01:40 internal [2022-09-12T01:44:06.593Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 01:40 mock [2022-09-12T01:44:06.593Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 01:40 snap [2022-09-12T01:44:06.593Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 12 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:44:07.025Z] + 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=8399587204a84457c9357bb2ad557a89da12c711 --label arch=arm64 --label version=0.0.0 . [2022-09-12T01:44:07.311Z] Sending build context to Docker daemon 3.171MB [2022-09-12T01:44:07.311Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T01:44:07.311Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-12T01:44:07.311Z] ---> 8510e3b2cff4 [2022-09-12T01:44:07.311Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T01:44:07.591Z] ---> Running in a56700e68009 [2022-09-12T01:44:07.864Z] Removing intermediate container a56700e68009 [2022-09-12T01:44:07.864Z] ---> 77f20435fc04 [2022-09-12T01:44:07.864Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T01:44:07.864Z] ---> Running in fd01cb89fb22 [2022-09-12T01:44:08.143Z] Removing intermediate container fd01cb89fb22 [2022-09-12T01:44:08.143Z] ---> 9215a24f353d [2022-09-12T01:44:08.143Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T01:44:08.426Z] ---> Running in d54aa8b3f916 [2022-09-12T01:44:09.879Z] Removing intermediate container d54aa8b3f916 [2022-09-12T01:44:09.879Z] ---> a0450a35c475 [2022-09-12T01:44:09.879Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T01:44:10.153Z] ---> Running in 3cf4bebce8ad [2022-09-12T01:44:11.145Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T01:44:12.131Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T01:44:13.113Z] OK: 226 MiB in 55 packages [2022-09-12T01:44:13.722Z] Removing intermediate container 3cf4bebce8ad [2022-09-12T01:44:13.722Z] ---> a857a0d9c92d [2022-09-12T01:44:13.722Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-09-12T01:44:13.722Z] ---> Running in 8780d6b3e46a [2022-09-12T01:44:14.327Z] Removing intermediate container 8780d6b3e46a [2022-09-12T01:44:14.327Z] ---> 31823cedca27 [2022-09-12T01:44:14.327Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-12T01:44:14.602Z] ---> 1bae39828330 [2022-09-12T01:44:14.602Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T01:44:14.877Z] ---> Running in b32cea060bcb [2022-09-12T01:44:16.860Z] Removing intermediate container b32cea060bcb [2022-09-12T01:44:16.860Z] ---> a42df8c911ae [2022-09-12T01:44:16.860Z] Step 10/24 : COPY . . [2022-09-12T01:44:17.464Z] ---> de7d9ab6ccbc [2022-09-12T01:44:17.464Z] Step 11/24 : ARG MAKE='make build' [2022-09-12T01:44:17.744Z] ---> Running in 2a55d32198b0 [2022-09-12T01:44:18.018Z] Removing intermediate container 2a55d32198b0 [2022-09-12T01:44:18.018Z] ---> 67c940026abc [2022-09-12T01:44:18.018Z] Step 12/24 : RUN $MAKE [2022-09-12T01:44:18.018Z] ---> Running in e2f35fe48974 [2022-09-12T01:44:19.005Z] 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-09-12T01:46:40.948Z] Removing intermediate container e2f35fe48974 [2022-09-12T01:46:40.948Z] ---> 6da617d84740 [2022-09-12T01:46:40.948Z] Step 13/24 : FROM alpine:3.16 [2022-09-12T01:46:40.948Z] 3.16: Pulling from library/alpine [2022-09-12T01:46:40.948Z] 9b18e9b68314: Pulling fs layer [2022-09-12T01:46:40.948Z] 9b18e9b68314: Verifying Checksum [2022-09-12T01:46:40.948Z] 9b18e9b68314: Download complete [2022-09-12T01:46:40.948Z] 9b18e9b68314: Pull complete [2022-09-12T01:46:40.948Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T01:46:40.948Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T01:46:40.948Z] ---> a6215f271958 [2022-09-12T01:46:40.948Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-12T01:46:40.948Z] ---> Running in b6d1a0fde694 [2022-09-12T01:46:40.948Z] Removing intermediate container b6d1a0fde694 [2022-09-12T01:46:40.948Z] ---> 354d96db332c [2022-09-12T01:46:40.948Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T01:46:40.948Z] ---> Running in 7f6ba3995546 [2022-09-12T01:46:40.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T01:46:40.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T01:46:40.948Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T01:46:40.948Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T01:46:40.948Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T01:46:40.948Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T01:46:40.948Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T01:46:40.948Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T01:46:40.948Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T01:46:40.948Z] OK: 8 MiB in 20 packages [2022-09-12T01:46:40.948Z] Removing intermediate container 7f6ba3995546 [2022-09-12T01:46:40.948Z] ---> c3b4fa22c876 [2022-09-12T01:46:40.948Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-12T01:46:40.948Z] ---> 6fcdc91867bd [2022-09-12T01:46:40.948Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-12T01:46:40.948Z] ---> 70bbdc88a3c3 [2022-09-12T01:46:40.948Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-12T01:46:40.948Z] ---> 8b967b93028e [2022-09-12T01:46:40.948Z] Step 19/24 : EXPOSE 59982 [2022-09-12T01:46:40.948Z] ---> Running in a533faf24b46 [2022-09-12T01:46:40.948Z] Removing intermediate container a533faf24b46 [2022-09-12T01:46:40.948Z] ---> 58bb83f356ae [2022-09-12T01:46:40.948Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-09-12T01:46:40.948Z] ---> Running in 272699e19efa [2022-09-12T01:46:40.948Z] Removing intermediate container 272699e19efa [2022-09-12T01:46:40.948Z] ---> 919fe6c9cd7c [2022-09-12T01:46:40.948Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T01:46:40.948Z] ---> Running in 321fb906f2b4 [2022-09-12T01:46:40.948Z] Removing intermediate container 321fb906f2b4 [2022-09-12T01:46:40.948Z] ---> 6cc726bc25f7 [2022-09-12T01:46:40.948Z] Step 22/24 : LABEL arch=arm64 [2022-09-12T01:46:40.948Z] ---> Running in 4561a4e6310e [2022-09-12T01:46:40.948Z] Removing intermediate container 4561a4e6310e [2022-09-12T01:46:40.948Z] ---> 7a6f6a32fa84 [2022-09-12T01:46:40.948Z] Step 23/24 : LABEL git_sha=8399587204a84457c9357bb2ad557a89da12c711 [2022-09-12T01:46:40.948Z] ---> Running in f841742828af [2022-09-12T01:46:40.948Z] Removing intermediate container f841742828af [2022-09-12T01:46:40.948Z] ---> e07e88ec81ba [2022-09-12T01:46:40.948Z] Step 24/24 : LABEL version=0.0.0 [2022-09-12T01:46:40.948Z] ---> Running in 29233511b8a7 [2022-09-12T01:46:41.225Z] Removing intermediate container 29233511b8a7 [2022-09-12T01:46:41.225Z] ---> 059d8b626b1e [2022-09-12T01:46:41.225Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T01:46:41.225Z] Successfully built 059d8b626b1e [2022-09-12T01:46:41.225Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:46:42.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T01:46:42.039Z] [2022-09-12T01:46:42.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:46:42.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T01:46:42.734Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-12T01:46:42.734Z] 8998bd30e6a1: Pulling fs layer [2022-09-12T01:46:42.734Z] 04944245beec: Pulling fs layer [2022-09-12T01:46:42.734Z] 699f458cf7ca: Pulling fs layer [2022-09-12T01:46:42.734Z] 765212b225bb: Pulling fs layer [2022-09-12T01:46:42.734Z] f23df028b6ca: Pulling fs layer [2022-09-12T01:46:42.734Z] d65c8cfc05b1: Pulling fs layer [2022-09-12T01:46:42.734Z] 2437ff75d9bd: Pulling fs layer [2022-09-12T01:46:42.734Z] 765212b225bb: Waiting [2022-09-12T01:46:42.734Z] f23df028b6ca: Waiting [2022-09-12T01:46:42.734Z] d65c8cfc05b1: Waiting [2022-09-12T01:46:42.734Z] 2437ff75d9bd: Waiting [2022-09-12T01:46:42.734Z] 04944245beec: Verifying Checksum [2022-09-12T01:46:42.734Z] 04944245beec: Download complete [2022-09-12T01:46:42.734Z] 765212b225bb: Verifying Checksum [2022-09-12T01:46:42.734Z] 765212b225bb: Download complete [2022-09-12T01:46:42.734Z] f23df028b6ca: Verifying Checksum [2022-09-12T01:46:42.734Z] f23df028b6ca: Download complete [2022-09-12T01:46:42.734Z] d65c8cfc05b1: Verifying Checksum [2022-09-12T01:46:42.734Z] d65c8cfc05b1: Download complete [2022-09-12T01:46:43.013Z] 699f458cf7ca: Verifying Checksum [2022-09-12T01:46:43.013Z] 699f458cf7ca: Download complete [2022-09-12T01:46:43.289Z] 8998bd30e6a1: Verifying Checksum [2022-09-12T01:46:43.289Z] 8998bd30e6a1: Download complete [2022-09-12T01:46:45.936Z] 2437ff75d9bd: Verifying Checksum [2022-09-12T01:46:45.936Z] 2437ff75d9bd: Download complete [2022-09-12T01:46:48.577Z] 8998bd30e6a1: Pull complete [2022-09-12T01:46:48.853Z] 04944245beec: Pull complete [2022-09-12T01:46:50.299Z] 699f458cf7ca: Pull complete [2022-09-12T01:46:50.577Z] 765212b225bb: Pull complete [2022-09-12T01:46:51.561Z] f23df028b6ca: Pull complete [2022-09-12T01:46:51.838Z] d65c8cfc05b1: Pull complete [2022-09-12T01:47:06.946Z] 2437ff75d9bd: Pull complete [2022-09-12T01:47:06.946Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-12T01:47:06.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T01:47:06.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:47:07.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-28917 does not seem to be running inside a container [2022-09-12T01:47:07.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-12T01:47:10.032Z] $ docker top 5a6b729e304d95492c6d53613fab9be3a8d8c06944f362f64adb44d1bec0903f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:11.019Z] ---> job-cost.sh [2022-09-12T01:47:11.019Z] lf-activate-venv: SKIPPING [2022-09-12T01:47:11.019Z] INFO: No Stack... [2022-09-12T01:47:11.291Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-12T01:47:12.270Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T01:47:12.951Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-09-12T01:47:12.951Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T01:47:13.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] [2022-09-12T01:47:13.041Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] did not exist. Created. [2022-09-12T01:47:13.041Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T01:47:13.788Z] /w/workspace/device-mqtt-go/1@tmp/durable-793ee500/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-12T01:47:14.482Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-12T01:47:14.522Z] Warning: overwriting stash ‘stack-cost’ [2022-09-12T01:47:14.566Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T01:47:14.583Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T01:47:14.672Z] $ docker stop --time=1 5a6b729e304d95492c6d53613fab9be3a8d8c06944f362f64adb44d1bec0903f [2022-09-12T01:47:16.172Z] $ docker rm -f 5a6b729e304d95492c6d53613fab9be3a8d8c06944f362f64adb44d1bec0903f [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-09-12T01:47:17.220Z] provisioning config files... [2022-09-12T01:47:17.229Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/config4306579275697892136tmp [Pipeline] { [Pipeline] sh [2022-09-12T01:47:17.568Z] + set +x [2022-09-12T01:47:17.568Z] + curl -s https://codecov.io/bash [2022-09-12T01:47:17.568Z] + bash -s -- [2022-09-12T01:47:17.568Z] [2022-09-12T01:47:17.568Z] _____ _ [2022-09-12T01:47:17.568Z] / ____| | | [2022-09-12T01:47:17.568Z] | | ___ __| | ___ ___ _____ __ [2022-09-12T01:47:17.568Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-12T01:47:17.568Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-12T01:47:17.568Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-12T01:47:17.568Z] Bash-1.0.6 [2022-09-12T01:47:17.568Z] [2022-09-12T01:47:17.568Z] [2022-09-12T01:47:17.568Z] ==> git version 2.25.1 found [2022-09-12T01:47:17.568Z] ==> 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-09-12T01:47:17.568Z] Release-Date: 2020-01-08 [2022-09-12T01:47:17.568Z] 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-09-12T01:47:17.568Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-12T01:47:17.568Z] ==> Jenkins CI detected. [2022-09-12T01:47:17.568Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-413 [2022-09-12T01:47:17.568Z] project root: . [2022-09-12T01:47:17.568Z] --> token set from env [2022-09-12T01:47:17.568Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-12T01:47:17.834Z] ==> Running gcov in . (disable via -X gcov) [2022-09-12T01:47:17.834Z] ==> Python coveragepy not found [2022-09-12T01:47:17.834Z] ==> Searching for coverage reports in: [2022-09-12T01:47:17.834Z] + . [2022-09-12T01:47:17.834Z] -> Found 1 reports [2022-09-12T01:47:17.834Z] ==> Detecting git/mercurial file structure [2022-09-12T01:47:17.834Z] ==> Reading reports [2022-09-12T01:47:17.834Z] + ./coverage.out bytes=17887 [2022-09-12T01:47:17.834Z] ==> Appending adjustments [2022-09-12T01:47:17.834Z] https://docs.codecov.io/docs/fixing-reports [2022-09-12T01:47:17.834Z] + Found adjustments [2022-09-12T01:47:17.834Z] ==> Gzipping contents [2022-09-12T01:47:17.834Z] 4.0K /tmp/codecov.9khbk0.gz [2022-09-12T01:47:17.834Z] ==> Uploading reports [2022-09-12T01:47:17.834Z] url: https://codecov.io [2022-09-12T01:47:17.834Z] query: branch=PR-413&commit=8399587204a84457c9357bb2ad557a89da12c711&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=413&job=&cmd_args= [2022-09-12T01:47:17.834Z] -> Pinging Codecov [2022-09-12T01:47:17.834Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-413&commit=8399587204a84457c9357bb2ad557a89da12c711&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=413&job=&cmd_args= [2022-09-12T01:47:18.095Z] -> Uploading to [2022-09-12T01:47:18.095Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-12/7D719EC7BBE17E464838252E33014C33/8399587204a84457c9357bb2ad557a89da12c711/f0cfef78-0878-4ade-b2d1-2948f7583f21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T014717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7af4b055f50e298572e2a9d954d7d8af49e7c6e9e8f3fa34511f0e1816632df1 [2022-09-12T01:47:18.095Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T01:47:18.095Z] Dload Upload Total Spent Left Speed [2022-09-12T01:47:18.356Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13293 --:--:-- --:--:-- --:--:-- 13293 [2022-09-12T01:47:18.356Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8399587204a84457c9357bb2ad557a89da12c711 [Pipeline] } [2022-09-12T01:47:18.383Z] 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-09-12T01:47:20.119Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives ] [2022-09-12T01:47:20.120Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives [2022-09-12T01:47:20.120Z] total 16 [2022-09-12T01:47:20.120Z] drwxr-xr-x 3 root root 4096 Sep 12 01:37 . [2022-09-12T01:47:20.120Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 01:37 .. [2022-09-12T01:47:20.120Z] drwxr-xr-x 2 root root 4096 Sep 12 01:37 cost [2022-09-12T01:47:20.120Z] -rw-r--r-- 1 root root 86 Sep 12 01:37 cost.csv [2022-09-12T01:47:20.120Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives [2022-09-12T01:47:20.120Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives [2022-09-12T01:47:20.120Z] total 16 [2022-09-12T01:47:20.120Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 01:37 . [2022-09-12T01:47:20.120Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 01:37 .. [2022-09-12T01:47:20.120Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 01:37 cost [2022-09-12T01:47:20.120Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:20.446Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:21.340Z] ---> package-listing.sh [2022-09-12T01:47:21.340Z] ++ facter osfamily [2022-09-12T01:47:21.340Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-12T01:47:21.600Z] + OS_FAMILY=debian [2022-09-12T01:47:21.601Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-413 [2022-09-12T01:47:21.601Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-12T01:47:21.601Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-12T01:47:21.601Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-12T01:47:21.601Z] + PACKAGES=/tmp/packages_start.txt [2022-09-12T01:47:21.601Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-413 ']' [2022-09-12T01:47:21.601Z] + PACKAGES=/tmp/packages_end.txt [2022-09-12T01:47:21.601Z] + case "${OS_FAMILY}" in [2022-09-12T01:47:21.601Z] + dpkg -l [2022-09-12T01:47:21.601Z] + grep '^ii' [2022-09-12T01:47:21.601Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-12T01:47:21.601Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-12T01:47:21.601Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-12T01:47:21.601Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-413 ']' [2022-09-12T01:47:21.601Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives/ [2022-09-12T01:47:21.601Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-413/archives/ [Pipeline] echo [2022-09-12T01:47:21.634Z] 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-12T01:47:21.926Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T01:47:22.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T01:47:22.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T01:47:22.717Z] prd-ubuntu20.04-docker-8c-8g-28916 does not seem to be running inside a container [2022-09-12T01:47:22.759Z] $ 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-413/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-413 -v /w/workspace/gexfoundry_device-mqtt-go_PR-413:/w/workspace/gexfoundry_device-mqtt-go_PR-413:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-12T01:47:22.952Z] $ docker top 4256ca0afbe7d6bff386e6ea036c9673aac296b8dcb603da60f89584f8184c0e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T01:47:23.353Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-12T01:47:23.667Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-12T01:47:23.984Z] + ls /var/log/sa-host [2022-09-12T01:47:23.984Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T01:47:24.174Z] provisioning config files... [2022-09-12T01:47:24.184Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-413@tmp/config8696147818307063741tmp [Pipeline] { [Pipeline] echo [2022-09-12T01:47:24.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:24.549Z] ---> create-netrc.sh [Pipeline] } [2022-09-12T01:47:24.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:24.983Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-12T01:47:25.015Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:25.328Z] ---> sudo-logs.sh [2022-09-12T01:47:25.328Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-12T01:47:25.404Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:25.715Z] ---> job-cost.sh [2022-09-12T01:47:25.715Z] lf-activate-venv: SKIPPING [2022-09-12T01:47:25.715Z] DEBUG: total: 0.2199999988079071 [2022-09-12T01:47:25.715Z] INFO: Retrieving Stack Cost... [2022-09-12T01:47:25.975Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T01:47:26.547Z] INFO: Archiving Costs [Pipeline] echo [2022-09-12T01:47:26.638Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T01:47:26.950Z] ---> logs-deploy.sh [2022-09-12T01:47:26.950Z] lf-activate-venv: SKIPPING [2022-09-12T01:47:26.950Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-413/1 [2022-09-12T01:47:26.950Z] INFO: archiving workspace using pattern(s): [2022-09-12T01:47:27.892Z] Archives upload complete. [2022-09-12T01:47:28.152Z] INFO: archiving logs to Nexus