Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 557fa96b1e7b02e89e1731c67f49966a69991ec2 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-ssh5318130301214454954.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14273652824844061092.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13992751308140159327.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9036111951801777434.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh653958275966504345.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 ‘prd-ubuntu20.04-docker-8c-8g-3217’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3218 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 Avoid second fetch Checking out Revision 557fa96b1e7b02e89e1731c67f49966a69991ec2 (main) Commit message: "Merge pull request #617 from jackchenjc/pkg-errors-removal" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 557fa96b1e7b02e89e1731c67f49966a69991ec2 # timeout=10 > git rev-list --no-walk e591e9dcfdb189d130fee98849b2bbe259068cfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:37:31.604Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:37:31.664Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:37:31.679Z] ========================================================= [2023-08-09T10:37:31.679Z] EdgeX Global Pipelines Version Info [2023-08-09T10:37:31.679Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:37:32.389Z] ------------------- [2023-08-09T10:37:32.389Z] stable info: [2023-08-09T10:37:32.389Z] ------------------- [2023-08-09T10:37:32.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:37:32.389Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:37:32.389Z] Message: update stable to v1.0.250 [2023-08-09T10:37:32.959Z] ------------------- [2023-08-09T10:37:32.960Z] experimental info: [2023-08-09T10:37:32.960Z] ------------------- [2023-08-09T10:37:32.960Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:37:32.960Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:37:32.960Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:37:33.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-08-09T10:37:33.142Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-08-09T10:37:33.160Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:37:33.172Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:37:33.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:37:33.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:37:33.212Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:37:33.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:37:33.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:37:33.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:37:33.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:37:33.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-08-09T10:37:33.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:37:33.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:37:33.290Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:37:33.298Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:37:33.307Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:37:33.315Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:37:33.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:37:33.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:37:33.339Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:37:33.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:37:33.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:37:33.364Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:37:33.374Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:37:33.392Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:37:33.406Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:37:33.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T10:37:33.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T10:37:33.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T10:37:33.480Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] echo [2023-08-09T10:37:33.500Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 557fa96 [Pipeline] echo [2023-08-09T10:37:33.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:37:33.567Z] provisioning config files... [2023-08-09T10:37:33.579Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13578197754372916551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:37:33.887Z] ---> docker-login.sh [2023-08-09T10:37:33.887Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:37:34.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:34.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:34.148Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:34.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:34.148Z] [2023-08-09T10:37:34.148Z] Login Succeeded [2023-08-09T10:37:34.148Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:37:34.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:34.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:34.148Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:34.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:34.148Z] [2023-08-09T10:37:34.148Z] Login Succeeded [2023-08-09T10:37:34.148Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:37:34.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:34.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:34.408Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:34.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:34.408Z] [2023-08-09T10:37:34.408Z] Login Succeeded [2023-08-09T10:37:34.408Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:37:34.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:34.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:34.408Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:34.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:34.408Z] [2023-08-09T10:37:34.408Z] Login Succeeded [2023-08-09T10:37:34.408Z] docker.io [2023-08-09T10:37:34.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:34.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:34.668Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:34.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:34.668Z] [2023-08-09T10:37:34.668Z] Login Succeeded [2023-08-09T10:37:34.668Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:37:34.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:37:35.020Z] + git rev-list -1 --merges 557fa96b1e7b02e89e1731c67f49966a69991ec2~1..557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] echo [2023-08-09T10:37:35.061Z] -----------> git rev-list -1 --merges 557fa96b1e7b02e89e1731c67f49966a69991ec2~1..557fa96b1e7b02e89e1731c67f49966a69991ec2 557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:37:35.061Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2 [false] [Pipeline] sh [2023-08-09T10:37:35.344Z] + git log --format=format:%s -1 557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] echo [2023-08-09T10:37:35.358Z] ========================================================= [2023-08-09T10:37:35.358Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:37:35.358Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:37:35.671Z] + git log --format=format:%s -1 557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] echo [2023-08-09T10:37:35.679Z] [semverPrep] GIT_COMMIT: 557fa96b1e7b02e89e1731c67f49966a69991ec2, Commit Message: Merge pull request #617 from jackchenjc/pkg-errors-removal [Pipeline] echo [2023-08-09T10:37:35.687Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:37:36.033Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:37:36.033Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:37:36.033Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:37:36.033Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:37:36.033Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:37:36.033Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:37:36.033Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:37:36.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:37:36.381Z] [2023-08-09T10:37:36.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:37:36.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:37:36.679Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:37:36.679Z] b85a868b505f: Pulling fs layer [2023-08-09T10:37:36.679Z] e2be974225ed: Pulling fs layer [2023-08-09T10:37:36.679Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:37:36.679Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:37:36.679Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:37:36.679Z] eaf3925da568: Pulling fs layer [2023-08-09T10:37:36.679Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:37:36.679Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:37:36.679Z] bab4dde63d76: Waiting [2023-08-09T10:37:36.679Z] 1469e6f7b9e6: Waiting [2023-08-09T10:37:36.679Z] eaf3925da568: Waiting [2023-08-09T10:37:36.679Z] 988bab9f4d93: Waiting [2023-08-09T10:37:36.679Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:37:36.679Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:37:36.679Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:37:36.679Z] bde34c3a00c8: Waiting [2023-08-09T10:37:36.679Z] b352a97aabf1: Waiting [2023-08-09T10:37:36.679Z] 4872d77fe225: Waiting [2023-08-09T10:37:36.679Z] 5851b861e8e6: Waiting [2023-08-09T10:37:36.679Z] e2be974225ed: Verifying Checksum [2023-08-09T10:37:36.679Z] e2be974225ed: Download complete [2023-08-09T10:37:36.679Z] 988bab9f4d93: Verifying Checksum [2023-08-09T10:37:36.679Z] 988bab9f4d93: Download complete [2023-08-09T10:37:36.938Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:37:36.938Z] 1469e6f7b9e6: Download complete [2023-08-09T10:37:36.938Z] eaf3925da568: Verifying Checksum [2023-08-09T10:37:36.938Z] eaf3925da568: Download complete [2023-08-09T10:37:36.938Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:37:36.938Z] 339a4e72a1f5: Download complete [2023-08-09T10:37:36.938Z] bde34c3a00c8: Verifying Checksum [2023-08-09T10:37:36.938Z] bde34c3a00c8: Download complete [2023-08-09T10:37:36.938Z] b352a97aabf1: Verifying Checksum [2023-08-09T10:37:36.938Z] b352a97aabf1: Download complete [2023-08-09T10:37:36.938Z] 4872d77fe225: Verifying Checksum [2023-08-09T10:37:36.938Z] 4872d77fe225: Download complete [2023-08-09T10:37:36.938Z] 5851b861e8e6: Verifying Checksum [2023-08-09T10:37:36.938Z] 5851b861e8e6: Download complete [2023-08-09T10:37:36.938Z] b85a868b505f: Download complete [2023-08-09T10:37:37.207Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:37:37.207Z] bab4dde63d76: Download complete [2023-08-09T10:37:38.141Z] b85a868b505f: Pull complete [2023-08-09T10:37:38.141Z] e2be974225ed: Pull complete [2023-08-09T10:37:38.707Z] 339a4e72a1f5: Pull complete [2023-08-09T10:37:38.707Z] 988bab9f4d93: Pull complete [2023-08-09T10:37:38.965Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:37:38.965Z] eaf3925da568: Pull complete [2023-08-09T10:37:40.865Z] bab4dde63d76: Pull complete [2023-08-09T10:37:40.865Z] bde34c3a00c8: Pull complete [2023-08-09T10:37:40.865Z] b352a97aabf1: Pull complete [2023-08-09T10:37:40.865Z] 4872d77fe225: Pull complete [2023-08-09T10:37:40.865Z] 5851b861e8e6: Pull complete [2023-08-09T10:37:40.865Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:37:40.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:37:40.865Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:37:40.956Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:37:40.992Z] $ 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 [2023-08-09T10:37:43.961Z] $ docker top decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 -eo pid,comm [2023-08-09T10:37:44.012Z] 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). [2023-08-09T10:37:44.012Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:37:44.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:37:44.042Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:37:44.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:37:44.152Z] $ docker exec decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 ssh-agent [2023-08-09T10:37:44.244Z] SSH_AUTH_SOCK=/tmp/ssh-cqV2vTARz5IM/agent.32 [2023-08-09T10:37:44.244Z] SSH_AGENT_PID=38 [2023-08-09T10:37:44.250Z] Running ssh-add (command line suppressed) [2023-08-09T10:37:44.347Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14076628034581032141.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14076628034581032141.key) [2023-08-09T10:37:44.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:37:44.641Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:37:44.661Z] $ docker exec --env ******** --env ******** decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 ssh-agent -k [2023-08-09T10:37:44.743Z] unset SSH_AUTH_SOCK; [2023-08-09T10:37:44.743Z] unset SSH_AGENT_PID; [2023-08-09T10:37:44.743Z] echo Agent pid 38 killed; [2023-08-09T10:37:44.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:37:44.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:37:44.782Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:37:44.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:37:44.891Z] $ docker exec decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 ssh-agent [2023-08-09T10:37:44.991Z] SSH_AUTH_SOCK=/tmp/ssh-fDwNepdGgpqO/agent.71 [2023-08-09T10:37:44.991Z] SSH_AGENT_PID=77 [2023-08-09T10:37:44.997Z] Running ssh-add (command line suppressed) [2023-08-09T10:37:45.094Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16245309925646973192.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16245309925646973192.key) [2023-08-09T10:37:45.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:37:45.391Z] + git semver init [2023-08-09T10:37:45.655Z] 2023-08-09 10:37:45,538 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:37:45.655Z] 2023-08-09 10:37:45,538 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-09T10:37:45.655Z] 2023-08-09 10:37:45,539 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-09T10:37:45.655Z] 2023-08-09 10:37:45,539 [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) [2023-08-09T10:37:46.594Z] 2023-08-09 10:37:46,347 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-08-09T10:37:46.594Z] 2023-08-09 10:37:46,347 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-08-09T10:37:46.594Z] 2023-08-09 10:37:46,347 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:37:46.594Z] 2023-08-09 10:37:46,348 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:37:46.594Z] 3.1.0-dev.3 [Pipeline] } [2023-08-09T10:37:46.607Z] $ docker exec --env ******** --env ******** decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 ssh-agent -k [2023-08-09T10:37:46.703Z] unset SSH_AUTH_SOCK; [2023-08-09T10:37:46.703Z] unset SSH_AGENT_PID; [2023-08-09T10:37:46.703Z] echo Agent pid 77 killed; [2023-08-09T10:37:46.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:37:47.016Z] + git semver [Pipeline] } [2023-08-09T10:37:47.294Z] $ docker stop --time=1 decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 [2023-08-09T10:37:48.600Z] $ docker rm -f --volumes decfb768edf849ab6453169d179c8fb88d8d52ff3d9f21be56a16527c5be3677 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:37:48.928Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:37:49.118Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:37:49.121Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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 [2023-08-09T10:37:49.243Z] provisioning config files... [2023-08-09T10:37:49.250Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16385040353184252872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:37:49.539Z] ---> docker-login.sh [2023-08-09T10:37:49.539Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:37:49.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:49.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:49.539Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:49.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:49.539Z] [2023-08-09T10:37:49.539Z] Login Succeeded [2023-08-09T10:37:49.539Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:37:49.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:49.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:49.798Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:49.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:49.798Z] [2023-08-09T10:37:49.798Z] Login Succeeded [2023-08-09T10:37:49.798Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:37:49.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:49.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:49.798Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:49.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:49.798Z] [2023-08-09T10:37:49.798Z] Login Succeeded [2023-08-09T10:37:49.798Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:37:49.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:49.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:49.798Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:49.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:49.798Z] [2023-08-09T10:37:49.798Z] Login Succeeded [2023-08-09T10:37:49.798Z] docker.io [2023-08-09T10:37:50.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:37:50.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:37:50.318Z] Configure a credential helper to remove this warning. See [2023-08-09T10:37:50.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:37:50.318Z] [2023-08-09T10:37:50.318Z] Login Succeeded [2023-08-09T10:37:50.318Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:37:50.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:37:50.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:37:50.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:37:50.408Z] ========================================================= [2023-08-09T10:37:50.408Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:37:50.408Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:37:50.709Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:37:50.709Z] Sending build context to Docker daemon 6.419MB [2023-08-09T10:37:50.709Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:37:50.709Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:37:50.709Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:37:50.709Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:37:50.709Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:37:50.709Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:37:50.709Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:37:50.709Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:37:50.709Z] 40a00589a448: Pulling fs layer [2023-08-09T10:37:50.709Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:37:50.709Z] 798269fcf238: Pulling fs layer [2023-08-09T10:37:50.709Z] 6863d3e3a2b1: Waiting [2023-08-09T10:37:50.709Z] ec0bb842ea78: Waiting [2023-08-09T10:37:50.709Z] 40a00589a448: Waiting [2023-08-09T10:37:50.709Z] 6c08303d61cc: Waiting [2023-08-09T10:37:50.709Z] 798269fcf238: Waiting [2023-08-09T10:37:50.709Z] 6911f1a30b25: Verifying Checksum [2023-08-09T10:37:50.709Z] 6911f1a30b25: Download complete [2023-08-09T10:37:50.709Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T10:37:50.709Z] 6863d3e3a2b1: Download complete [2023-08-09T10:37:50.709Z] ec0bb842ea78: Verifying Checksum [2023-08-09T10:37:50.709Z] ec0bb842ea78: Download complete [2023-08-09T10:37:50.969Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:37:50.969Z] 4db1b89c0bd1: Download complete [2023-08-09T10:37:50.969Z] 40a00589a448: Verifying Checksum [2023-08-09T10:37:50.969Z] 40a00589a448: Download complete [2023-08-09T10:37:50.969Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:37:51.251Z] 6911f1a30b25: Pull complete [2023-08-09T10:37:51.511Z] 798269fcf238: Verifying Checksum [2023-08-09T10:37:51.511Z] 798269fcf238: Download complete [2023-08-09T10:37:51.768Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T10:37:51.768Z] e194b8c5c2a9: Download complete [2023-08-09T10:37:51.768Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:37:51.769Z] 6c08303d61cc: Download complete [2023-08-09T10:37:55.050Z] e194b8c5c2a9: Pull complete [2023-08-09T10:37:55.050Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:37:55.050Z] ec0bb842ea78: Pull complete [2023-08-09T10:37:55.050Z] 40a00589a448: Pull complete [2023-08-09T10:37:56.995Z] 6c08303d61cc: Pull complete [2023-08-09T10:37:57.926Z] 798269fcf238: Pull complete [2023-08-09T10:37:57.926Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:37:57.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:37:57.926Z] ---> ec979cd7f677 [2023-08-09T10:37:57.926Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:38:02.142Z] ---> Running in be3c1c59c0d1 [2023-08-09T10:38:02.142Z] Removing intermediate container be3c1c59c0d1 [2023-08-09T10:38:02.142Z] ---> 8f57d18782aa [2023-08-09T10:38:02.142Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:38:02.142Z] ---> Running in af3e07038655 [2023-08-09T10:38:02.142Z] Removing intermediate container af3e07038655 [2023-08-09T10:38:02.142Z] ---> a7a6a591996e [2023-08-09T10:38:02.142Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:38:02.142Z] ---> Running in a7a875d5ff7c [2023-08-09T10:38:02.401Z] Removing intermediate container a7a875d5ff7c [2023-08-09T10:38:02.401Z] ---> 53ef9b8e27cc [2023-08-09T10:38:02.401Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:38:02.401Z] ---> Running in 84c54285d99d [2023-08-09T10:38:02.401Z] Removing intermediate container 84c54285d99d [2023-08-09T10:38:02.401Z] ---> 023f3bb75414 [2023-08-09T10:38:02.401Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:38:02.401Z] ---> Running in a8a4029e10f5 [2023-08-09T10:38:02.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:38:02.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:38:02.919Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:38:02.919Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:38:02.919Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:38:03.181Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:38:03.181Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:38:03.181Z] OK: 269 MiB in 57 packages [2023-08-09T10:38:03.440Z] Removing intermediate container a8a4029e10f5 [2023-08-09T10:38:03.440Z] ---> 349270dd7f0c [2023-08-09T10:38:03.440Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-09T10:38:03.440Z] ---> Running in 1250157e1251 [2023-08-09T10:38:03.697Z] Removing intermediate container 1250157e1251 [2023-08-09T10:38:03.697Z] ---> 5f68458e896e [2023-08-09T10:38:03.697Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:38:03.697Z] ---> 3e64a9924ebf [2023-08-09T10:38:03.697Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:38:03.697Z] ---> Running in 5258180d96b5 [2023-08-09T10:38:04.213Z] Still waiting to schedule task [2023-08-09T10:38:04.214Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3219’ is offline [2023-08-09T10:38:30.242Z] Removing intermediate container 5258180d96b5 [2023-08-09T10:38:30.242Z] ---> 87005d097384 [2023-08-09T10:38:30.242Z] Step 11/12 : COPY . . [2023-08-09T10:38:30.501Z] ---> 93e21954e7cb [2023-08-09T10:38:30.501Z] Step 12/12 : RUN $MAKE [2023-08-09T10:38:30.501Z] ---> Running in 2b5c3f077949 [2023-08-09T10:38:30.759Z] noop [2023-08-09T10:38:31.018Z] Removing intermediate container 2b5c3f077949 [2023-08-09T10:38:31.018Z] ---> ccc94c19812b [2023-08-09T10:38:31.018Z] Successfully built ccc94c19812b [2023-08-09T10:38:31.018Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:31.328Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:38:31.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:38:31.402Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:38:31.433Z] $ 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 [2023-08-09T10:38:31.768Z] $ docker top ae430daa695c3d7d23a59d9093bd7e75d91ffb1fa16e26a7473ca22e826d2a57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:38:32.098Z] + go version [2023-08-09T10:38:32.098Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:38:32.113Z] $ docker stop --time=1 ae430daa695c3d7d23a59d9093bd7e75d91ffb1fa16e26a7473ca22e826d2a57 [2023-08-09T10:38:34.332Z] $ docker rm -f --volumes ae430daa695c3d7d23a59d9093bd7e75d91ffb1fa16e26a7473ca22e826d2a57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:34.871Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:38:34.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:38:34.945Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:38:34.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2023-08-09T10:38:37.177Z] $ docker top 2e8f913c61ed1422ed83e71b0dc2623d23cdfbcd7264fc257be04b318ee44f70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:38:37.510Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:38:37.804Z] + make test [2023-08-09T10:38:37.804Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:38:43.068Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-09T10:38:51.371Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-09T10:38:51.633Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-09T10:38:51.633Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements [2023-08-09T10:38:58.214Z] go vet ./... [2023-08-09T10:39:00.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:39:00.742Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:39:00.742Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:39:00.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:39:00.774Z] $ docker stop --time=1 2e8f913c61ed1422ed83e71b0dc2623d23cdfbcd7264fc257be04b318ee44f70 [2023-08-09T10:39:05.584Z] $ docker rm -f --volumes 2e8f913c61ed1422ed83e71b0dc2623d23cdfbcd7264fc257be04b318ee44f70 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:39:06.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:39:06.163Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:39:06.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:39:06.911Z] + ls -al . [2023-08-09T10:39:06.911Z] total 184 [2023-08-09T10:39:06.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:38 . [2023-08-09T10:39:06.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:37 .. [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:37 .dockerignore [2023-08-09T10:39:06.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:37 .git [2023-08-09T10:39:06.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:37 .github [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:37 .gitignore [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:37 .golangci.yml [2023-08-09T10:39:06.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:37 .semver [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 9317 Aug 9 10:37 Attribution.txt [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 9 10:37 CHANGELOG.md [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 9 10:37 Dockerfile [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:37 GOVERNANCE.md [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 10:37 Jenkinsfile [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:37 LICENSE [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 1732 Aug 9 10:37 Makefile [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:37 OWNERS.md [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 9 10:37 README.md [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:37 VERSION [2023-08-09T10:39:06.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:37 bin [2023-08-09T10:39:06.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:37 cmd [2023-08-09T10:39:06.911Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 9 10:38 coverage.out [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 3285 Aug 9 10:37 go.mod [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:37 go.sum [2023-08-09T10:39:06.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:37 internal [2023-08-09T10:39:06.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:37 mock [2023-08-09T10:39:06.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:37 snap [2023-08-09T10:39:06.911Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 9 10:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:07.250Z] + 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=557fa96b1e7b02e89e1731c67f49966a69991ec2 --label arch=amd64 --label version=3.1.0-dev.3 . [2023-08-09T10:39:07.250Z] Sending build context to Docker daemon 6.439MB [2023-08-09T10:39:07.250Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:39:07.250Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-09T10:39:07.250Z] ---> ccc94c19812b [2023-08-09T10:39:07.250Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:39:07.510Z] ---> Running in 7a2b8fc19373 [2023-08-09T10:39:07.510Z] Removing intermediate container 7a2b8fc19373 [2023-08-09T10:39:07.510Z] ---> 1645c7e9da13 [2023-08-09T10:39:07.510Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:39:07.510Z] ---> Running in 37124e203d11 [2023-08-09T10:39:07.510Z] Removing intermediate container 37124e203d11 [2023-08-09T10:39:07.510Z] ---> ce1ec34261fb [2023-08-09T10:39:07.510Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:39:07.510Z] ---> Running in 0fe29462dbb8 [2023-08-09T10:39:07.769Z] Removing intermediate container 0fe29462dbb8 [2023-08-09T10:39:07.769Z] ---> fb0bf862dbb8 [2023-08-09T10:39:07.769Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:39:07.769Z] ---> Running in ae1bd890bd73 [2023-08-09T10:39:07.769Z] Removing intermediate container ae1bd890bd73 [2023-08-09T10:39:07.769Z] ---> fac7a6b95eab [2023-08-09T10:39:07.769Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:39:07.769Z] ---> Running in 0c4af49f7f48 [2023-08-09T10:39:08.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:08.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:08.601Z] OK: 269 MiB in 57 packages [2023-08-09T10:39:08.873Z] Removing intermediate container 0c4af49f7f48 [2023-08-09T10:39:08.873Z] ---> 02b78ee53edd [2023-08-09T10:39:08.873Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-09T10:39:08.873Z] ---> Running in 6f2c8e9bea0c [2023-08-09T10:39:08.873Z] Removing intermediate container 6f2c8e9bea0c [2023-08-09T10:39:08.873Z] ---> 917555b44ea6 [2023-08-09T10:39:08.873Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-09T10:39:09.133Z] ---> 154afb6b8d13 [2023-08-09T10:39:09.133Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:39:09.133Z] ---> Running in a1ded63323af [2023-08-09T10:39:09.713Z] Removing intermediate container a1ded63323af [2023-08-09T10:39:09.713Z] ---> 6a003bdc2f4f [2023-08-09T10:39:09.713Z] Step 11/24 : COPY . . [2023-08-09T10:39:10.282Z] ---> 5b090798d24f [2023-08-09T10:39:10.282Z] Step 12/24 : RUN $MAKE [2023-08-09T10:39:10.282Z] ---> Running in c76452b8ae81 [2023-08-09T10:39:10.540Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-09T10:39:37.074Z] Removing intermediate container c76452b8ae81 [2023-08-09T10:39:37.074Z] ---> b29ab252c195 [2023-08-09T10:39:37.074Z] Step 13/24 : FROM alpine:3.17 [2023-08-09T10:39:37.645Z] 3.17: Pulling from library/alpine [2023-08-09T10:39:38.212Z] 9398808236ff: Pulling fs layer [2023-08-09T10:39:38.212Z] 9398808236ff: Verifying Checksum [2023-08-09T10:39:38.212Z] 9398808236ff: Download complete [2023-08-09T10:39:38.470Z] 9398808236ff: Pull complete [2023-08-09T10:39:38.729Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:39:38.729Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:39:38.729Z] ---> 1e0b8b5322fc [2023-08-09T10:39:38.729Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-09T10:39:38.987Z] ---> Running in 00726e69854d [2023-08-09T10:39:39.246Z] Removing intermediate container 00726e69854d [2023-08-09T10:39:39.246Z] ---> 71387926731d [2023-08-09T10:39:39.246Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:39:39.246Z] ---> Running in 1cad716b4733 [2023-08-09T10:39:39.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:39.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:39:40.071Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:39:40.071Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:39:40.071Z] OK: 7 MiB in 16 packages [2023-08-09T10:39:41.007Z] Removing intermediate container 1cad716b4733 [2023-08-09T10:39:41.007Z] ---> 9317e64f6b8a [2023-08-09T10:39:41.007Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-09T10:39:42.381Z] ---> 26d03d702c51 [2023-08-09T10:39:42.381Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-09T10:39:42.946Z] ---> cd0e287a6bda [2023-08-09T10:39:42.946Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-09T10:39:43.206Z] ---> de2bb6d253a6 [2023-08-09T10:39:43.206Z] Step 19/24 : EXPOSE 59982 [2023-08-09T10:39:43.466Z] ---> Running in 5f4bf4f95b72 [2023-08-09T10:39:43.727Z] Removing intermediate container 5f4bf4f95b72 [2023-08-09T10:39:43.728Z] ---> 737f9f8a2918 [2023-08-09T10:39:43.728Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-09T10:39:43.987Z] ---> Running in 59eda242c301 [2023-08-09T10:39:44.603Z] Removing intermediate container 59eda242c301 [2023-08-09T10:39:44.603Z] ---> 5bef7eaad8a5 [2023-08-09T10:39:44.604Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:39:44.863Z] ---> Running in 99d3b8603ea6 [2023-08-09T10:39:45.124Z] Removing intermediate container 99d3b8603ea6 [2023-08-09T10:39:45.124Z] ---> 490b4ef32eaf [2023-08-09T10:39:45.124Z] Step 22/24 : LABEL arch=amd64 [2023-08-09T10:39:45.390Z] ---> Running in 1541e7acf88e [2023-08-09T10:39:45.390Z] Removing intermediate container 1541e7acf88e [2023-08-09T10:39:45.390Z] ---> ae7a74d0dec6 [2023-08-09T10:39:45.390Z] Step 23/24 : LABEL git_sha=557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:39:45.652Z] ---> Running in 251eb3a5c50f [2023-08-09T10:39:45.910Z] Removing intermediate container 251eb3a5c50f [2023-08-09T10:39:45.910Z] ---> 01bd294f2060 [2023-08-09T10:39:45.910Z] Step 24/24 : LABEL version=3.1.0-dev.3 [2023-08-09T10:39:46.168Z] ---> Running in 67717bcfa325 [2023-08-09T10:39:46.427Z] Removing intermediate container 67717bcfa325 [2023-08-09T10:39:46.427Z] ---> 8bdcd568acf5 [2023-08-09T10:39:46.427Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:39:46.427Z] Successfully built 8bdcd568acf5 [2023-08-09T10:39:46.684Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:39:46.798Z] provisioning config files... [2023-08-09T10:39:46.806Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13361631199959929934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:39:47.097Z] ---> docker-login.sh [2023-08-09T10:39:47.097Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:39:47.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:47.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:47.097Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:47.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:47.097Z] [2023-08-09T10:39:47.097Z] Login Succeeded [2023-08-09T10:39:47.097Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:39:47.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:47.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:47.098Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:47.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:47.098Z] [2023-08-09T10:39:47.098Z] Login Succeeded [2023-08-09T10:39:47.098Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:39:47.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:47.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:47.357Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:47.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:47.357Z] [2023-08-09T10:39:47.357Z] Login Succeeded [2023-08-09T10:39:47.357Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:39:47.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:47.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:47.357Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:47.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:47.357Z] [2023-08-09T10:39:47.357Z] Login Succeeded [2023-08-09T10:39:47.357Z] docker.io [2023-08-09T10:39:47.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:39:47.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:39:47.617Z] Configure a credential helper to remove this warning. See [2023-08-09T10:39:47.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:39:47.617Z] [2023-08-09T10:39:47.617Z] Login Succeeded [2023-08-09T10:39:47.617Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:39:47.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:39:47.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:39:47.669Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-08-09T10:39:47.669Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:39:47.669Z] latest [2023-08-09T10:39:47.669Z] 3.1.0-dev.3 [2023-08-09T10:39:47.669Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [2023-08-09T10:39:47.669Z] main [2023-08-09T10:39:47.669Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:47.977Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:48.283Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:39:48.284Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-09T10:39:48.284Z] bc49a13a3eb1: Preparing [2023-08-09T10:39:48.284Z] 5f445a9c306a: Preparing [2023-08-09T10:39:48.284Z] 58cf5d7298fd: Preparing [2023-08-09T10:39:48.284Z] 8d2b78796aa3: Preparing [2023-08-09T10:39:48.284Z] 36b50b131297: Preparing [2023-08-09T10:39:48.284Z] 36b50b131297: Layer already exists [2023-08-09T10:39:48.284Z] bc49a13a3eb1: Pushed [2023-08-09T10:39:48.284Z] 5f445a9c306a: Pushed [2023-08-09T10:39:48.284Z] 8d2b78796aa3: Pushed [2023-08-09T10:39:50.906Z] 58cf5d7298fd: Pushed [2023-08-09T10:39:50.906Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2: digest: sha256:aecf62d7e5dd26a2809d125a20fd3302c91a43586db044e89dca95815ff77cd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:51.480Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:51.785Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-09T10:39:51.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-09T10:39:51.785Z] bc49a13a3eb1: Preparing [2023-08-09T10:39:51.785Z] 5f445a9c306a: Preparing [2023-08-09T10:39:51.785Z] 58cf5d7298fd: Preparing [2023-08-09T10:39:51.785Z] 8d2b78796aa3: Preparing [2023-08-09T10:39:51.785Z] 36b50b131297: Preparing [2023-08-09T10:39:51.785Z] 5f445a9c306a: Layer already exists [2023-08-09T10:39:51.785Z] 8d2b78796aa3: Layer already exists [2023-08-09T10:39:51.785Z] 58cf5d7298fd: Layer already exists [2023-08-09T10:39:51.785Z] bc49a13a3eb1: Layer already exists [2023-08-09T10:39:51.785Z] 36b50b131297: Layer already exists [2023-08-09T10:39:51.785Z] latest: digest: sha256:aecf62d7e5dd26a2809d125a20fd3302c91a43586db044e89dca95815ff77cd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:52.104Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:52.415Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.3 [2023-08-09T10:39:52.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-09T10:39:52.415Z] bc49a13a3eb1: Preparing [2023-08-09T10:39:52.415Z] 5f445a9c306a: Preparing [2023-08-09T10:39:52.415Z] 58cf5d7298fd: Preparing [2023-08-09T10:39:52.415Z] 8d2b78796aa3: Preparing [2023-08-09T10:39:52.415Z] 36b50b131297: Preparing [2023-08-09T10:39:52.415Z] bc49a13a3eb1: Layer already exists [2023-08-09T10:39:52.415Z] 8d2b78796aa3: Layer already exists [2023-08-09T10:39:52.415Z] 58cf5d7298fd: Layer already exists [2023-08-09T10:39:52.415Z] 36b50b131297: Layer already exists [2023-08-09T10:39:52.415Z] 5f445a9c306a: Layer already exists [2023-08-09T10:39:52.415Z] 3.1.0-dev.3: digest: sha256:aecf62d7e5dd26a2809d125a20fd3302c91a43586db044e89dca95815ff77cd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:52.739Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:53.067Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [2023-08-09T10:39:53.068Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-09T10:39:53.068Z] bc49a13a3eb1: Preparing [2023-08-09T10:39:53.068Z] 5f445a9c306a: Preparing [2023-08-09T10:39:53.068Z] 58cf5d7298fd: Preparing [2023-08-09T10:39:53.068Z] 8d2b78796aa3: Preparing [2023-08-09T10:39:53.068Z] 36b50b131297: Preparing [2023-08-09T10:39:53.068Z] 5f445a9c306a: Layer already exists [2023-08-09T10:39:53.068Z] 8d2b78796aa3: Layer already exists [2023-08-09T10:39:53.068Z] 36b50b131297: Layer already exists [2023-08-09T10:39:53.068Z] bc49a13a3eb1: Layer already exists [2023-08-09T10:39:53.068Z] 58cf5d7298fd: Layer already exists [2023-08-09T10:39:53.068Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3: digest: sha256:aecf62d7e5dd26a2809d125a20fd3302c91a43586db044e89dca95815ff77cd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:53.379Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:53.690Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-08-09T10:39:53.690Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-09T10:39:53.690Z] bc49a13a3eb1: Preparing [2023-08-09T10:39:53.690Z] 5f445a9c306a: Preparing [2023-08-09T10:39:53.690Z] 58cf5d7298fd: Preparing [2023-08-09T10:39:53.690Z] 8d2b78796aa3: Preparing [2023-08-09T10:39:53.690Z] 36b50b131297: Preparing [2023-08-09T10:39:53.690Z] 36b50b131297: Layer already exists [2023-08-09T10:39:53.690Z] 8d2b78796aa3: Layer already exists [2023-08-09T10:39:53.690Z] 58cf5d7298fd: Layer already exists [2023-08-09T10:39:53.690Z] 5f445a9c306a: Layer already exists [2023-08-09T10:39:53.690Z] bc49a13a3eb1: Layer already exists [2023-08-09T10:39:53.690Z] main: digest: sha256:aecf62d7e5dd26a2809d125a20fd3302c91a43586db044e89dca95815ff77cd9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:39:53.747Z] ===================================================== [Pipeline] echo [2023-08-09T10:39:53.758Z] taggedImages: [2023-08-09T10:39:53.758Z] - nexus3.edgexfoundry.org:10004/device-mqtt:557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:39:53.758Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-09T10:39:53.758Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.3 [2023-08-09T10:39:53.758Z] - nexus3.edgexfoundry.org:10004/device-mqtt:557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [2023-08-09T10:39:53.758Z] - 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 [2023-08-09T10:39:54.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:39:54.144Z] [2023-08-09T10:39:54.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:39:54.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:39:54.438Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:39:54.438Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:39:54.438Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:39:54.438Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:39:54.438Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:39:54.438Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:39:54.438Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:39:54.438Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:39:54.438Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:39:54.438Z] 5d3b04190fa2: Waiting [2023-08-09T10:39:54.438Z] 2f39f015ded8: Waiting [2023-08-09T10:39:54.438Z] 33b1e0a273af: Waiting [2023-08-09T10:39:54.438Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T10:39:54.438Z] 5c69ac0246d0: Download complete [2023-08-09T10:39:54.697Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T10:39:54.697Z] 3a2ae6a8a46f: Download complete [2023-08-09T10:39:54.697Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:39:54.697Z] 33b1e0a273af: Download complete [2023-08-09T10:39:54.697Z] 5d3b04190fa2: Download complete [2023-08-09T10:39:54.697Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:39:54.697Z] ec43610c2a17: Download complete [2023-08-09T10:39:54.956Z] 5eb5b503b376: Verifying Checksum [2023-08-09T10:39:54.956Z] 5eb5b503b376: Download complete [2023-08-09T10:39:55.522Z] 2f39f015ded8: Download complete [2023-08-09T10:39:56.088Z] 5eb5b503b376: Pull complete [2023-08-09T10:39:56.355Z] 5c69ac0246d0: Pull complete [2023-08-09T10:39:56.921Z] ec43610c2a17: Pull complete [2023-08-09T10:39:57.180Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:39:57.438Z] 33b1e0a273af: Pull complete [2023-08-09T10:39:57.438Z] 5d3b04190fa2: Pull complete [2023-08-09T10:40:01.618Z] 2f39f015ded8: Pull complete [2023-08-09T10:40:01.618Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:40:01.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:40:01.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:40:01.689Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:40:01.720Z] $ 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 [2023-08-09T10:40:07.407Z] $ docker top 8a63bb80334997985bb7a23c17ff1c22fe96dda9c5e4217f2e425b9fbe32d6c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:40:07.871Z] ---> job-cost.sh [2023-08-09T10:40:07.871Z] lf-activate-venv: SKIPPING [2023-08-09T10:40:07.871Z] INFO: No Stack... [2023-08-09T10:40:08.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:40:08.388Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:40:08.675Z] + + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-08-09T10:40:08.675Z] cut -d, -f6 [Pipeline] lock [2023-08-09T10:40:08.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] [2023-08-09T10:40:08.696Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] did not exist. Created. [2023-08-09T10:40:08.696Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:40:09.005Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:40:09.029Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:40:09.037Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:40:09.058Z] $ docker stop --time=1 8a63bb80334997985bb7a23c17ff1c22fe96dda9c5e4217f2e425b9fbe32d6c0 [2023-08-09T10:40:10.629Z] $ docker rm -f --volumes 8a63bb80334997985bb7a23c17ff1c22fe96dda9c5e4217f2e425b9fbe32d6c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T10:40:22.781Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3223 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-08-09T10:40:22.792Z] Running in /w/workspace/device-mqtt-go/131 [Pipeline] { [Pipeline] checkout [2023-08-09T10:40:22.829Z] The recommended git tool is: git [2023-08-09T10:40:27.945Z] using credential edgex-jenkins-ssh [2023-08-09T10:40:27.967Z] Cloning the remote Git repository [2023-08-09T10:40:28.021Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-09T10:40:28.141Z] > git init /w/workspace/device-mqtt-go/131 # timeout=10 [2023-08-09T10:40:28.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-09T10:40:28.311Z] > git --version # timeout=10 [2023-08-09T10:40:28.331Z] > git --version # 'git version 2.25.1' [2023-08-09T10:40:28.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:40:28.494Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:40:29.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-09T10:40:29.665Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:40:30.563Z] Avoid second fetch [2023-08-09T10:40:30.564Z] Checking out Revision 557fa96b1e7b02e89e1731c67f49966a69991ec2 (main) [2023-08-09T10:40:31.131Z] Commit message: "Merge pull request #617 from jackchenjc/pkg-errors-removal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:40:30.584Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:40:30.680Z] > git checkout -f 557fa96b1e7b02e89e1731c67f49966a69991ec2 # timeout=10 [2023-08-09T10:40:32.008Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:40:32.008Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:40:32.008Z] Dload Upload Total Spent Left Speed [2023-08-09T10:40:32.008Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-08-09T10:40:32.708Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:40:33.044Z] + sudo tee /etc/docker/daemon.new+ [2023-08-09T10:40:33.044Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T10:40:33.044Z] { [2023-08-09T10:40:33.044Z] "registry-mirrors": [ [2023-08-09T10:40:33.044Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:40:33.044Z] ], [2023-08-09T10:40:33.044Z] "bip": "10.250.0.254/24", [2023-08-09T10:40:33.044Z] "hosts": [ [2023-08-09T10:40:33.044Z] "tcp://0.0.0.0:5555", [2023-08-09T10:40:33.044Z] "unix:///var/run/docker.sock" [2023-08-09T10:40:33.044Z] ], [2023-08-09T10:40:33.044Z] "mtu": 1458, [2023-08-09T10:40:33.044Z] "selinux-enabled": true, [2023-08-09T10:40:33.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:40:33.044Z] } [Pipeline] sh [2023-08-09T10:40:33.383Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:40:33.745Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:40:52.023Z] provisioning config files... [2023-08-09T10:40:52.056Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/131@tmp/config3740343079785459121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:40:52.432Z] ---> docker-login.sh [2023-08-09T10:40:52.433Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:40:53.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:53.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:53.027Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:53.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:53.027Z] [2023-08-09T10:40:53.027Z] Login Succeeded [2023-08-09T10:40:53.027Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:40:53.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:53.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:53.580Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:53.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:53.580Z] [2023-08-09T10:40:53.580Z] Login Succeeded [2023-08-09T10:40:53.580Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:40:53.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:53.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:53.853Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:53.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:53.853Z] [2023-08-09T10:40:53.853Z] Login Succeeded [2023-08-09T10:40:53.853Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:40:54.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:54.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:54.397Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:54.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:54.397Z] [2023-08-09T10:40:54.397Z] Login Succeeded [2023-08-09T10:40:54.397Z] docker.io [2023-08-09T10:40:54.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:40:54.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:40:54.939Z] Configure a credential helper to remove this warning. See [2023-08-09T10:40:54.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:40:54.939Z] [2023-08-09T10:40:54.939Z] Login Succeeded [2023-08-09T10:40:54.939Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:40:54.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:40:55.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:40:55.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:40:55.311Z] ========================================================= [2023-08-09T10:40:55.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:40:55.311Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:55.717Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:40:55.987Z] Sending build context to Docker daemon 3.317MB [2023-08-09T10:40:55.987Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:40:55.987Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:40:58.578Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:40:58.579Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:40:58.579Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:40:58.579Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:40:58.579Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:40:58.579Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:40:58.579Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:40:58.579Z] 554e91adad29: Pulling fs layer [2023-08-09T10:40:58.579Z] 8b374f2dd631: Waiting [2023-08-09T10:40:58.579Z] ec14aa9079de: Waiting [2023-08-09T10:40:58.579Z] 2f466654f4bb: Waiting [2023-08-09T10:40:58.579Z] 554e91adad29: Waiting [2023-08-09T10:40:58.579Z] 5f9638ab2659: Verifying Checksum [2023-08-09T10:40:58.579Z] 5f9638ab2659: Download complete [2023-08-09T10:40:58.579Z] 8b374f2dd631: Verifying Checksum [2023-08-09T10:40:58.579Z] 8b374f2dd631: Download complete [2023-08-09T10:40:58.579Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:40:58.579Z] ec14aa9079de: Download complete [2023-08-09T10:40:58.579Z] edb6bdbacee9: Download complete [2023-08-09T10:40:59.557Z] edb6bdbacee9: Pull complete [2023-08-09T10:41:00.146Z] 554e91adad29: Verifying Checksum [2023-08-09T10:41:00.146Z] 554e91adad29: Download complete [2023-08-09T10:41:00.426Z] 5f9638ab2659: Pull complete [2023-08-09T10:41:01.397Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:41:01.397Z] 2f466654f4bb: Download complete [2023-08-09T10:41:01.397Z] 8d51d6327a98: Verifying Checksum [2023-08-09T10:41:01.397Z] 8d51d6327a98: Download complete [2023-08-09T10:41:13.746Z] 8d51d6327a98: Pull complete [2023-08-09T10:41:13.746Z] 8b374f2dd631: Pull complete [2023-08-09T10:41:13.746Z] ec14aa9079de: Pull complete [2023-08-09T10:41:22.128Z] 2f466654f4bb: Pull complete [2023-08-09T10:41:24.766Z] 554e91adad29: Pull complete [2023-08-09T10:41:24.766Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:41:24.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:41:24.766Z] ---> 1e15ea492957 [2023-08-09T10:41:24.766Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:41:25.745Z] ---> Running in 81de3020f008 [2023-08-09T10:41:26.012Z] Removing intermediate container 81de3020f008 [2023-08-09T10:41:26.012Z] ---> f5026db6f784 [2023-08-09T10:41:26.012Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:41:26.012Z] ---> Running in 8106dd0509cf [2023-08-09T10:41:26.600Z] Removing intermediate container 8106dd0509cf [2023-08-09T10:41:26.600Z] ---> 114da4230a76 [2023-08-09T10:41:26.600Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:41:26.600Z] ---> Running in 0fc2bb2b9e3b [2023-08-09T10:41:26.874Z] Removing intermediate container 0fc2bb2b9e3b [2023-08-09T10:41:26.874Z] ---> 0643268c14b4 [2023-08-09T10:41:26.874Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:41:26.874Z] ---> Running in 09ce3b6d697c [2023-08-09T10:41:27.459Z] Removing intermediate container 09ce3b6d697c [2023-08-09T10:41:27.459Z] ---> f74b9e27c831 [2023-08-09T10:41:27.459Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:41:27.459Z] ---> Running in 834042af9272 [2023-08-09T10:41:28.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:41:29.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:41:30.894Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:41:30.894Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:41:30.894Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:41:30.894Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:41:30.894Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:41:30.894Z] OK: 268 MiB in 57 packages [2023-08-09T10:41:32.309Z] Removing intermediate container 834042af9272 [2023-08-09T10:41:32.309Z] ---> 6caf8aa38b00 [2023-08-09T10:41:32.309Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-09T10:41:32.309Z] ---> Running in ba1d8a7fb328 [2023-08-09T10:41:32.577Z] Removing intermediate container ba1d8a7fb328 [2023-08-09T10:41:32.577Z] ---> 399fc72ff7dd [2023-08-09T10:41:32.577Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:41:33.163Z] ---> a64da954c0b2 [2023-08-09T10:41:33.163Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:41:33.163Z] ---> Running in 9e5647ba51ec [2023-08-09T10:42:54.836Z] Removing intermediate container 9e5647ba51ec [2023-08-09T10:42:54.836Z] ---> 2269cbed4481 [2023-08-09T10:42:54.836Z] Step 11/12 : COPY . . [2023-08-09T10:42:54.836Z] ---> 7e4b91d0cb25 [2023-08-09T10:42:54.836Z] Step 12/12 : RUN $MAKE [2023-08-09T10:42:54.836Z] ---> Running in 56fea537eaaf [2023-08-09T10:42:54.836Z] noop [2023-08-09T10:42:54.836Z] Removing intermediate container 56fea537eaaf [2023-08-09T10:42:54.836Z] ---> 2caa60c38ecd [2023-08-09T10:42:54.836Z] Successfully built 2caa60c38ecd [2023-08-09T10:42:54.836Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:42:55.178Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:42:55.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:42:55.400Z] prd-ubuntu20.04-docker-arm64-4c-16g-3223 does not seem to be running inside a container [2023-08-09T10:42:55.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/131 -v /w/workspace/device-mqtt-go/131:/w/workspace/device-mqtt-go/131:rw,z -v /w/workspace/device-mqtt-go/131@tmp:/w/workspace/device-mqtt-go/131@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 [2023-08-09T10:42:56.770Z] $ docker top 4fbfdec0e2466504e66dc696a73d5e0f40cbe96bfd3f25dfe275bf2bfab036cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:42:57.612Z] + go version [2023-08-09T10:42:57.612Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:42:57.630Z] $ docker stop --time=1 4fbfdec0e2466504e66dc696a73d5e0f40cbe96bfd3f25dfe275bf2bfab036cc [2023-08-09T10:42:59.283Z] $ docker rm -f --volumes 4fbfdec0e2466504e66dc696a73d5e0f40cbe96bfd3f25dfe275bf2bfab036cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:42:59.833Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:42:59.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:43:00.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-3223 does not seem to be running inside a container [2023-08-09T10:43:00.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/131 -v /w/workspace/device-mqtt-go/131:/w/workspace/device-mqtt-go/131:rw,z -v /w/workspace/device-mqtt-go/131@tmp:/w/workspace/device-mqtt-go/131@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 [2023-08-09T10:43:01.216Z] $ docker top 4b7c2769cf34456ff580ebe61d8168fb11a875aaa26ab84df4f72219522eeea6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:43:02.049Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/131 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:43:02.658Z] + make test [2023-08-09T10:43:02.658Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:43:41.540Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-09T10:46:18.267Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-09T10:46:18.268Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-09T10:46:18.268Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 22.8% of statements [2023-08-09T10:46:18.268Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:46:18.268Z] go vet ./... [2023-08-09T10:46:40.326Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:46:40.326Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:46:40.599Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:46:40.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:46:40.902Z] $ docker stop --time=1 4b7c2769cf34456ff580ebe61d8168fb11a875aaa26ab84df4f72219522eeea6 [2023-08-09T10:46:42.813Z] $ docker rm -f --volumes 4b7c2769cf34456ff580ebe61d8168fb11a875aaa26ab84df4f72219522eeea6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:46:44.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:46:44.085Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:46:44.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:46:45.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:46:45.394Z] + ls -al . [2023-08-09T10:46:45.394Z] total 180 [2023-08-09T10:46:45.395Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:43 . [2023-08-09T10:46:45.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:40 .. [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:40 .dockerignore [2023-08-09T10:46:45.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:40 .git [2023-08-09T10:46:45.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:40 .github [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:40 .gitignore [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:40 .golangci.yml [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 9317 Aug 9 10:40 Attribution.txt [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 9 10:40 CHANGELOG.md [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 9 10:40 Dockerfile [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:40 GOVERNANCE.md [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 10:40 Jenkinsfile [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:40 LICENSE [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 1732 Aug 9 10:40 Makefile [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:40 OWNERS.md [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 9 10:40 README.md [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:37 VERSION [2023-08-09T10:46:45.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:40 bin [2023-08-09T10:46:45.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:40 cmd [2023-08-09T10:46:45.395Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 9 10:46 coverage.out [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 3285 Aug 9 10:40 go.mod [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:40 go.sum [2023-08-09T10:46:45.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:40 internal [2023-08-09T10:46:45.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:40 mock [2023-08-09T10:46:45.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:40 snap [2023-08-09T10:46:45.395Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 9 10:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:46:45.756Z] + 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=557fa96b1e7b02e89e1731c67f49966a69991ec2 --label arch=arm64 --label version=3.1.0-dev.3 . [2023-08-09T10:46:46.029Z] Sending build context to Docker daemon 3.336MB [2023-08-09T10:46:46.029Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:46:46.029Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-09T10:46:46.029Z] ---> 2caa60c38ecd [2023-08-09T10:46:46.029Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:46:46.297Z] ---> Running in 8a934aa439af [2023-08-09T10:46:46.567Z] Removing intermediate container 8a934aa439af [2023-08-09T10:46:46.567Z] ---> 27712806c61e [2023-08-09T10:46:46.567Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:46:46.834Z] ---> Running in d3f43309c917 [2023-08-09T10:46:47.104Z] Removing intermediate container d3f43309c917 [2023-08-09T10:46:47.104Z] ---> b52a8af12c61 [2023-08-09T10:46:47.104Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:46:47.104Z] ---> Running in 9c4c21b7bfeb [2023-08-09T10:46:47.373Z] Removing intermediate container 9c4c21b7bfeb [2023-08-09T10:46:47.373Z] ---> 30b21326f91c [2023-08-09T10:46:47.373Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:46:47.642Z] ---> Running in c619b19eda85 [2023-08-09T10:46:47.912Z] Removing intermediate container c619b19eda85 [2023-08-09T10:46:47.912Z] ---> 932a6e3c7fe0 [2023-08-09T10:46:47.912Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:46:47.912Z] ---> Running in c653d8afbc8a [2023-08-09T10:46:49.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:46:49.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:46:51.031Z] OK: 268 MiB in 57 packages [2023-08-09T10:46:52.010Z] Removing intermediate container c653d8afbc8a [2023-08-09T10:46:52.010Z] ---> 85edceb11a94 [2023-08-09T10:46:52.010Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-09T10:46:52.286Z] ---> Running in 2cbc74463a04 [2023-08-09T10:46:52.557Z] Removing intermediate container 2cbc74463a04 [2023-08-09T10:46:52.557Z] ---> bb4396f09801 [2023-08-09T10:46:52.557Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-09T10:46:53.143Z] ---> 816f7aa2b4aa [2023-08-09T10:46:53.143Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:46:53.143Z] ---> Running in 4d25e74bb77b [2023-08-09T10:46:55.735Z] Removing intermediate container 4d25e74bb77b [2023-08-09T10:46:55.735Z] ---> 4356a96077fb [2023-08-09T10:46:55.735Z] Step 11/24 : COPY . . [2023-08-09T10:46:56.324Z] ---> 9ef323c82a84 [2023-08-09T10:46:56.324Z] Step 12/24 : RUN $MAKE [2023-08-09T10:46:56.598Z] ---> Running in 6f6b1342939b [2023-08-09T10:46:57.566Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-09T10:49:34.423Z] Removing intermediate container 6f6b1342939b [2023-08-09T10:49:34.423Z] ---> 2483d06dc4d3 [2023-08-09T10:49:34.423Z] Step 13/24 : FROM alpine:3.17 [2023-08-09T10:49:34.423Z] 3.17: Pulling from library/alpine [2023-08-09T10:49:34.423Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:49:34.423Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:49:34.423Z] 4060ece20d7a: Download complete [2023-08-09T10:49:34.423Z] 4060ece20d7a: Pull complete [2023-08-09T10:49:34.423Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:49:34.423Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:49:34.423Z] ---> 8650cd65339b [2023-08-09T10:49:34.423Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-09T10:49:34.423Z] ---> Running in 53d1d71c1b87 [2023-08-09T10:49:34.423Z] Removing intermediate container 53d1d71c1b87 [2023-08-09T10:49:34.423Z] ---> d222d80ebd92 [2023-08-09T10:49:34.423Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:49:34.423Z] ---> Running in 870e28cf2902 [2023-08-09T10:49:34.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:49:34.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:49:34.423Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:49:34.423Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:49:34.423Z] OK: 8 MiB in 16 packages [2023-08-09T10:49:34.423Z] Removing intermediate container 870e28cf2902 [2023-08-09T10:49:34.423Z] ---> 91b0c510be5a [2023-08-09T10:49:34.423Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-09T10:49:34.423Z] ---> 5d2949e22bc3 [2023-08-09T10:49:34.423Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-09T10:49:34.423Z] ---> cdc6ffcd5690 [2023-08-09T10:49:34.423Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-09T10:49:34.423Z] ---> 069577efbc98 [2023-08-09T10:49:34.423Z] Step 19/24 : EXPOSE 59982 [2023-08-09T10:49:34.423Z] ---> Running in c5d2d2436223 [2023-08-09T10:49:34.423Z] Removing intermediate container c5d2d2436223 [2023-08-09T10:49:34.423Z] ---> 2c57ac84a649 [2023-08-09T10:49:34.423Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-09T10:49:34.423Z] ---> Running in 2b7c93b03127 [2023-08-09T10:49:34.423Z] Removing intermediate container 2b7c93b03127 [2023-08-09T10:49:34.423Z] ---> 2a23812edf0b [2023-08-09T10:49:34.423Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:49:34.423Z] ---> Running in 9bc02460f672 [2023-08-09T10:49:34.423Z] Removing intermediate container 9bc02460f672 [2023-08-09T10:49:34.423Z] ---> fc5fd6eb2761 [2023-08-09T10:49:34.423Z] Step 22/24 : LABEL arch=arm64 [2023-08-09T10:49:34.423Z] ---> Running in dcffbb3c692b [2023-08-09T10:49:34.423Z] Removing intermediate container dcffbb3c692b [2023-08-09T10:49:34.423Z] ---> bf948749868e [2023-08-09T10:49:34.423Z] Step 23/24 : LABEL git_sha=557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:49:34.423Z] ---> Running in 613f6b18f041 [2023-08-09T10:49:34.423Z] Removing intermediate container 613f6b18f041 [2023-08-09T10:49:34.423Z] ---> 66e2baded105 [2023-08-09T10:49:34.423Z] Step 24/24 : LABEL version=3.1.0-dev.3 [2023-08-09T10:49:34.423Z] ---> Running in 73a13e027671 [2023-08-09T10:49:34.423Z] Removing intermediate container 73a13e027671 [2023-08-09T10:49:34.423Z] ---> 9d98138f472c [2023-08-09T10:49:34.423Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:49:34.423Z] Successfully built 9d98138f472c [2023-08-09T10:49:34.423Z] 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 [2023-08-09T10:49:34.547Z] provisioning config files... [2023-08-09T10:49:34.561Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/131@tmp/config10906773636010012994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:49:34.904Z] ---> docker-login.sh [2023-08-09T10:49:34.904Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:49:35.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:49:35.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:49:35.171Z] Configure a credential helper to remove this warning. See [2023-08-09T10:49:35.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:49:35.171Z] [2023-08-09T10:49:35.171Z] Login Succeeded [2023-08-09T10:49:35.171Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:49:35.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:49:35.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:49:35.437Z] Configure a credential helper to remove this warning. See [2023-08-09T10:49:35.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:49:35.437Z] [2023-08-09T10:49:35.437Z] Login Succeeded [2023-08-09T10:49:35.704Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:49:35.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:49:35.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:49:35.971Z] Configure a credential helper to remove this warning. See [2023-08-09T10:49:35.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:49:35.971Z] [2023-08-09T10:49:35.971Z] Login Succeeded [2023-08-09T10:49:35.971Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:49:36.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:49:36.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:49:36.240Z] Configure a credential helper to remove this warning. See [2023-08-09T10:49:36.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:49:36.240Z] [2023-08-09T10:49:36.240Z] Login Succeeded [2023-08-09T10:49:36.240Z] docker.io [2023-08-09T10:49:36.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:49:36.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:49:36.773Z] Configure a credential helper to remove this warning. See [2023-08-09T10:49:36.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:49:36.773Z] [2023-08-09T10:49:36.773Z] Login Succeeded [2023-08-09T10:49:36.773Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:49:36.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:49:36.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:49:36.835Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-08-09T10:49:36.836Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:49:36.836Z] latest [2023-08-09T10:49:36.836Z] 3.1.0-dev.3 [2023-08-09T10:49:36.836Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [2023-08-09T10:49:36.836Z] main [2023-08-09T10:49:36.836Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:37.191Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:37.542Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:49:37.542Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-09T10:49:37.542Z] dbfea262741a: Preparing [2023-08-09T10:49:37.542Z] a5989861b311: Preparing [2023-08-09T10:49:37.542Z] bff366939e34: Preparing [2023-08-09T10:49:37.542Z] 17fab7ae5d06: Preparing [2023-08-09T10:49:37.542Z] d2d9d24a8c2a: Preparing [2023-08-09T10:49:37.542Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:49:37.811Z] dbfea262741a: Pushed [2023-08-09T10:49:37.811Z] a5989861b311: Pushed [2023-08-09T10:49:37.811Z] 17fab7ae5d06: Pushed [2023-08-09T10:49:43.153Z] bff366939e34: Pushed [2023-08-09T10:49:43.420Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2: digest: sha256:f317c511a3d47460f202a79fd7404bf7aad0705b22dbb2e6f730b2364113e0f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:43.848Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:44.217Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-09T10:49:44.217Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-09T10:49:44.217Z] dbfea262741a: Preparing [2023-08-09T10:49:44.217Z] a5989861b311: Preparing [2023-08-09T10:49:44.217Z] bff366939e34: Preparing [2023-08-09T10:49:44.217Z] 17fab7ae5d06: Preparing [2023-08-09T10:49:44.217Z] d2d9d24a8c2a: Preparing [2023-08-09T10:49:44.217Z] dbfea262741a: Layer already exists [2023-08-09T10:49:44.217Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:49:44.217Z] a5989861b311: Layer already exists [2023-08-09T10:49:44.217Z] 17fab7ae5d06: Layer already exists [2023-08-09T10:49:44.217Z] bff366939e34: Layer already exists [2023-08-09T10:49:44.489Z] latest: digest: sha256:f317c511a3d47460f202a79fd7404bf7aad0705b22dbb2e6f730b2364113e0f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:44.848Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:45.199Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.3 [2023-08-09T10:49:45.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-09T10:49:45.199Z] dbfea262741a: Preparing [2023-08-09T10:49:45.199Z] a5989861b311: Preparing [2023-08-09T10:49:45.199Z] bff366939e34: Preparing [2023-08-09T10:49:45.199Z] 17fab7ae5d06: Preparing [2023-08-09T10:49:45.199Z] d2d9d24a8c2a: Preparing [2023-08-09T10:49:45.199Z] 17fab7ae5d06: Layer already exists [2023-08-09T10:49:45.199Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:49:45.199Z] a5989861b311: Layer already exists [2023-08-09T10:49:45.199Z] bff366939e34: Layer already exists [2023-08-09T10:49:45.199Z] dbfea262741a: Layer already exists [2023-08-09T10:49:45.199Z] 3.1.0-dev.3: digest: sha256:f317c511a3d47460f202a79fd7404bf7aad0705b22dbb2e6f730b2364113e0f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:45.559Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:45.907Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [2023-08-09T10:49:45.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-09T10:49:45.907Z] dbfea262741a: Preparing [2023-08-09T10:49:45.907Z] a5989861b311: Preparing [2023-08-09T10:49:45.907Z] bff366939e34: Preparing [2023-08-09T10:49:45.907Z] 17fab7ae5d06: Preparing [2023-08-09T10:49:45.907Z] d2d9d24a8c2a: Preparing [2023-08-09T10:49:45.907Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:49:45.907Z] 17fab7ae5d06: Layer already exists [2023-08-09T10:49:45.907Z] dbfea262741a: Layer already exists [2023-08-09T10:49:45.907Z] a5989861b311: Layer already exists [2023-08-09T10:49:45.907Z] bff366939e34: Layer already exists [2023-08-09T10:49:45.907Z] 557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3: digest: sha256:f317c511a3d47460f202a79fd7404bf7aad0705b22dbb2e6f730b2364113e0f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:46.516Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:46.857Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-08-09T10:49:46.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-09T10:49:46.857Z] dbfea262741a: Preparing [2023-08-09T10:49:46.857Z] a5989861b311: Preparing [2023-08-09T10:49:46.857Z] bff366939e34: Preparing [2023-08-09T10:49:46.857Z] 17fab7ae5d06: Preparing [2023-08-09T10:49:46.857Z] d2d9d24a8c2a: Preparing [2023-08-09T10:49:46.857Z] dbfea262741a: Layer already exists [2023-08-09T10:49:46.857Z] 17fab7ae5d06: Layer already exists [2023-08-09T10:49:46.857Z] bff366939e34: Layer already exists [2023-08-09T10:49:46.857Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:49:46.857Z] a5989861b311: Layer already exists [2023-08-09T10:49:46.857Z] main: digest: sha256:f317c511a3d47460f202a79fd7404bf7aad0705b22dbb2e6f730b2364113e0f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:49:47.164Z] ===================================================== [Pipeline] echo [2023-08-09T10:49:47.170Z] taggedImages: [2023-08-09T10:49:47.170Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:557fa96b1e7b02e89e1731c67f49966a69991ec2 [2023-08-09T10:49:47.170Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-09T10:49:47.170Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.3 [2023-08-09T10:49:47.170Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:557fa96b1e7b02e89e1731c67f49966a69991ec2-3.1.0-dev.3 [2023-08-09T10:49:47.170Z] - 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 [2023-08-09T10:49:47.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:49:47.534Z] [2023-08-09T10:49:47.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:49:47.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:49:47.865Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:49:47.865Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:49:47.865Z] 04944245beec: Pulling fs layer [2023-08-09T10:49:47.865Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:49:47.865Z] 765212b225bb: Pulling fs layer [2023-08-09T10:49:47.865Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:49:47.865Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:49:47.865Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:49:47.865Z] 765212b225bb: Waiting [2023-08-09T10:49:47.865Z] f23df028b6ca: Waiting [2023-08-09T10:49:47.865Z] d65c8cfc05b1: Waiting [2023-08-09T10:49:47.865Z] 2437ff75d9bd: Waiting [2023-08-09T10:49:48.132Z] 04944245beec: Verifying Checksum [2023-08-09T10:49:48.132Z] 04944245beec: Download complete [2023-08-09T10:49:48.132Z] 765212b225bb: Verifying Checksum [2023-08-09T10:49:48.132Z] 765212b225bb: Download complete [2023-08-09T10:49:48.132Z] f23df028b6ca: Verifying Checksum [2023-08-09T10:49:48.132Z] f23df028b6ca: Download complete [2023-08-09T10:49:48.132Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T10:49:48.132Z] d65c8cfc05b1: Download complete [2023-08-09T10:49:48.132Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:49:48.132Z] 699f458cf7ca: Download complete [2023-08-09T10:49:48.715Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T10:49:48.715Z] 8998bd30e6a1: Download complete [2023-08-09T10:49:50.653Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:49:50.653Z] 2437ff75d9bd: Download complete [2023-08-09T10:49:52.590Z] 8998bd30e6a1: Pull complete [2023-08-09T10:49:52.590Z] 04944245beec: Pull complete [2023-08-09T10:49:53.994Z] 699f458cf7ca: Pull complete [2023-08-09T10:49:53.994Z] 765212b225bb: Pull complete [2023-08-09T10:49:54.951Z] f23df028b6ca: Pull complete [2023-08-09T10:49:54.951Z] d65c8cfc05b1: Pull complete [2023-08-09T10:50:07.243Z] 2437ff75d9bd: Pull complete [2023-08-09T10:50:07.243Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:50:07.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:50:07.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:50:07.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-3223 does not seem to be running inside a container [2023-08-09T10:50:07.509Z] $ 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/131 -v /w/workspace/device-mqtt-go/131:/w/workspace/device-mqtt-go/131:rw,z -v /w/workspace/device-mqtt-go/131@tmp:/w/workspace/device-mqtt-go/131@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 [2023-08-09T10:50:10.201Z] $ docker top 5c7b5f9851073c989a49fbbaf3d77652ff2b1222bec9666835a19b5e504ad90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:50:11.040Z] ---> job-cost.sh [2023-08-09T10:50:11.040Z] lf-activate-venv: SKIPPING [2023-08-09T10:50:11.040Z] INFO: No Stack... [2023-08-09T10:50:11.621Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:50:12.204Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:50:12.838Z] + cat /w/workspace/device-mqtt-go/131/archives/cost.csv [2023-08-09T10:50:12.838Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:50:12.906Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] [2023-08-09T10:50:12.912Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] did not exist. Created. [2023-08-09T10:50:12.912Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:50:13.566Z] /w/workspace/device-mqtt-go/131@tmp/durable-18962333/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:50:14.213Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:50:14.236Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:50:14.301Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:50:14.308Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-131-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:50:14.329Z] $ docker stop --time=1 5c7b5f9851073c989a49fbbaf3d77652ff2b1222bec9666835a19b5e504ad90e [2023-08-09T10:50:15.851Z] $ docker rm -f --volumes 5c7b5f9851073c989a49fbbaf3d77652ff2b1222bec9666835a19b5e504ad90e [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 [2023-08-09T10:50:16.247Z] provisioning config files... [2023-08-09T10:50:16.255Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5979900998798088483tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:50:16.546Z] + set +x [2023-08-09T10:50:16.546Z] + curl -s https://codecov.io/bash [2023-08-09T10:50:16.546Z] + bash -s -- [2023-08-09T10:50:16.546Z] [2023-08-09T10:50:16.546Z] _____ _ [2023-08-09T10:50:16.546Z] / ____| | | [2023-08-09T10:50:16.546Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:50:16.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:50:16.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:50:16.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:50:16.546Z] Bash-1.0.6 [2023-08-09T10:50:16.546Z] [2023-08-09T10:50:16.546Z] [2023-08-09T10:50:16.546Z] ==> git version 2.25.1 found [2023-08-09T10:50:16.546Z] ==> 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 [2023-08-09T10:50:16.546Z] Release-Date: 2020-01-08 [2023-08-09T10:50:16.546Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-09T10:50:16.546Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:50:16.546Z] ==> Jenkins CI detected. [2023-08-09T10:50:16.546Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-09T10:50:16.546Z] project root: . [2023-08-09T10:50:16.546Z] --> token set from env [2023-08-09T10:50:16.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:50:16.546Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:50:16.546Z] ==> Python coveragepy not found [2023-08-09T10:50:16.546Z] ==> Searching for coverage reports in: [2023-08-09T10:50:16.546Z] + . [2023-08-09T10:50:16.546Z] -> Found 1 reports [2023-08-09T10:50:16.546Z] ==> Detecting git/mercurial file structure [2023-08-09T10:50:16.546Z] ==> Reading reports [2023-08-09T10:50:16.546Z] + ./coverage.out bytes=18506 [2023-08-09T10:50:16.546Z] ==> Appending adjustments [2023-08-09T10:50:16.546Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:50:16.804Z] + Found adjustments [2023-08-09T10:50:16.804Z] ==> Gzipping contents [2023-08-09T10:50:16.804Z] 4.0K /tmp/codecov.afNrkN.gz [2023-08-09T10:50:16.804Z] ==> Uploading reports [2023-08-09T10:50:16.804Z] url: https://codecov.io [2023-08-09T10:50:16.804Z] query: branch=main&commit=557fa96b1e7b02e89e1731c67f49966a69991ec2&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:50:16.804Z] -> Pinging Codecov [2023-08-09T10:50:16.804Z] 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=557fa96b1e7b02e89e1731c67f49966a69991ec2&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:50:16.804Z] -> Uploading to [2023-08-09T10:50:16.804Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/7D719EC7BBE17E464838252E33014C33/557fa96b1e7b02e89e1731c67f49966a69991ec2/e5c86b46-e9f1-4b18-92d0-4743697afcaa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T105016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1dfef4a6be8fc03261f3adb005c14701ac21d7886c8b3c75b77011276adc8fd3 [2023-08-09T10:50:17.063Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:50:17.063Z] Dload Upload Total Spent Left Speed [2023-08-09T10:50:17.063Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 15328 --:--:-- --:--:-- --:--:-- 15328 [2023-08-09T10:50:17.063Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] } [2023-08-09T10:50:17.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T10:50:17.189Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T10:50:17.202Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:17.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:50:17.507Z] [2023-08-09T10:50:17.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:17.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:50:17.818Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T10:50:17.818Z] df9b9388f04a: Pulling fs layer [2023-08-09T10:50:17.818Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T10:50:17.818Z] 25bc292e5bac: Pulling fs layer [2023-08-09T10:50:17.818Z] 114826534d7a: Pulling fs layer [2023-08-09T10:50:17.818Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T10:50:17.818Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T10:50:17.818Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T10:50:17.818Z] 4657fd5d0bcf: Waiting [2023-08-09T10:50:17.818Z] 6ad1cebc031e: Waiting [2023-08-09T10:50:17.818Z] 8a3aa393b2d8: Waiting [2023-08-09T10:50:17.818Z] 114826534d7a: Waiting [2023-08-09T10:50:17.818Z] 25bc292e5bac: Verifying Checksum [2023-08-09T10:50:17.818Z] 25bc292e5bac: Download complete [2023-08-09T10:50:17.818Z] 52dc419b0ee2: Download complete [2023-08-09T10:50:17.818Z] 4657fd5d0bcf: Verifying Checksum [2023-08-09T10:50:17.818Z] 4657fd5d0bcf: Download complete [2023-08-09T10:50:17.818Z] df9b9388f04a: Verifying Checksum [2023-08-09T10:50:18.089Z] df9b9388f04a: Pull complete [2023-08-09T10:50:18.089Z] 52dc419b0ee2: Pull complete [2023-08-09T10:50:18.089Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T10:50:18.089Z] 6ad1cebc031e: Download complete [2023-08-09T10:50:18.089Z] 25bc292e5bac: Pull complete [2023-08-09T10:50:18.658Z] 114826534d7a: Verifying Checksum [2023-08-09T10:50:18.658Z] 114826534d7a: Download complete [2023-08-09T10:50:18.915Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T10:50:18.915Z] 8a3aa393b2d8: Download complete [2023-08-09T10:50:22.196Z] 114826534d7a: Pull complete [2023-08-09T10:50:22.196Z] 4657fd5d0bcf: Pull complete [2023-08-09T10:50:22.196Z] 6ad1cebc031e: Pull complete [2023-08-09T10:50:24.722Z] 8a3aa393b2d8: Pull complete [2023-08-09T10:50:24.722Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T10:50:24.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:50:24.722Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:50:24.800Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:50:24.832Z] $ 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 [2023-08-09T10:50:28.430Z] $ docker top c6eee22dc6a23461c36984edbeacc01f85f78f2364c4b1756636307281fb5f50 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T10:50:28.494Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-08-09T10:50:28.772Z] + set -o pipefail [2023-08-09T10:50:28.772Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-08-09T10:50:34.039Z] [2023-08-09T10:50:34.039Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-08-09T10:50:34.039Z] [2023-08-09T10:50:34.039Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/2e3ccf6b-a839-4183-85e0-aea32879991b [2023-08-09T10:50:34.039Z] [2023-08-09T10:50:34.039Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-09T10:50:34.039Z] [2023-08-09T10:50:34.039Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T10:50:34.039Z] [2023-08-09T10:50:34.039Z] [2023-08-09T10:50:34.039Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T10:50:34.039Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T10:50:34.039Z] More details here: https://snyk.co/ue1NS [2023-08-09T10:50:34.039Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T10:50:34.039Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T10:50:34.050Z] $ docker stop --time=1 c6eee22dc6a23461c36984edbeacc01f85f78f2364c4b1756636307281fb5f50 [2023-08-09T10:50:37.033Z] $ docker rm -f --volumes c6eee22dc6a23461c36984edbeacc01f85f78f2364c4b1756636307281fb5f50 [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 [2023-08-09T10:50:37.723Z] + git log --format=format:%s -1 557fa96b1e7b02e89e1731c67f49966a69991ec2 [Pipeline] sh [2023-08-09T10:50:38.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:50:38.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:38.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:50:38.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:50:38.388Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:50:38.421Z] $ 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 [2023-08-09T10:50:38.843Z] $ docker top b398689b07d46a1627784559a26d171030a1e89cfd5ac36449b4ea16ab716b8c -eo pid,comm [2023-08-09T10:50:38.888Z] 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). [2023-08-09T10:50:38.888Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:50:38.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:50:38.926Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:50:39.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:50:39.044Z] $ docker exec b398689b07d46a1627784559a26d171030a1e89cfd5ac36449b4ea16ab716b8c ssh-agent [2023-08-09T10:50:39.143Z] SSH_AUTH_SOCK=/tmp/ssh-kUd31MmpSaKU/agent.33 [2023-08-09T10:50:39.143Z] SSH_AGENT_PID=39 [2023-08-09T10:50:39.147Z] Running ssh-add (command line suppressed) [2023-08-09T10:50:39.254Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10002608729426274591.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10002608729426274591.key) [2023-08-09T10:50:39.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:50:39.551Z] + git semver tag [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,713 [run_tag] DEBUG tag force:False [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,713 [check_head_tag] DEBUG check head tag [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,713 [execute] INFO git cat-file --batch-check [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,717 [execute] INFO git cat-file --batch [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,724 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,725 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,725 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:50:39.810Z] 2023-08-09 10:50:39,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:50:39.810Z] 3.1.0-dev.3 [Pipeline] } [2023-08-09T10:50:39.821Z] $ docker exec --env ******** --env ******** b398689b07d46a1627784559a26d171030a1e89cfd5ac36449b4ea16ab716b8c ssh-agent -k [2023-08-09T10:50:39.907Z] unset SSH_AUTH_SOCK; [2023-08-09T10:50:39.907Z] unset SSH_AGENT_PID; [2023-08-09T10:50:39.907Z] echo Agent pid 39 killed; [2023-08-09T10:50:39.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:50:40.223Z] + git semver [Pipeline] } [2023-08-09T10:50:40.496Z] $ docker stop --time=1 b398689b07d46a1627784559a26d171030a1e89cfd5ac36449b4ea16ab716b8c [2023-08-09T10:50:41.761Z] $ docker rm -f --volumes b398689b07d46a1627784559a26d171030a1e89cfd5ac36449b4ea16ab716b8c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:42.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:50:42.124Z] [2023-08-09T10:50:42.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:50:42.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:50:42.435Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T10:50:42.435Z] ab5ef0e58194: Pulling fs layer [2023-08-09T10:50:42.435Z] 9712f1f96733: Pulling fs layer [2023-08-09T10:50:42.435Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T10:50:42.435Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T10:50:42.435Z] e9a5061849ea: Pulling fs layer [2023-08-09T10:50:42.435Z] d747dcd14b5f: Pulling fs layer [2023-08-09T10:50:42.435Z] 2de7ff778b66: Pulling fs layer [2023-08-09T10:50:42.435Z] e9a5061849ea: Waiting [2023-08-09T10:50:42.435Z] d747dcd14b5f: Waiting [2023-08-09T10:50:42.435Z] 2de7ff778b66: Waiting [2023-08-09T10:50:42.435Z] 0d9ebad4ef96: Waiting [2023-08-09T10:50:42.435Z] 9712f1f96733: Verifying Checksum [2023-08-09T10:50:42.435Z] 9712f1f96733: Download complete [2023-08-09T10:50:43.001Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T10:50:43.001Z] 63f879dbbcfc: Download complete [2023-08-09T10:50:43.001Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T10:50:43.001Z] 0d9ebad4ef96: Download complete [2023-08-09T10:50:43.001Z] d747dcd14b5f: Verifying Checksum [2023-08-09T10:50:43.001Z] d747dcd14b5f: Download complete [2023-08-09T10:50:43.001Z] e9a5061849ea: Verifying Checksum [2023-08-09T10:50:43.001Z] e9a5061849ea: Download complete [2023-08-09T10:50:43.001Z] ab5ef0e58194: Verifying Checksum [2023-08-09T10:50:43.001Z] ab5ef0e58194: Download complete [2023-08-09T10:50:43.258Z] 2de7ff778b66: Verifying Checksum [2023-08-09T10:50:43.258Z] 2de7ff778b66: Download complete [2023-08-09T10:50:45.786Z] ab5ef0e58194: Pull complete [2023-08-09T10:50:45.786Z] 9712f1f96733: Pull complete [2023-08-09T10:50:46.351Z] 63f879dbbcfc: Pull complete [2023-08-09T10:50:49.632Z] 0d9ebad4ef96: Pull complete [2023-08-09T10:50:49.632Z] e9a5061849ea: Pull complete [2023-08-09T10:50:49.890Z] d747dcd14b5f: Pull complete [2023-08-09T10:50:50.824Z] 2de7ff778b66: Pull complete [2023-08-09T10:50:50.824Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T10:50:50.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:50:50.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:50:50.897Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:50:50.927Z] $ 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 [2023-08-09T10:50:55.366Z] $ docker top cbcb6eedc5405c43621e8805d0ea235bb8db047bfc47f5e324e6bf9c4787e66e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:50:55.431Z] provisioning config files... [2023-08-09T10:50:55.437Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7240584933684212381tmp [2023-08-09T10:50:55.447Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18234492245024483602tmp [2023-08-09T10:50:55.454Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16268905839471344086tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:50:55.469Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:50:55.748Z] ---> sigul-configuration.sh [2023-08-09T10:50:55.748Z] gpg: directory `/root/.gnupg' created [2023-08-09T10:50:55.748Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T10:50:55.748Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T10:50:55.748Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T10:50:55.748Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T10:50:55.748Z] gpg: CAST5 encrypted data [2023-08-09T10:50:55.748Z] gpg: encrypted with 1 passphrase [2023-08-09T10:50:55.748Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T10:50:56.033Z] + mkdir /home/jenkins [2023-08-09T10:50:56.034Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T10:50:56.315Z] + 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 [2023-08-09T10:50:56.322Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:50:56.601Z] ---> sigul-install.sh [2023-08-09T10:50:56.601Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T10:50:56.887Z] + git tag --list [2023-08-09T10:50:56.887Z] 0.7.1 [2023-08-09T10:50:56.887Z] v1.0.0 [2023-08-09T10:50:56.887Z] v1.1.0 [2023-08-09T10:50:56.887Z] v1.1.1 [2023-08-09T10:50:56.887Z] v1.2.2 [2023-08-09T10:50:56.887Z] v1.3.0 [2023-08-09T10:50:56.887Z] v1.3.1 [2023-08-09T10:50:56.887Z] v2.0.0 [2023-08-09T10:50:56.887Z] v2.1.0 [2023-08-09T10:50:56.887Z] v2.1.1 [2023-08-09T10:50:56.887Z] v2.2.0 [2023-08-09T10:50:56.887Z] v2.3.0 [2023-08-09T10:50:56.887Z] v3.0 [2023-08-09T10:50:56.887Z] v3.0.0 [2023-08-09T10:50:56.887Z] v3.1.0-dev.1 [2023-08-09T10:50:56.887Z] v3.1.0-dev.2 [2023-08-09T10:50:56.887Z] v3.1.0-dev.3 [Pipeline] sh [2023-08-09T10:50:57.184Z] + lftools sign git-tag v3.1.0-dev.3 [2023-08-09T10:50:57.751Z] Signing Git tag with Sigul... [2023-08-09T10:50:57.751Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-08-09T10:50:58.016Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:50:58.299Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T10:50:58.305Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T10:50:58.328Z] $ docker stop --time=1 cbcb6eedc5405c43621e8805d0ea235bb8db047bfc47f5e324e6bf9c4787e66e [2023-08-09T10:50:59.683Z] $ docker rm -f --volumes cbcb6eedc5405c43621e8805d0ea235bb8db047bfc47f5e324e6bf9c4787e66e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T10:51:00.073Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:51:00.073Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:00.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:51:00.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:00.430Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:51:00.458Z] $ 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 [2023-08-09T10:51:00.793Z] $ docker top d85121bad5f3c438f40fde195b2df65cb76238b5146219644744c257dcc4d24e -eo pid,comm [2023-08-09T10:51:00.839Z] 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). [2023-08-09T10:51:00.840Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:51:00.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:51:00.886Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:51:00.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:51:01.000Z] $ docker exec d85121bad5f3c438f40fde195b2df65cb76238b5146219644744c257dcc4d24e ssh-agent [2023-08-09T10:51:01.116Z] SSH_AUTH_SOCK=/tmp/ssh-qMtRt1CCCl5I/agent.32 [2023-08-09T10:51:01.116Z] SSH_AGENT_PID=38 [2023-08-09T10:51:01.121Z] Running ssh-add (command line suppressed) [2023-08-09T10:51:01.227Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14871497235461290762.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14871497235461290762.key) [2023-08-09T10:51:01.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:51:01.526Z] + git semver bump pre [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,705 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,705 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,705 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,705 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,707 [execute] INFO git cat-file --batch-check [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,714 [execute] INFO git cat-file --batch [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:01.785Z] 2023-08-09 10:51:01,720 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:51:01.785Z] 3.1.0-dev.4 [Pipeline] } [2023-08-09T10:51:01.796Z] $ docker exec --env ******** --env ******** d85121bad5f3c438f40fde195b2df65cb76238b5146219644744c257dcc4d24e ssh-agent -k [2023-08-09T10:51:01.891Z] unset SSH_AUTH_SOCK; [2023-08-09T10:51:01.891Z] unset SSH_AGENT_PID; [2023-08-09T10:51:01.892Z] echo Agent pid 38 killed; [2023-08-09T10:51:01.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:51:02.198Z] + git semver [Pipeline] } [2023-08-09T10:51:02.472Z] $ docker stop --time=1 d85121bad5f3c438f40fde195b2df65cb76238b5146219644744c257dcc4d24e [2023-08-09T10:51:03.729Z] $ docker rm -f --volumes d85121bad5f3c438f40fde195b2df65cb76238b5146219644744c257dcc4d24e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:51:04.091Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:51:04.091Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:04.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:51:04.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:04.455Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:51:04.486Z] $ 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 [2023-08-09T10:51:04.878Z] $ docker top a9661f4c9a023dc0992acde92228958fd06e9526ed821dd78647c86c7ad76565 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:51:04.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:51:04.968Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:51:05.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:51:05.075Z] $ docker exec a9661f4c9a023dc0992acde92228958fd06e9526ed821dd78647c86c7ad76565 ssh-agent [2023-08-09T10:51:05.195Z] SSH_AUTH_SOCK=/tmp/ssh-93CLfHR11kqR/agent.32 [2023-08-09T10:51:05.195Z] SSH_AGENT_PID=38 [2023-08-09T10:51:05.199Z] Running ssh-add (command line suppressed) [2023-08-09T10:51:05.292Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7396159647253659324.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7396159647253659324.key) [2023-08-09T10:51:05.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:51:05.589Z] + git semver push [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,794 [run_push] DEBUG push [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,795 [execute] INFO git cat-file --batch-check [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,799 [execute] INFO git rev-list eebd2b887633ff946fea59e8988275788e2dab50 -- [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,799 [execute] DEBUG Popen(['git', 'rev-list', 'eebd2b887633ff946fea59e8988275788e2dab50', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,808 [execute] INFO git fetch -v origin [2023-08-09T10:51:05.846Z] 2023-08-09 10:51:05,808 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-09T10:51:06.413Z] 2023-08-09 10:51:06,277 [run_push] DEBUG no remote changes detected [2023-08-09T10:51:06.413Z] 2023-08-09 10:51:06,278 [execute] INFO git push origin semver [2023-08-09T10:51:06.413Z] 2023-08-09 10:51:06,279 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:51:07.351Z] 2023-08-09 10:51:07,054 [run_push] DEBUG push all version tags [2023-08-09T10:51:07.351Z] 2023-08-09 10:51:07,054 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T10:51:07.351Z] 2023-08-09 10:51:07,055 [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) [2023-08-09T10:51:07.917Z] 2023-08-09 10:51:07,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-09T10:51:07.917Z] 3.1.0-dev.4 [Pipeline] } [2023-08-09T10:51:07.927Z] $ docker exec --env ******** --env ******** a9661f4c9a023dc0992acde92228958fd06e9526ed821dd78647c86c7ad76565 ssh-agent -k [2023-08-09T10:51:08.020Z] unset SSH_AUTH_SOCK; [2023-08-09T10:51:08.020Z] unset SSH_AGENT_PID; [2023-08-09T10:51:08.021Z] echo Agent pid 38 killed; [2023-08-09T10:51:08.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:51:08.328Z] + git semver [Pipeline] } [2023-08-09T10:51:08.600Z] $ docker stop --time=1 a9661f4c9a023dc0992acde92228958fd06e9526ed821dd78647c86c7ad76565 [2023-08-09T10:51:09.973Z] $ docker rm -f --volumes a9661f4c9a023dc0992acde92228958fd06e9526ed821dd78647c86c7ad76565 [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 [2023-08-09T10:51:10.513Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-08-09T10:51:10.513Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-09T10:51:10.513Z] total 16 [2023-08-09T10:51:10.513Z] drwxr-xr-x 3 root root 4096 Aug 9 10:40 . [2023-08-09T10:51:10.513Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:50 .. [2023-08-09T10:51:10.513Z] drwxr-xr-x 2 root root 4096 Aug 9 10:40 cost [2023-08-09T10:51:10.513Z] -rw-r--r-- 1 root root 86 Aug 9 10:40 cost.csv [2023-08-09T10:51:10.513Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-09T10:51:10.513Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-09T10:51:10.513Z] total 16 [2023-08-09T10:51:10.513Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:40 . [2023-08-09T10:51:10.513Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:50 .. [2023-08-09T10:51:10.513Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:40 cost [2023-08-09T10:51:10.513Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 9 10:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:10.802Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:11.691Z] ---> package-listing.sh [2023-08-09T10:51:11.691Z] ++ facter osfamily [2023-08-09T10:51:11.691Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:51:11.691Z] + OS_FAMILY=debian [2023-08-09T10:51:11.691Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-09T10:51:11.691Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:51:11.691Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:51:11.691Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:51:11.691Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:51:11.691Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-09T10:51:11.691Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:51:11.691Z] + case "${OS_FAMILY}" in [2023-08-09T10:51:11.691Z] + dpkg -l [2023-08-09T10:51:11.691Z] + grep '^ii' [2023-08-09T10:51:11.981Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:51:11.981Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:51:11.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:51:11.981Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-09T10:51:11.981Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-08-09T10:51:11.981Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-08-09T10:51:11.995Z] 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 [2023-08-09T10:51:12.311Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:51:12.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:51:12.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:51:12.687Z] prd-ubuntu20.04-docker-8c-8g-3218 does not seem to be running inside a container [2023-08-09T10:51:12.717Z] $ 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 [2023-08-09T10:51:12.945Z] $ docker top a5b4aa4940646f96580b85954e601b4409009c6e538b6908edd0e08982063482 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:51:13.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:51:13.563Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:51:13.849Z] + ls /var/log/sa-host [2023-08-09T10:51:13.849Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:51:13.922Z] provisioning config files... [2023-08-09T10:51:13.930Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config480281150686224640tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:51:13.943Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:14.226Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:51:14.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:14.568Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:51:14.578Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:14.859Z] ---> sudo-logs.sh [2023-08-09T10:51:14.859Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:51:14.888Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:15.168Z] ---> job-cost.sh [2023-08-09T10:51:15.168Z] lf-activate-venv: SKIPPING [2023-08-09T10:51:15.168Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:51:15.168Z] INFO: Retrieving Stack Cost... [2023-08-09T10:51:15.736Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:51:15.994Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:51:16.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:51:16.283Z] ---> logs-deploy.sh [2023-08-09T10:51:16.283Z] lf-activate-venv: SKIPPING [2023-08-09T10:51:16.283Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/131 [2023-08-09T10:51:16.283Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:51:17.221Z] Archives upload complete. [2023-08-09T10:51:17.221Z] INFO: archiving logs to Nexus