Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d33c97016b772b808cfb4d9266f28d352587cb6 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-ssh5188387976844049454.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8980264395621277838.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11522880714587696040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh423590531870087923.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-ssh1629439444204045607.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9588’ Running on prd-ubuntu20.04-docker-8c-8g-9592 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 3d33c97016b772b808cfb4d9266f28d352587cb6 (main) Commit message: "Merge pull request #634 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" > 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 3d33c97016b772b808cfb4d9266f28d352587cb6 # timeout=10 > git rev-list --no-walk 848c7370e59f70b2b102dd5f15f8b033fa5e417d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-19T05:04:45.576Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-19T05:04:45.644Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-19T05:04:45.671Z] ========================================================= [2023-10-19T05:04:45.671Z] EdgeX Global Pipelines Version Info [2023-10-19T05:04:45.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:04:46.396Z] ------------------- [2023-10-19T05:04:46.396Z] stable info: [2023-10-19T05:04:46.396Z] ------------------- [2023-10-19T05:04:46.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-19T05:04:46.396Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-19T05:04:46.396Z] Message: update stable to v1.0.254 [2023-10-19T05:04:47.004Z] ------------------- [2023-10-19T05:04:47.004Z] experimental info: [2023-10-19T05:04:47.004Z] ------------------- [2023-10-19T05:04:47.004Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-19T05:04:47.004Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-19T05:04:47.004Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-19T05:04:47.163Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-19T05:04:47.175Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-19T05:04:47.184Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-19T05:04:47.193Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-19T05:04:47.202Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-19T05:04:47.211Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-19T05:04:47.267Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-19T05:04:47.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-19T05:04:47.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-19T05:04:47.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-19T05:04:47.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-19T05:04:47.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-19T05:04:47.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-19T05:04:47.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-19T05:04:47.333Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-19T05:04:47.342Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-19T05:04:47.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-19T05:04:47.370Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-19T05:04:47.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-19T05:04:47.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-19T05:04:47.421Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-19T05:04:47.432Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-19T05:04:47.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-19T05:04:47.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-19T05:04:47.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-19T05:04:47.501Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-19T05:04:47.515Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-19T05:04:47.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-19T05:04:47.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-19T05:04:47.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-19T05:04:47.583Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] echo [2023-10-19T05:04:47.595Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d33c97 [Pipeline] echo [2023-10-19T05:04:47.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:04:47.646Z] provisioning config files... [2023-10-19T05:04:47.661Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7529975452460828154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:04:47.966Z] ---> docker-login.sh [2023-10-19T05:04:47.966Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:04:47.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:04:48.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:04:48.226Z] Configure a credential helper to remove this warning. See [2023-10-19T05:04:48.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:04:48.226Z] [2023-10-19T05:04:48.226Z] Login Succeeded [2023-10-19T05:04:48.226Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:04:48.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:04:48.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:04:48.226Z] Configure a credential helper to remove this warning. See [2023-10-19T05:04:48.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:04:48.226Z] [2023-10-19T05:04:48.226Z] Login Succeeded [2023-10-19T05:04:48.226Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:04:48.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:04:48.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:04:48.486Z] Configure a credential helper to remove this warning. See [2023-10-19T05:04:48.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:04:48.486Z] [2023-10-19T05:04:48.486Z] Login Succeeded [2023-10-19T05:04:48.486Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:04:48.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:04:48.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:04:48.486Z] Configure a credential helper to remove this warning. See [2023-10-19T05:04:48.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:04:48.486Z] [2023-10-19T05:04:48.486Z] Login Succeeded [2023-10-19T05:04:48.486Z] docker.io [2023-10-19T05:04:48.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:04:48.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:04:48.745Z] Configure a credential helper to remove this warning. See [2023-10-19T05:04:48.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:04:48.745Z] [2023-10-19T05:04:48.745Z] Login Succeeded [2023-10-19T05:04:48.745Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:04:48.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-19T05:04:49.115Z] + git rev-list -1 --merges 3d33c97016b772b808cfb4d9266f28d352587cb6~1..3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] echo [2023-10-19T05:04:49.159Z] -----------> git rev-list -1 --merges 3d33c97016b772b808cfb4d9266f28d352587cb6~1..3d33c97016b772b808cfb4d9266f28d352587cb6 3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:04:49.159Z] 3d33c97016b772b808cfb4d9266f28d352587cb6 [false] [Pipeline] sh [2023-10-19T05:04:49.448Z] + git log --format=format:%s -1 3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] echo [2023-10-19T05:04:49.467Z] ========================================================= [2023-10-19T05:04:49.467Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-19T05:04:49.467Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-19T05:04:49.795Z] + git log --format=format:%s -1 3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] echo [2023-10-19T05:04:49.822Z] [semverPrep] GIT_COMMIT: 3d33c97016b772b808cfb4d9266f28d352587cb6, Commit Message: Merge pull request #634 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35 [Pipeline] echo [2023-10-19T05:04:49.830Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-19T05:04:50.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:04:50.175Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-19T05:04:50.175Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-19T05:04:50.175Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-19T05:04:50.175Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-19T05:04:50.175Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-19T05:04:50.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:04:50.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:04:50.523Z] [2023-10-19T05:04:50.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:04:50.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:04:50.826Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-19T05:04:50.826Z] b85a868b505f: Pulling fs layer [2023-10-19T05:04:50.826Z] e2be974225ed: Pulling fs layer [2023-10-19T05:04:50.826Z] 339a4e72a1f5: Pulling fs layer [2023-10-19T05:04:50.826Z] 988bab9f4d93: Pulling fs layer [2023-10-19T05:04:50.826Z] 1469e6f7b9e6: Pulling fs layer [2023-10-19T05:04:50.826Z] eaf3925da568: Pulling fs layer [2023-10-19T05:04:50.826Z] bab4dde63d76: Pulling fs layer [2023-10-19T05:04:50.826Z] bde34c3a00c8: Pulling fs layer [2023-10-19T05:04:50.826Z] b352a97aabf1: Pulling fs layer [2023-10-19T05:04:50.826Z] 4872d77fe225: Pulling fs layer [2023-10-19T05:04:50.826Z] 5851b861e8e6: Pulling fs layer [2023-10-19T05:04:50.826Z] bab4dde63d76: Waiting [2023-10-19T05:04:50.826Z] bde34c3a00c8: Waiting [2023-10-19T05:04:50.826Z] b352a97aabf1: Waiting [2023-10-19T05:04:50.826Z] 4872d77fe225: Waiting [2023-10-19T05:04:50.826Z] 988bab9f4d93: Waiting [2023-10-19T05:04:50.826Z] 5851b861e8e6: Waiting [2023-10-19T05:04:50.826Z] 1469e6f7b9e6: Waiting [2023-10-19T05:04:50.826Z] eaf3925da568: Waiting [2023-10-19T05:04:50.826Z] e2be974225ed: Download complete [2023-10-19T05:04:50.826Z] 988bab9f4d93: Verifying Checksum [2023-10-19T05:04:50.826Z] 988bab9f4d93: Download complete [2023-10-19T05:04:50.826Z] 1469e6f7b9e6: Verifying Checksum [2023-10-19T05:04:50.826Z] 1469e6f7b9e6: Download complete [2023-10-19T05:04:50.826Z] 339a4e72a1f5: Verifying Checksum [2023-10-19T05:04:50.826Z] 339a4e72a1f5: Download complete [2023-10-19T05:04:51.085Z] eaf3925da568: Download complete [2023-10-19T05:04:51.085Z] bde34c3a00c8: Download complete [2023-10-19T05:04:51.085Z] b352a97aabf1: Verifying Checksum [2023-10-19T05:04:51.085Z] b352a97aabf1: Download complete [2023-10-19T05:04:51.085Z] 4872d77fe225: Download complete [2023-10-19T05:04:51.085Z] 5851b861e8e6: Verifying Checksum [2023-10-19T05:04:51.085Z] 5851b861e8e6: Download complete [2023-10-19T05:04:51.085Z] b85a868b505f: Verifying Checksum [2023-10-19T05:04:51.085Z] b85a868b505f: Download complete [2023-10-19T05:04:51.345Z] bab4dde63d76: Download complete [2023-10-19T05:04:52.280Z] b85a868b505f: Pull complete [2023-10-19T05:04:52.280Z] e2be974225ed: Pull complete [2023-10-19T05:04:52.847Z] 339a4e72a1f5: Pull complete [2023-10-19T05:04:52.847Z] 988bab9f4d93: Pull complete [2023-10-19T05:04:53.105Z] 1469e6f7b9e6: Pull complete [2023-10-19T05:04:53.105Z] eaf3925da568: Pull complete [2023-10-19T05:04:55.008Z] bab4dde63d76: Pull complete [2023-10-19T05:04:55.008Z] bde34c3a00c8: Pull complete [2023-10-19T05:04:55.008Z] b352a97aabf1: Pull complete [2023-10-19T05:04:55.008Z] 4872d77fe225: Pull complete [2023-10-19T05:04:55.009Z] 5851b861e8e6: Pull complete [2023-10-19T05:04:55.009Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-19T05:04:55.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:04:55.009Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:04:55.187Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:04:55.227Z] $ 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-10-19T05:04:57.349Z] $ docker top cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f -eo pid,comm [2023-10-19T05:04:57.407Z] 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-10-19T05:04:57.407Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:04:57.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:04:57.446Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:04:57.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:04:57.575Z] $ docker exec cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f ssh-agent [2023-10-19T05:04:57.683Z] SSH_AUTH_SOCK=/tmp/ssh-gF852jbjmzro/agent.32 [2023-10-19T05:04:57.683Z] SSH_AGENT_PID=38 [2023-10-19T05:04:57.689Z] Running ssh-add (command line suppressed) [2023-10-19T05:04:57.803Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1410602164158300664.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1410602164158300664.key) [2023-10-19T05:04:57.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:04:58.133Z] + git tag --points-at HEAD [Pipeline] } [2023-10-19T05:04:58.156Z] $ docker exec --env ******** --env ******** cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f ssh-agent -k [2023-10-19T05:04:58.264Z] unset SSH_AUTH_SOCK; [2023-10-19T05:04:58.264Z] unset SSH_AGENT_PID; [2023-10-19T05:04:58.264Z] echo Agent pid 38 killed; [2023-10-19T05:04:58.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-19T05:04:58.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:04:58.293Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:04:58.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:04:58.408Z] $ docker exec cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f ssh-agent [2023-10-19T05:04:58.510Z] SSH_AUTH_SOCK=/tmp/ssh-qIr14A07Hk7y/agent.70 [2023-10-19T05:04:58.510Z] SSH_AGENT_PID=77 [2023-10-19T05:04:58.515Z] Running ssh-add (command line suppressed) [2023-10-19T05:04:58.629Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13342920113899282048.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13342920113899282048.key) [2023-10-19T05:04:58.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:04:58.941Z] + git semver init [2023-10-19T05:04:59.200Z] 2023-10-19 05:04:59,129 [run_init] DEBUG init version:0.0.0 force:False [2023-10-19T05:04:59.200Z] 2023-10-19 05:04:59,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-10-19T05:04:59.200Z] 2023-10-19 05:04:59,130 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-10-19T05:04:59.200Z] 2023-10-19 05:04:59,130 [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-10-19T05:05:00.135Z] 2023-10-19 05:04:59,920 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-10-19T05:05:00.135Z] 2023-10-19 05:04:59,920 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-10-19T05:05:00.135Z] 2023-10-19 05:04:59,921 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:05:00.135Z] 2023-10-19 05:04:59,921 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:05:00.135Z] 3.1.0-dev.18 [Pipeline] } [2023-10-19T05:05:00.146Z] $ docker exec --env ******** --env ******** cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f ssh-agent -k [2023-10-19T05:05:00.243Z] unset SSH_AUTH_SOCK; [2023-10-19T05:05:00.244Z] unset SSH_AGENT_PID; [2023-10-19T05:05:00.244Z] echo Agent pid 77 killed; [2023-10-19T05:05:00.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:05:00.555Z] + git semver [Pipeline] } [2023-10-19T05:05:00.828Z] $ docker stop --time=1 cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f [2023-10-19T05:05:02.143Z] $ docker rm -f --volumes cdf451ec5a2d736c3275db7dddf9ffb407e2302acd0768d1b37ffd766e44b83f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:05:02.476Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-19T05:05:02.689Z] Stashed 1 file(s) [Pipeline] echo [2023-10-19T05:05:02.691Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [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-10-19T05:05:02.843Z] provisioning config files... [2023-10-19T05:05:02.851Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7846739992972760286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:05:03.161Z] ---> docker-login.sh [2023-10-19T05:05:03.161Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:05:03.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:03.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:03.161Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:03.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:03.161Z] [2023-10-19T05:05:03.161Z] Login Succeeded [2023-10-19T05:05:03.161Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:05:03.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:03.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:03.161Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:03.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:03.161Z] [2023-10-19T05:05:03.161Z] Login Succeeded [2023-10-19T05:05:03.161Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:05:03.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:03.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:03.427Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:03.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:03.427Z] [2023-10-19T05:05:03.427Z] Login Succeeded [2023-10-19T05:05:03.427Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:05:03.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:03.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:03.427Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:03.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:03.427Z] [2023-10-19T05:05:03.427Z] Login Succeeded [2023-10-19T05:05:03.427Z] docker.io [2023-10-19T05:05:03.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:05:03.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:05:03.688Z] Configure a credential helper to remove this warning. See [2023-10-19T05:05:03.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:05:03.688Z] [2023-10-19T05:05:03.688Z] Login Succeeded [2023-10-19T05:05:03.688Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:05:03.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-19T05:05:03.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:05:03.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:05:03.775Z] ========================================================= [2023-10-19T05:05:03.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-19T05:05:03.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:05:04.099Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-19T05:05:04.099Z] Sending build context to Docker daemon 6.534MB [2023-10-19T05:05:04.099Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:05:04.099Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-19T05:05:04.099Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-19T05:05:04.099Z] 7264a8db6415: Pulling fs layer [2023-10-19T05:05:04.099Z] c4d48a809fc2: Pulling fs layer [2023-10-19T05:05:04.099Z] 4f1c88b9dad5: Pulling fs layer [2023-10-19T05:05:04.099Z] ad3a456e5733: Pulling fs layer [2023-10-19T05:05:04.099Z] 33e27b845d1e: Pulling fs layer [2023-10-19T05:05:04.099Z] c68163c4e522: Pulling fs layer [2023-10-19T05:05:04.099Z] 50da416c3ac9: Pulling fs layer [2023-10-19T05:05:04.099Z] 23d2d4c4bb30: Pulling fs layer [2023-10-19T05:05:04.099Z] ad3a456e5733: Waiting [2023-10-19T05:05:04.099Z] 33e27b845d1e: Waiting [2023-10-19T05:05:04.099Z] c68163c4e522: Waiting [2023-10-19T05:05:04.099Z] 50da416c3ac9: Waiting [2023-10-19T05:05:04.099Z] 23d2d4c4bb30: Waiting [2023-10-19T05:05:04.099Z] c4d48a809fc2: Download complete [2023-10-19T05:05:04.099Z] ad3a456e5733: Download complete [2023-10-19T05:05:04.099Z] 33e27b845d1e: Download complete [2023-10-19T05:05:04.099Z] 7264a8db6415: Verifying Checksum [2023-10-19T05:05:04.099Z] 7264a8db6415: Download complete [2023-10-19T05:05:04.358Z] c68163c4e522: Verifying Checksum [2023-10-19T05:05:04.358Z] c68163c4e522: Download complete [2023-10-19T05:05:04.358Z] 7264a8db6415: Pull complete [2023-10-19T05:05:04.616Z] 23d2d4c4bb30: Verifying Checksum [2023-10-19T05:05:04.616Z] 23d2d4c4bb30: Download complete [2023-10-19T05:05:04.616Z] c4d48a809fc2: Pull complete [2023-10-19T05:05:04.616Z] 4f1c88b9dad5: Verifying Checksum [2023-10-19T05:05:04.616Z] 4f1c88b9dad5: Download complete [2023-10-19T05:05:04.874Z] 50da416c3ac9: Verifying Checksum [2023-10-19T05:05:04.874Z] 50da416c3ac9: Download complete [2023-10-19T05:05:08.160Z] 4f1c88b9dad5: Pull complete [2023-10-19T05:05:08.160Z] ad3a456e5733: Pull complete [2023-10-19T05:05:08.160Z] 33e27b845d1e: Pull complete [2023-10-19T05:05:08.160Z] c68163c4e522: Pull complete [2023-10-19T05:05:10.688Z] 50da416c3ac9: Pull complete [2023-10-19T05:05:10.688Z] 23d2d4c4bb30: Pull complete [2023-10-19T05:05:10.688Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-19T05:05:10.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-19T05:05:10.688Z] ---> 0786185ac409 [2023-10-19T05:05:10.688Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:05:14.884Z] ---> Running in 655877f2e3ab [2023-10-19T05:05:14.884Z] Removing intermediate container 655877f2e3ab [2023-10-19T05:05:14.884Z] ---> 835520f7abd5 [2023-10-19T05:05:14.884Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:05:14.884Z] ---> Running in e65d82e4f738 [2023-10-19T05:05:14.884Z] Removing intermediate container e65d82e4f738 [2023-10-19T05:05:14.884Z] ---> f424bc078c59 [2023-10-19T05:05:14.884Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-19T05:05:14.884Z] ---> Running in f467d93bf9de [2023-10-19T05:05:14.884Z] Removing intermediate container f467d93bf9de [2023-10-19T05:05:14.884Z] ---> f346d4bb5acc [2023-10-19T05:05:14.884Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:05:14.884Z] ---> Running in ec6776f1f542 [2023-10-19T05:05:14.884Z] Removing intermediate container ec6776f1f542 [2023-10-19T05:05:14.884Z] ---> 4c0f12d69986 [2023-10-19T05:05:14.884Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:05:14.884Z] ---> Running in 112c4297132d [2023-10-19T05:05:14.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-19T05:05:15.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-19T05:05:15.400Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-19T05:05:15.400Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-19T05:05:15.400Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-19T05:05:15.400Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-19T05:05:15.400Z] Executing busybox-1.36.1-r2.trigger [2023-10-19T05:05:15.400Z] OK: 268 MiB in 56 packages [2023-10-19T05:05:15.970Z] Removing intermediate container 112c4297132d [2023-10-19T05:05:15.970Z] ---> 2b99d17e725c [2023-10-19T05:05:15.970Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-19T05:05:15.970Z] ---> Running in 64dfaa4a239b [2023-10-19T05:05:15.970Z] Removing intermediate container 64dfaa4a239b [2023-10-19T05:05:15.970Z] ---> 2b38d03a29d5 [2023-10-19T05:05:15.970Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-19T05:05:15.970Z] ---> d7eea6efc8db [2023-10-19T05:05:15.970Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:05:15.970Z] ---> Running in b8984dec0d13 [2023-10-19T05:05:17.799Z] Still waiting to schedule task [2023-10-19T05:05:17.799Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9591’ [2023-10-19T05:06:12.205Z] Removing intermediate container b8984dec0d13 [2023-10-19T05:06:12.206Z] ---> 8533895f5dc7 [2023-10-19T05:06:12.206Z] Step 11/12 : COPY . . [2023-10-19T05:06:12.206Z] ---> d3d02e099d00 [2023-10-19T05:06:12.206Z] Step 12/12 : RUN $MAKE [2023-10-19T05:06:12.206Z] ---> Running in 28bd58781346 [2023-10-19T05:06:12.206Z] noop [2023-10-19T05:06:12.206Z] Removing intermediate container 28bd58781346 [2023-10-19T05:06:12.206Z] ---> 64d9b72795b4 [2023-10-19T05:06:12.206Z] Successfully built 64d9b72795b4 [2023-10-19T05:06:12.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:06:12.519Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-19T05:06:12.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:06:12.589Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:06:12.620Z] $ 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-10-19T05:06:12.954Z] $ docker top 052bdd2dd1753bda9f0adbe52fd5c9199bdc6ca9de2ed2c8c06a376c5f917ff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:06:13.307Z] + go version [2023-10-19T05:06:13.307Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-19T05:06:13.320Z] $ docker stop --time=1 052bdd2dd1753bda9f0adbe52fd5c9199bdc6ca9de2ed2c8c06a376c5f917ff0 [2023-10-19T05:06:14.565Z] $ docker rm -f --volumes 052bdd2dd1753bda9f0adbe52fd5c9199bdc6ca9de2ed2c8c06a376c5f917ff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:06:14.960Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-19T05:06:14.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:06:15.024Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:06:15.057Z] $ 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-10-19T05:06:15.384Z] $ docker top 452de55cd980bf3890b13c732100d8409fb08b406be8e219794fe174ce2902f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:06:15.731Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-19T05:06:16.028Z] + make test [2023-10-19T05:06:16.028Z] go test ./... -coverprofile=coverage.out ./... [2023-10-19T05:06:17.410Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-19T05:06:27.465Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-19T05:06:27.465Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-19T05:06:27.465Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements [2023-10-19T05:06:32.729Z] go vet ./... [2023-10-19T05:06:36.007Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-19T05:06:36.007Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-19T05:06:36.007Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-19T05:06:36.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-19T05:06:36.031Z] $ docker stop --time=1 452de55cd980bf3890b13c732100d8409fb08b406be8e219794fe174ce2902f5 [2023-10-19T05:06:38.857Z] $ docker rm -f --volumes 452de55cd980bf3890b13c732100d8409fb08b406be8e219794fe174ce2902f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:06:39.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-19T05:06:39.359Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-19T05:06:39.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-19T05:06:40.140Z] + ls -al . [2023-10-19T05:06:40.140Z] total 188 [2023-10-19T05:06:40.140Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 05:06 . [2023-10-19T05:06:40.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:04 .. [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 05:04 .dockerignore [2023-10-19T05:06:40.140Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:06 .git [2023-10-19T05:06:40.140Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:04 .github [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 19 05:04 .gitignore [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 05:04 .golangci.yml [2023-10-19T05:06:40.140Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 05:04 .semver [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 19 05:04 Attribution.txt [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 19 05:04 CHANGELOG.md [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 19 05:04 Dockerfile [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 05:04 GOVERNANCE.md [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 19 05:04 Jenkinsfile [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 19 05:04 LICENSE [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 19 05:04 Makefile [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 19 05:04 OWNERS.md [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 3695 Oct 19 05:04 README.md [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 19 05:05 VERSION [2023-10-19T05:06:40.140Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:04 bin [2023-10-19T05:06:40.140Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:04 cmd [2023-10-19T05:06:40.140Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 19 05:06 coverage.out [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 19 05:04 go.mod [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 19 05:04 go.sum [2023-10-19T05:06:40.140Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:04 internal [2023-10-19T05:06:40.140Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:04 mock [2023-10-19T05:06:40.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:04 snap [2023-10-19T05:06:40.140Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 19 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:06:40.473Z] + 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=3d33c97016b772b808cfb4d9266f28d352587cb6 --label arch=amd64 --label version=3.1.0-dev.18 . [2023-10-19T05:06:40.473Z] Sending build context to Docker daemon 6.553MB [2023-10-19T05:06:40.473Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:06:40.473Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-19T05:06:40.473Z] ---> 64d9b72795b4 [2023-10-19T05:06:40.473Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:06:40.473Z] ---> Running in c574d5c22717 [2023-10-19T05:06:40.734Z] Removing intermediate container c574d5c22717 [2023-10-19T05:06:40.734Z] ---> e7f7210c8130 [2023-10-19T05:06:40.734Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:06:40.734Z] ---> Running in 2a4d8fca516c [2023-10-19T05:06:40.734Z] Removing intermediate container 2a4d8fca516c [2023-10-19T05:06:40.734Z] ---> a4d7cdd72ebb [2023-10-19T05:06:40.734Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-19T05:06:40.734Z] ---> Running in 721d19e62b54 [2023-10-19T05:06:40.734Z] Removing intermediate container 721d19e62b54 [2023-10-19T05:06:40.734Z] ---> 150f3ea846a2 [2023-10-19T05:06:40.734Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:06:40.993Z] ---> Running in 91a61c0c0a1f [2023-10-19T05:06:40.993Z] Removing intermediate container 91a61c0c0a1f [2023-10-19T05:06:40.993Z] ---> 5d958d35ba98 [2023-10-19T05:06:40.993Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:06:40.993Z] ---> Running in 278dc5d638fd [2023-10-19T05:06:41.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-19T05:06:41.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-19T05:06:41.512Z] OK: 268 MiB in 56 packages [2023-10-19T05:06:41.770Z] Removing intermediate container 278dc5d638fd [2023-10-19T05:06:41.770Z] ---> 6466e19c71f0 [2023-10-19T05:06:41.770Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-19T05:06:42.028Z] ---> Running in 789f627ba37b [2023-10-19T05:06:42.028Z] Removing intermediate container 789f627ba37b [2023-10-19T05:06:42.028Z] ---> 73685c3b9e8c [2023-10-19T05:06:42.028Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-19T05:06:42.028Z] ---> 8b61e80cfce9 [2023-10-19T05:06:42.028Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:06:42.028Z] ---> Running in e71ec3503fcf [2023-10-19T05:06:42.597Z] Removing intermediate container e71ec3503fcf [2023-10-19T05:06:42.597Z] ---> 66888d454b53 [2023-10-19T05:06:42.597Z] Step 11/24 : COPY . . [2023-10-19T05:06:42.855Z] ---> 302504f8952b [2023-10-19T05:06:42.855Z] Step 12/24 : RUN $MAKE [2023-10-19T05:06:43.113Z] ---> Running in 397ecb4009ef [2023-10-19T05:06:43.371Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-19T05:07:05.436Z] Removing intermediate container 397ecb4009ef [2023-10-19T05:07:05.436Z] ---> d77feeceb9b7 [2023-10-19T05:07:05.436Z] Step 13/24 : FROM alpine:3.18 [2023-10-19T05:07:05.436Z] 3.18: Pulling from library/alpine [2023-10-19T05:07:05.436Z] 96526aa774ef: Pulling fs layer [2023-10-19T05:07:05.436Z] 96526aa774ef: Verifying Checksum [2023-10-19T05:07:05.436Z] 96526aa774ef: Download complete [2023-10-19T05:07:05.436Z] 96526aa774ef: Pull complete [2023-10-19T05:07:05.436Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-19T05:07:05.436Z] Status: Downloaded newer image for alpine:3.18 [2023-10-19T05:07:05.436Z] ---> 8ca4688f4f35 [2023-10-19T05:07:05.436Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-19T05:07:05.436Z] ---> Running in 6d8756b75fb3 [2023-10-19T05:07:05.436Z] Removing intermediate container 6d8756b75fb3 [2023-10-19T05:07:05.436Z] ---> 36923d71bbda [2023-10-19T05:07:05.436Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-19T05:07:05.436Z] ---> Running in a39ad088f5d0 [2023-10-19T05:07:05.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-19T05:07:05.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-19T05:07:05.436Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-19T05:07:05.436Z] Executing busybox-1.36.1-r2.trigger [2023-10-19T05:07:05.436Z] OK: 7 MiB in 16 packages [2023-10-19T05:07:05.436Z] Removing intermediate container a39ad088f5d0 [2023-10-19T05:07:05.436Z] ---> 3530f52d11bd [2023-10-19T05:07:05.436Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-19T05:07:05.436Z] ---> 00e8b1d6ec46 [2023-10-19T05:07:05.436Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-19T05:07:05.436Z] ---> 6706a4072481 [2023-10-19T05:07:05.436Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-19T05:07:05.436Z] ---> 21f38ab22976 [2023-10-19T05:07:05.436Z] Step 19/24 : EXPOSE 59982 [2023-10-19T05:07:05.436Z] ---> Running in 1c2b995c00b0 [2023-10-19T05:07:05.436Z] Removing intermediate container 1c2b995c00b0 [2023-10-19T05:07:05.436Z] ---> cd4cc8fde69d [2023-10-19T05:07:05.436Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-19T05:07:05.436Z] ---> Running in 38b3738de083 [2023-10-19T05:07:05.436Z] Removing intermediate container 38b3738de083 [2023-10-19T05:07:05.436Z] ---> ab3780a2590d [2023-10-19T05:07:05.436Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-19T05:07:05.436Z] ---> Running in 94e5f5083778 [2023-10-19T05:07:05.436Z] Removing intermediate container 94e5f5083778 [2023-10-19T05:07:05.436Z] ---> b08bbb8ddf51 [2023-10-19T05:07:05.436Z] Step 22/24 : LABEL arch=amd64 [2023-10-19T05:07:05.436Z] ---> Running in 2199f8ee953f [2023-10-19T05:07:05.694Z] Removing intermediate container 2199f8ee953f [2023-10-19T05:07:05.694Z] ---> 4b622f8e2b2b [2023-10-19T05:07:05.694Z] Step 23/24 : LABEL git_sha=3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:07:05.694Z] ---> Running in 34ec307dc5b8 [2023-10-19T05:07:05.694Z] Removing intermediate container 34ec307dc5b8 [2023-10-19T05:07:05.694Z] ---> 9e4667f4250b [2023-10-19T05:07:05.694Z] Step 24/24 : LABEL version=3.1.0-dev.18 [2023-10-19T05:07:05.694Z] ---> Running in 4d5ba5ed5632 [2023-10-19T05:07:05.694Z] Removing intermediate container 4d5ba5ed5632 [2023-10-19T05:07:05.694Z] ---> 45de2aaa9a2c [2023-10-19T05:07:05.694Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-19T05:07:05.694Z] Successfully built 45de2aaa9a2c [2023-10-19T05:07:05.694Z] 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-10-19T05:07:05.808Z] provisioning config files... [2023-10-19T05:07:05.818Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config112803254158603959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:07:06.113Z] ---> docker-login.sh [2023-10-19T05:07:06.113Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:07:06.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:07:06.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:07:06.113Z] Configure a credential helper to remove this warning. See [2023-10-19T05:07:06.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:07:06.113Z] [2023-10-19T05:07:06.113Z] Login Succeeded [2023-10-19T05:07:06.113Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:07:06.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:07:06.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:07:06.113Z] Configure a credential helper to remove this warning. See [2023-10-19T05:07:06.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:07:06.113Z] [2023-10-19T05:07:06.113Z] Login Succeeded [2023-10-19T05:07:06.113Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:07:06.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:07:06.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:07:06.371Z] Configure a credential helper to remove this warning. See [2023-10-19T05:07:06.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:07:06.371Z] [2023-10-19T05:07:06.371Z] Login Succeeded [2023-10-19T05:07:06.371Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:07:06.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:07:06.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:07:06.371Z] Configure a credential helper to remove this warning. See [2023-10-19T05:07:06.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:07:06.371Z] [2023-10-19T05:07:06.371Z] Login Succeeded [2023-10-19T05:07:06.371Z] docker.io [2023-10-19T05:07:06.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:07:06.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:07:06.629Z] Configure a credential helper to remove this warning. See [2023-10-19T05:07:06.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:07:06.629Z] [2023-10-19T05:07:06.629Z] Login Succeeded [2023-10-19T05:07:06.629Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:07:06.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:07:06.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:07:06.703Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-10-19T05:07:06.703Z] 3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:07:06.703Z] latest [2023-10-19T05:07:06.703Z] 3.1.0-dev.18 [2023-10-19T05:07:06.703Z] 3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [2023-10-19T05:07:06.703Z] main [2023-10-19T05:07:06.703Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:07.030Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:07.343Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:07:07.343Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-19T05:07:07.343Z] 3a629084b0f6: Preparing [2023-10-19T05:07:07.343Z] 3eb9ccbe2e11: Preparing [2023-10-19T05:07:07.343Z] 0a81b017beb2: Preparing [2023-10-19T05:07:07.343Z] 81fa954da418: Preparing [2023-10-19T05:07:07.343Z] cc2447e1835a: Preparing [2023-10-19T05:07:07.343Z] cc2447e1835a: Layer already exists [2023-10-19T05:07:07.343Z] 3eb9ccbe2e11: Pushed [2023-10-19T05:07:07.343Z] 3a629084b0f6: Pushed [2023-10-19T05:07:07.343Z] 81fa954da418: Pushed [2023-10-19T05:07:10.632Z] 0a81b017beb2: Pushed [2023-10-19T05:07:10.632Z] 3d33c97016b772b808cfb4d9266f28d352587cb6: digest: sha256:318b630b994a808024f987fc4525c59ed92dc920e3f3ad3f556b873dbda5eb10 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:10.947Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:11.254Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-10-19T05:07:11.254Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-19T05:07:11.254Z] 3a629084b0f6: Preparing [2023-10-19T05:07:11.254Z] 3eb9ccbe2e11: Preparing [2023-10-19T05:07:11.254Z] 0a81b017beb2: Preparing [2023-10-19T05:07:11.254Z] 81fa954da418: Preparing [2023-10-19T05:07:11.254Z] cc2447e1835a: Preparing [2023-10-19T05:07:11.254Z] cc2447e1835a: Layer already exists [2023-10-19T05:07:11.254Z] 81fa954da418: Layer already exists [2023-10-19T05:07:11.254Z] 0a81b017beb2: Layer already exists [2023-10-19T05:07:11.254Z] 3a629084b0f6: Layer already exists [2023-10-19T05:07:11.254Z] 3eb9ccbe2e11: Layer already exists [2023-10-19T05:07:11.254Z] latest: digest: sha256:318b630b994a808024f987fc4525c59ed92dc920e3f3ad3f556b873dbda5eb10 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:11.557Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:11.863Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.18 [2023-10-19T05:07:11.863Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-19T05:07:11.863Z] 3a629084b0f6: Preparing [2023-10-19T05:07:11.863Z] 3eb9ccbe2e11: Preparing [2023-10-19T05:07:11.863Z] 0a81b017beb2: Preparing [2023-10-19T05:07:11.863Z] 81fa954da418: Preparing [2023-10-19T05:07:11.863Z] cc2447e1835a: Preparing [2023-10-19T05:07:11.863Z] 0a81b017beb2: Layer already exists [2023-10-19T05:07:11.863Z] 3a629084b0f6: Layer already exists [2023-10-19T05:07:11.863Z] 3eb9ccbe2e11: Layer already exists [2023-10-19T05:07:11.863Z] cc2447e1835a: Layer already exists [2023-10-19T05:07:11.863Z] 81fa954da418: Layer already exists [2023-10-19T05:07:11.863Z] 3.1.0-dev.18: digest: sha256:318b630b994a808024f987fc4525c59ed92dc920e3f3ad3f556b873dbda5eb10 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:12.169Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:12.471Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [2023-10-19T05:07:12.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-19T05:07:12.471Z] 3a629084b0f6: Preparing [2023-10-19T05:07:12.471Z] 3eb9ccbe2e11: Preparing [2023-10-19T05:07:12.471Z] 0a81b017beb2: Preparing [2023-10-19T05:07:12.471Z] 81fa954da418: Preparing [2023-10-19T05:07:12.471Z] cc2447e1835a: Preparing [2023-10-19T05:07:12.471Z] cc2447e1835a: Layer already exists [2023-10-19T05:07:12.471Z] 3a629084b0f6: Layer already exists [2023-10-19T05:07:12.471Z] 3eb9ccbe2e11: Layer already exists [2023-10-19T05:07:12.471Z] 81fa954da418: Layer already exists [2023-10-19T05:07:12.471Z] 0a81b017beb2: Layer already exists [2023-10-19T05:07:12.471Z] 3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18: digest: sha256:318b630b994a808024f987fc4525c59ed92dc920e3f3ad3f556b873dbda5eb10 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:12.774Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:13.075Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-10-19T05:07:13.075Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-19T05:07:13.075Z] 3a629084b0f6: Preparing [2023-10-19T05:07:13.075Z] 3eb9ccbe2e11: Preparing [2023-10-19T05:07:13.075Z] 0a81b017beb2: Preparing [2023-10-19T05:07:13.075Z] 81fa954da418: Preparing [2023-10-19T05:07:13.075Z] cc2447e1835a: Preparing [2023-10-19T05:07:13.075Z] 3a629084b0f6: Layer already exists [2023-10-19T05:07:13.075Z] 3eb9ccbe2e11: Layer already exists [2023-10-19T05:07:13.075Z] 81fa954da418: Layer already exists [2023-10-19T05:07:13.075Z] cc2447e1835a: Layer already exists [2023-10-19T05:07:13.075Z] 0a81b017beb2: Layer already exists [2023-10-19T05:07:13.075Z] main: digest: sha256:318b630b994a808024f987fc4525c59ed92dc920e3f3ad3f556b873dbda5eb10 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:07:13.133Z] ===================================================== [Pipeline] echo [2023-10-19T05:07:13.145Z] taggedImages: [2023-10-19T05:07:13.145Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:07:13.145Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-10-19T05:07:13.145Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.18 [2023-10-19T05:07:13.145Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [2023-10-19T05:07:13.145Z] - 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-10-19T05:07:13.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:07:13.520Z] [2023-10-19T05:07:13.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:07:13.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:07:13.821Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-19T05:07:13.821Z] 5eb5b503b376: Pulling fs layer [2023-10-19T05:07:13.821Z] 5c69ac0246d0: Pulling fs layer [2023-10-19T05:07:13.821Z] ec43610c2a17: Pulling fs layer [2023-10-19T05:07:13.821Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-19T05:07:13.821Z] 33b1e0a273af: Pulling fs layer [2023-10-19T05:07:13.821Z] 5d3b04190fa2: Pulling fs layer [2023-10-19T05:07:13.821Z] 2f39f015ded8: Pulling fs layer [2023-10-19T05:07:13.821Z] 3a2ae6a8a46f: Waiting [2023-10-19T05:07:13.821Z] 33b1e0a273af: Waiting [2023-10-19T05:07:13.822Z] 5d3b04190fa2: Waiting [2023-10-19T05:07:13.822Z] 2f39f015ded8: Waiting [2023-10-19T05:07:13.822Z] 5c69ac0246d0: Download complete [2023-10-19T05:07:13.822Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-19T05:07:13.822Z] 3a2ae6a8a46f: Download complete [2023-10-19T05:07:13.822Z] 33b1e0a273af: Verifying Checksum [2023-10-19T05:07:13.822Z] 33b1e0a273af: Download complete [2023-10-19T05:07:13.822Z] 5d3b04190fa2: Verifying Checksum [2023-10-19T05:07:13.822Z] 5d3b04190fa2: Download complete [2023-10-19T05:07:13.822Z] ec43610c2a17: Verifying Checksum [2023-10-19T05:07:13.822Z] ec43610c2a17: Download complete [2023-10-19T05:07:14.079Z] 5eb5b503b376: Verifying Checksum [2023-10-19T05:07:14.079Z] 5eb5b503b376: Download complete [2023-10-19T05:07:14.644Z] 2f39f015ded8: Download complete [2023-10-19T05:07:15.215Z] 5eb5b503b376: Pull complete [2023-10-19T05:07:15.215Z] 5c69ac0246d0: Pull complete [2023-10-19T05:07:15.784Z] ec43610c2a17: Pull complete [2023-10-19T05:07:15.784Z] 3a2ae6a8a46f: Pull complete [2023-10-19T05:07:15.784Z] 33b1e0a273af: Pull complete [2023-10-19T05:07:16.043Z] 5d3b04190fa2: Pull complete [2023-10-19T05:07:20.227Z] 2f39f015ded8: Pull complete [2023-10-19T05:07:20.227Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-19T05:07:20.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:07:20.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:07:20.306Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:07:20.332Z] $ 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-10-19T05:07:24.017Z] $ docker top b8291e589476fd02711891258fe15d275f1012dc4cb893c8dc3e39bdf4d7b847 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:07:24.384Z] ---> job-cost.sh [2023-10-19T05:07:24.384Z] lf-activate-venv: SKIPPING [2023-10-19T05:07:24.384Z] INFO: No Stack... [2023-10-19T05:07:24.642Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-19T05:07:25.209Z] INFO: Archiving Costs [Pipeline] sh [2023-10-19T05:07:25.493Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-10-19T05:07:25.493Z] + cut -d, -f6 [Pipeline] lock [2023-10-19T05:07:25.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] [2023-10-19T05:07:25.508Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] did not exist. Created. [2023-10-19T05:07:25.509Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-19T05:07:25.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-19T05:07:25.832Z] Stashed 1 file(s) [Pipeline] } [2023-10-19T05:07:25.838Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-19T05:07:25.855Z] $ docker stop --time=1 b8291e589476fd02711891258fe15d275f1012dc4cb893c8dc3e39bdf4d7b847 [2023-10-19T05:07:27.005Z] $ docker rm -f --volumes b8291e589476fd02711891258fe15d275f1012dc4cb893c8dc3e39bdf4d7b847 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-19T05:08:07.654Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9595 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-10-19T05:08:07.669Z] Running in /w/workspace/device-mqtt-go/146 [Pipeline] { [Pipeline] checkout [2023-10-19T05:08:07.709Z] The recommended git tool is: git [2023-10-19T05:08:16.553Z] using credential edgex-jenkins-ssh [2023-10-19T05:08:16.578Z] Cloning the remote Git repository [2023-10-19T05:08:16.650Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-19T05:08:16.805Z] > git init /w/workspace/device-mqtt-go/146 # timeout=10 [2023-10-19T05:08:17.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-19T05:08:17.136Z] > git --version # timeout=10 [2023-10-19T05:08:17.192Z] > git --version # 'git version 2.25.1' [2023-10-19T05:08:17.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-19T05:08:17.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-19T05:08:19.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-19T05:08:19.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-19T05:08:21.300Z] Avoid second fetch [2023-10-19T05:08:21.300Z] Checking out Revision 3d33c97016b772b808cfb4d9266f28d352587cb6 (main) [2023-10-19T05:08:21.323Z] > git config core.sparsecheckout # timeout=10 [2023-10-19T05:08:21.436Z] > git checkout -f 3d33c97016b772b808cfb4d9266f28d352587cb6 # timeout=10 [2023-10-19T05:08:22.395Z] Commit message: "Merge pull request #634 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-19T05:08:23.460Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-19T05:08:23.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-19T05:08:23.460Z] Dload Upload Total Spent Left Speed [2023-10-19T05:08:23.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 111k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2023-10-19T05:08:24.918Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-19T05:08:25.365Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-19T05:08:25.365Z] + sudo tee /etc/docker/daemon.new [2023-10-19T05:08:25.668Z] { [2023-10-19T05:08:25.668Z] "registry-mirrors": [ [2023-10-19T05:08:25.668Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-19T05:08:25.668Z] ], [2023-10-19T05:08:25.668Z] "bip": "10.250.0.254/24", [2023-10-19T05:08:25.668Z] "hosts": [ [2023-10-19T05:08:25.668Z] "tcp://0.0.0.0:5555", [2023-10-19T05:08:25.668Z] "unix:///var/run/docker.sock" [2023-10-19T05:08:25.668Z] ], [2023-10-19T05:08:25.668Z] "mtu": 1458, [2023-10-19T05:08:25.668Z] "selinux-enabled": true, [2023-10-19T05:08:25.668Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-19T05:08:25.668Z] } [Pipeline] sh [2023-10-19T05:08:26.094Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-19T05:08:26.550Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:08:45.020Z] provisioning config files... [2023-10-19T05:08:45.056Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/146@tmp/config13081016949523513022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:08:45.435Z] ---> docker-login.sh [2023-10-19T05:08:45.435Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:08:46.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:08:46.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:08:46.026Z] Configure a credential helper to remove this warning. See [2023-10-19T05:08:46.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:08:46.026Z] [2023-10-19T05:08:46.026Z] Login Succeeded [2023-10-19T05:08:46.026Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:08:46.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:08:46.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:08:46.575Z] Configure a credential helper to remove this warning. See [2023-10-19T05:08:46.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:08:46.575Z] [2023-10-19T05:08:46.575Z] Login Succeeded [2023-10-19T05:08:46.575Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:08:46.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:08:46.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:08:46.849Z] Configure a credential helper to remove this warning. See [2023-10-19T05:08:46.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:08:46.849Z] [2023-10-19T05:08:46.849Z] Login Succeeded [2023-10-19T05:08:46.849Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:08:47.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:08:47.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:08:47.127Z] Configure a credential helper to remove this warning. See [2023-10-19T05:08:47.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:08:47.127Z] [2023-10-19T05:08:47.127Z] Login Succeeded [2023-10-19T05:08:47.127Z] docker.io [2023-10-19T05:08:47.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:08:47.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:08:47.667Z] Configure a credential helper to remove this warning. See [2023-10-19T05:08:47.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:08:47.667Z] [2023-10-19T05:08:47.667Z] Login Succeeded [2023-10-19T05:08:47.667Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:08:47.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-19T05:08:47.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:08:48.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:08:48.024Z] ========================================================= [2023-10-19T05:08:48.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-19T05:08:48.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:08:48.393Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-19T05:08:48.664Z] Sending build context to Docker daemon 3.37MB [2023-10-19T05:08:48.664Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:08:48.664Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-19T05:08:48.935Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-19T05:08:48.935Z] 9fda8d8052c6: Pulling fs layer [2023-10-19T05:08:48.935Z] 5d54e960e981: Pulling fs layer [2023-10-19T05:08:48.935Z] c4a7e357bf2a: Pulling fs layer [2023-10-19T05:08:48.935Z] f0e02332f6b5: Pulling fs layer [2023-10-19T05:08:48.935Z] cefa15bbcfad: Pulling fs layer [2023-10-19T05:08:48.936Z] 17808c966233: Pulling fs layer [2023-10-19T05:08:48.936Z] f4c1fc716caa: Pulling fs layer [2023-10-19T05:08:48.936Z] cefa15bbcfad: Waiting [2023-10-19T05:08:48.936Z] f0e02332f6b5: Waiting [2023-10-19T05:08:48.936Z] 17808c966233: Waiting [2023-10-19T05:08:48.936Z] f4c1fc716caa: Waiting [2023-10-19T05:08:48.936Z] 5d54e960e981: Download complete [2023-10-19T05:08:48.936Z] f0e02332f6b5: Verifying Checksum [2023-10-19T05:08:48.936Z] f0e02332f6b5: Download complete [2023-10-19T05:08:48.936Z] cefa15bbcfad: Verifying Checksum [2023-10-19T05:08:48.936Z] cefa15bbcfad: Download complete [2023-10-19T05:08:48.936Z] 9fda8d8052c6: Download complete [2023-10-19T05:08:49.532Z] f4c1fc716caa: Verifying Checksum [2023-10-19T05:08:49.532Z] f4c1fc716caa: Download complete [2023-10-19T05:08:50.519Z] c4a7e357bf2a: Verifying Checksum [2023-10-19T05:08:50.519Z] c4a7e357bf2a: Download complete [2023-10-19T05:08:51.492Z] 17808c966233: Verifying Checksum [2023-10-19T05:08:51.492Z] 17808c966233: Download complete [2023-10-19T05:08:52.464Z] 9fda8d8052c6: Pull complete [2023-10-19T05:08:52.738Z] 5d54e960e981: Pull complete [2023-10-19T05:09:07.781Z] c4a7e357bf2a: Pull complete [2023-10-19T05:09:07.781Z] f0e02332f6b5: Pull complete [2023-10-19T05:09:07.781Z] cefa15bbcfad: Pull complete [2023-10-19T05:09:16.170Z] 17808c966233: Pull complete [2023-10-19T05:09:20.458Z] f4c1fc716caa: Pull complete [2023-10-19T05:09:20.458Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-19T05:09:20.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-19T05:09:20.458Z] ---> ea914061e18c [2023-10-19T05:09:20.458Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:09:21.049Z] ---> Running in 1dc64c54aec4 [2023-10-19T05:09:21.641Z] Removing intermediate container 1dc64c54aec4 [2023-10-19T05:09:21.641Z] ---> 83829c1734e4 [2023-10-19T05:09:21.641Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:09:21.641Z] ---> Running in 679eb61e2c93 [2023-10-19T05:09:21.913Z] Removing intermediate container 679eb61e2c93 [2023-10-19T05:09:21.913Z] ---> 2edb00d13d9b [2023-10-19T05:09:21.913Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-19T05:09:21.913Z] ---> Running in 67eeb125be23 [2023-10-19T05:09:22.503Z] Removing intermediate container 67eeb125be23 [2023-10-19T05:09:22.503Z] ---> f0cbc711f359 [2023-10-19T05:09:22.503Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:09:22.503Z] ---> Running in 8e3bf06f64ee [2023-10-19T05:09:22.778Z] Removing intermediate container 8e3bf06f64ee [2023-10-19T05:09:22.778Z] ---> 2816a1b24671 [2023-10-19T05:09:22.778Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:09:22.778Z] ---> Running in 0dc9143aab8f [2023-10-19T05:09:24.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-19T05:09:24.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-19T05:09:26.238Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-19T05:09:26.238Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-19T05:09:26.238Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-19T05:09:26.238Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-19T05:09:26.238Z] Executing busybox-1.36.1-r2.trigger [2023-10-19T05:09:26.238Z] OK: 270 MiB in 56 packages [2023-10-19T05:09:27.671Z] Removing intermediate container 0dc9143aab8f [2023-10-19T05:09:27.671Z] ---> 30711e2153ad [2023-10-19T05:09:27.671Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-19T05:09:27.671Z] ---> Running in 7d588ef4e0a4 [2023-10-19T05:09:27.947Z] Removing intermediate container 7d588ef4e0a4 [2023-10-19T05:09:27.947Z] ---> 918b41ea0353 [2023-10-19T05:09:27.947Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-19T05:09:28.536Z] ---> f2ada40fe886 [2023-10-19T05:09:28.536Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:09:28.536Z] ---> Running in 4005160247f5 [2023-10-19T05:11:20.297Z] Removing intermediate container 4005160247f5 [2023-10-19T05:11:20.297Z] ---> 77fe4ee056ec [2023-10-19T05:11:20.297Z] Step 11/12 : COPY . . [2023-10-19T05:11:20.297Z] ---> 08d581a6058a [2023-10-19T05:11:20.297Z] Step 12/12 : RUN $MAKE [2023-10-19T05:11:20.297Z] ---> Running in 664ff7cbd0ef [2023-10-19T05:11:20.297Z] noop [2023-10-19T05:11:20.297Z] Removing intermediate container 664ff7cbd0ef [2023-10-19T05:11:20.297Z] ---> b93fe298448e [2023-10-19T05:11:20.297Z] Successfully built b93fe298448e [2023-10-19T05:11:20.297Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:11:20.678Z] + docker inspect -f . ci-base-image-arm64 [2023-10-19T05:11:20.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:11:20.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-9595 does not seem to be running inside a container [2023-10-19T05:11:21.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/146 -v /w/workspace/device-mqtt-go/146:/w/workspace/device-mqtt-go/146:rw,z -v /w/workspace/device-mqtt-go/146@tmp:/w/workspace/device-mqtt-go/146@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-arm64 cat [2023-10-19T05:11:22.447Z] $ docker top 3993f583022f9fbc947b1112616c86a705fad8343e5131392e61946f8abded01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:11:23.326Z] + go version [2023-10-19T05:11:23.326Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-19T05:11:23.361Z] $ docker stop --time=1 3993f583022f9fbc947b1112616c86a705fad8343e5131392e61946f8abded01 [2023-10-19T05:11:25.073Z] $ docker rm -f --volumes 3993f583022f9fbc947b1112616c86a705fad8343e5131392e61946f8abded01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:11:25.672Z] + docker inspect -f . ci-base-image-arm64 [2023-10-19T05:11:25.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:11:25.886Z] prd-ubuntu20.04-docker-arm64-4c-16g-9595 does not seem to be running inside a container [2023-10-19T05:11:25.976Z] $ 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/146 -v /w/workspace/device-mqtt-go/146:/w/workspace/device-mqtt-go/146:rw,z -v /w/workspace/device-mqtt-go/146@tmp:/w/workspace/device-mqtt-go/146@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-arm64 cat [2023-10-19T05:11:27.298Z] $ docker top 898b7b5c2624e690e835272c75a4fd108b7a2d61be570e0abc0838088423dcc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:11:28.161Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/146 [Pipeline] fileExists [Pipeline] sh [2023-10-19T05:11:28.832Z] + make test [2023-10-19T05:11:28.832Z] go test ./... -coverprofile=coverage.out ./... [2023-10-19T05:11:33.093Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-19T05:13:24.809Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-19T05:13:24.809Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-19T05:13:24.809Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 22.8% of statements [2023-10-19T05:13:24.809Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-19T05:13:24.809Z] go vet ./... [2023-10-19T05:13:46.923Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-19T05:13:46.923Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-19T05:13:46.923Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-19T05:13:46.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-19T05:13:46.957Z] $ docker stop --time=1 898b7b5c2624e690e835272c75a4fd108b7a2d61be570e0abc0838088423dcc8 [2023-10-19T05:13:48.926Z] $ docker rm -f --volumes 898b7b5c2624e690e835272c75a4fd108b7a2d61be570e0abc0838088423dcc8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:13:50.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-19T05:13:50.158Z] Warning: overwriting stash ‘coverage-report’ [2023-10-19T05:13:50.722Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-19T05:13:51.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-19T05:13:51.447Z] + ls -al . [2023-10-19T05:13:51.448Z] total 184 [2023-10-19T05:13:51.448Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 19 05:11 . [2023-10-19T05:13:51.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:08 .. [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 05:08 .dockerignore [2023-10-19T05:13:51.448Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 05:08 .git [2023-10-19T05:13:51.448Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:08 .github [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 19 05:08 .gitignore [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 19 05:08 .golangci.yml [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 19 05:08 Attribution.txt [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 19 05:08 CHANGELOG.md [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 19 05:08 Dockerfile [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 05:08 GOVERNANCE.md [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 19 05:08 Jenkinsfile [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 19 05:08 LICENSE [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 19 05:08 Makefile [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 19 05:08 OWNERS.md [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 3695 Oct 19 05:08 README.md [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 19 05:05 VERSION [2023-10-19T05:13:51.448Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:08 bin [2023-10-19T05:13:51.448Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:08 cmd [2023-10-19T05:13:51.448Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 19 05:13 coverage.out [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 19 05:08 go.mod [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 19 05:08 go.sum [2023-10-19T05:13:51.448Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 05:08 internal [2023-10-19T05:13:51.448Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 05:08 mock [2023-10-19T05:13:51.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 05:08 snap [2023-10-19T05:13:51.448Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 19 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:13:51.798Z] + 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=3d33c97016b772b808cfb4d9266f28d352587cb6 --label arch=arm64 --label version=3.1.0-dev.18 . [2023-10-19T05:13:52.072Z] Sending build context to Docker daemon 3.39MB [2023-10-19T05:13:52.072Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-19T05:13:52.072Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-19T05:13:52.072Z] ---> b93fe298448e [2023-10-19T05:13:52.072Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-19T05:13:52.345Z] ---> Running in c67b74ac78e5 [2023-10-19T05:13:52.620Z] Removing intermediate container c67b74ac78e5 [2023-10-19T05:13:52.620Z] ---> 0cab8b7d8b51 [2023-10-19T05:13:52.620Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-19T05:13:52.889Z] ---> Running in f2dc13b6c65f [2023-10-19T05:13:53.157Z] Removing intermediate container f2dc13b6c65f [2023-10-19T05:13:53.157Z] ---> e9d5daf56f97 [2023-10-19T05:13:53.157Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-19T05:13:53.157Z] ---> Running in 542364b45e9a [2023-10-19T05:13:53.426Z] Removing intermediate container 542364b45e9a [2023-10-19T05:13:53.426Z] ---> b213cf5f2986 [2023-10-19T05:13:53.426Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-19T05:13:53.703Z] ---> Running in 3b81a0c53252 [2023-10-19T05:13:53.975Z] Removing intermediate container 3b81a0c53252 [2023-10-19T05:13:53.975Z] ---> 859cde615ab7 [2023-10-19T05:13:53.975Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-19T05:13:53.975Z] ---> Running in 02b818e0e58f [2023-10-19T05:13:55.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-19T05:13:55.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-19T05:13:57.082Z] OK: 270 MiB in 56 packages [2023-10-19T05:13:59.666Z] Removing intermediate container 02b818e0e58f [2023-10-19T05:13:59.666Z] ---> 3b15b47969b5 [2023-10-19T05:13:59.666Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-19T05:13:59.932Z] ---> Running in be1c32c1858f [2023-10-19T05:14:00.198Z] Removing intermediate container be1c32c1858f [2023-10-19T05:14:00.198Z] ---> f792ffc4a852 [2023-10-19T05:14:00.198Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-19T05:14:00.784Z] ---> d547d4c2c505 [2023-10-19T05:14:00.784Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-19T05:14:00.784Z] ---> Running in c6e92cfb3e6c [2023-10-19T05:14:03.387Z] Removing intermediate container c6e92cfb3e6c [2023-10-19T05:14:03.387Z] ---> dffcd99dc03a [2023-10-19T05:14:03.387Z] Step 11/24 : COPY . . [2023-10-19T05:14:03.974Z] ---> e0d79eb08a5c [2023-10-19T05:14:03.974Z] Step 12/24 : RUN $MAKE [2023-10-19T05:14:03.974Z] ---> Running in bc5a54ea7ea0 [2023-10-19T05:14:04.938Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-19T05:16:11.642Z] Removing intermediate container bc5a54ea7ea0 [2023-10-19T05:16:11.643Z] ---> 042a03d8c891 [2023-10-19T05:16:11.643Z] Step 13/24 : FROM alpine:3.18 [2023-10-19T05:16:11.643Z] 3.18: Pulling from library/alpine [2023-10-19T05:16:11.643Z] 579b34f0a95b: Pulling fs layer [2023-10-19T05:16:14.238Z] 579b34f0a95b: Verifying Checksum [2023-10-19T05:16:14.238Z] 579b34f0a95b: Download complete [2023-10-19T05:16:14.826Z] 579b34f0a95b: Pull complete [2023-10-19T05:16:14.826Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-19T05:16:14.826Z] Status: Downloaded newer image for alpine:3.18 [2023-10-19T05:16:14.826Z] ---> 3cc203321400 [2023-10-19T05:16:14.826Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-19T05:16:16.767Z] ---> Running in d3e8742eac45 [2023-10-19T05:16:17.036Z] Removing intermediate container d3e8742eac45 [2023-10-19T05:16:17.036Z] ---> ccd7164578c7 [2023-10-19T05:16:17.036Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-19T05:16:17.036Z] ---> Running in 9da84b5397a7 [2023-10-19T05:16:17.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-19T05:16:18.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-19T05:16:19.533Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-19T05:16:19.533Z] Executing busybox-1.36.1-r2.trigger [2023-10-19T05:16:19.533Z] OK: 8 MiB in 16 packages [2023-10-19T05:16:20.501Z] Removing intermediate container 9da84b5397a7 [2023-10-19T05:16:20.501Z] ---> b2b03963c4eb [2023-10-19T05:16:20.501Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-19T05:16:21.912Z] ---> a8b233ec245d [2023-10-19T05:16:21.912Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-19T05:16:22.494Z] ---> 18e01e639ecf [2023-10-19T05:16:22.494Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-19T05:16:22.762Z] ---> 24a284592b09 [2023-10-19T05:16:22.762Z] Step 19/24 : EXPOSE 59982 [2023-10-19T05:16:23.030Z] ---> Running in e4f95534afc5 [2023-10-19T05:16:23.298Z] Removing intermediate container e4f95534afc5 [2023-10-19T05:16:23.298Z] ---> 81d09eb6423d [2023-10-19T05:16:23.298Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-19T05:16:23.298Z] ---> Running in 853cd8aa8326 [2023-10-19T05:16:23.574Z] Removing intermediate container 853cd8aa8326 [2023-10-19T05:16:23.574Z] ---> 4df6f59cded6 [2023-10-19T05:16:23.574Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-19T05:16:23.574Z] ---> Running in 45b4fd50fdee [2023-10-19T05:16:24.160Z] Removing intermediate container 45b4fd50fdee [2023-10-19T05:16:24.160Z] ---> 8e3d3cb226a1 [2023-10-19T05:16:24.160Z] Step 22/24 : LABEL arch=arm64 [2023-10-19T05:16:24.160Z] ---> Running in 9cd24206a7dc [2023-10-19T05:16:24.427Z] Removing intermediate container 9cd24206a7dc [2023-10-19T05:16:24.427Z] ---> a0031b550ac2 [2023-10-19T05:16:24.427Z] Step 23/24 : LABEL git_sha=3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:16:24.427Z] ---> Running in 379ac62547c5 [2023-10-19T05:16:24.701Z] Removing intermediate container 379ac62547c5 [2023-10-19T05:16:24.701Z] ---> 44a9e3be391b [2023-10-19T05:16:24.701Z] Step 24/24 : LABEL version=3.1.0-dev.18 [2023-10-19T05:16:24.973Z] ---> Running in c382a52148af [2023-10-19T05:16:25.244Z] Removing intermediate container c382a52148af [2023-10-19T05:16:25.244Z] ---> e6d3f639e06d [2023-10-19T05:16:25.244Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-19T05:16:25.244Z] Successfully built e6d3f639e06d [2023-10-19T05:16:25.244Z] 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-10-19T05:16:25.332Z] provisioning config files... [2023-10-19T05:16:25.352Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/146@tmp/config287654714117760153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:16:25.710Z] ---> docker-login.sh [2023-10-19T05:16:25.710Z] nexus3.edgexfoundry.org:10001 [2023-10-19T05:16:25.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:16:25.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:16:25.978Z] Configure a credential helper to remove this warning. See [2023-10-19T05:16:25.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:16:25.978Z] [2023-10-19T05:16:25.978Z] Login Succeeded [2023-10-19T05:16:25.978Z] nexus3.edgexfoundry.org:10002 [2023-10-19T05:16:26.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:16:26.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:16:26.251Z] Configure a credential helper to remove this warning. See [2023-10-19T05:16:26.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:16:26.251Z] [2023-10-19T05:16:26.251Z] Login Succeeded [2023-10-19T05:16:26.251Z] nexus3.edgexfoundry.org:10003 [2023-10-19T05:16:26.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:16:26.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:16:26.787Z] Configure a credential helper to remove this warning. See [2023-10-19T05:16:26.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:16:26.787Z] [2023-10-19T05:16:26.787Z] Login Succeeded [2023-10-19T05:16:26.787Z] nexus3.edgexfoundry.org:10004 [2023-10-19T05:16:27.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:16:27.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:16:27.324Z] Configure a credential helper to remove this warning. See [2023-10-19T05:16:27.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:16:27.324Z] [2023-10-19T05:16:27.324Z] Login Succeeded [2023-10-19T05:16:27.324Z] docker.io [2023-10-19T05:16:27.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-19T05:16:27.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-19T05:16:27.862Z] Configure a credential helper to remove this warning. See [2023-10-19T05:16:27.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-19T05:16:27.862Z] [2023-10-19T05:16:27.862Z] Login Succeeded [2023-10-19T05:16:27.862Z] ---> docker-login.sh ends [Pipeline] } [2023-10-19T05:16:27.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:16:27.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-19T05:16:27.924Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-10-19T05:16:27.924Z] 3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:16:27.924Z] latest [2023-10-19T05:16:27.924Z] 3.1.0-dev.18 [2023-10-19T05:16:27.924Z] 3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [2023-10-19T05:16:27.924Z] main [2023-10-19T05:16:27.924Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:28.371Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:31.397Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:16:31.397Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-19T05:16:31.397Z] 6a71b2abe911: Preparing [2023-10-19T05:16:31.397Z] 57f1769756b7: Preparing [2023-10-19T05:16:31.397Z] 1ceffe64ac7f: Preparing [2023-10-19T05:16:31.397Z] b264a5ac4b63: Preparing [2023-10-19T05:16:31.397Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:16:31.397Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:16:31.701Z] b264a5ac4b63: Pushed [2023-10-19T05:16:31.701Z] 6a71b2abe911: Pushed [2023-10-19T05:16:31.701Z] 57f1769756b7: Pushed [2023-10-19T05:16:38.377Z] 1ceffe64ac7f: Pushed [2023-10-19T05:16:38.377Z] 3d33c97016b772b808cfb4d9266f28d352587cb6: digest: sha256:bb348aa11952b615208c471a4cefe5528d2767dd01fab561a193eb859ea22053 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:38.728Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:39.065Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-10-19T05:16:39.065Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-19T05:16:39.065Z] 6a71b2abe911: Preparing [2023-10-19T05:16:39.065Z] 57f1769756b7: Preparing [2023-10-19T05:16:39.065Z] 1ceffe64ac7f: Preparing [2023-10-19T05:16:39.065Z] b264a5ac4b63: Preparing [2023-10-19T05:16:39.065Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:16:39.065Z] 57f1769756b7: Layer already exists [2023-10-19T05:16:39.065Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:16:39.065Z] 1ceffe64ac7f: Layer already exists [2023-10-19T05:16:39.065Z] 6a71b2abe911: Layer already exists [2023-10-19T05:16:39.065Z] b264a5ac4b63: Layer already exists [2023-10-19T05:16:39.332Z] latest: digest: sha256:bb348aa11952b615208c471a4cefe5528d2767dd01fab561a193eb859ea22053 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:39.682Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:40.031Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.18 [2023-10-19T05:16:40.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-19T05:16:40.031Z] 6a71b2abe911: Preparing [2023-10-19T05:16:40.031Z] 57f1769756b7: Preparing [2023-10-19T05:16:40.031Z] 1ceffe64ac7f: Preparing [2023-10-19T05:16:40.031Z] b264a5ac4b63: Preparing [2023-10-19T05:16:40.031Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:16:40.031Z] b264a5ac4b63: Layer already exists [2023-10-19T05:16:40.031Z] 6a71b2abe911: Layer already exists [2023-10-19T05:16:40.031Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:16:40.031Z] 1ceffe64ac7f: Layer already exists [2023-10-19T05:16:40.031Z] 57f1769756b7: Layer already exists [2023-10-19T05:16:40.298Z] 3.1.0-dev.18: digest: sha256:bb348aa11952b615208c471a4cefe5528d2767dd01fab561a193eb859ea22053 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:40.650Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:41.011Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [2023-10-19T05:16:41.011Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-19T05:16:41.011Z] 6a71b2abe911: Preparing [2023-10-19T05:16:41.011Z] 57f1769756b7: Preparing [2023-10-19T05:16:41.011Z] 1ceffe64ac7f: Preparing [2023-10-19T05:16:41.011Z] b264a5ac4b63: Preparing [2023-10-19T05:16:41.011Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:16:41.011Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:16:41.011Z] 1ceffe64ac7f: Layer already exists [2023-10-19T05:16:41.011Z] b264a5ac4b63: Layer already exists [2023-10-19T05:16:41.011Z] 57f1769756b7: Layer already exists [2023-10-19T05:16:41.011Z] 6a71b2abe911: Layer already exists [2023-10-19T05:16:45.057Z] 3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18: digest: sha256:bb348aa11952b615208c471a4cefe5528d2767dd01fab561a193eb859ea22053 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:45.409Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:45.752Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-10-19T05:16:45.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-19T05:16:45.752Z] 6a71b2abe911: Preparing [2023-10-19T05:16:45.752Z] 57f1769756b7: Preparing [2023-10-19T05:16:45.752Z] 1ceffe64ac7f: Preparing [2023-10-19T05:16:45.752Z] b264a5ac4b63: Preparing [2023-10-19T05:16:45.752Z] 5f4d9fc4d98d: Preparing [2023-10-19T05:16:45.752Z] b264a5ac4b63: Layer already exists [2023-10-19T05:16:45.752Z] 1ceffe64ac7f: Layer already exists [2023-10-19T05:16:45.752Z] 6a71b2abe911: Layer already exists [2023-10-19T05:16:45.752Z] 57f1769756b7: Layer already exists [2023-10-19T05:16:45.752Z] 5f4d9fc4d98d: Layer already exists [2023-10-19T05:16:46.017Z] main: digest: sha256:bb348aa11952b615208c471a4cefe5528d2767dd01fab561a193eb859ea22053 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-19T05:16:46.061Z] ===================================================== [Pipeline] echo [2023-10-19T05:16:46.068Z] taggedImages: [2023-10-19T05:16:46.068Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3d33c97016b772b808cfb4d9266f28d352587cb6 [2023-10-19T05:16:46.068Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-10-19T05:16:46.068Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.18 [2023-10-19T05:16:46.068Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3d33c97016b772b808cfb4d9266f28d352587cb6-3.1.0-dev.18 [2023-10-19T05:16:46.068Z] - 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-10-19T05:16:46.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-19T05:16:46.440Z] [2023-10-19T05:16:46.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:16:46.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-19T05:16:47.037Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-19T05:16:47.037Z] 8998bd30e6a1: Pulling fs layer [2023-10-19T05:16:47.037Z] 04944245beec: Pulling fs layer [2023-10-19T05:16:47.037Z] 699f458cf7ca: Pulling fs layer [2023-10-19T05:16:47.037Z] 765212b225bb: Pulling fs layer [2023-10-19T05:16:47.037Z] f23df028b6ca: Pulling fs layer [2023-10-19T05:16:47.037Z] d65c8cfc05b1: Pulling fs layer [2023-10-19T05:16:47.037Z] 2437ff75d9bd: Pulling fs layer [2023-10-19T05:16:47.037Z] f23df028b6ca: Waiting [2023-10-19T05:16:47.037Z] d65c8cfc05b1: Waiting [2023-10-19T05:16:47.037Z] 2437ff75d9bd: Waiting [2023-10-19T05:16:47.037Z] 765212b225bb: Waiting [2023-10-19T05:16:47.037Z] 04944245beec: Verifying Checksum [2023-10-19T05:16:47.037Z] 04944245beec: Download complete [2023-10-19T05:16:47.037Z] 765212b225bb: Verifying Checksum [2023-10-19T05:16:47.037Z] 765212b225bb: Download complete [2023-10-19T05:16:47.037Z] f23df028b6ca: Verifying Checksum [2023-10-19T05:16:47.037Z] f23df028b6ca: Download complete [2023-10-19T05:16:47.037Z] d65c8cfc05b1: Verifying Checksum [2023-10-19T05:16:47.037Z] d65c8cfc05b1: Download complete [2023-10-19T05:16:47.305Z] 699f458cf7ca: Verifying Checksum [2023-10-19T05:16:47.305Z] 699f458cf7ca: Download complete [2023-10-19T05:16:47.581Z] 8998bd30e6a1: Download complete [2023-10-19T05:16:50.164Z] 2437ff75d9bd: Verifying Checksum [2023-10-19T05:16:50.164Z] 2437ff75d9bd: Download complete [2023-10-19T05:16:52.740Z] 8998bd30e6a1: Pull complete [2023-10-19T05:16:52.740Z] 04944245beec: Pull complete [2023-10-19T05:16:54.677Z] 699f458cf7ca: Pull complete [2023-10-19T05:16:54.677Z] 765212b225bb: Pull complete [2023-10-19T05:16:55.633Z] f23df028b6ca: Pull complete [2023-10-19T05:16:55.633Z] d65c8cfc05b1: Pull complete [2023-10-19T05:17:13.845Z] 2437ff75d9bd: Pull complete [2023-10-19T05:17:13.845Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-19T05:17:13.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-19T05:17:13.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:17:14.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-9595 does not seem to be running inside a container [2023-10-19T05:17:14.086Z] $ 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/146 -v /w/workspace/device-mqtt-go/146:/w/workspace/device-mqtt-go/146:rw,z -v /w/workspace/device-mqtt-go/146@tmp:/w/workspace/device-mqtt-go/146@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:arm64 cat [2023-10-19T05:17:16.664Z] $ docker top f1b320242d3f6b344c0b0c52a6519c2f00fda7dea9c69b7fd4b327c66c1fc6b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:17:17.522Z] ---> job-cost.sh [2023-10-19T05:17:17.522Z] lf-activate-venv: SKIPPING [2023-10-19T05:17:17.522Z] INFO: No Stack... [2023-10-19T05:17:18.109Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-19T05:17:18.691Z] INFO: Archiving Costs [Pipeline] sh [2023-10-19T05:17:19.020Z] + cat /w/workspace/device-mqtt-go/146/archives/cost.csv [2023-10-19T05:17:19.020Z] + cut -d, -f6 [Pipeline] lock [2023-10-19T05:17:19.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] [2023-10-19T05:17:19.347Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] did not exist. Created. [2023-10-19T05:17:19.348Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-19T05:17:19.999Z] /w/workspace/device-mqtt-go/146@tmp/durable-612acf9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-19T05:17:20.335Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-19T05:17:20.355Z] Warning: overwriting stash ‘stack-cost’ [2023-10-19T05:17:20.407Z] Stashed 1 file(s) [Pipeline] } [2023-10-19T05:17:20.413Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-19T05:17:20.434Z] $ docker stop --time=1 f1b320242d3f6b344c0b0c52a6519c2f00fda7dea9c69b7fd4b327c66c1fc6b3 [2023-10-19T05:17:21.943Z] $ docker rm -f --volumes f1b320242d3f6b344c0b0c52a6519c2f00fda7dea9c69b7fd4b327c66c1fc6b3 [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-10-19T05:17:22.356Z] provisioning config files... [2023-10-19T05:17:22.364Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10174702031183312017tmp [Pipeline] { [Pipeline] sh [2023-10-19T05:17:22.660Z] + set +x [2023-10-19T05:17:22.660Z] + curl -s https://codecov.io/bash [2023-10-19T05:17:22.660Z] + bash -s -- [2023-10-19T05:17:22.660Z] [2023-10-19T05:17:22.660Z] _____ _ [2023-10-19T05:17:22.660Z] / ____| | | [2023-10-19T05:17:22.660Z] | | ___ __| | ___ ___ _____ __ [2023-10-19T05:17:22.660Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-19T05:17:22.660Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-19T05:17:22.660Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-19T05:17:22.660Z] Bash-1.0.6 [2023-10-19T05:17:22.660Z] [2023-10-19T05:17:22.660Z] [2023-10-19T05:17:22.660Z] ==> git version 2.25.1 found [2023-10-19T05:17:22.660Z] ==> 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-10-19T05:17:22.660Z] Release-Date: 2020-01-08 [2023-10-19T05:17:22.660Z] 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-10-19T05:17:22.660Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-19T05:17:22.660Z] ==> Jenkins CI detected. [2023-10-19T05:17:22.660Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-10-19T05:17:22.660Z] project root: . [2023-10-19T05:17:22.660Z] --> token set from env [2023-10-19T05:17:22.660Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-19T05:17:22.660Z] ==> Running gcov in . (disable via -X gcov) [2023-10-19T05:17:22.660Z] ==> Python coveragepy not found [2023-10-19T05:17:22.660Z] ==> Searching for coverage reports in: [2023-10-19T05:17:22.660Z] + . [2023-10-19T05:17:22.660Z] -> Found 1 reports [2023-10-19T05:17:22.660Z] ==> Detecting git/mercurial file structure [2023-10-19T05:17:22.660Z] ==> Reading reports [2023-10-19T05:17:22.660Z] + ./coverage.out bytes=18506 [2023-10-19T05:17:22.660Z] ==> Appending adjustments [2023-10-19T05:17:22.660Z] https://docs.codecov.io/docs/fixing-reports [2023-10-19T05:17:22.920Z] + Found adjustments [2023-10-19T05:17:22.920Z] ==> Gzipping contents [2023-10-19T05:17:22.920Z] 4.0K /tmp/codecov.CarMhT.gz [2023-10-19T05:17:22.920Z] ==> Uploading reports [2023-10-19T05:17:22.920Z] url: https://codecov.io [2023-10-19T05:17:22.920Z] query: branch=main&commit=3d33c97016b772b808cfb4d9266f28d352587cb6&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-19T05:17:22.920Z] -> Pinging Codecov [2023-10-19T05:17:22.920Z] 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=3d33c97016b772b808cfb4d9266f28d352587cb6&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-19T05:17:23.179Z] -> Uploading to [2023-10-19T05:17:23.179Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-19/7D719EC7BBE17E464838252E33014C33/3d33c97016b772b808cfb4d9266f28d352587cb6/b31ea3c5-f9bb-4b9e-8aaa-b17fb824a47d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231019T051722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=731b649a3fea5d0ca5470e296413c521c0e6ba0db75c5210ad99cac8f8cd9c02 [2023-10-19T05:17:23.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-19T05:17:23.179Z] Dload Upload Total Spent Left Speed [2023-10-19T05:17:23.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 10694 --:--:-- --:--:-- --:--:-- 10694 [2023-10-19T05:17:23.440Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] } [2023-10-19T05:17:23.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-19T05:17:23.548Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-19T05:17:23.557Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:17:23.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-19T05:17:23.855Z] [2023-10-19T05:17:23.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:17:24.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-19T05:17:24.164Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-19T05:17:24.164Z] df9b9388f04a: Pulling fs layer [2023-10-19T05:17:24.164Z] 52dc419b0ee2: Pulling fs layer [2023-10-19T05:17:24.164Z] 25bc292e5bac: Pulling fs layer [2023-10-19T05:17:24.164Z] 114826534d7a: Pulling fs layer [2023-10-19T05:17:24.164Z] 4657fd5d0bcf: Pulling fs layer [2023-10-19T05:17:24.164Z] 6ad1cebc031e: Pulling fs layer [2023-10-19T05:17:24.164Z] 8a3aa393b2d8: Pulling fs layer [2023-10-19T05:17:24.164Z] 4657fd5d0bcf: Waiting [2023-10-19T05:17:24.164Z] 6ad1cebc031e: Waiting [2023-10-19T05:17:24.164Z] 8a3aa393b2d8: Waiting [2023-10-19T05:17:24.164Z] 114826534d7a: Waiting [2023-10-19T05:17:24.164Z] 25bc292e5bac: Verifying Checksum [2023-10-19T05:17:24.164Z] 25bc292e5bac: Download complete [2023-10-19T05:17:24.164Z] 52dc419b0ee2: Verifying Checksum [2023-10-19T05:17:24.164Z] 52dc419b0ee2: Download complete [2023-10-19T05:17:24.164Z] 4657fd5d0bcf: Download complete [2023-10-19T05:17:24.164Z] df9b9388f04a: Download complete [2023-10-19T05:17:24.425Z] df9b9388f04a: Pull complete [2023-10-19T05:17:24.425Z] 6ad1cebc031e: Verifying Checksum [2023-10-19T05:17:24.425Z] 52dc419b0ee2: Pull complete [2023-10-19T05:17:24.425Z] 25bc292e5bac: Pull complete [2023-10-19T05:17:24.991Z] 114826534d7a: Verifying Checksum [2023-10-19T05:17:24.991Z] 114826534d7a: Download complete [2023-10-19T05:17:24.991Z] 8a3aa393b2d8: Verifying Checksum [2023-10-19T05:17:24.991Z] 8a3aa393b2d8: Download complete [2023-10-19T05:17:28.270Z] 114826534d7a: Pull complete [2023-10-19T05:17:28.270Z] 4657fd5d0bcf: Pull complete [2023-10-19T05:17:28.527Z] 6ad1cebc031e: Pull complete [2023-10-19T05:17:31.060Z] 8a3aa393b2d8: Pull complete [2023-10-19T05:17:31.060Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-19T05:17:31.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-19T05:17:31.060Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:17:31.147Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:17:31.180Z] $ 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-10-19T05:17:33.603Z] $ docker top d71bb56b00303b76ea96f6adcf83180cf1f4f063a2f12191d36d88a5543459b8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-19T05:17:33.663Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-10-19T05:17:33.943Z] + set -o pipefail [2023-10-19T05:17:33.943Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-10-19T05:17:40.509Z] [2023-10-19T05:17:40.509Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-10-19T05:17:40.509Z] [2023-10-19T05:17:40.509Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/68e198f5-72a2-40cd-83f0-b99e0930af0b [2023-10-19T05:17:40.509Z] [2023-10-19T05:17:40.509Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-19T05:17:40.509Z] [2023-10-19T05:17:40.509Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-19T05:17:40.509Z] [2023-10-19T05:17:40.509Z] [2023-10-19T05:17:40.509Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-19T05:17:40.509Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-19T05:17:40.509Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-19T05:17:40.522Z] $ docker stop --time=1 d71bb56b00303b76ea96f6adcf83180cf1f4f063a2f12191d36d88a5543459b8 [2023-10-19T05:17:43.333Z] $ docker rm -f --volumes d71bb56b00303b76ea96f6adcf83180cf1f4f063a2f12191d36d88a5543459b8 [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-10-19T05:17:44.137Z] + git log --format=format:%s -1 3d33c97016b772b808cfb4d9266f28d352587cb6 [Pipeline] sh [2023-10-19T05:17:44.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:17:44.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:17:44.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:17:44.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:17:44.779Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:17:44.808Z] $ 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-10-19T05:17:45.222Z] $ docker top bfef5c5fc2a3d7db3747b74a53e6207b40c5cc89e1cf01de769000f379683e63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:17:45.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:17:45.306Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:17:45.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:17:45.429Z] $ docker exec bfef5c5fc2a3d7db3747b74a53e6207b40c5cc89e1cf01de769000f379683e63 ssh-agent [2023-10-19T05:17:45.520Z] SSH_AUTH_SOCK=/tmp/ssh-1OXuCcGy0cqC/agent.31 [2023-10-19T05:17:45.520Z] SSH_AGENT_PID=37 [2023-10-19T05:17:45.524Z] Running ssh-add (command line suppressed) [2023-10-19T05:17:45.635Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8467137717858506524.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8467137717858506524.key) [2023-10-19T05:17:45.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:17:45.933Z] + git semver tag [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,113 [run_tag] DEBUG tag force:False [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,113 [check_head_tag] DEBUG check head tag [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,114 [execute] INFO git cat-file --batch-check [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,118 [execute] INFO git cat-file --batch [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,131 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,131 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-19T05:17:46.192Z] 2023-10-19 05:17:46,136 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:17:46.192Z] 3.1.0-dev.18 [Pipeline] } [2023-10-19T05:17:46.202Z] $ docker exec --env ******** --env ******** bfef5c5fc2a3d7db3747b74a53e6207b40c5cc89e1cf01de769000f379683e63 ssh-agent -k [2023-10-19T05:17:46.304Z] unset SSH_AUTH_SOCK; [2023-10-19T05:17:46.304Z] unset SSH_AGENT_PID; [2023-10-19T05:17:46.305Z] echo Agent pid 37 killed; [2023-10-19T05:17:46.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:17:46.621Z] + git semver [Pipeline] } [2023-10-19T05:17:46.893Z] $ docker stop --time=1 bfef5c5fc2a3d7db3747b74a53e6207b40c5cc89e1cf01de769000f379683e63 [2023-10-19T05:17:48.176Z] $ docker rm -f --volumes bfef5c5fc2a3d7db3747b74a53e6207b40c5cc89e1cf01de769000f379683e63 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:17:48.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-19T05:17:48.566Z] [2023-10-19T05:17:48.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:17:48.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-19T05:17:48.869Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-19T05:17:48.869Z] ab5ef0e58194: Pulling fs layer [2023-10-19T05:17:48.869Z] 9712f1f96733: Pulling fs layer [2023-10-19T05:17:48.869Z] 63f879dbbcfc: Pulling fs layer [2023-10-19T05:17:48.869Z] 0d9ebad4ef96: Pulling fs layer [2023-10-19T05:17:48.869Z] e9a5061849ea: Pulling fs layer [2023-10-19T05:17:48.869Z] d747dcd14b5f: Pulling fs layer [2023-10-19T05:17:48.869Z] 0d9ebad4ef96: Waiting [2023-10-19T05:17:48.869Z] e9a5061849ea: Waiting [2023-10-19T05:17:48.869Z] 2de7ff778b66: Pulling fs layer [2023-10-19T05:17:48.869Z] d747dcd14b5f: Waiting [2023-10-19T05:17:48.869Z] 2de7ff778b66: Waiting [2023-10-19T05:17:48.869Z] 9712f1f96733: Download complete [2023-10-19T05:17:49.130Z] 63f879dbbcfc: Verifying Checksum [2023-10-19T05:17:49.130Z] 63f879dbbcfc: Download complete [2023-10-19T05:17:49.391Z] ab5ef0e58194: Download complete [2023-10-19T05:17:49.391Z] d747dcd14b5f: Download complete [2023-10-19T05:17:49.391Z] e9a5061849ea: Verifying Checksum [2023-10-19T05:17:49.391Z] e9a5061849ea: Download complete [2023-10-19T05:17:49.391Z] 0d9ebad4ef96: Verifying Checksum [2023-10-19T05:17:49.391Z] 0d9ebad4ef96: Download complete [2023-10-19T05:17:49.650Z] 2de7ff778b66: Verifying Checksum [2023-10-19T05:17:49.650Z] 2de7ff778b66: Download complete [2023-10-19T05:17:52.177Z] ab5ef0e58194: Pull complete [2023-10-19T05:17:52.177Z] 9712f1f96733: Pull complete [2023-10-19T05:17:52.435Z] 63f879dbbcfc: Pull complete [2023-10-19T05:17:55.720Z] 0d9ebad4ef96: Pull complete [2023-10-19T05:17:55.720Z] e9a5061849ea: Pull complete [2023-10-19T05:17:55.979Z] d747dcd14b5f: Pull complete [2023-10-19T05:17:56.913Z] 2de7ff778b66: Pull complete [2023-10-19T05:17:56.913Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-19T05:17:56.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-19T05:17:56.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:17:57.003Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:17:57.035Z] $ 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-10-19T05:17:59.196Z] $ docker top 2daca9b905a1fb2090aab63ca11d4cbfde0ed8a906d79b3eaec2f4d1e82bb7e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:17:59.258Z] provisioning config files... [2023-10-19T05:17:59.264Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8641137672478444189tmp [2023-10-19T05:17:59.272Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5008200261724009032tmp [2023-10-19T05:17:59.280Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7214732728324316832tmp [Pipeline] { [Pipeline] echo [2023-10-19T05:17:59.292Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:17:59.572Z] ---> sigul-configuration.sh [2023-10-19T05:17:59.572Z] gpg: directory `/root/.gnupg' created [2023-10-19T05:17:59.572Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-19T05:17:59.572Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-19T05:17:59.572Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-19T05:17:59.572Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-19T05:17:59.572Z] gpg: CAST5 encrypted data [2023-10-19T05:17:59.572Z] gpg: encrypted with 1 passphrase [2023-10-19T05:17:59.572Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-19T05:17:59.855Z] + mkdir /home/jenkins [2023-10-19T05:17:59.855Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-19T05:18:00.135Z] + 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-10-19T05:18:00.143Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:00.425Z] ---> sigul-install.sh [2023-10-19T05:18:00.425Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-19T05:18:00.711Z] + git tag --list [2023-10-19T05:18:00.711Z] 0.7.1 [2023-10-19T05:18:00.711Z] v1.0.0 [2023-10-19T05:18:00.711Z] v1.1.0 [2023-10-19T05:18:00.711Z] v1.1.1 [2023-10-19T05:18:00.711Z] v1.2.2 [2023-10-19T05:18:00.711Z] v1.3.0 [2023-10-19T05:18:00.711Z] v1.3.1 [2023-10-19T05:18:00.711Z] v2.0.0 [2023-10-19T05:18:00.711Z] v2.1.0 [2023-10-19T05:18:00.711Z] v2.1.1 [2023-10-19T05:18:00.711Z] v2.2.0 [2023-10-19T05:18:00.711Z] v2.3.0 [2023-10-19T05:18:00.711Z] v3.0 [2023-10-19T05:18:00.711Z] v3.0.0 [2023-10-19T05:18:00.711Z] v3.1.0-dev.1 [2023-10-19T05:18:00.711Z] v3.1.0-dev.10 [2023-10-19T05:18:00.711Z] v3.1.0-dev.11 [2023-10-19T05:18:00.711Z] v3.1.0-dev.12 [2023-10-19T05:18:00.711Z] v3.1.0-dev.13 [2023-10-19T05:18:00.711Z] v3.1.0-dev.14 [2023-10-19T05:18:00.711Z] v3.1.0-dev.15 [2023-10-19T05:18:00.711Z] v3.1.0-dev.16 [2023-10-19T05:18:00.711Z] v3.1.0-dev.17 [2023-10-19T05:18:00.711Z] v3.1.0-dev.18 [2023-10-19T05:18:00.711Z] v3.1.0-dev.2 [2023-10-19T05:18:00.711Z] v3.1.0-dev.3 [2023-10-19T05:18:00.711Z] v3.1.0-dev.4 [2023-10-19T05:18:00.711Z] v3.1.0-dev.5 [2023-10-19T05:18:00.711Z] v3.1.0-dev.6 [2023-10-19T05:18:00.711Z] v3.1.0-dev.7 [2023-10-19T05:18:00.711Z] v3.1.0-dev.8 [2023-10-19T05:18:00.711Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-19T05:18:00.996Z] + lftools sign git-tag v3.1.0-dev.18 [2023-10-19T05:18:01.563Z] Signing Git tag with Sigul... [2023-10-19T05:18:01.563Z] Signing v3.1.0-dev.18 [Pipeline] echo [2023-10-19T05:18:01.828Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:02.108Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-19T05:18:02.115Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-19T05:18:02.137Z] $ docker stop --time=1 2daca9b905a1fb2090aab63ca11d4cbfde0ed8a906d79b3eaec2f4d1e82bb7e2 [2023-10-19T05:18:03.430Z] $ docker rm -f --volumes 2daca9b905a1fb2090aab63ca11d4cbfde0ed8a906d79b3eaec2f4d1e82bb7e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-19T05:18:03.851Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:18:03.851Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:18:04.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:18:04.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:18:04.229Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:18:04.261Z] $ 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-10-19T05:18:04.593Z] $ docker top 4d22e2a43079ead7fe475d925f55bdf28e1e669f5120959349ea86ddeacf8f6f -eo pid,comm [2023-10-19T05:18:04.635Z] 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-10-19T05:18:04.635Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:18:04.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:18:04.678Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:18:04.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:18:04.790Z] $ docker exec 4d22e2a43079ead7fe475d925f55bdf28e1e669f5120959349ea86ddeacf8f6f ssh-agent [2023-10-19T05:18:04.915Z] SSH_AUTH_SOCK=/tmp/ssh-SXYdv1HcV5aU/agent.32 [2023-10-19T05:18:04.915Z] SSH_AGENT_PID=38 [2023-10-19T05:18:04.920Z] Running ssh-add (command line suppressed) [2023-10-19T05:18:05.022Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6196894639675911850.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6196894639675911850.key) [2023-10-19T05:18:05.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:18:05.323Z] + git semver bump pre [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,509 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,509 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,509 [bump_version] DEBUG bumped version:3.1.0-dev.19 [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,509 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,509 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,509 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,511 [execute] INFO git cat-file --batch-check [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,517 [execute] INFO git cat-file --batch [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-19T05:18:05.582Z] 2023-10-19 05:18:05,522 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:18:05.582Z] 3.1.0-dev.19 [Pipeline] } [2023-10-19T05:18:05.592Z] $ docker exec --env ******** --env ******** 4d22e2a43079ead7fe475d925f55bdf28e1e669f5120959349ea86ddeacf8f6f ssh-agent -k [2023-10-19T05:18:05.685Z] unset SSH_AUTH_SOCK; [2023-10-19T05:18:05.685Z] unset SSH_AGENT_PID; [2023-10-19T05:18:05.685Z] echo Agent pid 38 killed; [2023-10-19T05:18:05.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:18:06.009Z] + git semver [Pipeline] } [2023-10-19T05:18:06.286Z] $ docker stop --time=1 4d22e2a43079ead7fe475d925f55bdf28e1e669f5120959349ea86ddeacf8f6f [2023-10-19T05:18:07.556Z] $ docker rm -f --volumes 4d22e2a43079ead7fe475d925f55bdf28e1e669f5120959349ea86ddeacf8f6f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-19T05:18:07.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-19T05:18:07.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:18:08.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-19T05:18:08.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:18:08.283Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:18:08.315Z] $ 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-10-19T05:18:08.645Z] $ docker top 54f772218199867bc87d9b8afe832e23c85001d3ab06cb99c115467d4a1e478e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-19T05:18:08.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-19T05:18:08.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-19T05:18:08.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-19T05:18:08.847Z] $ docker exec 54f772218199867bc87d9b8afe832e23c85001d3ab06cb99c115467d4a1e478e ssh-agent [2023-10-19T05:18:08.959Z] SSH_AUTH_SOCK=/tmp/ssh-o32GcdXkjISx/agent.31 [2023-10-19T05:18:08.959Z] SSH_AGENT_PID=37 [2023-10-19T05:18:08.964Z] Running ssh-add (command line suppressed) [2023-10-19T05:18:09.077Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16884506901806609373.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16884506901806609373.key) [2023-10-19T05:18:09.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-19T05:18:09.376Z] + git semver push [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,544 [run_push] DEBUG push [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,544 [execute] INFO git cat-file --batch-check [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,548 [execute] INFO git rev-list 76a6c7a70630979137327d957263e5f6533d3326 -- [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,549 [execute] DEBUG Popen(['git', 'rev-list', '76a6c7a70630979137327d957263e5f6533d3326', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,558 [execute] INFO git fetch -v origin [2023-10-19T05:18:09.636Z] 2023-10-19 05:18:09,558 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-19T05:18:10.204Z] 2023-10-19 05:18:10,051 [run_push] DEBUG no remote changes detected [2023-10-19T05:18:10.204Z] 2023-10-19 05:18:10,051 [execute] INFO git push origin semver [2023-10-19T05:18:10.204Z] 2023-10-19 05:18:10,052 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-19T05:18:11.141Z] 2023-10-19 05:18:10,837 [run_push] DEBUG push all version tags [2023-10-19T05:18:11.141Z] 2023-10-19 05:18:10,837 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-19T05:18:11.141Z] 2023-10-19 05:18:10,837 [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-10-19T05:18:11.707Z] 2023-10-19 05:18:11,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-19T05:18:11.707Z] 3.1.0-dev.19 [Pipeline] } [2023-10-19T05:18:11.718Z] $ docker exec --env ******** --env ******** 54f772218199867bc87d9b8afe832e23c85001d3ab06cb99c115467d4a1e478e ssh-agent -k [2023-10-19T05:18:11.817Z] unset SSH_AUTH_SOCK; [2023-10-19T05:18:11.817Z] unset SSH_AGENT_PID; [2023-10-19T05:18:11.817Z] echo Agent pid 37 killed; [2023-10-19T05:18:11.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-19T05:18:12.128Z] + git semver [Pipeline] } [2023-10-19T05:18:12.398Z] $ docker stop --time=1 54f772218199867bc87d9b8afe832e23c85001d3ab06cb99c115467d4a1e478e [2023-10-19T05:18:13.670Z] $ docker rm -f --volumes 54f772218199867bc87d9b8afe832e23c85001d3ab06cb99c115467d4a1e478e [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-10-19T05:18:14.246Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-10-19T05:18:14.246Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-19T05:18:14.246Z] total 16 [2023-10-19T05:18:14.246Z] drwxr-xr-x 3 root root 4096 Oct 19 05:07 . [2023-10-19T05:18:14.246Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 19 05:18 .. [2023-10-19T05:18:14.246Z] drwxr-xr-x 2 root root 4096 Oct 19 05:07 cost [2023-10-19T05:18:14.246Z] -rw-r--r-- 1 root root 86 Oct 19 05:07 cost.csv [2023-10-19T05:18:14.246Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-19T05:18:14.246Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-19T05:18:14.246Z] total 16 [2023-10-19T05:18:14.246Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 19 05:07 . [2023-10-19T05:18:14.246Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 19 05:18 .. [2023-10-19T05:18:14.246Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 19 05:07 cost [2023-10-19T05:18:14.246Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 19 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:14.538Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:15.401Z] ---> package-listing.sh [2023-10-19T05:18:15.401Z] ++ facter osfamily [2023-10-19T05:18:15.401Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-19T05:18:15.662Z] + OS_FAMILY=debian [2023-10-19T05:18:15.662Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-10-19T05:18:15.662Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-19T05:18:15.662Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-19T05:18:15.662Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-19T05:18:15.662Z] + PACKAGES=/tmp/packages_start.txt [2023-10-19T05:18:15.662Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-10-19T05:18:15.662Z] + PACKAGES=/tmp/packages_end.txt [2023-10-19T05:18:15.662Z] + case "${OS_FAMILY}" in [2023-10-19T05:18:15.662Z] + dpkg -l [2023-10-19T05:18:15.662Z] + grep '^ii' [2023-10-19T05:18:15.662Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-19T05:18:15.662Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-19T05:18:15.662Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-19T05:18:15.662Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-10-19T05:18:15.662Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-10-19T05:18:15.662Z] + 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-10-19T05:18:15.674Z] 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-10-19T05:18:15.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-19T05:18:16.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-19T05:18:16.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-19T05:18:16.592Z] prd-ubuntu20.04-docker-8c-8g-9592 does not seem to be running inside a container [2023-10-19T05:18:16.624Z] $ 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-10-19T05:18:16.848Z] $ docker top 6aa6f44d7a832f9a9106d49ec7664ad6cbfdc29eb6ba21301b956e81500a236b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-19T05:18:17.233Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-19T05:18:17.548Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-19T05:18:17.850Z] + ls /var/log/sa-host [2023-10-19T05:18:17.850Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-19T05:18:17.920Z] provisioning config files... [2023-10-19T05:18:17.927Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5001372817690567696tmp [Pipeline] { [Pipeline] echo [2023-10-19T05:18:17.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:18.226Z] ---> create-netrc.sh [Pipeline] } [2023-10-19T05:18:18.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:18.551Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-19T05:18:18.557Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:18.839Z] ---> sudo-logs.sh [2023-10-19T05:18:18.839Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-19T05:18:18.869Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:19.152Z] ---> job-cost.sh [2023-10-19T05:18:19.152Z] lf-activate-venv: SKIPPING [2023-10-19T05:18:19.152Z] DEBUG: total: 0.2199999988079071 [2023-10-19T05:18:19.152Z] INFO: Retrieving Stack Cost... [2023-10-19T05:18:19.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-19T05:18:19.977Z] INFO: Archiving Costs [Pipeline] echo [2023-10-19T05:18:19.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-19T05:18:20.269Z] ---> logs-deploy.sh [2023-10-19T05:18:20.269Z] lf-activate-venv: SKIPPING [2023-10-19T05:18:20.269Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/146 [2023-10-19T05:18:20.269Z] INFO: archiving workspace using pattern(s): [2023-10-19T05:18:21.205Z] Archives upload complete. [2023-10-19T05:18:21.205Z] INFO: archiving logs to Nexus