Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d22688ce7a8934592a13fb64b21226b5e27cedca 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-ssh13606850872506054842.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh474672923824676200.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15245683391993988560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14304992454349491243.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9442988429545570739.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19761 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Avoid second fetch Checking out Revision d22688ce7a8934592a13fb64b21226b5e27cedca (main) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#382)" > git rev-list --no-walk 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T20:59:10.400Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T20:59:10.458Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T20:59:10.473Z] ========================================================= [2022-07-12T20:59:10.473Z] EdgeX Global Pipelines Version Info [2022-07-12T20:59:10.473Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:59:11.238Z] ------------------- [2022-07-12T20:59:11.238Z] stable info: [2022-07-12T20:59:11.238Z] ------------------- [2022-07-12T20:59:11.238Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T20:59:11.238Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:59:11.238Z] Message: update stable to v1.0.237 [2022-07-12T20:59:11.812Z] ------------------- [2022-07-12T20:59:11.812Z] experimental info: [2022-07-12T20:59:11.812Z] ------------------- [2022-07-12T20:59:11.812Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T20:59:11.812Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:59:11.812Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T20:59:12.101Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-07-12T20:59:12.114Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-07-12T20:59:12.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T20:59:12.138Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T20:59:12.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T20:59:12.158Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T20:59:12.168Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T20:59:12.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T20:59:12.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T20:59:12.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T20:59:12.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T20:59:12.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-07-12T20:59:12.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T20:59:12.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T20:59:12.254Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:59:12.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:59:12.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:59:12.293Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:59:12.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T20:59:12.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T20:59:12.326Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T20:59:12.337Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T20:59:12.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T20:59:12.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T20:59:12.372Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T20:59:12.384Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T20:59:12.401Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T20:59:12.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-12T20:59:12.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-12T20:59:12.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-12T20:59:12.458Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo [2022-07-12T20:59:12.470Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d22688c [Pipeline] echo [2022-07-12T20:59:12.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:59:12.523Z] provisioning config files... [2022-07-12T20:59:12.539Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6371714338798846424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:59:12.847Z] ---> docker-login.sh [2022-07-12T20:59:12.847Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:59:13.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:13.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:13.373Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:13.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:13.373Z] [2022-07-12T20:59:13.373Z] Login Succeeded [2022-07-12T20:59:13.373Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:59:13.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:13.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:13.373Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:13.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:13.373Z] [2022-07-12T20:59:13.373Z] Login Succeeded [2022-07-12T20:59:13.373Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:59:13.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:13.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:13.635Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:13.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:13.635Z] [2022-07-12T20:59:13.635Z] Login Succeeded [2022-07-12T20:59:13.635Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:59:13.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:13.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:13.898Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:13.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:13.898Z] [2022-07-12T20:59:13.898Z] Login Succeeded [2022-07-12T20:59:13.898Z] docker.io [2022-07-12T20:59:13.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:14.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:14.474Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:14.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:14.474Z] [2022-07-12T20:59:14.474Z] Login Succeeded [2022-07-12T20:59:14.474Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:59:14.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T20:59:14.875Z] + git rev-list -1 --merges d22688ce7a8934592a13fb64b21226b5e27cedca~1..d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo [2022-07-12T20:59:14.915Z] -----------> git rev-list -1 --merges d22688ce7a8934592a13fb64b21226b5e27cedca~1..d22688ce7a8934592a13fb64b21226b5e27cedca d22688ce7a8934592a13fb64b21226b5e27cedca [false] [Pipeline] sh [2022-07-12T20:59:15.226Z] + git log --format=format:%s -1 d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo [2022-07-12T20:59:15.245Z] ========================================================= [2022-07-12T20:59:15.245Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T20:59:15.245Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:59:15.607Z] + git log --format=format:%s -1 d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] echo [2022-07-12T20:59:15.621Z] [semverPrep] GIT_COMMIT: d22688ce7a8934592a13fb64b21226b5e27cedca, Commit Message: build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#382) [Pipeline] echo [2022-07-12T20:59:15.632Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T20:59:16.007Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:59:16.007Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T20:59:16.007Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T20:59:16.007Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T20:59:16.007Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T20:59:16.007Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T20:59:16.007Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:59:16.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:59:16.425Z] [2022-07-12T20:59:16.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:59:16.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:59:16.734Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T20:59:16.734Z] b85a868b505f: Pulling fs layer [2022-07-12T20:59:16.734Z] e2be974225ed: Pulling fs layer [2022-07-12T20:59:16.734Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T20:59:16.734Z] 988bab9f4d93: Pulling fs layer [2022-07-12T20:59:16.734Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T20:59:16.734Z] eaf3925da568: Pulling fs layer [2022-07-12T20:59:16.734Z] 988bab9f4d93: Waiting [2022-07-12T20:59:16.734Z] 1469e6f7b9e6: Waiting [2022-07-12T20:59:16.734Z] bab4dde63d76: Pulling fs layer [2022-07-12T20:59:16.734Z] eaf3925da568: Waiting [2022-07-12T20:59:16.734Z] bde34c3a00c8: Pulling fs layer [2022-07-12T20:59:16.734Z] b352a97aabf1: Pulling fs layer [2022-07-12T20:59:16.734Z] bab4dde63d76: Waiting [2022-07-12T20:59:16.734Z] 4872d77fe225: Pulling fs layer [2022-07-12T20:59:16.734Z] 5851b861e8e6: Pulling fs layer [2022-07-12T20:59:16.734Z] b352a97aabf1: Waiting [2022-07-12T20:59:16.734Z] bde34c3a00c8: Waiting [2022-07-12T20:59:16.734Z] 4872d77fe225: Waiting [2022-07-12T20:59:16.734Z] 5851b861e8e6: Waiting [2022-07-12T20:59:16.734Z] e2be974225ed: Verifying Checksum [2022-07-12T20:59:16.734Z] e2be974225ed: Download complete [2022-07-12T20:59:16.734Z] 988bab9f4d93: Verifying Checksum [2022-07-12T20:59:16.997Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T20:59:16.997Z] 339a4e72a1f5: Download complete [2022-07-12T20:59:16.997Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T20:59:16.997Z] 1469e6f7b9e6: Download complete [2022-07-12T20:59:16.997Z] eaf3925da568: Download complete [2022-07-12T20:59:16.997Z] bde34c3a00c8: Verifying Checksum [2022-07-12T20:59:16.997Z] bde34c3a00c8: Download complete [2022-07-12T20:59:16.997Z] b352a97aabf1: Verifying Checksum [2022-07-12T20:59:16.997Z] b352a97aabf1: Download complete [2022-07-12T20:59:16.997Z] 4872d77fe225: Verifying Checksum [2022-07-12T20:59:16.997Z] 4872d77fe225: Download complete [2022-07-12T20:59:16.997Z] 5851b861e8e6: Download complete [2022-07-12T20:59:16.997Z] b85a868b505f: Verifying Checksum [2022-07-12T20:59:16.997Z] b85a868b505f: Download complete [2022-07-12T20:59:17.256Z] bab4dde63d76: Verifying Checksum [2022-07-12T20:59:17.256Z] bab4dde63d76: Download complete [2022-07-12T20:59:18.651Z] b85a868b505f: Pull complete [2022-07-12T20:59:18.651Z] e2be974225ed: Pull complete [2022-07-12T20:59:19.226Z] 339a4e72a1f5: Pull complete [2022-07-12T20:59:19.226Z] 988bab9f4d93: Pull complete [2022-07-12T20:59:19.486Z] 1469e6f7b9e6: Pull complete [2022-07-12T20:59:19.748Z] eaf3925da568: Pull complete [2022-07-12T20:59:21.663Z] bab4dde63d76: Pull complete [2022-07-12T20:59:21.924Z] bde34c3a00c8: Pull complete [2022-07-12T20:59:21.924Z] b352a97aabf1: Pull complete [2022-07-12T20:59:22.185Z] 4872d77fe225: Pull complete [2022-07-12T20:59:22.185Z] 5851b861e8e6: Pull complete [2022-07-12T20:59:22.185Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T20:59:22.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:59:22.185Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:59:22.299Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T20:59:22.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:59:23.832Z] $ docker top d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 -eo pid,comm [2022-07-12T20:59:23.903Z] 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-07-12T20:59:23.903Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:59:23.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:59:23.937Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:59:24.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:59:24.096Z] $ docker exec d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent [2022-07-12T20:59:24.223Z] SSH_AUTH_SOCK=/tmp/ssh-O9r32ztOMQwQ/agent.34 [2022-07-12T20:59:24.223Z] SSH_AGENT_PID=40 [2022-07-12T20:59:24.231Z] Running ssh-add (command line suppressed) [2022-07-12T20:59:24.364Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8121833539308822003.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8121833539308822003.key) [2022-07-12T20:59:24.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:59:24.682Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T20:59:24.696Z] $ docker exec --env ******** --env ******** d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent -k [2022-07-12T20:59:24.822Z] unset SSH_AUTH_SOCK; [2022-07-12T20:59:24.823Z] unset SSH_AGENT_PID; [2022-07-12T20:59:24.823Z] echo Agent pid 40 killed; [2022-07-12T20:59:24.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T20:59:24.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:59:24.857Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:59:24.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:59:24.992Z] $ docker exec d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent [2022-07-12T20:59:25.126Z] SSH_AUTH_SOCK=/tmp/ssh-8jn2dHXz8Auc/agent.73 [2022-07-12T20:59:25.126Z] SSH_AGENT_PID=80 [2022-07-12T20:59:25.132Z] Running ssh-add (command line suppressed) [2022-07-12T20:59:25.277Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2997904922736460706.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2997904922736460706.key) [2022-07-12T20:59:25.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:59:25.580Z] + git semver init [2022-07-12T20:59:25.841Z] 2022-07-12 20:59:25,803 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T20:59:25.841Z] 2022-07-12 20:59:25,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-07-12T20:59:25.841Z] 2022-07-12 20:59:25,804 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-07-12T20:59:25.841Z] 2022-07-12 20:59:25,804 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:59:26.786Z] 2022-07-12 20:59:26,559 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-07-12T20:59:26.786Z] 2022-07-12 20:59:26,560 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-07-12T20:59:26.786Z] 2022-07-12 20:59:26,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:59:26.786Z] 2022-07-12 20:59:26,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:59:26.786Z] 2.2.1-dev.9 [Pipeline] } [2022-07-12T20:59:26.800Z] $ docker exec --env ******** --env ******** d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 ssh-agent -k [2022-07-12T20:59:26.919Z] unset SSH_AUTH_SOCK; [2022-07-12T20:59:26.920Z] unset SSH_AGENT_PID; [2022-07-12T20:59:26.920Z] echo Agent pid 80 killed; [2022-07-12T20:59:26.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:59:27.239Z] + git semver [Pipeline] } [2022-07-12T20:59:27.518Z] $ docker stop --time=1 d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 [2022-07-12T20:59:28.870Z] $ docker rm -f d7fae0ad888195ec88c9b5072af305b1c4d92b1853dcf414d66e5075e83295a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:59:29.232Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T20:59:29.498Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T20:59:29.501Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [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-07-12T20:59:29.653Z] provisioning config files... [2022-07-12T20:59:29.664Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3590161740039976156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:59:29.914Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19760 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-07-12T20:59:29.927Z] Running in /w/workspace/device-mqtt-go/56 [Pipeline] { [Pipeline] checkout [2022-07-12T20:59:29.953Z] Selected Git installation does not exist. Using Default [2022-07-12T20:59:29.954Z] The recommended git tool is: NONE [2022-07-12T20:59:29.966Z] ---> docker-login.sh [2022-07-12T20:59:29.966Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:59:29.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:29.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:29.966Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:29.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:29.966Z] [2022-07-12T20:59:29.966Z] Login Succeeded [2022-07-12T20:59:29.966Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:59:29.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:30.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:30.228Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:30.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:30.228Z] [2022-07-12T20:59:30.228Z] Login Succeeded [2022-07-12T20:59:30.228Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:59:30.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:30.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:30.228Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:30.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:30.228Z] [2022-07-12T20:59:30.228Z] Login Succeeded [2022-07-12T20:59:30.228Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:59:30.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:30.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:30.489Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:30.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:30.489Z] [2022-07-12T20:59:30.489Z] Login Succeeded [2022-07-12T20:59:30.489Z] docker.io [2022-07-12T20:59:30.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:59:30.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:59:30.749Z] Configure a credential helper to remove this warning. See [2022-07-12T20:59:30.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:59:30.749Z] [2022-07-12T20:59:30.749Z] Login Succeeded [2022-07-12T20:59:30.749Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:59:30.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:59:30.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:59:30.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:59:30.846Z] ========================================================= [2022-07-12T20:59:30.846Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T20:59:30.846Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:59:31.164Z] + 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-07-12T20:59:31.164Z] Sending build context to Docker daemon 6.072MB [2022-07-12T20:59:31.164Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:59:31.164Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:59:31.164Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T20:59:31.164Z] 2408cc74d12b: Pulling fs layer [2022-07-12T20:59:31.164Z] ea60b727a1ce: Pulling fs layer [2022-07-12T20:59:31.164Z] 30c4a7721957: Pulling fs layer [2022-07-12T20:59:31.164Z] 370296b7ddb6: Pulling fs layer [2022-07-12T20:59:31.164Z] 7c6cee850709: Pulling fs layer [2022-07-12T20:59:31.164Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T20:59:31.164Z] d94ebbe4e438: Pulling fs layer [2022-07-12T20:59:31.164Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T20:59:31.164Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T20:59:31.164Z] 370296b7ddb6: Waiting [2022-07-12T20:59:31.164Z] 7c6cee850709: Waiting [2022-07-12T20:59:31.164Z] 39a5fcdaea64: Waiting [2022-07-12T20:59:31.164Z] d94ebbe4e438: Waiting [2022-07-12T20:59:31.164Z] bcfd1f05c69d: Waiting [2022-07-12T20:59:31.164Z] 59ccb84bbe0f: Waiting [2022-07-12T20:59:31.164Z] 30c4a7721957: Verifying Checksum [2022-07-12T20:59:31.164Z] 30c4a7721957: Download complete [2022-07-12T20:59:31.164Z] ea60b727a1ce: Verifying Checksum [2022-07-12T20:59:31.164Z] ea60b727a1ce: Download complete [2022-07-12T20:59:31.425Z] 7c6cee850709: Verifying Checksum [2022-07-12T20:59:31.425Z] 7c6cee850709: Download complete [2022-07-12T20:59:31.425Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T20:59:31.425Z] 39a5fcdaea64: Download complete [2022-07-12T20:59:31.425Z] 2408cc74d12b: Verifying Checksum [2022-07-12T20:59:31.425Z] 2408cc74d12b: Download complete [2022-07-12T20:59:31.425Z] d94ebbe4e438: Verifying Checksum [2022-07-12T20:59:31.425Z] d94ebbe4e438: Download complete [2022-07-12T20:59:31.425Z] 2408cc74d12b: Pull complete [2022-07-12T20:59:31.694Z] ea60b727a1ce: Pull complete [2022-07-12T20:59:31.694Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T20:59:31.694Z] 59ccb84bbe0f: Download complete [2022-07-12T20:59:31.694Z] 30c4a7721957: Pull complete [2022-07-12T20:59:31.957Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T20:59:31.957Z] bcfd1f05c69d: Download complete [2022-07-12T20:59:32.218Z] 370296b7ddb6: Verifying Checksum [2022-07-12T20:59:32.218Z] 370296b7ddb6: Download complete [2022-07-12T20:59:34.207Z] using credential edgex-jenkins-ssh [2022-07-12T20:59:34.223Z] Cloning the remote Git repository [2022-07-12T20:59:34.258Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:59:34.329Z] > git init /w/workspace/device-mqtt-go/56 # timeout=10 [2022-07-12T20:59:34.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:59:34.411Z] > git --version # timeout=10 [2022-07-12T20:59:34.425Z] > git --version # 'git version 2.25.1' [2022-07-12T20:59:34.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T20:59:34.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:59:35.479Z] Avoid second fetch [2022-07-12T20:59:35.480Z] Checking out Revision d22688ce7a8934592a13fb64b21226b5e27cedca (main) [2022-07-12T20:59:35.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-12T20:59:35.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:59:35.478Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T20:59:35.493Z] > git checkout -f d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 [2022-07-12T20:59:37.510Z] 370296b7ddb6: Pull complete [2022-07-12T20:59:37.510Z] 7c6cee850709: Pull complete [2022-07-12T20:59:37.510Z] 39a5fcdaea64: Pull complete [2022-07-12T20:59:37.510Z] d94ebbe4e438: Pull complete [2022-07-12T20:59:39.426Z] bcfd1f05c69d: Pull complete [2022-07-12T20:59:39.664Z] Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#382)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-07-12T20:59:39.997Z] 59ccb84bbe0f: Pull complete [2022-07-12T20:59:39.997Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T20:59:39.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T20:59:39.997Z] ---> a4fb48ad2a94 [2022-07-12T20:59:39.997Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [Pipeline] sh [2022-07-12T20:59:40.484Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T20:59:40.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:59:40.484Z] Dload Upload Total Spent Left Speed [2022-07-12T20:59:40.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 78692 0 --:--:-- --:--:-- --:--:-- 78692 [Pipeline] sh [2022-07-12T20:59:41.096Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T20:59:41.396Z] ---> Running in 3f583f003784 [2022-07-12T20:59:41.432Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T20:59:41.432Z] + sudo tee /etc/docker/daemon.new [2022-07-12T20:59:41.432Z] { [2022-07-12T20:59:41.432Z] "registry-mirrors": [ [2022-07-12T20:59:41.432Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T20:59:41.432Z] ], [2022-07-12T20:59:41.432Z] "bip": "10.250.0.254/24", [2022-07-12T20:59:41.432Z] "hosts": [ [2022-07-12T20:59:41.432Z] "tcp://0.0.0.0:5555", [2022-07-12T20:59:41.432Z] "unix:///var/run/docker.sock" [2022-07-12T20:59:41.432Z] ], [2022-07-12T20:59:41.432Z] "mtu": 1458, [2022-07-12T20:59:41.432Z] "selinux-enabled": true, [2022-07-12T20:59:41.432Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T20:59:41.432Z] } [Pipeline] sh [2022-07-12T20:59:41.655Z] Removing intermediate container 3f583f003784 [2022-07-12T20:59:41.655Z] ---> 81e5e43354d5 [2022-07-12T20:59:41.655Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:59:41.655Z] ---> Running in 0619b3d7b5b6 [2022-07-12T20:59:41.655Z] Removing intermediate container 0619b3d7b5b6 [2022-07-12T20:59:41.655Z] ---> 8676083fc1f9 [2022-07-12T20:59:41.655Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:59:41.655Z] ---> Running in 3c7634079037 [2022-07-12T20:59:41.775Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T20:59:42.109Z] + sudo service docker restart [2022-07-12T20:59:42.596Z] Removing intermediate container 3c7634079037 [2022-07-12T20:59:42.596Z] ---> 4be33b78b345 [2022-07-12T20:59:42.596Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:59:42.596Z] ---> Running in 88c2618f5fca [2022-07-12T20:59:42.596Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:59:43.539Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:59:43.799Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:59:44.059Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:59:44.059Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:59:44.059Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:59:44.318Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:59:44.318Z] OK: 216 MiB in 55 packages [2022-07-12T20:59:44.579Z] Removing intermediate container 88c2618f5fca [2022-07-12T20:59:44.579Z] ---> afb359d0a9a2 [2022-07-12T20:59:44.579Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-12T20:59:44.840Z] ---> Running in 2df8fa502e19 [2022-07-12T20:59:44.840Z] Removing intermediate container 2df8fa502e19 [2022-07-12T20:59:44.840Z] ---> dc2947efdbf9 [2022-07-12T20:59:44.840Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-12T20:59:45.101Z] ---> 7c7c812141a2 [2022-07-12T20:59:45.101Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:59:45.101Z] ---> Running in a8ecbb89cd8e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:00:00.428Z] provisioning config files... [2022-07-12T21:00:00.451Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/56@tmp/config7219090466212449397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:00:01.028Z] ---> docker-login.sh [2022-07-12T21:00:01.028Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:00:01.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:00:01.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:00:01.903Z] Configure a credential helper to remove this warning. See [2022-07-12T21:00:01.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:00:01.903Z] [2022-07-12T21:00:01.903Z] Login Succeeded [2022-07-12T21:00:01.903Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:00:02.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:00:02.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:00:02.447Z] Configure a credential helper to remove this warning. See [2022-07-12T21:00:02.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:00:02.447Z] [2022-07-12T21:00:02.447Z] Login Succeeded [2022-07-12T21:00:02.447Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:00:02.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:00:02.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:00:02.720Z] Configure a credential helper to remove this warning. See [2022-07-12T21:00:02.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:00:02.720Z] [2022-07-12T21:00:02.720Z] Login Succeeded [2022-07-12T21:00:02.720Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:00:02.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:00:03.217Z] Removing intermediate container a8ecbb89cd8e [2022-07-12T21:00:03.217Z] ---> 5e81fa42faec [2022-07-12T21:00:03.217Z] Step 10/12 : COPY . . [2022-07-12T21:00:03.217Z] ---> 13f8fa929643 [2022-07-12T21:00:03.217Z] Step 11/12 : ARG MAKE='make build' [2022-07-12T21:00:03.217Z] ---> Running in e7133edcbf89 [2022-07-12T21:00:03.217Z] Removing intermediate container e7133edcbf89 [2022-07-12T21:00:03.217Z] ---> 1c93246f8f96 [2022-07-12T21:00:03.217Z] Step 12/12 : RUN $MAKE [2022-07-12T21:00:03.217Z] ---> Running in a31b502e64a9 [2022-07-12T21:00:03.217Z] noop [2022-07-12T21:00:03.217Z] Removing intermediate container a31b502e64a9 [2022-07-12T21:00:03.217Z] ---> 8daba1279549 [2022-07-12T21:00:03.217Z] Successfully built 8daba1279549 [2022-07-12T21:00:03.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:00:03.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:00:03.266Z] Configure a credential helper to remove this warning. See [2022-07-12T21:00:03.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:00:03.266Z] [2022-07-12T21:00:03.266Z] Login Succeeded [2022-07-12T21:00:03.266Z] docker.io [2022-07-12T21:00:03.531Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:00:03.531Z] . [2022-07-12T21:00:03.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:00:03.619Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:00:03.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat [2022-07-12T21:00:04.063Z] $ docker top 6297e9b994fab9b48545f2a07c3f075408cae74abe757a3c1f988dcd291e0e89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:00:04.430Z] + go version [2022-07-12T21:00:04.430Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T21:00:04.447Z] $ docker stop --time=1 6297e9b994fab9b48545f2a07c3f075408cae74abe757a3c1f988dcd291e0e89 [2022-07-12T21:00:05.795Z] $ docker rm -f 6297e9b994fab9b48545f2a07c3f075408cae74abe757a3c1f988dcd291e0e89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:00:06.237Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:00:06.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:00:06.343Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:00:06.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat [2022-07-12T21:00:06.905Z] $ docker top 76927263ddf68cc8fc13275d80a060e2388fec4cba1782b7c16e64e2d57061cf -eo pid,comm [2022-07-12T21:00:06.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:00:06.909Z] Configure a credential helper to remove this warning. See [2022-07-12T21:00:06.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:00:06.909Z] [2022-07-12T21:00:06.909Z] Login Succeeded [2022-07-12T21:00:06.909Z] ---> docker-login.sh ends [Pipeline] { [Pipeline] } [2022-07-12T21:00:07.007Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:00:07.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2022-07-12T21:00:07.295Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo [2022-07-12T21:00:07.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] echo [2022-07-12T21:00:07.325Z] ========================================================= [2022-07-12T21:00:07.325Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T21:00:07.325Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:00:07.615Z] + make test [2022-07-12T21:00:07.615Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T21:00:07.714Z] + 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-07-12T21:00:07.876Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-12T21:00:07.986Z] Sending build context to Docker daemon 3.131MB [2022-07-12T21:00:07.986Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:00:07.986Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T21:00:08.261Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T21:00:08.261Z] b3c136eddcbf: Pulling fs layer [2022-07-12T21:00:08.261Z] c0a3192eca97: Pulling fs layer [2022-07-12T21:00:08.261Z] a050256f5b6f: Pulling fs layer [2022-07-12T21:00:08.261Z] 656be50a0ddc: Pulling fs layer [2022-07-12T21:00:08.261Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T21:00:08.261Z] 46d945488cbd: Pulling fs layer [2022-07-12T21:00:08.261Z] 8a5474983e97: Pulling fs layer [2022-07-12T21:00:08.261Z] 329c88fbcd65: Pulling fs layer [2022-07-12T21:00:08.261Z] 46d945488cbd: Waiting [2022-07-12T21:00:08.261Z] 656be50a0ddc: Waiting [2022-07-12T21:00:08.261Z] 2bbca73fdf42: Waiting [2022-07-12T21:00:08.261Z] 8a5474983e97: Waiting [2022-07-12T21:00:08.261Z] 329c88fbcd65: Waiting [2022-07-12T21:00:08.261Z] a050256f5b6f: Verifying Checksum [2022-07-12T21:00:08.261Z] a050256f5b6f: Download complete [2022-07-12T21:00:08.261Z] c0a3192eca97: Verifying Checksum [2022-07-12T21:00:08.261Z] c0a3192eca97: Download complete [2022-07-12T21:00:08.261Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T21:00:08.261Z] 2bbca73fdf42: Download complete [2022-07-12T21:00:08.261Z] 46d945488cbd: Verifying Checksum [2022-07-12T21:00:08.261Z] 46d945488cbd: Download complete [2022-07-12T21:00:08.261Z] b3c136eddcbf: Verifying Checksum [2022-07-12T21:00:08.261Z] b3c136eddcbf: Download complete [2022-07-12T21:00:09.262Z] b3c136eddcbf: Pull complete [2022-07-12T21:00:09.262Z] 329c88fbcd65: Verifying Checksum [2022-07-12T21:00:09.262Z] 329c88fbcd65: Download complete [2022-07-12T21:00:09.867Z] c0a3192eca97: Pull complete [2022-07-12T21:00:10.143Z] a050256f5b6f: Pull complete [2022-07-12T21:00:10.418Z] 8a5474983e97: Verifying Checksum [2022-07-12T21:00:10.418Z] 8a5474983e97: Download complete [2022-07-12T21:00:11.395Z] 656be50a0ddc: Verifying Checksum [2022-07-12T21:00:11.395Z] 656be50a0ddc: Download complete [2022-07-12T21:00:17.863Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-12T21:00:17.863Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-07-12T21:00:17.863Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-12T21:00:23.827Z] 656be50a0ddc: Pull complete [2022-07-12T21:00:23.827Z] 2bbca73fdf42: Pull complete [2022-07-12T21:00:24.103Z] 46d945488cbd: Pull complete [2022-07-12T21:00:24.447Z] 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-07-12T21:00:24.447Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:00:26.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:00:26.989Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:00:26.989Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:00:27.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:00:27.282Z] $ docker stop --time=1 76927263ddf68cc8fc13275d80a060e2388fec4cba1782b7c16e64e2d57061cf [2022-07-12T21:00:29.192Z] $ docker rm -f 76927263ddf68cc8fc13275d80a060e2388fec4cba1782b7c16e64e2d57061cf [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:00:29.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:00:29.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T21:00:30.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:00:30.484Z] + ls -al . [2022-07-12T21:00:30.484Z] total 180 [2022-07-12T21:00:30.484Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:00 . [2022-07-12T21:00:30.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 .. [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:59 .dockerignore [2022-07-12T21:00:30.484Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:00 .git [2022-07-12T21:00:30.484Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 .github [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:59 .gitignore [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:59 .golangci.yml [2022-07-12T21:00:30.484Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:59 .semver [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:59 Attribution.txt [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:59 CHANGELOG.md [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:59 Dockerfile [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:59 GOVERNANCE.md [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:59 Jenkinsfile [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:59 LICENSE [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:59 Makefile [2022-07-12T21:00:30.484Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:59 OWNERS.md [2022-07-12T21:00:30.485Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:59 README.md [2022-07-12T21:00:30.485Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:59 VERSION [2022-07-12T21:00:30.485Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 bin [2022-07-12T21:00:30.485Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 cmd [2022-07-12T21:00:30.485Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 21:00 coverage.out [2022-07-12T21:00:30.485Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:59 go.mod [2022-07-12T21:00:30.485Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 20:59 go.sum [2022-07-12T21:00:30.485Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 internal [2022-07-12T21:00:30.485Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 mock [2022-07-12T21:00:30.485Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 snap [2022-07-12T21:00:30.485Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:00:30.804Z] + 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=d22688ce7a8934592a13fb64b21226b5e27cedca --label arch=amd64 --label version=2.2.1-dev.9 . [2022-07-12T21:00:30.804Z] Sending build context to Docker daemon 6.09MB [2022-07-12T21:00:30.804Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:00:30.804Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T21:00:30.804Z] ---> 8daba1279549 [2022-07-12T21:00:30.804Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:00:30.824Z] 8a5474983e97: Pull complete [2022-07-12T21:00:31.064Z] ---> Running in c0c43a844b34 [2022-07-12T21:00:31.064Z] Removing intermediate container c0c43a844b34 [2022-07-12T21:00:31.064Z] ---> 629968a2ba09 [2022-07-12T21:00:31.064Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:00:31.064Z] ---> Running in 5515cded2652 [2022-07-12T21:00:31.064Z] Removing intermediate container 5515cded2652 [2022-07-12T21:00:31.064Z] ---> 25a39c1f8e80 [2022-07-12T21:00:31.064Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:00:31.323Z] ---> Running in da8e4c24cb0a [2022-07-12T21:00:31.800Z] 329c88fbcd65: Pull complete [2022-07-12T21:00:31.800Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T21:00:31.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T21:00:31.800Z] ---> ff4287adb874 [2022-07-12T21:00:31.800Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:00:31.895Z] Removing intermediate container da8e4c24cb0a [2022-07-12T21:00:31.895Z] ---> da9bf41f3ce0 [2022-07-12T21:00:31.895Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:00:31.895Z] ---> Running in 979af45ca90f [2022-07-12T21:00:32.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:00:33.098Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:00:33.235Z] ---> Running in 241795fbf395 [2022-07-12T21:00:33.358Z] OK: 216 MiB in 55 packages [2022-07-12T21:00:33.507Z] Removing intermediate container 241795fbf395 [2022-07-12T21:00:33.507Z] ---> 8d25e827a61f [2022-07-12T21:00:33.507Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:00:33.619Z] Removing intermediate container 979af45ca90f [2022-07-12T21:00:33.619Z] ---> 9c0e8878acbf [2022-07-12T21:00:33.619Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-12T21:00:33.619Z] ---> Running in 0670cac99479 [2022-07-12T21:00:33.779Z] ---> Running in 13bd67b11889 [2022-07-12T21:00:33.879Z] Removing intermediate container 0670cac99479 [2022-07-12T21:00:33.879Z] ---> db42d5300876 [2022-07-12T21:00:33.879Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-12T21:00:33.879Z] ---> 88e88bf5fcbd [2022-07-12T21:00:33.879Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:00:34.051Z] Removing intermediate container 13bd67b11889 [2022-07-12T21:00:34.051Z] ---> 6f95fb3c3746 [2022-07-12T21:00:34.051Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:00:34.051Z] ---> Running in fd3fdbc2570c [2022-07-12T21:00:34.138Z] ---> Running in f4b972afc5fb [2022-07-12T21:00:34.706Z] Removing intermediate container f4b972afc5fb [2022-07-12T21:00:34.706Z] ---> ad577a40b0bb [2022-07-12T21:00:34.706Z] Step 10/24 : COPY . . [2022-07-12T21:00:34.966Z] ---> 43b6afc189a2 [2022-07-12T21:00:34.966Z] Step 11/24 : ARG MAKE='make build' [2022-07-12T21:00:35.225Z] ---> Running in 1b30ece07300 [2022-07-12T21:00:35.225Z] Removing intermediate container 1b30ece07300 [2022-07-12T21:00:35.225Z] ---> 29920832b96d [2022-07-12T21:00:35.225Z] Step 12/24 : RUN $MAKE [2022-07-12T21:00:35.225Z] ---> Running in b798bb3edbac [2022-07-12T21:00:35.486Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-12T21:00:36.026Z] Removing intermediate container fd3fdbc2570c [2022-07-12T21:00:36.026Z] ---> 5dd42e37d39c [2022-07-12T21:00:36.026Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:00:36.026Z] ---> Running in 11bfec81073c [2022-07-12T21:00:36.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:00:37.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:00:38.581Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:00:38.581Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T21:00:38.581Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:00:38.853Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:00:38.853Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:00:39.132Z] OK: 226 MiB in 55 packages [2022-07-12T21:00:40.111Z] Removing intermediate container 11bfec81073c [2022-07-12T21:00:40.111Z] ---> f957580ef0d3 [2022-07-12T21:00:40.111Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-12T21:00:40.111Z] ---> Running in 3d7b625647cf [2022-07-12T21:00:40.386Z] Removing intermediate container 3d7b625647cf [2022-07-12T21:00:40.386Z] ---> 74d4a0349352 [2022-07-12T21:00:40.386Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-12T21:00:40.985Z] ---> e1a2c210804f [2022-07-12T21:00:40.985Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:00:40.985Z] ---> Running in e6791a51ec3d [2022-07-12T21:00:57.442Z] Removing intermediate container b798bb3edbac [2022-07-12T21:00:57.442Z] ---> a3a6327104f6 [2022-07-12T21:00:57.442Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T21:00:57.442Z] 3.16: Pulling from library/alpine [2022-07-12T21:00:57.442Z] 2408cc74d12b: Already exists [2022-07-12T21:00:57.442Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T21:00:57.442Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T21:00:57.442Z] ---> e66264b98777 [2022-07-12T21:00:57.442Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-12T21:00:57.442Z] ---> Running in 17c7cfb18b39 [2022-07-12T21:00:57.442Z] Removing intermediate container 17c7cfb18b39 [2022-07-12T21:00:57.442Z] ---> 2cb1fc857680 [2022-07-12T21:00:57.442Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:00:57.442Z] ---> Running in 51d4111e044a [2022-07-12T21:00:57.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:00:57.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:00:57.442Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:00:57.442Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T21:00:57.442Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:00:57.442Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T21:00:57.442Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:00:57.442Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:00:57.442Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:00:57.442Z] OK: 8 MiB in 20 packages [2022-07-12T21:00:57.703Z] Removing intermediate container 51d4111e044a [2022-07-12T21:00:57.703Z] ---> 5fc7d4c5d34d [2022-07-12T21:00:57.703Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-12T21:00:58.276Z] ---> 3d8455fd2eef [2022-07-12T21:00:58.276Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-12T21:00:58.276Z] ---> e3a0a6cb9076 [2022-07-12T21:00:58.276Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-12T21:00:58.538Z] ---> 6e9b0d6c4490 [2022-07-12T21:00:58.538Z] Step 19/24 : EXPOSE 59982 [2022-07-12T21:00:58.538Z] ---> Running in a545cd9f8732 [2022-07-12T21:00:58.798Z] Removing intermediate container a545cd9f8732 [2022-07-12T21:00:58.798Z] ---> 511b61354565 [2022-07-12T21:00:58.798Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-12T21:00:58.798Z] ---> Running in 1c7db1ebc514 [2022-07-12T21:00:58.798Z] Removing intermediate container 1c7db1ebc514 [2022-07-12T21:00:58.798Z] ---> 76f14d3ce216 [2022-07-12T21:00:58.798Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T21:00:59.060Z] ---> Running in 79d43344be24 [2022-07-12T21:00:59.060Z] Removing intermediate container 79d43344be24 [2022-07-12T21:00:59.060Z] ---> 5f8273b2ee36 [2022-07-12T21:00:59.060Z] Step 22/24 : LABEL arch=amd64 [2022-07-12T21:00:59.060Z] ---> Running in 8864f93c76db [2022-07-12T21:00:59.319Z] Removing intermediate container 8864f93c76db [2022-07-12T21:00:59.319Z] ---> 284d3a35b4e0 [2022-07-12T21:00:59.319Z] Step 23/24 : LABEL git_sha=d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:00:59.319Z] ---> Running in ee8c45c11e0d [2022-07-12T21:00:59.319Z] Removing intermediate container ee8c45c11e0d [2022-07-12T21:00:59.319Z] ---> 49c6b21bc74c [2022-07-12T21:00:59.319Z] Step 24/24 : LABEL version=2.2.1-dev.9 [2022-07-12T21:00:59.319Z] ---> Running in a1cbea688048 [2022-07-12T21:00:59.580Z] Removing intermediate container a1cbea688048 [2022-07-12T21:00:59.580Z] ---> df87001e41e6 [2022-07-12T21:00:59.580Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:00:59.580Z] Successfully built df87001e41e6 [2022-07-12T21:00:59.580Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:00:59.690Z] provisioning config files... [2022-07-12T21:00:59.699Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2428212489573097715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:00:59.994Z] ---> docker-login.sh [2022-07-12T21:00:59.994Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:00:59.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:00:59.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:00:59.994Z] Configure a credential helper to remove this warning. See [2022-07-12T21:00:59.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:00:59.994Z] [2022-07-12T21:00:59.994Z] Login Succeeded [2022-07-12T21:00:59.994Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:00:59.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:01:00.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:01:00.254Z] Configure a credential helper to remove this warning. See [2022-07-12T21:01:00.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:01:00.254Z] [2022-07-12T21:01:00.254Z] Login Succeeded [2022-07-12T21:01:00.254Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:01:00.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:01:00.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:01:00.254Z] Configure a credential helper to remove this warning. See [2022-07-12T21:01:00.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:01:00.254Z] [2022-07-12T21:01:00.254Z] Login Succeeded [2022-07-12T21:01:00.254Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:01:00.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:01:00.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:01:00.514Z] Configure a credential helper to remove this warning. See [2022-07-12T21:01:00.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:01:00.514Z] [2022-07-12T21:01:00.514Z] Login Succeeded [2022-07-12T21:01:00.514Z] docker.io [2022-07-12T21:01:00.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:01:01.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:01:01.898Z] Configure a credential helper to remove this warning. See [2022-07-12T21:01:01.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:01:01.898Z] [2022-07-12T21:01:01.898Z] Login Succeeded [2022-07-12T21:01:01.898Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:01:01.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:01:01.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:01:01.954Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-07-12T21:01:01.954Z] d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:01:01.954Z] latest [2022-07-12T21:01:01.954Z] 2.2.1-dev.9 [2022-07-12T21:01:01.954Z] d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [2022-07-12T21:01:01.954Z] main [2022-07-12T21:01:01.954Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:02.264Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:02.669Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:01:02.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T21:01:02.669Z] 10f8ba9fa53e: Preparing [2022-07-12T21:01:02.669Z] cd470230f4bb: Preparing [2022-07-12T21:01:02.669Z] eef54744336c: Preparing [2022-07-12T21:01:02.669Z] 6396f9899df7: Preparing [2022-07-12T21:01:02.669Z] 24302eb7d908: Preparing [2022-07-12T21:01:02.669Z] 24302eb7d908: Layer already exists [2022-07-12T21:01:02.669Z] cd470230f4bb: Pushed [2022-07-12T21:01:02.669Z] 10f8ba9fa53e: Pushed [2022-07-12T21:01:02.931Z] 6396f9899df7: Pushed [2022-07-12T21:01:05.472Z] eef54744336c: Pushed [2022-07-12T21:01:05.472Z] d22688ce7a8934592a13fb64b21226b5e27cedca: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:05.794Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:06.107Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-07-12T21:01:06.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T21:01:06.108Z] 10f8ba9fa53e: Preparing [2022-07-12T21:01:06.108Z] cd470230f4bb: Preparing [2022-07-12T21:01:06.108Z] eef54744336c: Preparing [2022-07-12T21:01:06.108Z] 6396f9899df7: Preparing [2022-07-12T21:01:06.108Z] 24302eb7d908: Preparing [2022-07-12T21:01:06.108Z] 6396f9899df7: Layer already exists [2022-07-12T21:01:06.108Z] 10f8ba9fa53e: Layer already exists [2022-07-12T21:01:06.108Z] cd470230f4bb: Layer already exists [2022-07-12T21:01:06.108Z] eef54744336c: Layer already exists [2022-07-12T21:01:06.108Z] 24302eb7d908: Layer already exists [2022-07-12T21:01:06.108Z] latest: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:06.425Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:06.738Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.9 [2022-07-12T21:01:06.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T21:01:06.738Z] 10f8ba9fa53e: Preparing [2022-07-12T21:01:06.738Z] cd470230f4bb: Preparing [2022-07-12T21:01:06.738Z] eef54744336c: Preparing [2022-07-12T21:01:06.738Z] 6396f9899df7: Preparing [2022-07-12T21:01:06.738Z] 24302eb7d908: Preparing [2022-07-12T21:01:06.738Z] 24302eb7d908: Layer already exists [2022-07-12T21:01:06.738Z] 10f8ba9fa53e: Layer already exists [2022-07-12T21:01:06.738Z] 6396f9899df7: Layer already exists [2022-07-12T21:01:06.738Z] cd470230f4bb: Layer already exists [2022-07-12T21:01:06.738Z] eef54744336c: Layer already exists [2022-07-12T21:01:06.738Z] 2.2.1-dev.9: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:07.069Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:07.381Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [2022-07-12T21:01:07.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T21:01:07.381Z] 10f8ba9fa53e: Preparing [2022-07-12T21:01:07.381Z] cd470230f4bb: Preparing [2022-07-12T21:01:07.381Z] eef54744336c: Preparing [2022-07-12T21:01:07.381Z] 6396f9899df7: Preparing [2022-07-12T21:01:07.381Z] 24302eb7d908: Preparing [2022-07-12T21:01:07.381Z] 24302eb7d908: Layer already exists [2022-07-12T21:01:07.381Z] eef54744336c: Layer already exists [2022-07-12T21:01:07.381Z] 10f8ba9fa53e: Layer already exists [2022-07-12T21:01:07.381Z] cd470230f4bb: Layer already exists [2022-07-12T21:01:07.381Z] 6396f9899df7: Layer already exists [2022-07-12T21:01:07.381Z] d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:07.768Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:08.131Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-07-12T21:01:08.131Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T21:01:08.131Z] 10f8ba9fa53e: Preparing [2022-07-12T21:01:08.131Z] cd470230f4bb: Preparing [2022-07-12T21:01:08.131Z] eef54744336c: Preparing [2022-07-12T21:01:08.131Z] 6396f9899df7: Preparing [2022-07-12T21:01:08.131Z] 24302eb7d908: Preparing [2022-07-12T21:01:08.131Z] 10f8ba9fa53e: Layer already exists [2022-07-12T21:01:08.131Z] 24302eb7d908: Layer already exists [2022-07-12T21:01:08.131Z] eef54744336c: Layer already exists [2022-07-12T21:01:08.131Z] cd470230f4bb: Layer already exists [2022-07-12T21:01:08.131Z] 6396f9899df7: Layer already exists [2022-07-12T21:01:08.131Z] main: digest: sha256:1d8376cac6f881a2fb251598a90535d9809a3ac8d0008d9cc059ce3cf28977a8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:01:08.180Z] ===================================================== [Pipeline] echo [2022-07-12T21:01:08.189Z] taggedImages: [2022-07-12T21:01:08.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:01:08.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-07-12T21:01:08.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.9 [2022-07-12T21:01:08.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [2022-07-12T21:01:08.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [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-07-12T21:01:08.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:01:08.562Z] [2022-07-12T21:01:08.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:08.861Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:01:08.861Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T21:01:08.861Z] 5eb5b503b376: Pulling fs layer [2022-07-12T21:01:08.861Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T21:01:08.861Z] ec43610c2a17: Pulling fs layer [2022-07-12T21:01:08.861Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T21:01:08.861Z] 33b1e0a273af: Pulling fs layer [2022-07-12T21:01:08.861Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T21:01:08.861Z] 2f39f015ded8: Pulling fs layer [2022-07-12T21:01:08.861Z] 33b1e0a273af: Waiting [2022-07-12T21:01:08.861Z] 5d3b04190fa2: Waiting [2022-07-12T21:01:08.861Z] 2f39f015ded8: Waiting [2022-07-12T21:01:08.861Z] 3a2ae6a8a46f: Waiting [2022-07-12T21:01:08.861Z] 5c69ac0246d0: Download complete [2022-07-12T21:01:08.861Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T21:01:08.861Z] 3a2ae6a8a46f: Download complete [2022-07-12T21:01:08.861Z] 33b1e0a273af: Verifying Checksum [2022-07-12T21:01:08.861Z] 33b1e0a273af: Download complete [2022-07-12T21:01:08.861Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T21:01:08.861Z] 5d3b04190fa2: Download complete [2022-07-12T21:01:09.120Z] ec43610c2a17: Verifying Checksum [2022-07-12T21:01:09.120Z] ec43610c2a17: Download complete [2022-07-12T21:01:09.120Z] 5eb5b503b376: Verifying Checksum [2022-07-12T21:01:09.120Z] 5eb5b503b376: Download complete [2022-07-12T21:01:09.688Z] 2f39f015ded8: Download complete [2022-07-12T21:01:10.260Z] 5eb5b503b376: Pull complete [2022-07-12T21:01:10.519Z] 5c69ac0246d0: Pull complete [2022-07-12T21:01:11.088Z] ec43610c2a17: Pull complete [2022-07-12T21:01:11.088Z] 3a2ae6a8a46f: Pull complete [2022-07-12T21:01:11.347Z] 33b1e0a273af: Pull complete [2022-07-12T21:01:11.347Z] 5d3b04190fa2: Pull complete [2022-07-12T21:01:16.621Z] 2f39f015ded8: Pull complete [2022-07-12T21:01:16.621Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T21:01:16.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:01:16.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:01:16.710Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:01:16.751Z] $ 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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-07-12T21:01:18.587Z] $ docker top b8bfc8f13efbf595d82f4df293aca04dda548b06946b9d37c3a96701f79d9a41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:01:18.957Z] ---> job-cost.sh [2022-07-12T21:01:18.957Z] lf-activate-venv: SKIPPING [2022-07-12T21:01:18.957Z] INFO: No Stack... [2022-07-12T21:01:19.217Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:01:19.787Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:01:20.075Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-07-12T21:01:20.075Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:01:20.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [2022-07-12T21:01:20.093Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] did not exist. Created. [2022-07-12T21:01:20.093Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:01:20.397Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T21:01:20.422Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:01:20.428Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:01:20.454Z] $ docker stop --time=1 b8bfc8f13efbf595d82f4df293aca04dda548b06946b9d37c3a96701f79d9a41 [2022-07-12T21:01:21.632Z] $ docker rm -f b8bfc8f13efbf595d82f4df293aca04dda548b06946b9d37c3a96701f79d9a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T21:01:27.948Z] Removing intermediate container e6791a51ec3d [2022-07-12T21:01:27.948Z] ---> 7c4234935a5f [2022-07-12T21:01:27.948Z] Step 10/12 : COPY . . [2022-07-12T21:01:27.948Z] ---> e429749321c3 [2022-07-12T21:01:27.948Z] Step 11/12 : ARG MAKE='make build' [2022-07-12T21:01:27.948Z] ---> Running in 2954ba3f7146 [2022-07-12T21:01:27.948Z] Removing intermediate container 2954ba3f7146 [2022-07-12T21:01:27.948Z] ---> e86965ff589d [2022-07-12T21:01:27.948Z] Step 12/12 : RUN $MAKE [2022-07-12T21:01:27.948Z] ---> Running in ed7d11f0f356 [2022-07-12T21:01:27.948Z] noop [2022-07-12T21:01:27.948Z] Removing intermediate container ed7d11f0f356 [2022-07-12T21:01:27.948Z] ---> ee98bfad55c8 [2022-07-12T21:01:27.948Z] Successfully built ee98bfad55c8 [2022-07-12T21:01:27.948Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:28.325Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:01:28.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:01:28.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-19760 does not seem to be running inside a container [2022-07-12T21:01:28.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/56 -v /w/workspace/device-mqtt-go/56:/w/workspace/device-mqtt-go/56:rw,z -v /w/workspace/device-mqtt-go/56@tmp:/w/workspace/device-mqtt-go/56@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 ******** ci-base-image-arm64 cat [2022-07-12T21:01:29.949Z] $ docker top 451c3c6aaf444430cae07c6a68939de8fd2d0794c56932ece235d0dd1f7358da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:01:30.919Z] + go version [2022-07-12T21:01:30.919Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T21:01:30.925Z] $ docker stop --time=1 451c3c6aaf444430cae07c6a68939de8fd2d0794c56932ece235d0dd1f7358da [2022-07-12T21:01:32.561Z] $ docker rm -f 451c3c6aaf444430cae07c6a68939de8fd2d0794c56932ece235d0dd1f7358da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:01:33.209Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:01:33.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:01:33.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-19760 does not seem to be running inside a container [2022-07-12T21:01:33.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/56 -v /w/workspace/device-mqtt-go/56:/w/workspace/device-mqtt-go/56:rw,z -v /w/workspace/device-mqtt-go/56@tmp:/w/workspace/device-mqtt-go/56@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 ******** ci-base-image-arm64 cat [2022-07-12T21:01:34.767Z] $ docker top 23a34ac66ea318663bfe37c0e228acf0867d9b18fb5b361097b54eb13d811a4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:01:35.706Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/56 [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:01:36.378Z] + make test [2022-07-12T21:01:36.378Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T21:01:37.823Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-12T21:02:59.651Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-12T21:02:59.651Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-07-12T21:02:59.651Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-12T21:02:59.652Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T21:02:59.652Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:03:18.001Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:03:18.001Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:03:18.001Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:03:18.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:03:18.016Z] $ docker stop --time=1 23a34ac66ea318663bfe37c0e228acf0867d9b18fb5b361097b54eb13d811a4b [2022-07-12T21:03:19.807Z] $ docker rm -f 23a34ac66ea318663bfe37c0e228acf0867d9b18fb5b361097b54eb13d811a4b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:03:20.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:03:20.812Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T21:03:21.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:03:21.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:03:22.164Z] + ls -al . [2022-07-12T21:03:22.164Z] total 176 [2022-07-12T21:03:22.164Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 21:01 . [2022-07-12T21:03:22.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 .. [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:59 .dockerignore [2022-07-12T21:03:22.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:59 .git [2022-07-12T21:03:22.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 .github [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:59 .gitignore [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:59 .golangci.yml [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:59 Attribution.txt [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:59 CHANGELOG.md [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:59 Dockerfile [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:59 GOVERNANCE.md [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:59 Jenkinsfile [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:59 LICENSE [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:59 Makefile [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:59 OWNERS.md [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:59 README.md [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:59 VERSION [2022-07-12T21:03:22.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 bin [2022-07-12T21:03:22.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 cmd [2022-07-12T21:03:22.164Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 21:02 coverage.out [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:59 go.mod [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 20:59 go.sum [2022-07-12T21:03:22.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:59 internal [2022-07-12T21:03:22.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:59 mock [2022-07-12T21:03:22.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:59 snap [2022-07-12T21:03:22.164Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:03:22.588Z] + 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=d22688ce7a8934592a13fb64b21226b5e27cedca --label arch=arm64 --label version=2.2.1-dev.9 . [2022-07-12T21:03:22.875Z] Sending build context to Docker daemon 3.15MB [2022-07-12T21:03:23.154Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:03:23.154Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T21:03:23.154Z] ---> ee98bfad55c8 [2022-07-12T21:03:23.154Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T21:03:23.154Z] ---> Running in a23de87c5518 [2022-07-12T21:03:23.434Z] Removing intermediate container a23de87c5518 [2022-07-12T21:03:23.434Z] ---> 367f2e0b14c7 [2022-07-12T21:03:23.434Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T21:03:23.712Z] ---> Running in 8515c0c1ab11 [2022-07-12T21:03:23.986Z] Removing intermediate container 8515c0c1ab11 [2022-07-12T21:03:23.986Z] ---> 5c62424e8884 [2022-07-12T21:03:23.986Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:03:23.986Z] ---> Running in 988d55ec474e [2022-07-12T21:03:25.968Z] Removing intermediate container 988d55ec474e [2022-07-12T21:03:25.968Z] ---> eb984cb0d7fb [2022-07-12T21:03:25.968Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T21:03:25.968Z] ---> Running in b5c23b61e886 [2022-07-12T21:03:26.565Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:03:27.545Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:03:28.526Z] OK: 226 MiB in 55 packages [2022-07-12T21:03:29.504Z] Removing intermediate container b5c23b61e886 [2022-07-12T21:03:29.504Z] ---> 326cbe8b2acb [2022-07-12T21:03:29.504Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-12T21:03:29.504Z] ---> Running in b0666ebe0ab5 [2022-07-12T21:03:29.781Z] Removing intermediate container b0666ebe0ab5 [2022-07-12T21:03:29.781Z] ---> d1a7e262faf2 [2022-07-12T21:03:29.781Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-12T21:03:30.378Z] ---> 8d34de44b2f7 [2022-07-12T21:03:30.378Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:03:30.378Z] ---> Running in 67ce2f6dfc81 [2022-07-12T21:03:32.357Z] Removing intermediate container 67ce2f6dfc81 [2022-07-12T21:03:32.357Z] ---> fb6c8bbdc2f5 [2022-07-12T21:03:32.357Z] Step 10/24 : COPY . . [2022-07-12T21:03:32.951Z] ---> 2e625cafe56f [2022-07-12T21:03:32.951Z] Step 11/24 : ARG MAKE='make build' [2022-07-12T21:03:32.951Z] ---> Running in d2b9e2fda82f [2022-07-12T21:03:33.231Z] Removing intermediate container d2b9e2fda82f [2022-07-12T21:03:33.231Z] ---> 70325e3bc495 [2022-07-12T21:03:33.231Z] Step 12/24 : RUN $MAKE [2022-07-12T21:03:33.231Z] ---> Running in 64a37dd943d9 [2022-07-12T21:03:34.212Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-12T21:05:41.086Z] Removing intermediate container 64a37dd943d9 [2022-07-12T21:05:41.086Z] ---> 77416c931058 [2022-07-12T21:05:41.086Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T21:05:41.086Z] 3.16: Pulling from library/alpine [2022-07-12T21:05:41.086Z] b3c136eddcbf: Already exists [2022-07-12T21:05:41.086Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T21:05:41.086Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T21:05:41.086Z] ---> 6e30ab57aeee [2022-07-12T21:05:41.086Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-12T21:05:41.086Z] ---> Running in 06647b272a36 [2022-07-12T21:05:41.086Z] Removing intermediate container 06647b272a36 [2022-07-12T21:05:41.086Z] ---> 4cf9409571d8 [2022-07-12T21:05:41.086Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:05:41.086Z] ---> Running in 7b16fe428249 [2022-07-12T21:05:41.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:05:41.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:05:41.086Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:05:41.086Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T21:05:41.086Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:05:41.086Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T21:05:41.086Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:05:41.086Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:05:41.086Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:05:41.086Z] OK: 8 MiB in 20 packages [2022-07-12T21:05:41.086Z] Removing intermediate container 7b16fe428249 [2022-07-12T21:05:41.086Z] ---> ae8d7bae5d64 [2022-07-12T21:05:41.086Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-12T21:05:41.086Z] ---> cea068ff2937 [2022-07-12T21:05:41.086Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-12T21:05:41.086Z] ---> dd2ba0f2e561 [2022-07-12T21:05:41.086Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-12T21:05:41.086Z] ---> 5baafc92895b [2022-07-12T21:05:41.086Z] Step 19/24 : EXPOSE 59982 [2022-07-12T21:05:41.086Z] ---> Running in a3cc673a1014 [2022-07-12T21:05:41.086Z] Removing intermediate container a3cc673a1014 [2022-07-12T21:05:41.086Z] ---> 008a0e409fff [2022-07-12T21:05:41.086Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-12T21:05:41.371Z] ---> Running in 7a9ff0f3cec1 [2022-07-12T21:05:41.647Z] Removing intermediate container 7a9ff0f3cec1 [2022-07-12T21:05:41.647Z] ---> b87c5ee7148f [2022-07-12T21:05:41.647Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T21:05:41.647Z] ---> Running in e044cb774c25 [2022-07-12T21:05:41.920Z] Removing intermediate container e044cb774c25 [2022-07-12T21:05:41.920Z] ---> 0a604acc2295 [2022-07-12T21:05:41.920Z] Step 22/24 : LABEL arch=arm64 [2022-07-12T21:05:41.920Z] ---> Running in fa742de87d26 [2022-07-12T21:05:42.196Z] Removing intermediate container fa742de87d26 [2022-07-12T21:05:42.196Z] ---> ff75c3f0f571 [2022-07-12T21:05:42.196Z] Step 23/24 : LABEL git_sha=d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:05:42.473Z] ---> Running in e8966acc471d [2022-07-12T21:05:42.748Z] Removing intermediate container e8966acc471d [2022-07-12T21:05:42.748Z] ---> 1a22b777c57d [2022-07-12T21:05:42.748Z] Step 24/24 : LABEL version=2.2.1-dev.9 [2022-07-12T21:05:42.748Z] ---> Running in 8a4c4bc7ada7 [2022-07-12T21:05:43.021Z] Removing intermediate container 8a4c4bc7ada7 [2022-07-12T21:05:43.021Z] ---> d4316aca948a [2022-07-12T21:05:43.021Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:05:43.021Z] Successfully built d4316aca948a [2022-07-12T21:05:43.021Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:05:43.142Z] provisioning config files... [2022-07-12T21:05:43.160Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/56@tmp/config4769724943001593821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:05:43.510Z] ---> docker-login.sh [2022-07-12T21:05:43.510Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:05:43.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:05:43.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:05:43.784Z] Configure a credential helper to remove this warning. See [2022-07-12T21:05:43.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:05:43.784Z] [2022-07-12T21:05:43.784Z] Login Succeeded [2022-07-12T21:05:43.784Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:05:44.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:05:44.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:05:44.380Z] Configure a credential helper to remove this warning. See [2022-07-12T21:05:44.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:05:44.380Z] [2022-07-12T21:05:44.380Z] Login Succeeded [2022-07-12T21:05:44.380Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:05:44.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:05:44.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:05:44.929Z] Configure a credential helper to remove this warning. See [2022-07-12T21:05:44.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:05:44.929Z] [2022-07-12T21:05:44.929Z] Login Succeeded [2022-07-12T21:05:44.929Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:05:45.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:05:45.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:05:45.200Z] Configure a credential helper to remove this warning. See [2022-07-12T21:05:45.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:05:45.200Z] [2022-07-12T21:05:45.200Z] Login Succeeded [2022-07-12T21:05:45.476Z] docker.io [2022-07-12T21:05:45.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:05:46.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:05:46.026Z] Configure a credential helper to remove this warning. See [2022-07-12T21:05:46.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:05:46.026Z] [2022-07-12T21:05:46.026Z] Login Succeeded [2022-07-12T21:05:46.026Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:05:46.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:05:46.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:05:46.108Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-07-12T21:05:46.108Z] d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:05:46.108Z] latest [2022-07-12T21:05:46.108Z] 2.2.1-dev.9 [2022-07-12T21:05:46.108Z] d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [2022-07-12T21:05:46.108Z] main [2022-07-12T21:05:46.108Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:46.477Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:46.877Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:05:46.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T21:05:46.877Z] 8c91506ee96c: Preparing [2022-07-12T21:05:46.877Z] 9d73881985c5: Preparing [2022-07-12T21:05:46.877Z] 02854e923707: Preparing [2022-07-12T21:05:46.877Z] bab4704e9dad: Preparing [2022-07-12T21:05:46.877Z] dd565ff850e7: Preparing [2022-07-12T21:05:47.158Z] dd565ff850e7: Layer already exists [2022-07-12T21:05:47.158Z] 9d73881985c5: Pushed [2022-07-12T21:05:47.158Z] 8c91506ee96c: Pushed [2022-07-12T21:05:47.790Z] bab4704e9dad: Pushed [2022-07-12T21:05:53.933Z] 02854e923707: Pushed [2022-07-12T21:05:53.933Z] d22688ce7a8934592a13fb64b21226b5e27cedca: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:54.306Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:54.670Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-07-12T21:05:54.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T21:05:54.670Z] 8c91506ee96c: Preparing [2022-07-12T21:05:54.670Z] 9d73881985c5: Preparing [2022-07-12T21:05:54.670Z] 02854e923707: Preparing [2022-07-12T21:05:54.670Z] bab4704e9dad: Preparing [2022-07-12T21:05:54.670Z] dd565ff850e7: Preparing [2022-07-12T21:05:54.670Z] dd565ff850e7: Layer already exists [2022-07-12T21:05:54.670Z] bab4704e9dad: Layer already exists [2022-07-12T21:05:54.670Z] 8c91506ee96c: Layer already exists [2022-07-12T21:05:54.670Z] 02854e923707: Layer already exists [2022-07-12T21:05:54.670Z] 9d73881985c5: Layer already exists [2022-07-12T21:05:54.943Z] latest: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:55.313Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:55.677Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.9 [2022-07-12T21:05:55.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T21:05:55.678Z] 8c91506ee96c: Preparing [2022-07-12T21:05:55.678Z] 9d73881985c5: Preparing [2022-07-12T21:05:55.678Z] 02854e923707: Preparing [2022-07-12T21:05:55.678Z] bab4704e9dad: Preparing [2022-07-12T21:05:55.678Z] dd565ff850e7: Preparing [2022-07-12T21:05:55.678Z] bab4704e9dad: Layer already exists [2022-07-12T21:05:55.678Z] dd565ff850e7: Layer already exists [2022-07-12T21:05:55.678Z] 02854e923707: Layer already exists [2022-07-12T21:05:55.678Z] 8c91506ee96c: Layer already exists [2022-07-12T21:05:55.678Z] 9d73881985c5: Layer already exists [2022-07-12T21:05:55.949Z] 2.2.1-dev.9: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:56.313Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:56.680Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [2022-07-12T21:05:56.680Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T21:05:56.680Z] 8c91506ee96c: Preparing [2022-07-12T21:05:56.680Z] 9d73881985c5: Preparing [2022-07-12T21:05:56.680Z] 02854e923707: Preparing [2022-07-12T21:05:56.680Z] bab4704e9dad: Preparing [2022-07-12T21:05:56.680Z] dd565ff850e7: Preparing [2022-07-12T21:05:56.680Z] dd565ff850e7: Layer already exists [2022-07-12T21:05:56.680Z] 8c91506ee96c: Layer already exists [2022-07-12T21:05:56.680Z] 9d73881985c5: Layer already exists [2022-07-12T21:05:56.680Z] bab4704e9dad: Layer already exists [2022-07-12T21:05:56.680Z] 02854e923707: Layer already exists [2022-07-12T21:05:56.951Z] d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:57.320Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:57.681Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-07-12T21:05:57.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T21:05:57.682Z] 8c91506ee96c: Preparing [2022-07-12T21:05:57.682Z] 9d73881985c5: Preparing [2022-07-12T21:05:57.682Z] 02854e923707: Preparing [2022-07-12T21:05:57.682Z] bab4704e9dad: Preparing [2022-07-12T21:05:57.682Z] dd565ff850e7: Preparing [2022-07-12T21:05:57.682Z] 02854e923707: Layer already exists [2022-07-12T21:05:57.682Z] 9d73881985c5: Layer already exists [2022-07-12T21:05:57.682Z] dd565ff850e7: Layer already exists [2022-07-12T21:05:57.682Z] 8c91506ee96c: Layer already exists [2022-07-12T21:05:57.682Z] bab4704e9dad: Layer already exists [2022-07-12T21:05:57.952Z] main: digest: sha256:090d03197539c5f81a2913da6d2aec3c58de079189a52f24eeab4860b9b63ce7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T21:05:58.018Z] ===================================================== [Pipeline] echo [2022-07-12T21:05:58.025Z] taggedImages: [2022-07-12T21:05:58.025Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca [2022-07-12T21:05:58.025Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-07-12T21:05:58.025Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.9 [2022-07-12T21:05:58.025Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d22688ce7a8934592a13fb64b21226b5e27cedca-2.2.1-dev.9 [2022-07-12T21:05:58.025Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:58.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:05:58.399Z] [2022-07-12T21:05:58.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:05:58.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:05:59.029Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T21:05:59.029Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T21:05:59.029Z] 04944245beec: Pulling fs layer [2022-07-12T21:05:59.029Z] 699f458cf7ca: Pulling fs layer [2022-07-12T21:05:59.029Z] 765212b225bb: Pulling fs layer [2022-07-12T21:05:59.029Z] f23df028b6ca: Pulling fs layer [2022-07-12T21:05:59.029Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T21:05:59.029Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T21:05:59.029Z] 2437ff75d9bd: Waiting [2022-07-12T21:05:59.029Z] f23df028b6ca: Waiting [2022-07-12T21:05:59.029Z] 765212b225bb: Waiting [2022-07-12T21:05:59.029Z] d65c8cfc05b1: Waiting [2022-07-12T21:05:59.029Z] 04944245beec: Verifying Checksum [2022-07-12T21:05:59.029Z] 04944245beec: Download complete [2022-07-12T21:05:59.029Z] 765212b225bb: Verifying Checksum [2022-07-12T21:05:59.029Z] 765212b225bb: Download complete [2022-07-12T21:05:59.029Z] f23df028b6ca: Verifying Checksum [2022-07-12T21:05:59.030Z] f23df028b6ca: Download complete [2022-07-12T21:05:59.030Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T21:05:59.030Z] d65c8cfc05b1: Download complete [2022-07-12T21:05:59.303Z] 699f458cf7ca: Verifying Checksum [2022-07-12T21:05:59.303Z] 699f458cf7ca: Download complete [2022-07-12T21:05:59.578Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T21:05:59.578Z] 8998bd30e6a1: Download complete [2022-07-12T21:06:02.202Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T21:06:02.202Z] 2437ff75d9bd: Download complete [2022-07-12T21:06:04.176Z] 8998bd30e6a1: Pull complete [2022-07-12T21:06:04.449Z] 04944245beec: Pull complete [2022-07-12T21:06:05.881Z] 699f458cf7ca: Pull complete [2022-07-12T21:06:06.155Z] 765212b225bb: Pull complete [2022-07-12T21:06:07.134Z] f23df028b6ca: Pull complete [2022-07-12T21:06:07.134Z] d65c8cfc05b1: Pull complete [2022-07-12T21:06:22.223Z] 2437ff75d9bd: Pull complete [2022-07-12T21:06:22.223Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T21:06:22.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:06:22.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:06:22.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-19760 does not seem to be running inside a container [2022-07-12T21:06:22.531Z] $ 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/56 -v /w/workspace/device-mqtt-go/56:/w/workspace/device-mqtt-go/56:rw,z -v /w/workspace/device-mqtt-go/56@tmp:/w/workspace/device-mqtt-go/56@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T21:06:25.068Z] $ docker top d16a7a06242a32513bd5377332047bb53acb670272ef79adc7a123f59d1b1c85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:06:26.013Z] ---> job-cost.sh [2022-07-12T21:06:26.013Z] lf-activate-venv: SKIPPING [2022-07-12T21:06:26.013Z] INFO: No Stack... [2022-07-12T21:06:26.991Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T21:06:27.604Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:06:28.270Z] + cat /w/workspace/device-mqtt-go/56/archives/cost.csv [2022-07-12T21:06:28.270Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:06:28.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [2022-07-12T21:06:28.308Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] did not exist. Created. [2022-07-12T21:06:28.308Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:06:28.982Z] /w/workspace/device-mqtt-go/56@tmp/durable-9ca67e72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T21:06:29.660Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T21:06:29.688Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T21:06:29.740Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:06:29.746Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:06:29.741Z] $ docker stop --time=1 d16a7a06242a32513bd5377332047bb53acb670272ef79adc7a123f59d1b1c85 [2022-07-12T21:06:31.274Z] $ docker rm -f d16a7a06242a32513bd5377332047bb53acb670272ef79adc7a123f59d1b1c85 [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-07-12T21:06:31.768Z] provisioning config files... [2022-07-12T21:06:31.776Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8331597426027016451tmp [Pipeline] { [Pipeline] sh [2022-07-12T21:06:32.078Z] + set +x [2022-07-12T21:06:32.078Z] + curl -s https://codecov.io/bash [2022-07-12T21:06:32.078Z] + bash -s -- [2022-07-12T21:06:32.078Z] [2022-07-12T21:06:32.078Z] _____ _ [2022-07-12T21:06:32.078Z] / ____| | | [2022-07-12T21:06:32.078Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T21:06:32.078Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T21:06:32.078Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T21:06:32.078Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T21:06:32.078Z] Bash-1.0.6 [2022-07-12T21:06:32.078Z] [2022-07-12T21:06:32.078Z] [2022-07-12T21:06:32.078Z] ==> git version 2.25.1 found [2022-07-12T21:06:32.078Z] ==> 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-07-12T21:06:32.078Z] Release-Date: 2020-01-08 [2022-07-12T21:06:32.078Z] 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-07-12T21:06:32.078Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T21:06:32.078Z] ==> Jenkins CI detected. [2022-07-12T21:06:32.078Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-07-12T21:06:32.078Z] project root: . [2022-07-12T21:06:32.078Z] --> token set from env [2022-07-12T21:06:32.078Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T21:06:32.078Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T21:06:32.078Z] ==> Python coveragepy not found [2022-07-12T21:06:32.078Z] ==> Searching for coverage reports in: [2022-07-12T21:06:32.078Z] + . [2022-07-12T21:06:32.078Z] -> Found 1 reports [2022-07-12T21:06:32.078Z] ==> Detecting git/mercurial file structure [2022-07-12T21:06:32.078Z] ==> Reading reports [2022-07-12T21:06:32.078Z] + ./coverage.out bytes=17887 [2022-07-12T21:06:32.078Z] ==> Appending adjustments [2022-07-12T21:06:32.078Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T21:06:32.339Z] + Found adjustments [2022-07-12T21:06:32.339Z] ==> Gzipping contents [2022-07-12T21:06:32.339Z] 4.0K /tmp/codecov.gJ3eIk.gz [2022-07-12T21:06:32.339Z] ==> Uploading reports [2022-07-12T21:06:32.339Z] url: https://codecov.io [2022-07-12T21:06:32.339Z] query: branch=main&commit=d22688ce7a8934592a13fb64b21226b5e27cedca&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T21:06:32.339Z] -> Pinging Codecov [2022-07-12T21:06:32.339Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=d22688ce7a8934592a13fb64b21226b5e27cedca&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T21:06:32.599Z] -> Uploading to [2022-07-12T21:06:32.599Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/7D719EC7BBE17E464838252E33014C33/d22688ce7a8934592a13fb64b21226b5e27cedca/aa9eb280-ed96-4c82-9957-f69f290bef05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T210632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c771f592894b3e5ecbbac605142c803ced4122935a10a2848123a88ddddb772d [2022-07-12T21:06:32.599Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:06:32.599Z] Dload Upload Total Spent Left Speed [2022-07-12T21:06:32.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3225 0 0 100 3225 0 14592 --:--:-- --:--:-- --:--:-- 14527 100 3225 0 0 100 3225 0 8763 --:--:-- --:--:-- --:--:-- 8739 [2022-07-12T21:06:32.860Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] } [2022-07-12T21:06:32.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-12T21:06:33.068Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-12T21:06:33.083Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:06:33.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T21:06:33.385Z] [2022-07-12T21:06:33.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:06:33.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T21:06:33.692Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-12T21:06:33.692Z] df9b9388f04a: Pulling fs layer [2022-07-12T21:06:33.692Z] 52dc419b0ee2: Pulling fs layer [2022-07-12T21:06:33.692Z] 25bc292e5bac: Pulling fs layer [2022-07-12T21:06:33.692Z] 114826534d7a: Pulling fs layer [2022-07-12T21:06:33.692Z] 4657fd5d0bcf: Pulling fs layer [2022-07-12T21:06:33.692Z] 114826534d7a: Waiting [2022-07-12T21:06:33.692Z] 6ad1cebc031e: Pulling fs layer [2022-07-12T21:06:33.692Z] 8a3aa393b2d8: Pulling fs layer [2022-07-12T21:06:33.692Z] 4657fd5d0bcf: Waiting [2022-07-12T21:06:33.692Z] 8a3aa393b2d8: Waiting [2022-07-12T21:06:33.692Z] 25bc292e5bac: Verifying Checksum [2022-07-12T21:06:33.692Z] 25bc292e5bac: Download complete [2022-07-12T21:06:33.692Z] 52dc419b0ee2: Download complete [2022-07-12T21:06:33.692Z] 4657fd5d0bcf: Verifying Checksum [2022-07-12T21:06:33.692Z] 4657fd5d0bcf: Download complete [2022-07-12T21:06:33.692Z] df9b9388f04a: Download complete [2022-07-12T21:06:33.956Z] 6ad1cebc031e: Verifying Checksum [2022-07-12T21:06:33.956Z] 6ad1cebc031e: Download complete [2022-07-12T21:06:33.956Z] df9b9388f04a: Pull complete [2022-07-12T21:06:33.956Z] 52dc419b0ee2: Pull complete [2022-07-12T21:06:34.224Z] 25bc292e5bac: Pull complete [2022-07-12T21:06:34.486Z] 114826534d7a: Verifying Checksum [2022-07-12T21:06:34.486Z] 114826534d7a: Download complete [2022-07-12T21:06:34.745Z] 8a3aa393b2d8: Verifying Checksum [2022-07-12T21:06:34.745Z] 8a3aa393b2d8: Download complete [2022-07-12T21:06:38.950Z] 114826534d7a: Pull complete [2022-07-12T21:06:38.950Z] 4657fd5d0bcf: Pull complete [2022-07-12T21:06:38.950Z] 6ad1cebc031e: Pull complete [2022-07-12T21:06:42.249Z] 8a3aa393b2d8: Pull complete [2022-07-12T21:06:42.249Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-12T21:06:42.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T21:06:42.249Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:06:42.362Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:06:42.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-devops/edgex-snyk-go:1.410.4 cat [2022-07-12T21:06:44.414Z] $ docker top 9e9d12b125c10bd8b4947b205f083586d18385dc97c9da83a3cf7113b0e829f4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-12T21:06:44.493Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-07-12T21:06:44.781Z] + set -o pipefail [2022-07-12T21:06:44.781Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-07-12T21:06:50.073Z] [2022-07-12T21:06:50.073Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-07-12T21:06:50.073Z] [2022-07-12T21:06:50.073Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/ebe37e60-8fc1-475f-b014-079dbe83120a [2022-07-12T21:06:50.073Z] [2022-07-12T21:06:50.073Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-12T21:06:50.073Z] [2022-07-12T21:06:50.073Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-12T21:06:50.073Z] [2022-07-12T21:06:50.073Z] [2022-07-12T21:06:50.073Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-12T21:06:50.073Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-12T21:06:50.091Z] $ docker stop --time=1 9e9d12b125c10bd8b4947b205f083586d18385dc97c9da83a3cf7113b0e829f4 [2022-07-12T21:06:52.391Z] $ docker rm -f 9e9d12b125c10bd8b4947b205f083586d18385dc97c9da83a3cf7113b0e829f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:06:53.214Z] + git log --format=format:%s -1 d22688ce7a8934592a13fb64b21226b5e27cedca [Pipeline] sh [2022-07-12T21:06:53.559Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:06:53.559Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:06:53.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:06:53.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:06:53.947Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:06:53.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T21:06:54.440Z] $ docker top 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:06:54.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:06:54.554Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:06:54.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:06:54.693Z] $ docker exec 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 ssh-agent [2022-07-12T21:06:54.808Z] SSH_AUTH_SOCK=/tmp/ssh-hfDiTzo7jquJ/agent.33 [2022-07-12T21:06:54.808Z] SSH_AGENT_PID=39 [2022-07-12T21:06:54.813Z] Running ssh-add (command line suppressed) [2022-07-12T21:06:54.945Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7894087982036682588.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7894087982036682588.key) [2022-07-12T21:06:54.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:06:55.249Z] + git semver tag [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,473 [run_tag] DEBUG tag force:False [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,473 [check_head_tag] DEBUG check head tag [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,473 [execute] INFO git cat-file --batch-check [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,477 [execute] INFO git cat-file --batch [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,488 [execute] INFO git tag -a v2.2.1-dev.9 -m v2.2.1-dev.9 [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,488 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.9', '-m', 'v2.2.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:06:55.509Z] 2022-07-12 21:06:55,494 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:06:55.509Z] 2.2.1-dev.9 [Pipeline] } [2022-07-12T21:06:55.526Z] $ docker exec --env ******** --env ******** 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 ssh-agent -k [2022-07-12T21:06:55.650Z] unset SSH_AUTH_SOCK; [2022-07-12T21:06:55.650Z] unset SSH_AGENT_PID; [2022-07-12T21:06:55.650Z] echo Agent pid 39 killed; [2022-07-12T21:06:55.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:06:55.961Z] + git semver [Pipeline] } [2022-07-12T21:06:56.242Z] $ docker stop --time=1 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 [2022-07-12T21:06:57.586Z] $ docker rm -f 77844241de5782f544b3a74cfcd855dbd25ee2c46a57c6a8571886032f628409 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:06:57.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T21:06:57.987Z] [2022-07-12T21:06:57.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:06:58.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T21:06:58.300Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-12T21:06:58.300Z] ab5ef0e58194: Pulling fs layer [2022-07-12T21:06:58.300Z] 9712f1f96733: Pulling fs layer [2022-07-12T21:06:58.300Z] 63f879dbbcfc: Pulling fs layer [2022-07-12T21:06:58.300Z] 0d9ebad4ef96: Pulling fs layer [2022-07-12T21:06:58.300Z] e9a5061849ea: Pulling fs layer [2022-07-12T21:06:58.300Z] d747dcd14b5f: Pulling fs layer [2022-07-12T21:06:58.300Z] 2de7ff778b66: Pulling fs layer [2022-07-12T21:06:58.300Z] 0d9ebad4ef96: Waiting [2022-07-12T21:06:58.300Z] e9a5061849ea: Waiting [2022-07-12T21:06:58.300Z] d747dcd14b5f: Waiting [2022-07-12T21:06:58.300Z] 2de7ff778b66: Waiting [2022-07-12T21:06:58.300Z] 9712f1f96733: Download complete [2022-07-12T21:06:58.560Z] 63f879dbbcfc: Verifying Checksum [2022-07-12T21:06:58.560Z] 63f879dbbcfc: Download complete [2022-07-12T21:06:58.820Z] ab5ef0e58194: Verifying Checksum [2022-07-12T21:06:58.820Z] ab5ef0e58194: Download complete [2022-07-12T21:06:58.820Z] d747dcd14b5f: Verifying Checksum [2022-07-12T21:06:58.820Z] d747dcd14b5f: Download complete [2022-07-12T21:06:58.820Z] e9a5061849ea: Download complete [2022-07-12T21:06:59.081Z] 0d9ebad4ef96: Verifying Checksum [2022-07-12T21:06:59.081Z] 0d9ebad4ef96: Download complete [2022-07-12T21:06:59.081Z] 2de7ff778b66: Verifying Checksum [2022-07-12T21:06:59.081Z] 2de7ff778b66: Download complete [2022-07-12T21:07:02.382Z] ab5ef0e58194: Pull complete [2022-07-12T21:07:02.382Z] 9712f1f96733: Pull complete [2022-07-12T21:07:02.952Z] 63f879dbbcfc: Pull complete [2022-07-12T21:07:07.155Z] 0d9ebad4ef96: Pull complete [2022-07-12T21:07:07.155Z] e9a5061849ea: Pull complete [2022-07-12T21:07:07.415Z] d747dcd14b5f: Pull complete [2022-07-12T21:07:08.803Z] 2de7ff778b66: Pull complete [2022-07-12T21:07:08.803Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-12T21:07:08.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T21:07:08.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:07:08.897Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:07:08.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-12T21:07:11.313Z] $ docker top 4f9c8415412de28c53c48888e37e38f0ce3ccb16729f7d78a7fc233b1ef6b88c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:07:11.396Z] provisioning config files... [2022-07-12T21:07:11.404Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6564266707167402218tmp [2022-07-12T21:07:11.417Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7448508065601736613tmp [2022-07-12T21:07:11.429Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8724156907566504743tmp [Pipeline] { [Pipeline] echo [2022-07-12T21:07:11.443Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:11.733Z] ---> sigul-configuration.sh [2022-07-12T21:07:11.733Z] gpg: directory `/root/.gnupg' created [2022-07-12T21:07:11.733Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-12T21:07:11.733Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-12T21:07:11.733Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-12T21:07:11.733Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-12T21:07:11.733Z] gpg: CAST5 encrypted data [2022-07-12T21:07:11.733Z] gpg: encrypted with 1 passphrase [2022-07-12T21:07:11.733Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-12T21:07:12.027Z] + mkdir /home/jenkins [2022-07-12T21:07:12.027Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-12T21:07:12.320Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-07-12T21:07:12.331Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:12.619Z] ---> sigul-install.sh [2022-07-12T21:07:12.619Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-12T21:07:12.917Z] + git tag --list [2022-07-12T21:07:12.917Z] 0.7.1 [2022-07-12T21:07:12.917Z] v1.0.0 [2022-07-12T21:07:12.917Z] v1.1.0 [2022-07-12T21:07:12.917Z] v1.1.1 [2022-07-12T21:07:12.917Z] v1.2.2 [2022-07-12T21:07:12.917Z] v1.3.0 [2022-07-12T21:07:12.917Z] v1.3.1 [2022-07-12T21:07:12.917Z] v2.0.0 [2022-07-12T21:07:12.917Z] v2.1.0 [2022-07-12T21:07:12.917Z] v2.1.1 [2022-07-12T21:07:12.917Z] v2.1.1-dev.1 [2022-07-12T21:07:12.917Z] v2.1.1-dev.2 [2022-07-12T21:07:12.917Z] v2.2.0 [2022-07-12T21:07:12.917Z] v2.2.1-dev.1 [2022-07-12T21:07:12.917Z] v2.2.1-dev.2 [2022-07-12T21:07:12.917Z] v2.2.1-dev.3 [2022-07-12T21:07:12.917Z] v2.2.1-dev.4 [2022-07-12T21:07:12.917Z] v2.2.1-dev.5 [2022-07-12T21:07:12.917Z] v2.2.1-dev.6 [2022-07-12T21:07:12.917Z] v2.2.1-dev.7 [2022-07-12T21:07:12.917Z] v2.2.1-dev.8 [2022-07-12T21:07:12.917Z] v2.2.1-dev.9 [Pipeline] sh [2022-07-12T21:07:13.216Z] + lftools sign git-tag v2.2.1-dev.9 [2022-07-12T21:07:13.788Z] Signing Git tag with Sigul... [2022-07-12T21:07:13.788Z] Signing v2.2.1-dev.9 [Pipeline] echo [2022-07-12T21:07:14.060Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:14.351Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-12T21:07:14.359Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-12T21:07:14.395Z] $ docker stop --time=1 4f9c8415412de28c53c48888e37e38f0ce3ccb16729f7d78a7fc233b1ef6b88c [2022-07-12T21:07:15.724Z] $ docker rm -f 4f9c8415412de28c53c48888e37e38f0ce3ccb16729f7d78a7fc233b1ef6b88c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-12T21:07:16.142Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:07:16.142Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:07:16.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:07:16.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:07:16.540Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:07:16.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T21:07:16.961Z] $ docker top e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:07:17.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:07:17.056Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:07:17.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:07:17.187Z] $ docker exec e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b ssh-agent [2022-07-12T21:07:17.316Z] SSH_AUTH_SOCK=/tmp/ssh-ABJqgfQugqVp/agent.32 [2022-07-12T21:07:17.316Z] SSH_AGENT_PID=38 [2022-07-12T21:07:17.320Z] Running ssh-add (command line suppressed) [2022-07-12T21:07:17.451Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4253116583171778933.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4253116583171778933.key) [2022-07-12T21:07:17.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:07:17.753Z] + git semver bump pre [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,949 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,950 [bump_version] DEBUG bumping version:2.2.1-dev.9 on axis:pre with prefix:dev [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,950 [bump_version] DEBUG bumped version:2.2.1-dev.10 [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,950 [write_version] DEBUG write version:2.2.1-dev.10 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,950 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,952 [execute] INFO git cat-file --batch-check [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,957 [execute] INFO git cat-file --batch [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:07:18.015Z] 2022-07-12 21:07:17,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:07:18.015Z] 2.2.1-dev.10 [Pipeline] } [2022-07-12T21:07:18.031Z] $ docker exec --env ******** --env ******** e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b ssh-agent -k [2022-07-12T21:07:18.139Z] unset SSH_AUTH_SOCK; [2022-07-12T21:07:18.139Z] unset SSH_AGENT_PID; [2022-07-12T21:07:18.139Z] echo Agent pid 38 killed; [2022-07-12T21:07:18.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:07:18.465Z] + git semver [Pipeline] } [2022-07-12T21:07:18.747Z] $ docker stop --time=1 e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b [2022-07-12T21:07:20.032Z] $ docker rm -f e908a5fa49bc5a311a586dcc066ade9ebd70ec03cc47226b5912e494564ecd5b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:07:20.462Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:07:20.462Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:07:20.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:07:20.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:07:20.886Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:07:20.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T21:07:21.292Z] $ docker top cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:07:21.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:07:21.388Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:07:21.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:07:21.510Z] $ docker exec cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 ssh-agent [2022-07-12T21:07:21.626Z] SSH_AUTH_SOCK=/tmp/ssh-DH0oebPH336n/agent.33 [2022-07-12T21:07:21.626Z] SSH_AGENT_PID=40 [2022-07-12T21:07:21.631Z] Running ssh-add (command line suppressed) [2022-07-12T21:07:21.752Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4287006308691554356.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4287006308691554356.key) [2022-07-12T21:07:21.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:07:22.053Z] + git semver push [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,247 [run_push] DEBUG push [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,248 [execute] INFO git cat-file --batch-check [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,252 [execute] INFO git rev-list 5b97e0716f96ec68b8db105f577acf1aeb7af21d -- [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,252 [execute] DEBUG Popen(['git', 'rev-list', '5b97e0716f96ec68b8db105f577acf1aeb7af21d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,260 [execute] INFO git fetch -v origin [2022-07-12T21:07:22.313Z] 2022-07-12 21:07:22,260 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-12T21:07:22.883Z] 2022-07-12 21:07:22,749 [run_push] DEBUG no remote changes detected [2022-07-12T21:07:22.883Z] 2022-07-12 21:07:22,750 [execute] INFO git push origin semver [2022-07-12T21:07:22.883Z] 2022-07-12 21:07:22,750 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:07:23.828Z] 2022-07-12 21:07:23,570 [run_push] DEBUG push all version tags [2022-07-12T21:07:23.828Z] 2022-07-12 21:07:23,571 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-12T21:07:23.828Z] 2022-07-12 21:07:23,571 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:07:24.397Z] 2022-07-12 21:07:24,363 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T21:07:24.397Z] 2.2.1-dev.10 [Pipeline] } [2022-07-12T21:07:24.413Z] $ docker exec --env ******** --env ******** cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 ssh-agent -k [2022-07-12T21:07:24.518Z] unset SSH_AUTH_SOCK; [2022-07-12T21:07:24.518Z] unset SSH_AGENT_PID; [2022-07-12T21:07:24.518Z] echo Agent pid 40 killed; [2022-07-12T21:07:24.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:07:24.834Z] + git semver [Pipeline] } [2022-07-12T21:07:25.115Z] $ docker stop --time=1 cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 [2022-07-12T21:07:26.430Z] $ docker rm -f cc8ed598f4f260ddc74ca24bd057f6d0f80416a3bea3e23665721a3441741cb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-07-12T21:07:27.045Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-07-12T21:07:27.045Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-12T21:07:27.045Z] total 16 [2022-07-12T21:07:27.045Z] drwxr-xr-x 3 root root 4096 Jul 12 21:01 . [2022-07-12T21:07:27.045Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:07 .. [2022-07-12T21:07:27.045Z] drwxr-xr-x 2 root root 4096 Jul 12 21:01 cost [2022-07-12T21:07:27.045Z] -rw-r--r-- 1 root root 84 Jul 12 21:01 cost.csv [2022-07-12T21:07:27.045Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-12T21:07:27.045Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-12T21:07:27.045Z] total 16 [2022-07-12T21:07:27.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:01 . [2022-07-12T21:07:27.045Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:07 .. [2022-07-12T21:07:27.045Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:01 cost [2022-07-12T21:07:27.045Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 12 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:27.341Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:28.210Z] ---> package-listing.sh [2022-07-12T21:07:28.210Z] ++ facter osfamily [2022-07-12T21:07:28.210Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T21:07:28.471Z] + OS_FAMILY=debian [2022-07-12T21:07:28.471Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-07-12T21:07:28.471Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T21:07:28.471Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T21:07:28.471Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T21:07:28.471Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T21:07:28.471Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-07-12T21:07:28.471Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T21:07:28.471Z] + case "${OS_FAMILY}" in [2022-07-12T21:07:28.471Z] + dpkg -l [2022-07-12T21:07:28.471Z] + grep '^ii' [2022-07-12T21:07:28.471Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T21:07:28.471Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T21:07:28.471Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T21:07:28.471Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-07-12T21:07:28.471Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-07-12T21:07:28.471Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-07-12T21:07:28.485Z] 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T21:07:28.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:07:29.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:07:29.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:07:29.427Z] prd-ubuntu20.04-docker-8c-8g-19761 does not seem to be running inside a container [2022-07-12T21:07:29.470Z] $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T21:07:29.725Z] $ docker top ddfa8b5149c583ece4fd78aa826748c4030a79d36652d5c0305e115fbe6c52fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:07:30.081Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T21:07:30.368Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T21:07:30.661Z] + ls /var/log/sa-host [2022-07-12T21:07:30.661Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:07:30.805Z] provisioning config files... [2022-07-12T21:07:30.813Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config702714712329574775tmp [Pipeline] { [Pipeline] echo [2022-07-12T21:07:30.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:31.114Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T21:07:31.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:31.468Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T21:07:31.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:31.763Z] ---> sudo-logs.sh [2022-07-12T21:07:31.763Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T21:07:31.794Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:32.082Z] ---> job-cost.sh [2022-07-12T21:07:32.082Z] lf-activate-venv: SKIPPING [2022-07-12T21:07:32.082Z] DEBUG: total: 0.2199999988079071 [2022-07-12T21:07:32.082Z] INFO: Retrieving Stack Cost... [2022-07-12T21:07:32.343Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:07:32.921Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T21:07:32.933Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:07:33.226Z] ---> logs-deploy.sh [2022-07-12T21:07:33.226Z] lf-activate-venv: SKIPPING [2022-07-12T21:07:33.226Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/56 [2022-07-12T21:07:33.226Z] INFO: archiving workspace using pattern(s): [2022-07-12T21:07:34.169Z] Archives upload complete. [2022-07-12T21:07:34.169Z] INFO: archiving logs to Nexus