Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b7988ad925f4dc882909eccaaf50c651f359b4a 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-ssh499357812144859238.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh5323137638421926981.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4752855639222669279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh12325290007596093151.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-ssh16251414414641855424.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] ========================================================= [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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17419 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 > 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 Avoid second fetch Checking out Revision 0b7988ad925f4dc882909eccaaf50c651f359b4a (main) Commit message: "docs: Update changelog for 3.1 release (#645)" > git config core.sparsecheckout # timeout=10 > git checkout -f 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 > git rev-list --no-walk 2a80116fa1f446abff1b1e1c9092e6aedb73b14f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T00:11:07.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T00:11:07.390Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T00:11:07.404Z] ========================================================= [2023-11-14T00:11:07.405Z] EdgeX Global Pipelines Version Info [2023-11-14T00:11:07.405Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:11:08.105Z] ------------------- [2023-11-14T00:11:08.105Z] stable info: [2023-11-14T00:11:08.105Z] ------------------- [2023-11-14T00:11:08.105Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T00:11:08.105Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T00:11:08.105Z] Message: update stable to v1.0.257 [2023-11-14T00:11:08.675Z] ------------------- [2023-11-14T00:11:08.675Z] experimental info: [2023-11-14T00:11:08.675Z] ------------------- [2023-11-14T00:11:08.675Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T00:11:08.675Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T00:11:08.675Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T00:11:08.848Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-14T00:11:08.862Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-14T00:11:08.873Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T00:11:08.886Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T00:11:08.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T00:11:08.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T00:11:08.924Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T00:11:08.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T00:11:08.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T00:11:08.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T00:11:08.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T00:11:08.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-14T00:11:09.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T00:11:09.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T00:11:09.035Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T00:11:09.049Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T00:11:09.065Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T00:11:09.080Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T00:11:09.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T00:11:09.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T00:11:09.119Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T00:11:09.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T00:11:09.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T00:11:09.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T00:11:09.193Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T00:11:09.209Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T00:11:09.225Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T00:11:09.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-14T00:11:09.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-14T00:11:09.274Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-14T00:11:09.290Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo [2023-11-14T00:11:09.309Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b7988a [Pipeline] echo [2023-11-14T00:11:09.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T00:11:09.365Z] provisioning config files... [2023-11-14T00:11:09.376Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config898641737578761691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:11:09.672Z] ---> docker-login.sh [2023-11-14T00:11:09.672Z] nexus3.edgexfoundry.org:10001 [2023-11-14T00:11:10.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:10.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:10.624Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:10.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:10.624Z] [2023-11-14T00:11:10.624Z] Login Succeeded [2023-11-14T00:11:10.624Z] nexus3.edgexfoundry.org:10002 [2023-11-14T00:11:10.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:10.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:10.624Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:10.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:10.624Z] [2023-11-14T00:11:10.624Z] Login Succeeded [2023-11-14T00:11:10.624Z] nexus3.edgexfoundry.org:10003 [2023-11-14T00:11:10.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:10.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:10.883Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:10.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:10.883Z] [2023-11-14T00:11:10.883Z] Login Succeeded [2023-11-14T00:11:10.883Z] nexus3.edgexfoundry.org:10004 [2023-11-14T00:11:10.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:10.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:10.883Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:10.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:10.883Z] [2023-11-14T00:11:10.883Z] Login Succeeded [2023-11-14T00:11:10.883Z] docker.io [2023-11-14T00:11:11.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:11.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:11.403Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:11.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:11.403Z] [2023-11-14T00:11:11.403Z] Login Succeeded [2023-11-14T00:11:11.403Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T00:11:11.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T00:11:11.761Z] + git rev-list -1 --merges 0b7988ad925f4dc882909eccaaf50c651f359b4a~1..0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo [2023-11-14T00:11:11.808Z] -----------> git rev-list -1 --merges 0b7988ad925f4dc882909eccaaf50c651f359b4a~1..0b7988ad925f4dc882909eccaaf50c651f359b4a 0b7988ad925f4dc882909eccaaf50c651f359b4a [false] [Pipeline] sh [2023-11-14T00:11:12.101Z] + git log --format=format:%s -1 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo [2023-11-14T00:11:12.112Z] ========================================================= [2023-11-14T00:11:12.112Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T00:11:12.112Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T00:11:12.432Z] + git log --format=format:%s -1 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] echo [2023-11-14T00:11:12.445Z] [semverPrep] GIT_COMMIT: 0b7988ad925f4dc882909eccaaf50c651f359b4a, Commit Message: docs: Update changelog for 3.1 release (#645) [Pipeline] echo [2023-11-14T00:11:12.453Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T00:11:12.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T00:11:12.795Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T00:11:12.795Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T00:11:12.795Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T00:11:12.795Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T00:11:12.795Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T00:11:12.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:11:13.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T00:11:13.140Z] [2023-11-14T00:11:13.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:11:13.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T00:11:13.441Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T00:11:13.441Z] b85a868b505f: Pulling fs layer [2023-11-14T00:11:13.441Z] e2be974225ed: Pulling fs layer [2023-11-14T00:11:13.441Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T00:11:13.441Z] 988bab9f4d93: Pulling fs layer [2023-11-14T00:11:13.441Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T00:11:13.441Z] eaf3925da568: Pulling fs layer [2023-11-14T00:11:13.441Z] bab4dde63d76: Pulling fs layer [2023-11-14T00:11:13.441Z] bde34c3a00c8: Pulling fs layer [2023-11-14T00:11:13.441Z] b352a97aabf1: Pulling fs layer [2023-11-14T00:11:13.441Z] 4872d77fe225: Pulling fs layer [2023-11-14T00:11:13.441Z] 5851b861e8e6: Pulling fs layer [2023-11-14T00:11:13.441Z] bde34c3a00c8: Waiting [2023-11-14T00:11:13.441Z] 988bab9f4d93: Waiting [2023-11-14T00:11:13.441Z] 1469e6f7b9e6: Waiting [2023-11-14T00:11:13.441Z] eaf3925da568: Waiting [2023-11-14T00:11:13.441Z] bab4dde63d76: Waiting [2023-11-14T00:11:13.441Z] b352a97aabf1: Waiting [2023-11-14T00:11:13.441Z] e2be974225ed: Verifying Checksum [2023-11-14T00:11:13.441Z] e2be974225ed: Download complete [2023-11-14T00:11:13.441Z] 988bab9f4d93: Download complete [2023-11-14T00:11:13.698Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T00:11:13.698Z] 339a4e72a1f5: Download complete [2023-11-14T00:11:13.698Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T00:11:13.698Z] 1469e6f7b9e6: Download complete [2023-11-14T00:11:13.698Z] eaf3925da568: Download complete [2023-11-14T00:11:13.698Z] bde34c3a00c8: Verifying Checksum [2023-11-14T00:11:13.698Z] bde34c3a00c8: Download complete [2023-11-14T00:11:13.698Z] b352a97aabf1: Verifying Checksum [2023-11-14T00:11:13.698Z] b352a97aabf1: Download complete [2023-11-14T00:11:13.698Z] 4872d77fe225: Verifying Checksum [2023-11-14T00:11:13.698Z] 4872d77fe225: Download complete [2023-11-14T00:11:13.698Z] 5851b861e8e6: Verifying Checksum [2023-11-14T00:11:13.698Z] 5851b861e8e6: Download complete [2023-11-14T00:11:13.699Z] b85a868b505f: Verifying Checksum [2023-11-14T00:11:13.699Z] b85a868b505f: Download complete [2023-11-14T00:11:13.983Z] bab4dde63d76: Verifying Checksum [2023-11-14T00:11:13.983Z] bab4dde63d76: Download complete [2023-11-14T00:11:14.920Z] b85a868b505f: Pull complete [2023-11-14T00:11:15.180Z] e2be974225ed: Pull complete [2023-11-14T00:11:15.884Z] 339a4e72a1f5: Pull complete [2023-11-14T00:11:15.885Z] 988bab9f4d93: Pull complete [2023-11-14T00:11:16.453Z] 1469e6f7b9e6: Pull complete [2023-11-14T00:11:16.453Z] eaf3925da568: Pull complete [2023-11-14T00:11:18.363Z] bab4dde63d76: Pull complete [2023-11-14T00:11:18.622Z] bde34c3a00c8: Pull complete [2023-11-14T00:11:18.882Z] b352a97aabf1: Pull complete [2023-11-14T00:11:19.140Z] 4872d77fe225: Pull complete [2023-11-14T00:11:19.141Z] 5851b861e8e6: Pull complete [2023-11-14T00:11:19.141Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T00:11:19.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T00:11:19.141Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:11:19.264Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:11:19.302Z] $ 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-11-14T00:11:25.941Z] $ docker top ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc -eo pid,comm [2023-11-14T00:11:25.996Z] 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-11-14T00:11:25.997Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T00:11:26.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T00:11:26.032Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T00:11:26.190Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T00:11:26.195Z] $ docker exec ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent [2023-11-14T00:11:26.315Z] SSH_AUTH_SOCK=/tmp/ssh-OpB0mm3xkZ6M/agent.34 [2023-11-14T00:11:26.315Z] SSH_AGENT_PID=40 [2023-11-14T00:11:26.323Z] Running ssh-add (command line suppressed) [2023-11-14T00:11:26.425Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1266450053874555705.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1266450053874555705.key) [2023-11-14T00:11:26.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T00:11:26.727Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T00:11:26.741Z] $ docker exec --env ******** --env ******** ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent -k [2023-11-14T00:11:26.832Z] unset SSH_AUTH_SOCK; [2023-11-14T00:11:26.833Z] unset SSH_AGENT_PID; [2023-11-14T00:11:26.833Z] echo Agent pid 40 killed; [2023-11-14T00:11:26.839Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T00:11:26.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T00:11:26.863Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T00:11:26.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T00:11:26.992Z] $ docker exec ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent [2023-11-14T00:11:27.100Z] SSH_AUTH_SOCK=/tmp/ssh-7gSki63K6OQX/agent.72 [2023-11-14T00:11:27.100Z] SSH_AGENT_PID=78 [2023-11-14T00:11:27.105Z] Running ssh-add (command line suppressed) [2023-11-14T00:11:27.212Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2731609404662619084.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2731609404662619084.key) [2023-11-14T00:11:27.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T00:11:27.520Z] + git semver init [2023-11-14T00:11:28.088Z] 2023-11-14 00:11:27,818 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T00:11:28.088Z] 2023-11-14 00:11:27,819 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-11-14T00:11:28.088Z] 2023-11-14 00:11:27,820 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-11-14T00:11:28.089Z] 2023-11-14 00:11:27,821 [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-11-14T00:11:29.029Z] 2023-11-14 00:11:28,729 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-11-14T00:11:29.029Z] 2023-11-14 00:11:28,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-11-14T00:11:29.029Z] 2023-11-14 00:11:28,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:11:29.029Z] 2023-11-14 00:11:28,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:11:29.029Z] 3.1.0-dev.24 [Pipeline] } [2023-11-14T00:11:29.041Z] $ docker exec --env ******** --env ******** ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc ssh-agent -k [2023-11-14T00:11:29.138Z] unset SSH_AUTH_SOCK; [2023-11-14T00:11:29.138Z] unset SSH_AGENT_PID; [2023-11-14T00:11:29.138Z] echo Agent pid 78 killed; [2023-11-14T00:11:29.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T00:11:29.445Z] + git semver [Pipeline] } [2023-11-14T00:11:29.717Z] $ docker stop --time=1 ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc [2023-11-14T00:11:31.092Z] $ docker rm -f --volumes ae21436af83ba8ed82ee113bb79461fe04ae0ccef4a8badda58ef9f1f59c10bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T00:11:31.432Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T00:11:31.654Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T00:11:31.658Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.24 [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-11-14T00:11:31.829Z] provisioning config files... [2023-11-14T00:11:31.839Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1799614766238533253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:11:32.140Z] ---> docker-login.sh [2023-11-14T00:11:32.140Z] nexus3.edgexfoundry.org:10001 [2023-11-14T00:11:32.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:32.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:32.140Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:32.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:32.140Z] [2023-11-14T00:11:32.140Z] Login Succeeded [2023-11-14T00:11:32.140Z] nexus3.edgexfoundry.org:10002 [2023-11-14T00:11:32.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:32.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:32.140Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:32.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:32.140Z] [2023-11-14T00:11:32.140Z] Login Succeeded [2023-11-14T00:11:32.140Z] nexus3.edgexfoundry.org:10003 [2023-11-14T00:11:32.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:32.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:32.401Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:32.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:32.401Z] [2023-11-14T00:11:32.401Z] Login Succeeded [2023-11-14T00:11:32.401Z] nexus3.edgexfoundry.org:10004 [2023-11-14T00:11:32.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:32.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:32.401Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:32.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:32.401Z] [2023-11-14T00:11:32.401Z] Login Succeeded [2023-11-14T00:11:32.401Z] docker.io [2023-11-14T00:11:32.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:11:32.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:11:32.660Z] Configure a credential helper to remove this warning. See [2023-11-14T00:11:32.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:11:32.660Z] [2023-11-14T00:11:32.660Z] Login Succeeded [2023-11-14T00:11:32.660Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T00:11:32.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T00:11:32.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T00:11:32.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T00:11:32.777Z] ========================================================= [2023-11-14T00:11:32.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T00:11:32.777Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:11:33.102Z] + 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-11-14T00:11:33.102Z] Sending build context to Docker daemon 6.565MB [2023-11-14T00:11:33.102Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T00:11:33.102Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T00:11:33.102Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T00:11:33.102Z] 7264a8db6415: Pulling fs layer [2023-11-14T00:11:33.102Z] c4d48a809fc2: Pulling fs layer [2023-11-14T00:11:33.102Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T00:11:33.102Z] ad3a456e5733: Pulling fs layer [2023-11-14T00:11:33.102Z] 33e27b845d1e: Pulling fs layer [2023-11-14T00:11:33.102Z] c68163c4e522: Pulling fs layer [2023-11-14T00:11:33.102Z] 50da416c3ac9: Pulling fs layer [2023-11-14T00:11:33.102Z] 23d2d4c4bb30: Pulling fs layer [2023-11-14T00:11:33.102Z] ad3a456e5733: Waiting [2023-11-14T00:11:33.102Z] 33e27b845d1e: Waiting [2023-11-14T00:11:33.102Z] c68163c4e522: Waiting [2023-11-14T00:11:33.102Z] 50da416c3ac9: Waiting [2023-11-14T00:11:33.102Z] 23d2d4c4bb30: Waiting [2023-11-14T00:11:33.102Z] c4d48a809fc2: Verifying Checksum [2023-11-14T00:11:33.102Z] c4d48a809fc2: Download complete [2023-11-14T00:11:33.364Z] ad3a456e5733: Verifying Checksum [2023-11-14T00:11:33.364Z] ad3a456e5733: Download complete [2023-11-14T00:11:33.364Z] 33e27b845d1e: Download complete [2023-11-14T00:11:33.364Z] 7264a8db6415: Verifying Checksum [2023-11-14T00:11:33.364Z] 7264a8db6415: Download complete [2023-11-14T00:11:33.364Z] c68163c4e522: Verifying Checksum [2023-11-14T00:11:33.364Z] c68163c4e522: Download complete [2023-11-14T00:11:33.625Z] 7264a8db6415: Pull complete [2023-11-14T00:11:33.625Z] 23d2d4c4bb30: Verifying Checksum [2023-11-14T00:11:33.625Z] 23d2d4c4bb30: Download complete [2023-11-14T00:11:33.625Z] c4d48a809fc2: Pull complete [2023-11-14T00:11:33.884Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T00:11:33.884Z] 4f1c88b9dad5: Download complete [2023-11-14T00:11:34.143Z] 50da416c3ac9: Verifying Checksum [2023-11-14T00:11:34.143Z] 50da416c3ac9: Download complete [2023-11-14T00:11:37.437Z] 4f1c88b9dad5: Pull complete [2023-11-14T00:11:37.437Z] ad3a456e5733: Pull complete [2023-11-14T00:11:37.437Z] 33e27b845d1e: Pull complete [2023-11-14T00:11:37.437Z] c68163c4e522: Pull complete [2023-11-14T00:11:39.339Z] 50da416c3ac9: Pull complete [2023-11-14T00:11:39.910Z] 23d2d4c4bb30: Pull complete [2023-11-14T00:11:39.910Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-14T00:11:39.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T00:11:39.910Z] ---> 0786185ac409 [2023-11-14T00:11:39.910Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T00:11:46.778Z] Still waiting to schedule task [2023-11-14T00:11:46.778Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T00:11:48.023Z] ---> Running in 7aee6fd66cf4 [2023-11-14T00:11:48.023Z] Removing intermediate container 7aee6fd66cf4 [2023-11-14T00:11:48.023Z] ---> ff3045f41c9d [2023-11-14T00:11:48.023Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T00:11:48.023Z] ---> Running in 44d2903d44d3 [2023-11-14T00:11:48.023Z] Removing intermediate container 44d2903d44d3 [2023-11-14T00:11:48.023Z] ---> a0f23a2819bf [2023-11-14T00:11:48.023Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T00:11:48.023Z] ---> Running in 15be0616bb22 [2023-11-14T00:11:48.023Z] Removing intermediate container 15be0616bb22 [2023-11-14T00:11:48.023Z] ---> b6006805e473 [2023-11-14T00:11:48.023Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T00:11:48.023Z] ---> Running in 9e0c7ae4085d [2023-11-14T00:11:48.023Z] Removing intermediate container 9e0c7ae4085d [2023-11-14T00:11:48.023Z] ---> c6ff1e82e80d [2023-11-14T00:11:48.023Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T00:11:48.023Z] ---> Running in ec4f0b4af682 [2023-11-14T00:11:48.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T00:11:48.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T00:11:48.023Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T00:11:48.281Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T00:11:48.281Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T00:11:48.281Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T00:11:48.281Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T00:11:48.281Z] OK: 268 MiB in 56 packages [2023-11-14T00:11:48.847Z] Removing intermediate container ec4f0b4af682 [2023-11-14T00:11:48.847Z] ---> ad55cb906fcf [2023-11-14T00:11:48.847Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-14T00:11:48.847Z] ---> Running in e33b67b5af80 [2023-11-14T00:11:49.106Z] Removing intermediate container e33b67b5af80 [2023-11-14T00:11:49.106Z] ---> 945168d0ef73 [2023-11-14T00:11:49.106Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T00:11:49.106Z] ---> c1d5fdbe83b7 [2023-11-14T00:11:49.106Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T00:11:49.106Z] ---> Running in 51526325559c [2023-11-14T00:12:45.396Z] Removing intermediate container 51526325559c [2023-11-14T00:12:45.396Z] ---> 6da29adf65ae [2023-11-14T00:12:45.396Z] Step 11/12 : COPY . . [2023-11-14T00:12:45.396Z] ---> 2abc392232ec [2023-11-14T00:12:45.396Z] Step 12/12 : RUN $MAKE [2023-11-14T00:12:45.396Z] ---> Running in 0f4399666b88 [2023-11-14T00:12:45.396Z] noop [2023-11-14T00:12:45.396Z] Removing intermediate container 0f4399666b88 [2023-11-14T00:12:45.396Z] ---> 67fea7243d90 [2023-11-14T00:12:45.396Z] Successfully built 67fea7243d90 [2023-11-14T00:12:45.396Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:12:45.708Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T00:12:45.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:12:45.784Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:12:45.811Z] $ 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-11-14T00:12:46.139Z] $ docker top a48f18db8e67f254a1d2a767441476ff8ec932a795dc7af9c90324453d242ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T00:12:46.501Z] + go version [2023-11-14T00:12:46.501Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T00:12:46.504Z] $ docker stop --time=1 a48f18db8e67f254a1d2a767441476ff8ec932a795dc7af9c90324453d242ca2 [2023-11-14T00:12:47.974Z] $ docker rm -f --volumes a48f18db8e67f254a1d2a767441476ff8ec932a795dc7af9c90324453d242ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:12:48.429Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T00:12:48.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:12:48.495Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:12:48.515Z] $ 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-11-14T00:12:48.880Z] $ docker top c0126a2f934b3de1731825e5bf5fe791f9df2fe4aa03db01b3960c10396747f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T00:12:49.231Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-14T00:12:49.531Z] + make test [2023-11-14T00:12:49.531Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T00:12:52.062Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-14T00:13:02.026Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-14T00:13:02.026Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-14T00:13:02.026Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements [2023-11-14T00:13:07.287Z] go vet ./... [2023-11-14T00:13:10.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T00:13:10.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T00:13:10.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T00:13:10.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T00:13:10.593Z] $ docker stop --time=1 c0126a2f934b3de1731825e5bf5fe791f9df2fe4aa03db01b3960c10396747f1 [2023-11-14T00:13:18.966Z] $ docker rm -f --volumes c0126a2f934b3de1731825e5bf5fe791f9df2fe4aa03db01b3960c10396747f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T00:13:19.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T00:13:19.518Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T00:13:20.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T00:13:20.342Z] + ls -al . [2023-11-14T00:13:20.342Z] total 184 [2023-11-14T00:13:20.342Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 00:12 . [2023-11-14T00:13:20.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 00:11 .. [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 00:11 .dockerignore [2023-11-14T00:13:20.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 00:13 .git [2023-11-14T00:13:20.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:11 .github [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 00:11 .gitignore [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 00:11 .golangci.yml [2023-11-14T00:13:20.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 00:11 .semver [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 00:11 Attribution.txt [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 00:11 CHANGELOG.md [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 1689 Nov 14 00:11 Dockerfile [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 00:11 GOVERNANCE.md [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 00:11 Jenkinsfile [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 00:11 LICENSE [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 00:11 Makefile [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 00:11 OWNERS.md [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 00:11 README.md [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 00:11 VERSION [2023-11-14T00:13:20.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:11 bin [2023-11-14T00:13:20.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:11 cmd [2023-11-14T00:13:20.342Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 00:13 coverage.out [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 00:11 go.mod [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 00:11 go.sum [2023-11-14T00:13:20.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:11 internal [2023-11-14T00:13:20.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:11 mock [2023-11-14T00:13:20.342Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:13:20.714Z] + 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=0b7988ad925f4dc882909eccaaf50c651f359b4a --label arch=amd64 --label version=3.1.0-dev.24 . [2023-11-14T00:13:20.715Z] Sending build context to Docker daemon 6.584MB [2023-11-14T00:13:20.715Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T00:13:20.715Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-14T00:13:20.715Z] ---> 67fea7243d90 [2023-11-14T00:13:20.715Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-14T00:13:20.992Z] ---> Running in 3a54091aecd8 [2023-11-14T00:13:21.562Z] Removing intermediate container 3a54091aecd8 [2023-11-14T00:13:21.562Z] ---> 520aab35a964 [2023-11-14T00:13:21.562Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T00:13:21.562Z] ---> Running in 5f707b5a3e94 [2023-11-14T00:13:21.821Z] Removing intermediate container 5f707b5a3e94 [2023-11-14T00:13:21.821Z] ---> a4d843c5a768 [2023-11-14T00:13:21.821Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T00:13:21.821Z] ---> Running in 3347705c6f15 [2023-11-14T00:13:22.084Z] Removing intermediate container 3347705c6f15 [2023-11-14T00:13:22.084Z] ---> a204a8f38cce [2023-11-14T00:13:22.084Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T00:13:22.084Z] ---> Running in 6523ea918b6f [2023-11-14T00:13:22.084Z] Removing intermediate container 6523ea918b6f [2023-11-14T00:13:22.084Z] ---> 49064d9951db [2023-11-14T00:13:22.084Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T00:13:22.084Z] ---> Running in 568e6235445b [2023-11-14T00:13:22.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T00:13:22.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T00:13:22.914Z] OK: 268 MiB in 56 packages [2023-11-14T00:13:23.864Z] Removing intermediate container 568e6235445b [2023-11-14T00:13:23.864Z] ---> cbf39ed83f5f [2023-11-14T00:13:23.864Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-11-14T00:13:23.864Z] ---> Running in b65b7fd77d1c [2023-11-14T00:13:23.864Z] Removing intermediate container b65b7fd77d1c [2023-11-14T00:13:23.864Z] ---> 56a72fd28e2e [2023-11-14T00:13:23.864Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-14T00:13:23.864Z] ---> bd4c203da72a [2023-11-14T00:13:23.864Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T00:13:24.124Z] ---> Running in 51a2ab3291e8 [2023-11-14T00:13:24.691Z] Removing intermediate container 51a2ab3291e8 [2023-11-14T00:13:24.691Z] ---> 584388beb85f [2023-11-14T00:13:24.691Z] Step 11/24 : COPY . . [2023-11-14T00:13:25.259Z] ---> 73622f99216d [2023-11-14T00:13:25.259Z] Step 12/24 : RUN $MAKE [2023-11-14T00:13:25.259Z] ---> Running in b1f275474a3c [2023-11-14T00:13:25.583Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-14T00:13:57.777Z] Removing intermediate container b1f275474a3c [2023-11-14T00:13:57.777Z] ---> 0bfe47ab93f8 [2023-11-14T00:13:57.777Z] Step 13/24 : FROM alpine:3.18 [2023-11-14T00:13:57.777Z] 3.18: Pulling from library/alpine [2023-11-14T00:13:57.777Z] 96526aa774ef: Pulling fs layer [2023-11-14T00:13:57.777Z] 96526aa774ef: Verifying Checksum [2023-11-14T00:13:57.777Z] 96526aa774ef: Download complete [2023-11-14T00:13:57.777Z] 96526aa774ef: Pull complete [2023-11-14T00:13:57.777Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T00:13:57.777Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T00:13:57.777Z] ---> 8ca4688f4f35 [2023-11-14T00:13:57.777Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-14T00:13:57.777Z] ---> Running in 3936f2fbd654 [2023-11-14T00:13:57.777Z] Removing intermediate container 3936f2fbd654 [2023-11-14T00:13:57.777Z] ---> f057bd3ea1fe [2023-11-14T00:13:57.777Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-11-14T00:13:57.777Z] ---> Running in f4fae7f18ad5 [2023-11-14T00:13:57.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T00:13:57.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T00:13:57.777Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T00:13:57.777Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T00:13:57.777Z] OK: 7 MiB in 16 packages [2023-11-14T00:13:57.777Z] Removing intermediate container f4fae7f18ad5 [2023-11-14T00:13:57.777Z] ---> f93d63e856b8 [2023-11-14T00:13:57.777Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-14T00:13:57.777Z] ---> 6f4ca4284f41 [2023-11-14T00:13:57.777Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-14T00:13:57.777Z] ---> 11ae159f06cb [2023-11-14T00:13:57.777Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-14T00:13:57.777Z] ---> c25cf7d8e035 [2023-11-14T00:13:57.777Z] Step 19/24 : EXPOSE 59982 [2023-11-14T00:13:57.777Z] ---> Running in d7798cadc2f7 [2023-11-14T00:13:57.777Z] Removing intermediate container d7798cadc2f7 [2023-11-14T00:13:57.777Z] ---> ab102bd2a9bf [2023-11-14T00:13:57.777Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-11-14T00:13:57.777Z] ---> Running in 34e4e3ca8862 [2023-11-14T00:13:57.777Z] Removing intermediate container 34e4e3ca8862 [2023-11-14T00:13:57.777Z] ---> 7a3ca5f9330c [2023-11-14T00:13:57.777Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T00:13:57.777Z] ---> Running in af698afebc83 [2023-11-14T00:13:57.777Z] Removing intermediate container af698afebc83 [2023-11-14T00:13:57.777Z] ---> 9745626e2a12 [2023-11-14T00:13:57.777Z] Step 22/24 : LABEL arch=amd64 [2023-11-14T00:13:57.777Z] ---> Running in 6940ab9d84b3 [2023-11-14T00:13:57.777Z] Removing intermediate container 6940ab9d84b3 [2023-11-14T00:13:57.777Z] ---> 919b9f6cd4f3 [2023-11-14T00:13:57.777Z] Step 23/24 : LABEL git_sha=0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:13:57.777Z] ---> Running in 54de1e80a35e [2023-11-14T00:13:57.777Z] Removing intermediate container 54de1e80a35e [2023-11-14T00:13:57.777Z] ---> 6158c9f3b1e1 [2023-11-14T00:13:57.777Z] Step 24/24 : LABEL version=3.1.0-dev.24 [2023-11-14T00:13:57.777Z] ---> Running in 5ab61ec90a66 [2023-11-14T00:13:57.777Z] Removing intermediate container 5ab61ec90a66 [2023-11-14T00:13:57.777Z] ---> 88e5a0a14670 [2023-11-14T00:13:57.777Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T00:13:57.777Z] Successfully built 88e5a0a14670 [2023-11-14T00:13:57.777Z] 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-11-14T00:13:57.907Z] provisioning config files... [2023-11-14T00:13:57.915Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9103970741126142896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:13:58.205Z] ---> docker-login.sh [2023-11-14T00:13:58.205Z] nexus3.edgexfoundry.org:10001 [2023-11-14T00:13:58.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:13:58.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:13:58.205Z] Configure a credential helper to remove this warning. See [2023-11-14T00:13:58.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:13:58.205Z] [2023-11-14T00:13:58.205Z] Login Succeeded [2023-11-14T00:13:58.205Z] nexus3.edgexfoundry.org:10002 [2023-11-14T00:13:58.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:13:58.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:13:58.205Z] Configure a credential helper to remove this warning. See [2023-11-14T00:13:58.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:13:58.205Z] [2023-11-14T00:13:58.205Z] Login Succeeded [2023-11-14T00:13:58.205Z] nexus3.edgexfoundry.org:10003 [2023-11-14T00:13:58.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:13:58.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:13:58.464Z] Configure a credential helper to remove this warning. See [2023-11-14T00:13:58.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:13:58.464Z] [2023-11-14T00:13:58.464Z] Login Succeeded [2023-11-14T00:13:58.464Z] nexus3.edgexfoundry.org:10004 [2023-11-14T00:13:58.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:13:58.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:13:58.464Z] Configure a credential helper to remove this warning. See [2023-11-14T00:13:58.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:13:58.464Z] [2023-11-14T00:13:58.464Z] Login Succeeded [2023-11-14T00:13:58.464Z] docker.io [2023-11-14T00:13:58.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:13:58.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:13:58.723Z] Configure a credential helper to remove this warning. See [2023-11-14T00:13:58.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:13:58.723Z] [2023-11-14T00:13:58.723Z] Login Succeeded [2023-11-14T00:13:58.723Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T00:13:58.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T00:13:58.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T00:13:58.792Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-11-14T00:13:58.792Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:13:58.792Z] latest [2023-11-14T00:13:58.792Z] 3.1.0-dev.24 [2023-11-14T00:13:58.792Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [2023-11-14T00:13:58.792Z] main [2023-11-14T00:13:58.792Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:13:59.117Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:13:59.420Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:13:59.420Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-14T00:13:59.420Z] 1abee1b2f4a5: Preparing [2023-11-14T00:13:59.420Z] fed8d9ff2856: Preparing [2023-11-14T00:13:59.420Z] 0b632d7bf6db: Preparing [2023-11-14T00:13:59.420Z] e5e782e1a71e: Preparing [2023-11-14T00:13:59.420Z] cc2447e1835a: Preparing [2023-11-14T00:13:59.420Z] cc2447e1835a: Layer already exists [2023-11-14T00:13:59.420Z] fed8d9ff2856: Pushed [2023-11-14T00:13:59.420Z] e5e782e1a71e: Pushed [2023-11-14T00:13:59.420Z] 1abee1b2f4a5: Pushed [2023-11-14T00:14:01.965Z] 0b632d7bf6db: Pushed [2023-11-14T00:14:02.224Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:02.531Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:02.836Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-11-14T00:14:02.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-14T00:14:02.836Z] 1abee1b2f4a5: Preparing [2023-11-14T00:14:02.836Z] fed8d9ff2856: Preparing [2023-11-14T00:14:02.836Z] 0b632d7bf6db: Preparing [2023-11-14T00:14:02.836Z] e5e782e1a71e: Preparing [2023-11-14T00:14:02.836Z] cc2447e1835a: Preparing [2023-11-14T00:14:02.836Z] fed8d9ff2856: Layer already exists [2023-11-14T00:14:02.836Z] cc2447e1835a: Layer already exists [2023-11-14T00:14:02.836Z] 0b632d7bf6db: Layer already exists [2023-11-14T00:14:02.836Z] 1abee1b2f4a5: Layer already exists [2023-11-14T00:14:02.836Z] e5e782e1a71e: Layer already exists [2023-11-14T00:14:02.836Z] latest: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:03.146Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:03.457Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.24 [2023-11-14T00:14:03.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-14T00:14:03.457Z] 1abee1b2f4a5: Preparing [2023-11-14T00:14:03.457Z] fed8d9ff2856: Preparing [2023-11-14T00:14:03.457Z] 0b632d7bf6db: Preparing [2023-11-14T00:14:03.457Z] e5e782e1a71e: Preparing [2023-11-14T00:14:03.457Z] cc2447e1835a: Preparing [2023-11-14T00:14:03.457Z] e5e782e1a71e: Layer already exists [2023-11-14T00:14:03.457Z] cc2447e1835a: Layer already exists [2023-11-14T00:14:03.457Z] 1abee1b2f4a5: Layer already exists [2023-11-14T00:14:03.457Z] 0b632d7bf6db: Layer already exists [2023-11-14T00:14:03.457Z] fed8d9ff2856: Layer already exists [2023-11-14T00:14:03.457Z] 3.1.0-dev.24: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:03.767Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:04.074Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [2023-11-14T00:14:04.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-14T00:14:04.074Z] 1abee1b2f4a5: Preparing [2023-11-14T00:14:04.074Z] fed8d9ff2856: Preparing [2023-11-14T00:14:04.074Z] 0b632d7bf6db: Preparing [2023-11-14T00:14:04.074Z] e5e782e1a71e: Preparing [2023-11-14T00:14:04.074Z] cc2447e1835a: Preparing [2023-11-14T00:14:04.074Z] cc2447e1835a: Layer already exists [2023-11-14T00:14:04.074Z] 1abee1b2f4a5: Layer already exists [2023-11-14T00:14:04.074Z] fed8d9ff2856: Layer already exists [2023-11-14T00:14:04.074Z] e5e782e1a71e: Layer already exists [2023-11-14T00:14:04.074Z] 0b632d7bf6db: Layer already exists [2023-11-14T00:14:04.074Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:04.401Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:04.700Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-11-14T00:14:04.701Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-14T00:14:04.701Z] 1abee1b2f4a5: Preparing [2023-11-14T00:14:04.701Z] fed8d9ff2856: Preparing [2023-11-14T00:14:04.701Z] 0b632d7bf6db: Preparing [2023-11-14T00:14:04.701Z] e5e782e1a71e: Preparing [2023-11-14T00:14:04.701Z] cc2447e1835a: Preparing [2023-11-14T00:14:04.701Z] fed8d9ff2856: Layer already exists [2023-11-14T00:14:04.701Z] e5e782e1a71e: Layer already exists [2023-11-14T00:14:04.701Z] 0b632d7bf6db: Layer already exists [2023-11-14T00:14:04.701Z] cc2447e1835a: Layer already exists [2023-11-14T00:14:04.701Z] 1abee1b2f4a5: Layer already exists [2023-11-14T00:14:04.701Z] main: digest: sha256:3c7bc22952a9eef0c1583c32af05057c619d80378fa5ef2127260c80df6a7ef7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T00:14:04.740Z] ===================================================== [Pipeline] echo [2023-11-14T00:14:04.746Z] taggedImages: [2023-11-14T00:14:04.746Z] - nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:14:04.746Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-11-14T00:14:04.746Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.24 [2023-11-14T00:14:04.746Z] - nexus3.edgexfoundry.org:10004/device-mqtt:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [2023-11-14T00:14:04.746Z] - 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-11-14T00:14:05.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T00:14:05.114Z] [2023-11-14T00:14:05.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:14:05.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T00:14:05.416Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T00:14:05.416Z] 5eb5b503b376: Pulling fs layer [2023-11-14T00:14:05.416Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T00:14:05.416Z] ec43610c2a17: Pulling fs layer [2023-11-14T00:14:05.416Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T00:14:05.416Z] 33b1e0a273af: Pulling fs layer [2023-11-14T00:14:05.416Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T00:14:05.416Z] 2f39f015ded8: Pulling fs layer [2023-11-14T00:14:05.416Z] 3a2ae6a8a46f: Waiting [2023-11-14T00:14:05.416Z] 2f39f015ded8: Waiting [2023-11-14T00:14:05.416Z] 5d3b04190fa2: Waiting [2023-11-14T00:14:05.416Z] 33b1e0a273af: Waiting [2023-11-14T00:14:05.416Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T00:14:05.416Z] 5c69ac0246d0: Download complete [2023-11-14T00:14:05.416Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T00:14:05.416Z] 3a2ae6a8a46f: Download complete [2023-11-14T00:14:05.416Z] 33b1e0a273af: Verifying Checksum [2023-11-14T00:14:05.416Z] 33b1e0a273af: Download complete [2023-11-14T00:14:05.675Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T00:14:05.675Z] 5d3b04190fa2: Download complete [2023-11-14T00:14:05.675Z] ec43610c2a17: Verifying Checksum [2023-11-14T00:14:05.675Z] ec43610c2a17: Download complete [2023-11-14T00:14:05.675Z] 5eb5b503b376: Verifying Checksum [2023-11-14T00:14:05.675Z] 5eb5b503b376: Download complete [2023-11-14T00:14:06.241Z] 2f39f015ded8: Download complete [2023-11-14T00:14:07.175Z] 5eb5b503b376: Pull complete [2023-11-14T00:14:07.175Z] 5c69ac0246d0: Pull complete [2023-11-14T00:14:07.740Z] ec43610c2a17: Pull complete [2023-11-14T00:14:07.740Z] 3a2ae6a8a46f: Pull complete [2023-11-14T00:14:08.005Z] 33b1e0a273af: Pull complete [2023-11-14T00:14:08.005Z] 5d3b04190fa2: Pull complete [2023-11-14T00:14:12.196Z] 2f39f015ded8: Pull complete [2023-11-14T00:14:12.196Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T00:14:12.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T00:14:12.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:14:12.275Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:14:12.295Z] $ 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-11-14T00:14:20.815Z] $ docker top b296539b276d40b78d98e8d3e58f505ce9696259003cc1ff1ca0d4745e21dfa3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:14:21.213Z] ---> job-cost.sh [2023-11-14T00:14:21.213Z] lf-activate-venv: SKIPPING [2023-11-14T00:14:21.213Z] INFO: No Stack... [2023-11-14T00:14:21.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T00:14:21.730Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T00:14:22.018Z] + + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-11-14T00:14:22.018Z] cut -d, -f6 [Pipeline] lock [2023-11-14T00:14:22.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [2023-11-14T00:14:22.038Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] did not exist. Created. [2023-11-14T00:14:22.038Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T00:14:22.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T00:14:22.365Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T00:14:22.373Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T00:14:22.376Z] $ docker stop --time=1 b296539b276d40b78d98e8d3e58f505ce9696259003cc1ff1ca0d4745e21dfa3 [2023-11-14T00:14:23.575Z] $ docker rm -f --volumes b296539b276d40b78d98e8d3e58f505ce9696259003cc1ff1ca0d4745e21dfa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T00:15:37.394Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17420 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-11-14T00:15:37.413Z] Running in /w/workspace/device-mqtt-go/152 [Pipeline] { [Pipeline] checkout [2023-11-14T00:15:37.482Z] The recommended git tool is: git [2023-11-14T00:15:47.537Z] using credential edgex-jenkins-ssh [2023-11-14T00:15:47.555Z] Cloning the remote Git repository [2023-11-14T00:15:47.596Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T00:15:47.694Z] > git init /w/workspace/device-mqtt-go/152 # timeout=10 [2023-11-14T00:15:47.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T00:15:47.910Z] > git --version # timeout=10 [2023-11-14T00:15:47.939Z] > git --version # 'git version 2.25.1' [2023-11-14T00:15:47.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T00:15:48.140Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T00:15:49.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-14T00:15:49.384Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T00:15:50.377Z] Avoid second fetch [2023-11-14T00:15:50.378Z] Checking out Revision 0b7988ad925f4dc882909eccaaf50c651f359b4a (main) [2023-11-14T00:15:50.928Z] Commit message: "docs: Update changelog for 3.1 release (#645)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T00:15:50.393Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T00:15:50.462Z] > git checkout -f 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 [2023-11-14T00:15:51.765Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T00:15:51.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T00:15:51.765Z] Dload Upload Total Spent Left Speed [2023-11-14T00:15:51.765Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 82350 0 --:--:-- --:--:-- --:--:-- 82350 [Pipeline] sh [2023-11-14T00:15:52.346Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T00:15:52.678Z] + sudo tee /etc/docker/daemon.new [2023-11-14T00:15:52.678Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T00:15:52.678Z] { [2023-11-14T00:15:52.678Z] "registry-mirrors": [ [2023-11-14T00:15:52.678Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T00:15:52.678Z] ], [2023-11-14T00:15:52.678Z] "bip": "10.250.0.254/24", [2023-11-14T00:15:52.678Z] "hosts": [ [2023-11-14T00:15:52.678Z] "tcp://0.0.0.0:5555", [2023-11-14T00:15:52.678Z] "unix:///var/run/docker.sock" [2023-11-14T00:15:52.678Z] ], [2023-11-14T00:15:52.678Z] "mtu": 1458, [2023-11-14T00:15:52.678Z] "selinux-enabled": true, [2023-11-14T00:15:52.678Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T00:15:52.678Z] } [Pipeline] sh [2023-11-14T00:15:53.007Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T00:15:53.351Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T00:16:11.614Z] provisioning config files... [2023-11-14T00:16:11.638Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/152@tmp/config4103576394890535941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:16:11.994Z] ---> docker-login.sh [2023-11-14T00:16:11.994Z] nexus3.edgexfoundry.org:10001 [2023-11-14T00:16:12.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:16:12.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:16:12.534Z] Configure a credential helper to remove this warning. See [2023-11-14T00:16:12.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:16:12.534Z] [2023-11-14T00:16:12.534Z] Login Succeeded [2023-11-14T00:16:12.534Z] nexus3.edgexfoundry.org:10002 [2023-11-14T00:16:12.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:16:12.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:16:12.801Z] Configure a credential helper to remove this warning. See [2023-11-14T00:16:12.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:16:12.801Z] [2023-11-14T00:16:12.801Z] Login Succeeded [2023-11-14T00:16:12.801Z] nexus3.edgexfoundry.org:10003 [2023-11-14T00:16:13.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:16:13.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:16:13.338Z] Configure a credential helper to remove this warning. See [2023-11-14T00:16:13.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:16:13.338Z] [2023-11-14T00:16:13.338Z] Login Succeeded [2023-11-14T00:16:13.338Z] nexus3.edgexfoundry.org:10004 [2023-11-14T00:16:13.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:16:13.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:16:13.608Z] Configure a credential helper to remove this warning. See [2023-11-14T00:16:13.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:16:13.608Z] [2023-11-14T00:16:13.608Z] Login Succeeded [2023-11-14T00:16:13.608Z] docker.io [2023-11-14T00:16:13.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:16:14.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:16:14.142Z] Configure a credential helper to remove this warning. See [2023-11-14T00:16:14.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:16:14.142Z] [2023-11-14T00:16:14.142Z] Login Succeeded [2023-11-14T00:16:14.142Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T00:16:14.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T00:16:14.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T00:16:14.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T00:16:14.420Z] ========================================================= [2023-11-14T00:16:14.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T00:16:14.420Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:16:14.766Z] + 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-11-14T00:16:15.041Z] Sending build context to Docker daemon 3.381MB [2023-11-14T00:16:15.041Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T00:16:15.041Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T00:16:15.312Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T00:16:15.312Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T00:16:15.312Z] 5d54e960e981: Pulling fs layer [2023-11-14T00:16:15.312Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T00:16:15.312Z] f0e02332f6b5: Pulling fs layer [2023-11-14T00:16:15.312Z] cefa15bbcfad: Pulling fs layer [2023-11-14T00:16:15.312Z] 17808c966233: Pulling fs layer [2023-11-14T00:16:15.312Z] f4c1fc716caa: Pulling fs layer [2023-11-14T00:16:15.312Z] cefa15bbcfad: Waiting [2023-11-14T00:16:15.312Z] f0e02332f6b5: Waiting [2023-11-14T00:16:15.312Z] f4c1fc716caa: Waiting [2023-11-14T00:16:15.312Z] 17808c966233: Waiting [2023-11-14T00:16:15.312Z] 5d54e960e981: Verifying Checksum [2023-11-14T00:16:15.312Z] 5d54e960e981: Download complete [2023-11-14T00:16:15.312Z] f0e02332f6b5: Verifying Checksum [2023-11-14T00:16:15.312Z] f0e02332f6b5: Download complete [2023-11-14T00:16:15.312Z] cefa15bbcfad: Verifying Checksum [2023-11-14T00:16:15.312Z] cefa15bbcfad: Download complete [2023-11-14T00:16:15.312Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T00:16:15.312Z] 9fda8d8052c6: Download complete [2023-11-14T00:16:15.581Z] f4c1fc716caa: Verifying Checksum [2023-11-14T00:16:15.581Z] f4c1fc716caa: Download complete [2023-11-14T00:16:16.192Z] 9fda8d8052c6: Pull complete [2023-11-14T00:16:16.778Z] 5d54e960e981: Pull complete [2023-11-14T00:16:17.047Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T00:16:17.047Z] c4a7e357bf2a: Download complete [2023-11-14T00:16:18.020Z] 17808c966233: Verifying Checksum [2023-11-14T00:16:18.020Z] 17808c966233: Download complete [2023-11-14T00:16:30.365Z] c4a7e357bf2a: Pull complete [2023-11-14T00:16:30.365Z] f0e02332f6b5: Pull complete [2023-11-14T00:16:30.365Z] cefa15bbcfad: Pull complete [2023-11-14T00:16:40.457Z] 17808c966233: Pull complete [2023-11-14T00:16:40.725Z] f4c1fc716caa: Pull complete [2023-11-14T00:16:40.725Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-14T00:16:40.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T00:16:40.725Z] ---> ea914061e18c [2023-11-14T00:16:40.725Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T00:16:41.697Z] ---> Running in 4845bac72630 [2023-11-14T00:16:41.964Z] Removing intermediate container 4845bac72630 [2023-11-14T00:16:41.964Z] ---> f994a655a0bb [2023-11-14T00:16:41.964Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T00:16:41.964Z] ---> Running in eef431d4e4ea [2023-11-14T00:16:42.555Z] Removing intermediate container eef431d4e4ea [2023-11-14T00:16:42.555Z] ---> 42073fd33398 [2023-11-14T00:16:42.555Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T00:16:42.555Z] ---> Running in 5b0537ae5ae0 [2023-11-14T00:16:42.823Z] Removing intermediate container 5b0537ae5ae0 [2023-11-14T00:16:42.823Z] ---> f5b3c9d93ff2 [2023-11-14T00:16:42.823Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T00:16:42.823Z] ---> Running in 2d9058933ae6 [2023-11-14T00:16:43.095Z] Removing intermediate container 2d9058933ae6 [2023-11-14T00:16:43.095Z] ---> b35a60099ebd [2023-11-14T00:16:43.095Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T00:16:43.095Z] ---> Running in 738b8a308010 [2023-11-14T00:16:44.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T00:16:44.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T00:16:45.861Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T00:16:45.861Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T00:16:45.861Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T00:16:45.861Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T00:16:45.861Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T00:16:45.861Z] OK: 270 MiB in 56 packages [2023-11-14T00:16:47.276Z] Removing intermediate container 738b8a308010 [2023-11-14T00:16:47.276Z] ---> 5465e1529a7c [2023-11-14T00:16:47.276Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-14T00:16:47.276Z] ---> Running in a9dc1839790b [2023-11-14T00:16:47.276Z] Removing intermediate container a9dc1839790b [2023-11-14T00:16:47.276Z] ---> 13a5982d3f49 [2023-11-14T00:16:47.276Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T00:16:47.868Z] ---> 7751d6242c0d [2023-11-14T00:16:47.869Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T00:16:47.869Z] ---> Running in 82c153ca8468 [2023-11-14T00:18:09.498Z] Removing intermediate container 82c153ca8468 [2023-11-14T00:18:09.498Z] ---> a70c31e61f96 [2023-11-14T00:18:09.498Z] Step 11/12 : COPY . . [2023-11-14T00:18:09.498Z] ---> de9358a2f0be [2023-11-14T00:18:09.498Z] Step 12/12 : RUN $MAKE [2023-11-14T00:18:09.498Z] ---> Running in 4848b0df57bd [2023-11-14T00:18:09.498Z] noop [2023-11-14T00:18:09.498Z] Removing intermediate container 4848b0df57bd [2023-11-14T00:18:09.498Z] ---> d7658ac517e5 [2023-11-14T00:18:09.498Z] Successfully built d7658ac517e5 [2023-11-14T00:18:09.498Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:18:09.842Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T00:18:09.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:18:10.046Z] prd-ubuntu20.04-docker-arm64-4c-16g-17420 does not seem to be running inside a container [2023-11-14T00:18:10.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/152 -v /w/workspace/device-mqtt-go/152:/w/workspace/device-mqtt-go/152:rw,z -v /w/workspace/device-mqtt-go/152@tmp:/w/workspace/device-mqtt-go/152@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-11-14T00:18:11.311Z] $ docker top 4f28ae2db56a8a1c79b59afedae8aad6c42033236b682750db4d6ceec82f503f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T00:18:12.140Z] + go version [2023-11-14T00:18:12.140Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T00:18:12.160Z] $ docker stop --time=1 4f28ae2db56a8a1c79b59afedae8aad6c42033236b682750db4d6ceec82f503f [2023-11-14T00:18:13.771Z] $ docker rm -f --volumes 4f28ae2db56a8a1c79b59afedae8aad6c42033236b682750db4d6ceec82f503f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:18:14.321Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T00:18:14.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:18:14.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-17420 does not seem to be running inside a container [2023-11-14T00:18:14.577Z] $ 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/152 -v /w/workspace/device-mqtt-go/152:/w/workspace/device-mqtt-go/152:rw,z -v /w/workspace/device-mqtt-go/152@tmp:/w/workspace/device-mqtt-go/152@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-11-14T00:18:15.750Z] $ docker top fc8fa45a32c4526ba960baac12ea4ffb43db31d307bf308df00b821760518fbd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T00:18:16.259Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/152 [Pipeline] fileExists [Pipeline] sh [2023-11-14T00:18:17.179Z] + make test [2023-11-14T00:18:17.179Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T00:18:22.518Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-14T00:19:59.167Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-14T00:19:59.167Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-14T00:19:59.167Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements [2023-11-14T00:19:59.167Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T00:19:59.167Z] go vet ./... [2023-11-14T00:20:21.220Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T00:20:21.220Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T00:20:21.220Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T00:20:21.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T00:20:21.248Z] $ docker stop --time=1 fc8fa45a32c4526ba960baac12ea4ffb43db31d307bf308df00b821760518fbd [2023-11-14T00:20:24.819Z] $ docker rm -f --volumes fc8fa45a32c4526ba960baac12ea4ffb43db31d307bf308df00b821760518fbd [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T00:20:25.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T00:20:25.996Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T00:20:26.429Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T00:20:26.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T00:20:27.118Z] + ls -al . [2023-11-14T00:20:27.118Z] total 180 [2023-11-14T00:20:27.118Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 00:18 . [2023-11-14T00:20:27.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 00:15 .. [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 00:15 .dockerignore [2023-11-14T00:20:27.118Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 00:15 .git [2023-11-14T00:20:27.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:15 .github [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 00:15 .gitignore [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 00:15 .golangci.yml [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 00:15 Attribution.txt [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 00:15 CHANGELOG.md [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 1689 Nov 14 00:15 Dockerfile [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 00:15 GOVERNANCE.md [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 00:15 Jenkinsfile [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 00:15 LICENSE [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 00:15 Makefile [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 00:15 OWNERS.md [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 00:15 README.md [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 00:11 VERSION [2023-11-14T00:20:27.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:15 bin [2023-11-14T00:20:27.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:15 cmd [2023-11-14T00:20:27.118Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 00:19 coverage.out [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 00:15 go.mod [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 00:15 go.sum [2023-11-14T00:20:27.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 00:15 internal [2023-11-14T00:20:27.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 00:15 mock [2023-11-14T00:20:27.118Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:20:27.446Z] + 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=0b7988ad925f4dc882909eccaaf50c651f359b4a --label arch=arm64 --label version=3.1.0-dev.24 . [2023-11-14T00:20:27.712Z] Sending build context to Docker daemon 3.4MB [2023-11-14T00:20:27.712Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T00:20:27.712Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-14T00:20:27.712Z] ---> d7658ac517e5 [2023-11-14T00:20:27.712Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-14T00:20:27.976Z] ---> Running in 1a3ec1a7af86 [2023-11-14T00:20:28.244Z] Removing intermediate container 1a3ec1a7af86 [2023-11-14T00:20:28.244Z] ---> 45b2a11b2add [2023-11-14T00:20:28.244Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T00:20:28.244Z] ---> Running in 2343736f3fdf [2023-11-14T00:20:28.510Z] Removing intermediate container 2343736f3fdf [2023-11-14T00:20:28.510Z] ---> 87315b85f2e2 [2023-11-14T00:20:28.510Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T00:20:28.510Z] ---> Running in 54a5c94e53ea [2023-11-14T00:20:29.095Z] Removing intermediate container 54a5c94e53ea [2023-11-14T00:20:29.095Z] ---> 0c805bb15d15 [2023-11-14T00:20:29.095Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T00:20:29.095Z] ---> Running in 996f018567c5 [2023-11-14T00:20:29.362Z] Removing intermediate container 996f018567c5 [2023-11-14T00:20:29.362Z] ---> f498b6d739df [2023-11-14T00:20:29.362Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T00:20:29.362Z] ---> Running in e23bf30bbc10 [2023-11-14T00:20:30.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T00:20:30.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T00:20:32.322Z] OK: 270 MiB in 56 packages [2023-11-14T00:20:33.286Z] Removing intermediate container e23bf30bbc10 [2023-11-14T00:20:33.286Z] ---> 5d9b5bc70295 [2023-11-14T00:20:33.286Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-11-14T00:20:33.286Z] ---> Running in 0ad12c70c0c4 [2023-11-14T00:20:33.556Z] Removing intermediate container 0ad12c70c0c4 [2023-11-14T00:20:33.556Z] ---> d28461f8f7ed [2023-11-14T00:20:33.556Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-14T00:20:34.142Z] ---> 039f571c55b3 [2023-11-14T00:20:34.142Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T00:20:34.142Z] ---> Running in 8839fbc0dbf5 [2023-11-14T00:20:38.674Z] Removing intermediate container 8839fbc0dbf5 [2023-11-14T00:20:38.674Z] ---> 35ff6004e53e [2023-11-14T00:20:38.674Z] Step 11/24 : COPY . . [2023-11-14T00:20:39.256Z] ---> fa6959151893 [2023-11-14T00:20:39.256Z] Step 12/24 : RUN $MAKE [2023-11-14T00:20:39.522Z] ---> Running in c51b3b48dad3 [2023-11-14T00:20:40.480Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-14T00:22:32.133Z] Removing intermediate container c51b3b48dad3 [2023-11-14T00:22:32.133Z] ---> 680f17a69fb0 [2023-11-14T00:22:32.133Z] Step 13/24 : FROM alpine:3.18 [2023-11-14T00:22:32.133Z] 3.18: Pulling from library/alpine [2023-11-14T00:22:32.133Z] 579b34f0a95b: Pulling fs layer [2023-11-14T00:22:32.133Z] 579b34f0a95b: Verifying Checksum [2023-11-14T00:22:32.133Z] 579b34f0a95b: Download complete [2023-11-14T00:22:32.133Z] 579b34f0a95b: Pull complete [2023-11-14T00:22:32.133Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T00:22:32.133Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T00:22:32.133Z] ---> 3cc203321400 [2023-11-14T00:22:32.133Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-14T00:22:32.133Z] ---> Running in ceb55c32fa7b [2023-11-14T00:22:32.133Z] Removing intermediate container ceb55c32fa7b [2023-11-14T00:22:32.133Z] ---> 0591dbe408b8 [2023-11-14T00:22:32.133Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-11-14T00:22:32.133Z] ---> Running in 7f510187b310 [2023-11-14T00:22:32.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T00:22:32.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T00:22:33.538Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T00:22:33.538Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T00:22:33.538Z] OK: 8 MiB in 16 packages [2023-11-14T00:22:34.499Z] Removing intermediate container 7f510187b310 [2023-11-14T00:22:34.499Z] ---> 41a9cb215b89 [2023-11-14T00:22:34.499Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-14T00:22:36.461Z] ---> 01ee87a7cb9c [2023-11-14T00:22:36.462Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-14T00:22:36.728Z] ---> af5bd3ef6d2a [2023-11-14T00:22:36.728Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-14T00:22:36.998Z] ---> 2acb568126f6 [2023-11-14T00:22:36.998Z] Step 19/24 : EXPOSE 59982 [2023-11-14T00:22:37.264Z] ---> Running in fc13dcdfd190 [2023-11-14T00:22:37.529Z] Removing intermediate container fc13dcdfd190 [2023-11-14T00:22:37.529Z] ---> e55a9217ec75 [2023-11-14T00:22:37.529Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-11-14T00:22:37.529Z] ---> Running in 0391959788ac [2023-11-14T00:22:37.796Z] Removing intermediate container 0391959788ac [2023-11-14T00:22:37.796Z] ---> c5ad27a42f63 [2023-11-14T00:22:37.796Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T00:22:37.796Z] ---> Running in 97633a075e03 [2023-11-14T00:22:38.063Z] Removing intermediate container 97633a075e03 [2023-11-14T00:22:38.063Z] ---> c21beea78f20 [2023-11-14T00:22:38.063Z] Step 22/24 : LABEL arch=arm64 [2023-11-14T00:22:38.331Z] ---> Running in 48acf04857f9 [2023-11-14T00:22:38.598Z] Removing intermediate container 48acf04857f9 [2023-11-14T00:22:38.598Z] ---> 91bbd3a5f67d [2023-11-14T00:22:38.598Z] Step 23/24 : LABEL git_sha=0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:22:38.598Z] ---> Running in 6a7f004c6320 [2023-11-14T00:22:38.867Z] Removing intermediate container 6a7f004c6320 [2023-11-14T00:22:38.867Z] ---> 0279253381f2 [2023-11-14T00:22:38.867Z] Step 24/24 : LABEL version=3.1.0-dev.24 [2023-11-14T00:22:39.133Z] ---> Running in e5a8c1ba6dde [2023-11-14T00:22:39.399Z] Removing intermediate container e5a8c1ba6dde [2023-11-14T00:22:39.399Z] ---> 2c71a1c4ebbf [2023-11-14T00:22:39.399Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T00:22:39.399Z] Successfully built 2c71a1c4ebbf [2023-11-14T00:22:39.399Z] 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-11-14T00:22:39.518Z] provisioning config files... [2023-11-14T00:22:39.534Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/152@tmp/config3413432688892207925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:22:39.864Z] ---> docker-login.sh [2023-11-14T00:22:39.864Z] nexus3.edgexfoundry.org:10001 [2023-11-14T00:22:39.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:22:40.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:22:40.130Z] Configure a credential helper to remove this warning. See [2023-11-14T00:22:40.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:22:40.130Z] [2023-11-14T00:22:40.130Z] Login Succeeded [2023-11-14T00:22:40.130Z] nexus3.edgexfoundry.org:10002 [2023-11-14T00:22:40.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:22:40.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:22:40.397Z] Configure a credential helper to remove this warning. See [2023-11-14T00:22:40.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:22:40.397Z] [2023-11-14T00:22:40.397Z] Login Succeeded [2023-11-14T00:22:40.397Z] nexus3.edgexfoundry.org:10003 [2023-11-14T00:22:40.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:22:40.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:22:40.939Z] Configure a credential helper to remove this warning. See [2023-11-14T00:22:40.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:22:40.939Z] [2023-11-14T00:22:40.939Z] Login Succeeded [2023-11-14T00:22:40.939Z] nexus3.edgexfoundry.org:10004 [2023-11-14T00:22:41.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:22:41.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:22:41.206Z] Configure a credential helper to remove this warning. See [2023-11-14T00:22:41.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:22:41.206Z] [2023-11-14T00:22:41.206Z] Login Succeeded [2023-11-14T00:22:41.206Z] docker.io [2023-11-14T00:22:41.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T00:22:41.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T00:22:41.740Z] Configure a credential helper to remove this warning. See [2023-11-14T00:22:41.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T00:22:41.740Z] [2023-11-14T00:22:41.740Z] Login Succeeded [2023-11-14T00:22:41.740Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T00:22:41.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T00:22:41.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T00:22:41.818Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-11-14T00:22:41.818Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:22:41.818Z] latest [2023-11-14T00:22:41.818Z] 3.1.0-dev.24 [2023-11-14T00:22:41.818Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [2023-11-14T00:22:41.818Z] main [2023-11-14T00:22:41.818Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:42.162Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:42.503Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:22:42.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-14T00:22:42.503Z] 46db2505ec78: Preparing [2023-11-14T00:22:42.503Z] 35dfb1330ed7: Preparing [2023-11-14T00:22:42.503Z] 171ba683e4b3: Preparing [2023-11-14T00:22:42.503Z] ebcdf66234bd: Preparing [2023-11-14T00:22:42.503Z] 5f4d9fc4d98d: Preparing [2023-11-14T00:22:42.503Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T00:22:42.771Z] 46db2505ec78: Pushed [2023-11-14T00:22:42.771Z] 35dfb1330ed7: Pushed [2023-11-14T00:22:42.771Z] ebcdf66234bd: Pushed [2023-11-14T00:22:49.402Z] 171ba683e4b3: Pushed [2023-11-14T00:22:49.402Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:49.819Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:50.182Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-11-14T00:22:50.182Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-14T00:22:50.182Z] 46db2505ec78: Preparing [2023-11-14T00:22:50.182Z] 35dfb1330ed7: Preparing [2023-11-14T00:22:50.182Z] 171ba683e4b3: Preparing [2023-11-14T00:22:50.182Z] ebcdf66234bd: Preparing [2023-11-14T00:22:50.182Z] 5f4d9fc4d98d: Preparing [2023-11-14T00:22:50.182Z] 171ba683e4b3: Layer already exists [2023-11-14T00:22:50.182Z] 35dfb1330ed7: Layer already exists [2023-11-14T00:22:50.182Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T00:22:50.182Z] ebcdf66234bd: Layer already exists [2023-11-14T00:22:50.182Z] 46db2505ec78: Layer already exists [2023-11-14T00:22:50.455Z] latest: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:50.832Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:51.208Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.24 [2023-11-14T00:22:51.208Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-14T00:22:51.208Z] 46db2505ec78: Preparing [2023-11-14T00:22:51.208Z] 35dfb1330ed7: Preparing [2023-11-14T00:22:51.208Z] 171ba683e4b3: Preparing [2023-11-14T00:22:51.208Z] ebcdf66234bd: Preparing [2023-11-14T00:22:51.208Z] 5f4d9fc4d98d: Preparing [2023-11-14T00:22:51.208Z] ebcdf66234bd: Layer already exists [2023-11-14T00:22:51.208Z] 35dfb1330ed7: Layer already exists [2023-11-14T00:22:51.208Z] 171ba683e4b3: Layer already exists [2023-11-14T00:22:51.208Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T00:22:51.208Z] 46db2505ec78: Layer already exists [2023-11-14T00:22:51.208Z] 3.1.0-dev.24: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:51.560Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:51.896Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [2023-11-14T00:22:51.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-14T00:22:51.896Z] 46db2505ec78: Preparing [2023-11-14T00:22:51.896Z] 35dfb1330ed7: Preparing [2023-11-14T00:22:51.896Z] 171ba683e4b3: Preparing [2023-11-14T00:22:51.896Z] ebcdf66234bd: Preparing [2023-11-14T00:22:51.896Z] 5f4d9fc4d98d: Preparing [2023-11-14T00:22:51.896Z] 35dfb1330ed7: Layer already exists [2023-11-14T00:22:51.896Z] 171ba683e4b3: Layer already exists [2023-11-14T00:22:51.896Z] ebcdf66234bd: Layer already exists [2023-11-14T00:22:51.896Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T00:22:51.896Z] 46db2505ec78: Layer already exists [2023-11-14T00:22:51.896Z] 0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:52.233Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:52.567Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-11-14T00:22:52.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-14T00:22:52.567Z] 46db2505ec78: Preparing [2023-11-14T00:22:52.567Z] 35dfb1330ed7: Preparing [2023-11-14T00:22:52.567Z] 171ba683e4b3: Preparing [2023-11-14T00:22:52.567Z] ebcdf66234bd: Preparing [2023-11-14T00:22:52.567Z] 5f4d9fc4d98d: Preparing [2023-11-14T00:22:52.567Z] 5f4d9fc4d98d: Layer already exists [2023-11-14T00:22:52.567Z] 35dfb1330ed7: Layer already exists [2023-11-14T00:22:52.567Z] 171ba683e4b3: Layer already exists [2023-11-14T00:22:52.567Z] 46db2505ec78: Layer already exists [2023-11-14T00:22:52.567Z] ebcdf66234bd: Layer already exists [2023-11-14T00:22:52.567Z] main: digest: sha256:92f541aba95b519aff89a68f1727456a954e28e34c486bc12e0ca816017627c4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-14T00:22:52.874Z] ===================================================== [Pipeline] echo [2023-11-14T00:22:52.880Z] taggedImages: [2023-11-14T00:22:52.880Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a [2023-11-14T00:22:52.880Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-11-14T00:22:52.880Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.24 [2023-11-14T00:22:52.880Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0b7988ad925f4dc882909eccaaf50c651f359b4a-3.1.0-dev.24 [2023-11-14T00:22:52.880Z] - 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-11-14T00:22:53.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T00:22:53.255Z] [2023-11-14T00:22:53.255Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:22:53.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T00:22:53.601Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T00:22:53.601Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T00:22:53.601Z] 04944245beec: Pulling fs layer [2023-11-14T00:22:53.601Z] 699f458cf7ca: Pulling fs layer [2023-11-14T00:22:53.601Z] 765212b225bb: Pulling fs layer [2023-11-14T00:22:53.601Z] f23df028b6ca: Pulling fs layer [2023-11-14T00:22:53.601Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T00:22:53.601Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T00:22:53.601Z] 765212b225bb: Waiting [2023-11-14T00:22:53.601Z] f23df028b6ca: Waiting [2023-11-14T00:22:53.601Z] d65c8cfc05b1: Waiting [2023-11-14T00:22:53.601Z] 2437ff75d9bd: Waiting [2023-11-14T00:22:53.867Z] 04944245beec: Verifying Checksum [2023-11-14T00:22:53.868Z] 04944245beec: Download complete [2023-11-14T00:22:53.868Z] 765212b225bb: Verifying Checksum [2023-11-14T00:22:53.868Z] 765212b225bb: Download complete [2023-11-14T00:22:53.868Z] f23df028b6ca: Download complete [2023-11-14T00:22:53.868Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T00:22:53.868Z] d65c8cfc05b1: Download complete [2023-11-14T00:22:54.134Z] 699f458cf7ca: Verifying Checksum [2023-11-14T00:22:54.134Z] 699f458cf7ca: Download complete [2023-11-14T00:22:54.401Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T00:22:54.401Z] 8998bd30e6a1: Download complete [2023-11-14T00:22:56.978Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T00:22:56.978Z] 2437ff75d9bd: Download complete [2023-11-14T00:22:58.921Z] 8998bd30e6a1: Pull complete [2023-11-14T00:22:59.187Z] 04944245beec: Pull complete [2023-11-14T00:23:03.431Z] 699f458cf7ca: Pull complete [2023-11-14T00:23:03.431Z] 765212b225bb: Pull complete [2023-11-14T00:23:03.697Z] f23df028b6ca: Pull complete [2023-11-14T00:23:03.963Z] d65c8cfc05b1: Pull complete [2023-11-14T00:23:18.944Z] 2437ff75d9bd: Pull complete [2023-11-14T00:23:18.944Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T00:23:18.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T00:23:18.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:23:19.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-17420 does not seem to be running inside a container [2023-11-14T00:23:19.198Z] $ 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/152 -v /w/workspace/device-mqtt-go/152:/w/workspace/device-mqtt-go/152:rw,z -v /w/workspace/device-mqtt-go/152@tmp:/w/workspace/device-mqtt-go/152@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-11-14T00:23:22.304Z] $ docker top 80023ba37d6606635420b0caad17e9632de711b8e8e174f23f5ca23d4d6ecfa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:23:23.178Z] ---> job-cost.sh [2023-11-14T00:23:23.178Z] lf-activate-venv: SKIPPING [2023-11-14T00:23:23.178Z] INFO: No Stack... [2023-11-14T00:23:23.445Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T00:23:24.406Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T00:23:25.051Z] + cat /w/workspace/device-mqtt-go/152/archives/cost.csv [2023-11-14T00:23:25.051Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T00:23:25.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [2023-11-14T00:23:25.132Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] did not exist. Created. [2023-11-14T00:23:25.132Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T00:23:25.793Z] /w/workspace/device-mqtt-go/152@tmp/durable-3ae1075d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T00:23:26.445Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T00:23:26.468Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T00:23:26.533Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T00:23:26.545Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-152-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T00:23:26.565Z] $ docker stop --time=1 80023ba37d6606635420b0caad17e9632de711b8e8e174f23f5ca23d4d6ecfa9 [2023-11-14T00:23:30.305Z] $ docker rm -f --volumes 80023ba37d6606635420b0caad17e9632de711b8e8e174f23f5ca23d4d6ecfa9 [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-11-14T00:23:30.705Z] provisioning config files... [2023-11-14T00:23:30.711Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11419106736143773796tmp [Pipeline] { [Pipeline] sh [2023-11-14T00:23:30.998Z] + set +x [2023-11-14T00:23:30.998Z] + curl -s https://codecov.io/bash [2023-11-14T00:23:30.998Z] + bash -s -- [2023-11-14T00:23:30.998Z] [2023-11-14T00:23:30.998Z] _____ _ [2023-11-14T00:23:30.998Z] / ____| | | [2023-11-14T00:23:30.998Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T00:23:30.998Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T00:23:30.998Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T00:23:30.998Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T00:23:30.998Z] Bash-1.0.6 [2023-11-14T00:23:30.998Z] [2023-11-14T00:23:30.998Z] [2023-11-14T00:23:30.998Z] ==> git version 2.25.1 found [2023-11-14T00:23:30.998Z] ==> 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-11-14T00:23:30.998Z] Release-Date: 2020-01-08 [2023-11-14T00:23:30.998Z] 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-11-14T00:23:30.998Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T00:23:30.998Z] ==> Jenkins CI detected. [2023-11-14T00:23:30.998Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-11-14T00:23:30.998Z] project root: . [2023-11-14T00:23:30.998Z] --> token set from env [2023-11-14T00:23:30.998Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T00:23:30.998Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T00:23:30.998Z] ==> Python coveragepy not found [2023-11-14T00:23:30.998Z] ==> Searching for coverage reports in: [2023-11-14T00:23:30.998Z] + . [2023-11-14T00:23:30.998Z] -> Found 1 reports [2023-11-14T00:23:30.998Z] ==> Detecting git/mercurial file structure [2023-11-14T00:23:30.998Z] ==> Reading reports [2023-11-14T00:23:31.258Z] + ./coverage.out bytes=18506 [2023-11-14T00:23:31.258Z] ==> Appending adjustments [2023-11-14T00:23:31.258Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T00:23:31.258Z] + Found adjustments [2023-11-14T00:23:31.258Z] ==> Gzipping contents [2023-11-14T00:23:31.258Z] 4.0K /tmp/codecov.tIlNgC.gz [2023-11-14T00:23:31.258Z] ==> Uploading reports [2023-11-14T00:23:31.258Z] url: https://codecov.io [2023-11-14T00:23:31.258Z] query: branch=main&commit=0b7988ad925f4dc882909eccaaf50c651f359b4a&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-14T00:23:31.258Z] -> Pinging Codecov [2023-11-14T00:23:31.258Z] 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=0b7988ad925f4dc882909eccaaf50c651f359b4a&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-14T00:23:31.518Z] -> Uploading to [2023-11-14T00:23:31.518Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7D719EC7BBE17E464838252E33014C33/0b7988ad925f4dc882909eccaaf50c651f359b4a/26b84037-c125-49ed-88f1-4bb536807550.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T002331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67139751e8553869e9ca6260ed376aa6af9ef43a54e52fd2447b38533313fafb [2023-11-14T00:23:31.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T00:23:31.518Z] Dload Upload Total Spent Left Speed [2023-11-14T00:23:31.778Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14729 --:--:-- --:--:-- --:--:-- 14658 100 3049 0 0 100 3049 0 11910 --:--:-- --:--:-- --:--:-- 11863 [2023-11-14T00:23:31.778Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] } [2023-11-14T00:23:31.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-14T00:23:31.921Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-14T00:23:31.933Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:23:32.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-14T00:23:32.237Z] [2023-11-14T00:23:32.237Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:23:32.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-14T00:23:32.537Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-14T00:23:32.537Z] df9b9388f04a: Pulling fs layer [2023-11-14T00:23:32.537Z] 52dc419b0ee2: Pulling fs layer [2023-11-14T00:23:32.537Z] 25bc292e5bac: Pulling fs layer [2023-11-14T00:23:32.537Z] 114826534d7a: Pulling fs layer [2023-11-14T00:23:32.537Z] 4657fd5d0bcf: Pulling fs layer [2023-11-14T00:23:32.537Z] 6ad1cebc031e: Pulling fs layer [2023-11-14T00:23:32.537Z] 8a3aa393b2d8: Pulling fs layer [2023-11-14T00:23:32.537Z] 4657fd5d0bcf: Waiting [2023-11-14T00:23:32.537Z] 6ad1cebc031e: Waiting [2023-11-14T00:23:32.537Z] 8a3aa393b2d8: Waiting [2023-11-14T00:23:32.537Z] 114826534d7a: Waiting [2023-11-14T00:23:32.537Z] 25bc292e5bac: Verifying Checksum [2023-11-14T00:23:32.537Z] 25bc292e5bac: Download complete [2023-11-14T00:23:32.537Z] 52dc419b0ee2: Verifying Checksum [2023-11-14T00:23:32.537Z] 52dc419b0ee2: Download complete [2023-11-14T00:23:32.537Z] 4657fd5d0bcf: Verifying Checksum [2023-11-14T00:23:32.537Z] 4657fd5d0bcf: Download complete [2023-11-14T00:23:32.537Z] df9b9388f04a: Verifying Checksum [2023-11-14T00:23:32.537Z] df9b9388f04a: Download complete [2023-11-14T00:23:32.799Z] 6ad1cebc031e: Verifying Checksum [2023-11-14T00:23:32.799Z] 6ad1cebc031e: Download complete [2023-11-14T00:23:33.057Z] df9b9388f04a: Pull complete [2023-11-14T00:23:33.057Z] 52dc419b0ee2: Pull complete [2023-11-14T00:23:33.316Z] 25bc292e5bac: Pull complete [2023-11-14T00:23:33.316Z] 114826534d7a: Verifying Checksum [2023-11-14T00:23:33.316Z] 114826534d7a: Download complete [2023-11-14T00:23:33.576Z] 8a3aa393b2d8: Verifying Checksum [2023-11-14T00:23:33.576Z] 8a3aa393b2d8: Download complete [2023-11-14T00:23:36.860Z] 114826534d7a: Pull complete [2023-11-14T00:23:36.860Z] 4657fd5d0bcf: Pull complete [2023-11-14T00:23:36.860Z] 6ad1cebc031e: Pull complete [2023-11-14T00:23:39.389Z] 8a3aa393b2d8: Pull complete [2023-11-14T00:23:39.390Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-14T00:23:39.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-14T00:23:39.390Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:23:39.466Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:23:39.483Z] $ 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-11-14T00:23:46.509Z] $ docker top c08f07cec388bd2528d067bdb7d0e1497086bd81d61c5201482ea7682fb17dd9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-14T00:23:46.586Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-11-14T00:23:46.865Z] + set -o pipefail [2023-11-14T00:23:46.865Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-11-14T00:23:52.139Z] [2023-11-14T00:23:52.139Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-11-14T00:23:52.139Z] [2023-11-14T00:23:52.139Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/993de2c3-8b97-478f-b40c-4c3b8ab3f7ce [2023-11-14T00:23:52.139Z] [2023-11-14T00:23:52.139Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-14T00:23:52.139Z] [2023-11-14T00:23:52.139Z] [2023-11-14T00:23:52.139Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-14T00:23:52.139Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-14T00:23:52.139Z] More details here: https://snyk.co/ue1NS [2023-11-14T00:23:52.139Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-14T00:23:52.139Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-14T00:23:52.144Z] $ docker stop --time=1 c08f07cec388bd2528d067bdb7d0e1497086bd81d61c5201482ea7682fb17dd9 [2023-11-14T00:23:56.658Z] $ docker rm -f --volumes c08f07cec388bd2528d067bdb7d0e1497086bd81d61c5201482ea7682fb17dd9 [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-11-14T00:23:57.362Z] + git log --format=format:%s -1 0b7988ad925f4dc882909eccaaf50c651f359b4a [Pipeline] sh [2023-11-14T00:23:57.653Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T00:23:57.653Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:23:57.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T00:23:57.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:23:58.020Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:23:58.043Z] $ 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-11-14T00:23:58.494Z] $ docker top d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T00:23:58.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T00:23:58.595Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T00:23:58.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T00:23:58.708Z] $ docker exec d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd ssh-agent [2023-11-14T00:23:58.816Z] SSH_AUTH_SOCK=/tmp/ssh-90TrcvHDLqK4/agent.33 [2023-11-14T00:23:58.817Z] SSH_AGENT_PID=39 [2023-11-14T00:23:58.821Z] Running ssh-add (command line suppressed) [2023-11-14T00:23:58.907Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_251400179054350487.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_251400179054350487.key) [2023-11-14T00:23:58.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T00:23:59.219Z] + git semver tag [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,377 [run_tag] DEBUG tag force:False [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,377 [check_head_tag] DEBUG check head tag [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,378 [execute] INFO git cat-file --batch-check [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,382 [execute] INFO git cat-file --batch [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,396 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,396 [execute] INFO git tag -a v3.1.0-dev.24 -m v3.1.0-dev.24 [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,396 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.24', '-m', 'v3.1.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-14T00:23:59.478Z] 2023-11-14 00:23:59,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:23:59.478Z] 3.1.0-dev.24 [Pipeline] } [2023-11-14T00:23:59.480Z] $ docker exec --env ******** --env ******** d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd ssh-agent -k [2023-11-14T00:23:59.574Z] unset SSH_AUTH_SOCK; [2023-11-14T00:23:59.575Z] unset SSH_AGENT_PID; [2023-11-14T00:23:59.575Z] echo Agent pid 39 killed; [2023-11-14T00:23:59.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T00:23:59.892Z] + git semver [Pipeline] } [2023-11-14T00:24:00.159Z] $ docker stop --time=1 d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd [2023-11-14T00:24:01.446Z] $ docker rm -f --volumes d9c75e1131fcc43c0a97c47190316d8fc98d1fa94b7f639d9cce1058389063cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:24:01.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-14T00:24:01.841Z] [2023-11-14T00:24:01.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:24:02.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-14T00:24:02.138Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-14T00:24:02.138Z] ab5ef0e58194: Pulling fs layer [2023-11-14T00:24:02.138Z] 9712f1f96733: Pulling fs layer [2023-11-14T00:24:02.138Z] 63f879dbbcfc: Pulling fs layer [2023-11-14T00:24:02.138Z] 0d9ebad4ef96: Pulling fs layer [2023-11-14T00:24:02.138Z] e9a5061849ea: Pulling fs layer [2023-11-14T00:24:02.138Z] d747dcd14b5f: Pulling fs layer [2023-11-14T00:24:02.138Z] 2de7ff778b66: Pulling fs layer [2023-11-14T00:24:02.138Z] 0d9ebad4ef96: Waiting [2023-11-14T00:24:02.138Z] e9a5061849ea: Waiting [2023-11-14T00:24:02.138Z] d747dcd14b5f: Waiting [2023-11-14T00:24:02.138Z] 2de7ff778b66: Waiting [2023-11-14T00:24:02.138Z] 9712f1f96733: Download complete [2023-11-14T00:24:02.397Z] 63f879dbbcfc: Verifying Checksum [2023-11-14T00:24:02.397Z] 63f879dbbcfc: Download complete [2023-11-14T00:24:02.656Z] 0d9ebad4ef96: Verifying Checksum [2023-11-14T00:24:02.656Z] 0d9ebad4ef96: Download complete [2023-11-14T00:24:02.656Z] e9a5061849ea: Verifying Checksum [2023-11-14T00:24:02.656Z] e9a5061849ea: Download complete [2023-11-14T00:24:02.656Z] d747dcd14b5f: Verifying Checksum [2023-11-14T00:24:02.656Z] d747dcd14b5f: Download complete [2023-11-14T00:24:02.656Z] ab5ef0e58194: Verifying Checksum [2023-11-14T00:24:02.656Z] ab5ef0e58194: Download complete [2023-11-14T00:24:02.914Z] 2de7ff778b66: Verifying Checksum [2023-11-14T00:24:02.914Z] 2de7ff778b66: Download complete [2023-11-14T00:24:05.446Z] ab5ef0e58194: Pull complete [2023-11-14T00:24:05.446Z] 9712f1f96733: Pull complete [2023-11-14T00:24:06.011Z] 63f879dbbcfc: Pull complete [2023-11-14T00:24:09.295Z] 0d9ebad4ef96: Pull complete [2023-11-14T00:24:09.553Z] e9a5061849ea: Pull complete [2023-11-14T00:24:09.553Z] d747dcd14b5f: Pull complete [2023-11-14T00:24:10.486Z] 2de7ff778b66: Pull complete [2023-11-14T00:24:10.486Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-14T00:24:10.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-14T00:24:10.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:24:10.572Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:24:10.592Z] $ 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-11-14T00:24:17.841Z] $ docker top e5f359f6b50351089d73b03cf56b677814315331f3b55c94c4126cea1c8935da -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-14T00:24:17.914Z] provisioning config files... [2023-11-14T00:24:17.920Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15324134716613066045tmp [2023-11-14T00:24:17.930Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1115392769698639970tmp [2023-11-14T00:24:17.940Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14244761033601057329tmp [Pipeline] { [Pipeline] echo [2023-11-14T00:24:17.956Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:18.239Z] ---> sigul-configuration.sh [2023-11-14T00:24:18.239Z] gpg: directory `/root/.gnupg' created [2023-11-14T00:24:18.239Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-14T00:24:18.239Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-14T00:24:18.239Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-14T00:24:18.239Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-14T00:24:18.239Z] gpg: CAST5 encrypted data [2023-11-14T00:24:18.239Z] gpg: encrypted with 1 passphrase [2023-11-14T00:24:18.239Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-14T00:24:18.524Z] + mkdir /home/jenkins [2023-11-14T00:24:18.524Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-14T00:24:18.807Z] + 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-11-14T00:24:18.817Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:19.101Z] ---> sigul-install.sh [2023-11-14T00:24:19.101Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-14T00:24:19.387Z] + git tag --list [2023-11-14T00:24:19.387Z] 0.7.1 [2023-11-14T00:24:19.387Z] v1.0.0 [2023-11-14T00:24:19.387Z] v1.1.0 [2023-11-14T00:24:19.387Z] v1.1.1 [2023-11-14T00:24:19.387Z] v1.2.2 [2023-11-14T00:24:19.387Z] v1.3.0 [2023-11-14T00:24:19.387Z] v1.3.1 [2023-11-14T00:24:19.387Z] v2.0.0 [2023-11-14T00:24:19.387Z] v2.1.0 [2023-11-14T00:24:19.387Z] v2.1.1 [2023-11-14T00:24:19.387Z] v2.2.0 [2023-11-14T00:24:19.387Z] v2.3.0 [2023-11-14T00:24:19.387Z] v3.0 [2023-11-14T00:24:19.387Z] v3.0.0 [2023-11-14T00:24:19.387Z] v3.1.0-dev.1 [2023-11-14T00:24:19.387Z] v3.1.0-dev.10 [2023-11-14T00:24:19.387Z] v3.1.0-dev.11 [2023-11-14T00:24:19.387Z] v3.1.0-dev.12 [2023-11-14T00:24:19.387Z] v3.1.0-dev.13 [2023-11-14T00:24:19.387Z] v3.1.0-dev.14 [2023-11-14T00:24:19.387Z] v3.1.0-dev.15 [2023-11-14T00:24:19.387Z] v3.1.0-dev.16 [2023-11-14T00:24:19.387Z] v3.1.0-dev.17 [2023-11-14T00:24:19.387Z] v3.1.0-dev.18 [2023-11-14T00:24:19.387Z] v3.1.0-dev.19 [2023-11-14T00:24:19.387Z] v3.1.0-dev.2 [2023-11-14T00:24:19.387Z] v3.1.0-dev.20 [2023-11-14T00:24:19.387Z] v3.1.0-dev.21 [2023-11-14T00:24:19.387Z] v3.1.0-dev.22 [2023-11-14T00:24:19.387Z] v3.1.0-dev.23 [2023-11-14T00:24:19.387Z] v3.1.0-dev.24 [2023-11-14T00:24:19.387Z] v3.1.0-dev.3 [2023-11-14T00:24:19.387Z] v3.1.0-dev.4 [2023-11-14T00:24:19.387Z] v3.1.0-dev.5 [2023-11-14T00:24:19.387Z] v3.1.0-dev.6 [2023-11-14T00:24:19.387Z] v3.1.0-dev.7 [2023-11-14T00:24:19.387Z] v3.1.0-dev.8 [2023-11-14T00:24:19.387Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-14T00:24:19.676Z] + lftools sign git-tag v3.1.0-dev.24 [2023-11-14T00:24:20.247Z] Signing Git tag with Sigul... [2023-11-14T00:24:20.247Z] Signing v3.1.0-dev.24 [Pipeline] echo [2023-11-14T00:24:20.516Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:20.802Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-14T00:24:20.808Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-14T00:24:20.820Z] $ docker stop --time=1 e5f359f6b50351089d73b03cf56b677814315331f3b55c94c4126cea1c8935da [2023-11-14T00:24:22.122Z] $ docker rm -f --volumes e5f359f6b50351089d73b03cf56b677814315331f3b55c94c4126cea1c8935da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-14T00:24:22.540Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T00:24:22.540Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:24:22.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T00:24:22.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:24:22.936Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:24:22.958Z] $ 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-11-14T00:24:23.292Z] $ docker top 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T00:24:23.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T00:24:23.386Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T00:24:23.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T00:24:23.501Z] $ docker exec 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f ssh-agent [2023-11-14T00:24:23.615Z] SSH_AUTH_SOCK=/tmp/ssh-B6fTzcQkTrhQ/agent.32 [2023-11-14T00:24:23.616Z] SSH_AGENT_PID=38 [2023-11-14T00:24:23.620Z] Running ssh-add (command line suppressed) [2023-11-14T00:24:23.714Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2835289915928376788.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2835289915928376788.key) [2023-11-14T00:24:23.734Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T00:24:24.020Z] + git semver bump pre [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,193 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,193 [bump_version] DEBUG bumping version:3.1.0-dev.24 on axis:pre with prefix:dev [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,193 [bump_version] DEBUG bumped version:3.1.0-dev.25 [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,193 [write_version] DEBUG write version:3.1.0-dev.25 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,193 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,193 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,195 [execute] INFO git cat-file --batch-check [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,200 [execute] INFO git cat-file --batch [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T00:24:24.278Z] 2023-11-14 00:24:24,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:24:24.278Z] 3.1.0-dev.25 [Pipeline] } [2023-11-14T00:24:24.282Z] $ docker exec --env ******** --env ******** 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f ssh-agent -k [2023-11-14T00:24:24.381Z] unset SSH_AUTH_SOCK; [2023-11-14T00:24:24.382Z] unset SSH_AGENT_PID; [2023-11-14T00:24:24.382Z] echo Agent pid 38 killed; [2023-11-14T00:24:24.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T00:24:24.696Z] + git semver [Pipeline] } [2023-11-14T00:24:24.959Z] $ docker stop --time=1 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f [2023-11-14T00:24:26.230Z] $ docker rm -f --volumes 6ff82ff813bdc8c5abf9a509a389065768d3722e1ab3410116f99f53943a178f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T00:24:26.576Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T00:24:26.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:24:26.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T00:24:26.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:24:26.930Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:24:26.951Z] $ 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-11-14T00:24:27.293Z] $ docker top fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T00:24:27.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T00:24:27.376Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T00:24:27.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T00:24:27.489Z] $ docker exec fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc ssh-agent [2023-11-14T00:24:27.612Z] SSH_AUTH_SOCK=/tmp/ssh-uRXBwnlMYjTy/agent.32 [2023-11-14T00:24:27.612Z] SSH_AGENT_PID=38 [2023-11-14T00:24:27.618Z] Running ssh-add (command line suppressed) [2023-11-14T00:24:27.727Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16540451182654963425.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16540451182654963425.key) [2023-11-14T00:24:27.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T00:24:28.032Z] + git semver push [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,199 [run_push] DEBUG push [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,200 [execute] INFO git cat-file --batch-check [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,204 [execute] INFO git rev-list 9eb252048e07c350d413648ad72f560747b1c8e0 -- [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,204 [execute] DEBUG Popen(['git', 'rev-list', '9eb252048e07c350d413648ad72f560747b1c8e0', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,214 [execute] INFO git fetch -v origin [2023-11-14T00:24:28.291Z] 2023-11-14 00:24:28,214 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-14T00:24:28.857Z] 2023-11-14 00:24:28,757 [run_push] DEBUG no remote changes detected [2023-11-14T00:24:28.857Z] 2023-11-14 00:24:28,758 [execute] INFO git push origin semver [2023-11-14T00:24:28.857Z] 2023-11-14 00:24:28,758 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-14T00:24:29.793Z] 2023-11-14 00:24:29,597 [run_push] DEBUG push all version tags [2023-11-14T00:24:29.793Z] 2023-11-14 00:24:29,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-14T00:24:29.793Z] 2023-11-14 00:24:29,598 [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-11-14T00:24:30.728Z] 2023-11-14 00:24:30,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-14T00:24:30.728Z] 3.1.0-dev.25 [Pipeline] } [2023-11-14T00:24:30.730Z] $ docker exec --env ******** --env ******** fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc ssh-agent -k [2023-11-14T00:24:30.834Z] unset SSH_AUTH_SOCK; [2023-11-14T00:24:30.834Z] unset SSH_AGENT_PID; [2023-11-14T00:24:30.835Z] echo Agent pid 38 killed; [2023-11-14T00:24:30.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T00:24:31.157Z] + git semver [Pipeline] } [2023-11-14T00:24:31.423Z] $ docker stop --time=1 fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc [2023-11-14T00:24:32.736Z] $ docker rm -f --volumes fbb088edf65d47a88029202fa59b2f5cf2b51e45bc6b2648588f424cad8846dc [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-11-14T00:24:33.326Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-11-14T00:24:33.326Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-11-14T00:24:33.326Z] total 16 [2023-11-14T00:24:33.326Z] drwxr-xr-x 3 root root 4096 Nov 14 00:14 . [2023-11-14T00:24:33.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 00:24 .. [2023-11-14T00:24:33.326Z] drwxr-xr-x 2 root root 4096 Nov 14 00:14 cost [2023-11-14T00:24:33.326Z] -rw-r--r-- 1 root root 86 Nov 14 00:14 cost.csv [2023-11-14T00:24:33.326Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-11-14T00:24:33.326Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-11-14T00:24:33.326Z] total 16 [2023-11-14T00:24:33.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 00:14 . [2023-11-14T00:24:33.326Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 00:24 .. [2023-11-14T00:24:33.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 00:14 cost [2023-11-14T00:24:33.326Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:33.617Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:34.546Z] ---> package-listing.sh [2023-11-14T00:24:34.546Z] ++ facter osfamily [2023-11-14T00:24:34.546Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T00:24:34.546Z] + OS_FAMILY=debian [2023-11-14T00:24:34.546Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-11-14T00:24:34.546Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T00:24:34.546Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T00:24:34.546Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T00:24:34.546Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T00:24:34.546Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-11-14T00:24:34.546Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T00:24:34.546Z] + case "${OS_FAMILY}" in [2023-11-14T00:24:34.546Z] + dpkg -l [2023-11-14T00:24:34.546Z] + grep '^ii' [2023-11-14T00:24:34.546Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T00:24:34.546Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T00:24:34.546Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T00:24:34.546Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-11-14T00:24:34.546Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-11-14T00:24:34.546Z] + 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-11-14T00:24:34.559Z] 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-11-14T00:24:34.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T00:24:35.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T00:24:35.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T00:24:35.282Z] prd-ubuntu20.04-docker-8c-8g-17419 does not seem to be running inside a container [2023-11-14T00:24:35.307Z] $ 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-11-14T00:24:35.542Z] $ docker top 4943dd5f5624ef94a471c08712010f901174d759ff71a561b6e53406738bbcb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T00:24:35.899Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T00:24:36.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T00:24:36.473Z] + ls /var/log/sa-host [2023-11-14T00:24:36.473Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T00:24:36.548Z] provisioning config files... [2023-11-14T00:24:36.557Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1429626022813144431tmp [Pipeline] { [Pipeline] echo [2023-11-14T00:24:36.573Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:36.856Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T00:24:36.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:37.196Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T00:24:37.207Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:37.489Z] ---> sudo-logs.sh [2023-11-14T00:24:37.489Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T00:24:37.518Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:37.804Z] ---> job-cost.sh [2023-11-14T00:24:37.804Z] lf-activate-venv: SKIPPING [2023-11-14T00:24:37.804Z] DEBUG: total: 0.2199999988079071 [2023-11-14T00:24:37.804Z] INFO: Retrieving Stack Cost... [2023-11-14T00:24:38.062Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T00:24:38.633Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T00:24:38.645Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T00:24:38.929Z] ---> logs-deploy.sh [2023-11-14T00:24:38.929Z] lf-activate-venv: SKIPPING [2023-11-14T00:24:38.929Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/152 [2023-11-14T00:24:38.929Z] INFO: archiving workspace using pattern(s): [2023-11-14T00:24:39.863Z] Archives upload complete. [2023-11-14T00:24:39.863Z] INFO: archiving logs to Nexus