Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1e63b1ff18fadb50f5646486da837eb774535ec 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-ssh3455693112207418255.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8526763191735815029.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6628532399863886853.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2028327012849606125.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-ssh1934240947733058456.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7669’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7672 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b1e63b1ff18fadb50f5646486da837eb774535ec (main) Commit message: "Merge pull request #628 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1e63b1ff18fadb50f5646486da837eb774535ec # timeout=10 > git rev-list --no-walk 546b5734ca37b76ffe84c7857d50ac45e183bb78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-23T04:29:58.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-23T04:29:58.866Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-23T04:29:58.884Z] ========================================================= [2023-09-23T04:29:58.884Z] EdgeX Global Pipelines Version Info [2023-09-23T04:29:58.884Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:29:59.600Z] ------------------- [2023-09-23T04:29:59.600Z] stable info: [2023-09-23T04:29:59.600Z] ------------------- [2023-09-23T04:29:59.600Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-23T04:29:59.600Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T04:29:59.600Z] Message: update stable to v1.0.254 [2023-09-23T04:30:00.168Z] ------------------- [2023-09-23T04:30:00.168Z] experimental info: [2023-09-23T04:30:00.168Z] ------------------- [2023-09-23T04:30:00.168Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-23T04:30:00.168Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T04:30:00.168Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-23T04:30:00.335Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-23T04:30:00.346Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-23T04:30:00.361Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-23T04:30:00.373Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-23T04:30:00.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-23T04:30:00.395Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-23T04:30:00.410Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-23T04:30:00.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-23T04:30:00.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-23T04:30:00.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-23T04:30:00.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-23T04:30:00.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-23T04:30:00.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-23T04:30:00.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-23T04:30:00.537Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T04:30:00.549Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T04:30:00.558Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T04:30:00.568Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T04:30:00.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-23T04:30:00.595Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-23T04:30:00.608Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-23T04:30:00.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-23T04:30:00.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-23T04:30:00.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-23T04:30:00.672Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-23T04:30:00.692Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-23T04:30:00.704Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-23T04:30:00.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-23T04:30:00.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-23T04:30:00.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-23T04:30:00.759Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] echo [2023-09-23T04:30:00.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1e63b1 [Pipeline] echo [2023-09-23T04:30:00.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:30:00.843Z] provisioning config files... [2023-09-23T04:30:00.857Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config190476057091506912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:30:01.159Z] ---> docker-login.sh [2023-09-23T04:30:01.159Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:30:01.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:01.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:01.424Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:01.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:01.424Z] [2023-09-23T04:30:01.424Z] Login Succeeded [2023-09-23T04:30:01.424Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:30:01.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:01.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:01.687Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:01.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:01.687Z] [2023-09-23T04:30:01.687Z] Login Succeeded [2023-09-23T04:30:01.687Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:30:01.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:01.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:01.687Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:01.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:01.687Z] [2023-09-23T04:30:01.687Z] Login Succeeded [2023-09-23T04:30:01.687Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:30:01.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:01.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:01.947Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:01.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:01.947Z] [2023-09-23T04:30:01.947Z] Login Succeeded [2023-09-23T04:30:01.947Z] docker.io [2023-09-23T04:30:01.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:02.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:02.518Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:02.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:02.518Z] [2023-09-23T04:30:02.518Z] Login Succeeded [2023-09-23T04:30:02.518Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:30:02.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-23T04:30:02.911Z] + git rev-list -1 --merges b1e63b1ff18fadb50f5646486da837eb774535ec~1..b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] echo [2023-09-23T04:30:02.992Z] -----------> git rev-list -1 --merges b1e63b1ff18fadb50f5646486da837eb774535ec~1..b1e63b1ff18fadb50f5646486da837eb774535ec b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:30:02.992Z] b1e63b1ff18fadb50f5646486da837eb774535ec [false] [Pipeline] sh [2023-09-23T04:30:03.278Z] + git log --format=format:%s -1 b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] echo [2023-09-23T04:30:03.292Z] ========================================================= [2023-09-23T04:30:03.292Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-23T04:30:03.292Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T04:30:03.636Z] + git log --format=format:%s -1 b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] echo [2023-09-23T04:30:03.645Z] [semverPrep] GIT_COMMIT: b1e63b1ff18fadb50f5646486da837eb774535ec, Commit Message: Merge pull request #628 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29 [Pipeline] echo [2023-09-23T04:30:03.654Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-23T04:30:03.995Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:30:03.995Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-23T04:30:03.995Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-23T04:30:03.995Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-23T04:30:03.995Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-23T04:30:03.995Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-23T04:30:03.995Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:30:04.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:30:04.352Z] [2023-09-23T04:30:04.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:30:04.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:30:04.650Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-23T04:30:04.650Z] b85a868b505f: Pulling fs layer [2023-09-23T04:30:04.650Z] e2be974225ed: Pulling fs layer [2023-09-23T04:30:04.650Z] 339a4e72a1f5: Pulling fs layer [2023-09-23T04:30:04.650Z] 988bab9f4d93: Pulling fs layer [2023-09-23T04:30:04.650Z] 1469e6f7b9e6: Pulling fs layer [2023-09-23T04:30:04.650Z] eaf3925da568: Pulling fs layer [2023-09-23T04:30:04.650Z] bab4dde63d76: Pulling fs layer [2023-09-23T04:30:04.650Z] bde34c3a00c8: Pulling fs layer [2023-09-23T04:30:04.650Z] b352a97aabf1: Pulling fs layer [2023-09-23T04:30:04.650Z] 4872d77fe225: Pulling fs layer [2023-09-23T04:30:04.650Z] 5851b861e8e6: Pulling fs layer [2023-09-23T04:30:04.650Z] bab4dde63d76: Waiting [2023-09-23T04:30:04.650Z] 988bab9f4d93: Waiting [2023-09-23T04:30:04.650Z] bde34c3a00c8: Waiting [2023-09-23T04:30:04.650Z] 1469e6f7b9e6: Waiting [2023-09-23T04:30:04.650Z] eaf3925da568: Waiting [2023-09-23T04:30:04.650Z] b352a97aabf1: Waiting [2023-09-23T04:30:04.650Z] 4872d77fe225: Waiting [2023-09-23T04:30:04.650Z] e2be974225ed: Verifying Checksum [2023-09-23T04:30:04.650Z] e2be974225ed: Download complete [2023-09-23T04:30:04.650Z] 988bab9f4d93: Verifying Checksum [2023-09-23T04:30:04.650Z] 988bab9f4d93: Download complete [2023-09-23T04:30:04.650Z] 1469e6f7b9e6: Verifying Checksum [2023-09-23T04:30:04.650Z] 1469e6f7b9e6: Download complete [2023-09-23T04:30:04.650Z] 339a4e72a1f5: Verifying Checksum [2023-09-23T04:30:04.650Z] 339a4e72a1f5: Download complete [2023-09-23T04:30:04.650Z] eaf3925da568: Verifying Checksum [2023-09-23T04:30:04.650Z] eaf3925da568: Download complete [2023-09-23T04:30:04.909Z] bde34c3a00c8: Download complete [2023-09-23T04:30:04.909Z] b352a97aabf1: Verifying Checksum [2023-09-23T04:30:04.909Z] b352a97aabf1: Download complete [2023-09-23T04:30:04.909Z] 4872d77fe225: Download complete [2023-09-23T04:30:04.909Z] 5851b861e8e6: Verifying Checksum [2023-09-23T04:30:04.909Z] 5851b861e8e6: Download complete [2023-09-23T04:30:04.909Z] b85a868b505f: Verifying Checksum [2023-09-23T04:30:04.909Z] b85a868b505f: Download complete [2023-09-23T04:30:05.167Z] bab4dde63d76: Verifying Checksum [2023-09-23T04:30:05.167Z] bab4dde63d76: Download complete [2023-09-23T04:30:06.104Z] b85a868b505f: Pull complete [2023-09-23T04:30:06.363Z] e2be974225ed: Pull complete [2023-09-23T04:30:06.622Z] 339a4e72a1f5: Pull complete [2023-09-23T04:30:06.882Z] 988bab9f4d93: Pull complete [2023-09-23T04:30:07.142Z] 1469e6f7b9e6: Pull complete [2023-09-23T04:30:07.142Z] eaf3925da568: Pull complete [2023-09-23T04:30:09.044Z] bab4dde63d76: Pull complete [2023-09-23T04:30:09.044Z] bde34c3a00c8: Pull complete [2023-09-23T04:30:09.044Z] b352a97aabf1: Pull complete [2023-09-23T04:30:09.044Z] 4872d77fe225: Pull complete [2023-09-23T04:30:09.044Z] 5851b861e8e6: Pull complete [2023-09-23T04:30:09.044Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-23T04:30:09.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:30:09.044Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:30:09.179Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:30:09.213Z] $ 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-09-23T04:30:13.298Z] $ docker top ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 -eo pid,comm [2023-09-23T04:30:13.357Z] 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-09-23T04:30:13.357Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:30:13.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:30:13.402Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:30:13.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:30:13.536Z] $ docker exec ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 ssh-agent [2023-09-23T04:30:13.639Z] SSH_AUTH_SOCK=/tmp/ssh-3l2QFQ0HE3aP/agent.30 [2023-09-23T04:30:13.639Z] SSH_AGENT_PID=36 [2023-09-23T04:30:13.650Z] Running ssh-add (command line suppressed) [2023-09-23T04:30:13.751Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6449677363868042602.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6449677363868042602.key) [2023-09-23T04:30:13.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:30:14.051Z] + git tag --points-at HEAD [Pipeline] } [2023-09-23T04:30:14.072Z] $ docker exec --env ******** --env ******** ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 ssh-agent -k [2023-09-23T04:30:14.174Z] unset SSH_AUTH_SOCK; [2023-09-23T04:30:14.175Z] unset SSH_AGENT_PID; [2023-09-23T04:30:14.175Z] echo Agent pid 36 killed; [2023-09-23T04:30:14.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-23T04:30:14.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:30:14.215Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:30:14.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:30:14.331Z] $ docker exec ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 ssh-agent [2023-09-23T04:30:14.433Z] SSH_AUTH_SOCK=/tmp/ssh-WN3qOtIlov0R/agent.68 [2023-09-23T04:30:14.433Z] SSH_AGENT_PID=74 [2023-09-23T04:30:14.439Z] Running ssh-add (command line suppressed) [2023-09-23T04:30:14.542Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3621711909309774729.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3621711909309774729.key) [2023-09-23T04:30:14.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:30:14.844Z] + git semver init [2023-09-23T04:30:15.104Z] 2023-09-23 04:30:15,030 [run_init] DEBUG init version:0.0.0 force:False [2023-09-23T04:30:15.104Z] 2023-09-23 04:30:15,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-23T04:30:15.104Z] 2023-09-23 04:30:15,032 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-23T04:30:15.104Z] 2023-09-23 04:30:15,032 [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-09-23T04:30:16.042Z] 2023-09-23 04:30:15,808 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-09-23T04:30:16.042Z] 2023-09-23 04:30:15,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-09-23T04:30:16.042Z] 2023-09-23 04:30:15,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:30:16.042Z] 2023-09-23 04:30:15,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:30:16.042Z] 3.1.0-dev.13 [Pipeline] } [2023-09-23T04:30:16.053Z] $ docker exec --env ******** --env ******** ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 ssh-agent -k [2023-09-23T04:30:16.163Z] unset SSH_AUTH_SOCK; [2023-09-23T04:30:16.163Z] unset SSH_AGENT_PID; [2023-09-23T04:30:16.165Z] echo Agent pid 74 killed; [2023-09-23T04:30:16.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:30:16.490Z] + git semver [Pipeline] } [2023-09-23T04:30:17.075Z] $ docker stop --time=1 ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 [2023-09-23T04:30:18.370Z] $ docker rm -f --volumes ec12225589b1b55f640889fbf820bbf5d740db96ab4f502393adbfa00ee82658 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:30:18.705Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-23T04:30:18.924Z] Stashed 1 file(s) [Pipeline] echo [2023-09-23T04:30:18.926Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [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-09-23T04:30:19.070Z] provisioning config files... [2023-09-23T04:30:19.080Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4385325997675501511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:30:19.379Z] ---> docker-login.sh [2023-09-23T04:30:19.379Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:30:19.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:19.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:19.379Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:19.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:19.379Z] [2023-09-23T04:30:19.379Z] Login Succeeded [2023-09-23T04:30:19.379Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:30:19.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:19.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:19.379Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:19.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:19.379Z] [2023-09-23T04:30:19.379Z] Login Succeeded [2023-09-23T04:30:19.379Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:30:19.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:19.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:19.643Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:19.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:19.643Z] [2023-09-23T04:30:19.643Z] Login Succeeded [2023-09-23T04:30:19.643Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:30:19.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:19.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:19.643Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:19.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:19.643Z] [2023-09-23T04:30:19.643Z] Login Succeeded [2023-09-23T04:30:19.643Z] docker.io [2023-09-23T04:30:19.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:30:19.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:30:19.903Z] Configure a credential helper to remove this warning. See [2023-09-23T04:30:19.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:30:19.903Z] [2023-09-23T04:30:19.903Z] Login Succeeded [2023-09-23T04:30:19.903Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:30:19.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T04:30:19.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:30:19.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:30:20.009Z] ========================================================= [2023-09-23T04:30:20.009Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-23T04:30:20.009Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:30:20.315Z] + 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-09-23T04:30:20.315Z] Sending build context to Docker daemon 6.493MB [2023-09-23T04:30:20.315Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:30:20.315Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-23T04:30:20.315Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-23T04:30:20.315Z] 7264a8db6415: Pulling fs layer [2023-09-23T04:30:20.315Z] c4d48a809fc2: Pulling fs layer [2023-09-23T04:30:20.315Z] 4f1c88b9dad5: Pulling fs layer [2023-09-23T04:30:20.315Z] ad3a456e5733: Pulling fs layer [2023-09-23T04:30:20.315Z] 33e27b845d1e: Pulling fs layer [2023-09-23T04:30:20.315Z] c68163c4e522: Pulling fs layer [2023-09-23T04:30:20.315Z] 50da416c3ac9: Pulling fs layer [2023-09-23T04:30:20.315Z] 23d2d4c4bb30: Pulling fs layer [2023-09-23T04:30:20.315Z] 33e27b845d1e: Waiting [2023-09-23T04:30:20.315Z] c68163c4e522: Waiting [2023-09-23T04:30:20.315Z] 50da416c3ac9: Waiting [2023-09-23T04:30:20.315Z] 23d2d4c4bb30: Waiting [2023-09-23T04:30:20.315Z] ad3a456e5733: Waiting [2023-09-23T04:30:20.315Z] c4d48a809fc2: Download complete [2023-09-23T04:30:20.315Z] ad3a456e5733: Verifying Checksum [2023-09-23T04:30:20.315Z] ad3a456e5733: Download complete [2023-09-23T04:30:20.315Z] 33e27b845d1e: Verifying Checksum [2023-09-23T04:30:20.315Z] 33e27b845d1e: Download complete [2023-09-23T04:30:20.576Z] 7264a8db6415: Verifying Checksum [2023-09-23T04:30:20.576Z] 7264a8db6415: Download complete [2023-09-23T04:30:20.576Z] c68163c4e522: Verifying Checksum [2023-09-23T04:30:20.576Z] c68163c4e522: Download complete [2023-09-23T04:30:20.576Z] 7264a8db6415: Pull complete [2023-09-23T04:30:20.576Z] 23d2d4c4bb30: Verifying Checksum [2023-09-23T04:30:20.576Z] 23d2d4c4bb30: Download complete [2023-09-23T04:30:20.835Z] c4d48a809fc2: Pull complete [2023-09-23T04:30:20.835Z] 4f1c88b9dad5: Verifying Checksum [2023-09-23T04:30:20.835Z] 4f1c88b9dad5: Download complete [2023-09-23T04:30:21.094Z] 50da416c3ac9: Verifying Checksum [2023-09-23T04:30:21.094Z] 50da416c3ac9: Download complete [2023-09-23T04:30:24.406Z] 4f1c88b9dad5: Pull complete [2023-09-23T04:30:24.406Z] ad3a456e5733: Pull complete [2023-09-23T04:30:24.406Z] 33e27b845d1e: Pull complete [2023-09-23T04:30:24.406Z] c68163c4e522: Pull complete [2023-09-23T04:30:26.308Z] 50da416c3ac9: Pull complete [2023-09-23T04:30:26.874Z] 23d2d4c4bb30: Pull complete [2023-09-23T04:30:26.874Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-23T04:30:26.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-23T04:30:26.874Z] ---> 0786185ac409 [2023-09-23T04:30:26.874Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:30:33.438Z] ---> Running in 6164e073699e [2023-09-23T04:30:33.438Z] Removing intermediate container 6164e073699e [2023-09-23T04:30:33.438Z] ---> 9909bb3f9e51 [2023-09-23T04:30:33.438Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:30:33.438Z] ---> Running in 26754ab9f371 [2023-09-23T04:30:33.438Z] Removing intermediate container 26754ab9f371 [2023-09-23T04:30:33.438Z] ---> 343ff430695d [2023-09-23T04:30:33.438Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T04:30:33.438Z] ---> Running in 6611522e9178 [2023-09-23T04:30:33.698Z] Removing intermediate container 6611522e9178 [2023-09-23T04:30:33.698Z] ---> 83308a458f9f [2023-09-23T04:30:33.698Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T04:30:33.698Z] ---> Running in 6cde71f20c62 [2023-09-23T04:30:33.698Z] Removing intermediate container 6cde71f20c62 [2023-09-23T04:30:33.698Z] ---> 4d50d6df16bf [2023-09-23T04:30:33.698Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T04:30:33.698Z] ---> Running in 4df6a028b783 [2023-09-23T04:30:33.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T04:30:34.034Z] Still waiting to schedule task [2023-09-23T04:30:34.035Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7671’ [2023-09-23T04:30:34.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T04:30:34.477Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-23T04:30:34.477Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-23T04:30:34.477Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-23T04:30:34.477Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-23T04:30:34.477Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:30:34.477Z] OK: 268 MiB in 56 packages [2023-09-23T04:30:35.046Z] Removing intermediate container 4df6a028b783 [2023-09-23T04:30:35.046Z] ---> 0e97be5c1f9d [2023-09-23T04:30:35.046Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-23T04:30:35.046Z] ---> Running in 3de745f636ce [2023-09-23T04:30:35.046Z] Removing intermediate container 3de745f636ce [2023-09-23T04:30:35.046Z] ---> a6b71faead58 [2023-09-23T04:30:35.046Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-23T04:30:35.305Z] ---> 83a2d9dc7091 [2023-09-23T04:30:35.305Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:30:35.305Z] ---> Running in eb80ab1ea6d2 [2023-09-23T04:31:14.037Z] Removing intermediate container eb80ab1ea6d2 [2023-09-23T04:31:14.037Z] ---> 58bb9a132dae [2023-09-23T04:31:14.037Z] Step 11/12 : COPY . . [2023-09-23T04:31:14.037Z] ---> 4e4f958993d8 [2023-09-23T04:31:14.037Z] Step 12/12 : RUN $MAKE [2023-09-23T04:31:14.037Z] ---> Running in b8f2eb336b1b [2023-09-23T04:31:14.037Z] noop [2023-09-23T04:31:14.037Z] Removing intermediate container b8f2eb336b1b [2023-09-23T04:31:14.037Z] ---> 83f007ee1531 [2023-09-23T04:31:14.037Z] Successfully built 83f007ee1531 [2023-09-23T04:31:14.037Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:31:14.342Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T04:31:14.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:31:14.413Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:31:14.451Z] $ 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-09-23T04:31:14.834Z] $ docker top 4644f781d337a449b0e897e08c5dc11e2a9a99638af7e13916714a5baf4297e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:31:15.208Z] + go version [2023-09-23T04:31:15.208Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-23T04:31:15.219Z] $ docker stop --time=1 4644f781d337a449b0e897e08c5dc11e2a9a99638af7e13916714a5baf4297e9 [2023-09-23T04:31:16.476Z] $ docker rm -f --volumes 4644f781d337a449b0e897e08c5dc11e2a9a99638af7e13916714a5baf4297e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:31:16.910Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T04:31:16.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:31:16.985Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:31:17.012Z] $ 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-09-23T04:31:17.331Z] $ docker top bbf5c1f2c142ad7548551018553de35df3c43a78f332482c59e00ee5f8f0f055 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:31:17.667Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-23T04:31:17.962Z] + make test [2023-09-23T04:31:17.962Z] go test ./... -coverprofile=coverage.out ./... [2023-09-23T04:31:19.862Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-23T04:31:29.821Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-23T04:31:29.821Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-23T04:31:29.821Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-09-23T04:31:36.379Z] go vet ./... [2023-09-23T04:31:38.903Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T04:31:38.903Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T04:31:38.903Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T04:31:38.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T04:31:38.931Z] $ docker stop --time=1 bbf5c1f2c142ad7548551018553de35df3c43a78f332482c59e00ee5f8f0f055 [2023-09-23T04:31:43.253Z] $ docker rm -f --volumes bbf5c1f2c142ad7548551018553de35df3c43a78f332482c59e00ee5f8f0f055 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:31:43.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T04:31:43.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-23T04:31:44.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T04:31:44.563Z] + ls -al . [2023-09-23T04:31:44.563Z] total 188 [2023-09-23T04:31:44.563Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 04:31 . [2023-09-23T04:31:44.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:29 .. [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 04:29 .dockerignore [2023-09-23T04:31:44.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:31 .git [2023-09-23T04:31:44.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:29 .github [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 23 04:29 .gitignore [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 04:29 .golangci.yml [2023-09-23T04:31:44.563Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 04:30 .semver [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 23 04:29 Attribution.txt [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 23 04:29 CHANGELOG.md [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 23 04:29 Dockerfile [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 04:29 GOVERNANCE.md [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 23 04:29 Jenkinsfile [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 04:29 LICENSE [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 23 04:29 Makefile [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 04:29 OWNERS.md [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 23 04:29 README.md [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 04:30 VERSION [2023-09-23T04:31:44.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:29 bin [2023-09-23T04:31:44.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:29 cmd [2023-09-23T04:31:44.563Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 23 04:31 coverage.out [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 23 04:29 go.mod [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 23 04:29 go.sum [2023-09-23T04:31:44.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:29 internal [2023-09-23T04:31:44.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:29 mock [2023-09-23T04:31:44.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:29 snap [2023-09-23T04:31:44.563Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 23 04:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:31:44.889Z] + 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=b1e63b1ff18fadb50f5646486da837eb774535ec --label arch=amd64 --label version=3.1.0-dev.13 . [2023-09-23T04:31:44.889Z] Sending build context to Docker daemon 6.512MB [2023-09-23T04:31:44.889Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:31:44.889Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-23T04:31:44.889Z] ---> 83f007ee1531 [2023-09-23T04:31:44.889Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:31:45.148Z] ---> Running in f76c4fb687fa [2023-09-23T04:31:45.148Z] Removing intermediate container f76c4fb687fa [2023-09-23T04:31:45.148Z] ---> 66355422f464 [2023-09-23T04:31:45.148Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:31:45.148Z] ---> Running in 5b016e0e143c [2023-09-23T04:31:45.148Z] Removing intermediate container 5b016e0e143c [2023-09-23T04:31:45.148Z] ---> b724304325a9 [2023-09-23T04:31:45.148Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T04:31:45.408Z] ---> Running in 7baa97f7682d [2023-09-23T04:31:45.408Z] Removing intermediate container 7baa97f7682d [2023-09-23T04:31:45.408Z] ---> dbabf7f3cad0 [2023-09-23T04:31:45.408Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T04:31:45.408Z] ---> Running in 0861a61caf3d [2023-09-23T04:31:45.408Z] Removing intermediate container 0861a61caf3d [2023-09-23T04:31:45.408Z] ---> 64fd3bdc039c [2023-09-23T04:31:45.408Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T04:31:45.666Z] ---> Running in 8491879c80dc [2023-09-23T04:31:45.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T04:31:45.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T04:31:46.183Z] OK: 268 MiB in 56 packages [2023-09-23T04:31:46.753Z] Removing intermediate container 8491879c80dc [2023-09-23T04:31:46.753Z] ---> 636c7c274541 [2023-09-23T04:31:46.753Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-23T04:31:46.753Z] ---> Running in 5882455fc5d9 [2023-09-23T04:31:46.753Z] Removing intermediate container 5882455fc5d9 [2023-09-23T04:31:46.753Z] ---> f71809efa8a6 [2023-09-23T04:31:46.753Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-23T04:31:46.753Z] ---> 85125e435bc3 [2023-09-23T04:31:46.753Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:31:47.015Z] ---> Running in 00248ac88a0a [2023-09-23T04:31:47.583Z] Removing intermediate container 00248ac88a0a [2023-09-23T04:31:47.583Z] ---> c3e49eca6fb7 [2023-09-23T04:31:47.583Z] Step 11/24 : COPY . . [2023-09-23T04:31:48.150Z] ---> 6d7ae0538e84 [2023-09-23T04:31:48.151Z] Step 12/24 : RUN $MAKE [2023-09-23T04:31:48.151Z] ---> Running in 4febb9806367 [2023-09-23T04:31:48.409Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-23T04:32:14.961Z] Removing intermediate container 4febb9806367 [2023-09-23T04:32:14.961Z] ---> 29cc78f43dcd [2023-09-23T04:32:14.961Z] Step 13/24 : FROM alpine:3.18 [2023-09-23T04:32:14.961Z] 3.18: Pulling from library/alpine [2023-09-23T04:32:14.961Z] 7264a8db6415: Already exists [2023-09-23T04:32:14.961Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T04:32:14.961Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T04:32:14.961Z] ---> 7e01a0d0a1dc [2023-09-23T04:32:14.961Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-23T04:32:14.961Z] ---> Running in 758fc3336ee1 [2023-09-23T04:32:14.961Z] Removing intermediate container 758fc3336ee1 [2023-09-23T04:32:14.961Z] ---> ce118f099cfa [2023-09-23T04:32:14.961Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-23T04:32:14.961Z] ---> Running in 8bcf85e3cefd [2023-09-23T04:32:14.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T04:32:14.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T04:32:14.961Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-23T04:32:14.961Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:32:14.961Z] OK: 7 MiB in 16 packages [2023-09-23T04:32:14.961Z] Removing intermediate container 8bcf85e3cefd [2023-09-23T04:32:14.961Z] ---> f2169bf68a97 [2023-09-23T04:32:14.961Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-23T04:32:14.961Z] ---> 743e9db01ee4 [2023-09-23T04:32:14.961Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-23T04:32:14.961Z] ---> 6cff18b6e56e [2023-09-23T04:32:14.961Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-23T04:32:14.961Z] ---> e93fc783380e [2023-09-23T04:32:14.961Z] Step 19/24 : EXPOSE 59982 [2023-09-23T04:32:14.961Z] ---> Running in 1ebeae1ca345 [2023-09-23T04:32:14.961Z] Removing intermediate container 1ebeae1ca345 [2023-09-23T04:32:14.961Z] ---> c8b926cce6d1 [2023-09-23T04:32:14.961Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-23T04:32:14.961Z] ---> Running in 253c228c33e2 [2023-09-23T04:32:15.225Z] Removing intermediate container 253c228c33e2 [2023-09-23T04:32:15.225Z] ---> 9e8fe32252f4 [2023-09-23T04:32:15.225Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-23T04:32:15.487Z] ---> Running in dcc2fb0a4abc [2023-09-23T04:32:16.069Z] Removing intermediate container dcc2fb0a4abc [2023-09-23T04:32:16.069Z] ---> 19d06804c59d [2023-09-23T04:32:16.069Z] Step 22/24 : LABEL arch=amd64 [2023-09-23T04:32:16.069Z] ---> Running in 4210983474f4 [2023-09-23T04:32:16.645Z] Removing intermediate container 4210983474f4 [2023-09-23T04:32:16.645Z] ---> 714a6411fb42 [2023-09-23T04:32:16.645Z] Step 23/24 : LABEL git_sha=b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:32:16.910Z] ---> Running in f1f37c1c0bfa [2023-09-23T04:32:16.910Z] Removing intermediate container f1f37c1c0bfa [2023-09-23T04:32:16.910Z] ---> 906e4def23fb [2023-09-23T04:32:16.910Z] Step 24/24 : LABEL version=3.1.0-dev.13 [2023-09-23T04:32:16.910Z] ---> Running in 3d722b4c5da3 [2023-09-23T04:32:17.169Z] Removing intermediate container 3d722b4c5da3 [2023-09-23T04:32:17.169Z] ---> fba8bf8dfa2d [2023-09-23T04:32:17.169Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T04:32:17.169Z] Successfully built fba8bf8dfa2d [2023-09-23T04:32:17.169Z] 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-09-23T04:32:17.274Z] provisioning config files... [2023-09-23T04:32:17.288Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9138031475244822507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:32:17.596Z] ---> docker-login.sh [2023-09-23T04:32:17.596Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:32:17.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:17.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:17.596Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:17.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:17.596Z] [2023-09-23T04:32:17.596Z] Login Succeeded [2023-09-23T04:32:17.596Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:32:17.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:17.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:17.596Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:17.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:17.596Z] [2023-09-23T04:32:17.596Z] Login Succeeded [2023-09-23T04:32:17.596Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:32:17.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:17.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:17.856Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:17.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:17.856Z] [2023-09-23T04:32:17.856Z] Login Succeeded [2023-09-23T04:32:17.856Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:32:17.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:17.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:17.856Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:17.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:17.856Z] [2023-09-23T04:32:17.856Z] Login Succeeded [2023-09-23T04:32:17.856Z] docker.io [2023-09-23T04:32:18.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:32:18.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:32:18.116Z] Configure a credential helper to remove this warning. See [2023-09-23T04:32:18.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:32:18.116Z] [2023-09-23T04:32:18.116Z] Login Succeeded [2023-09-23T04:32:18.116Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:32:18.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:32:18.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:32:18.193Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-09-23T04:32:18.193Z] b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:32:18.193Z] latest [2023-09-23T04:32:18.193Z] 3.1.0-dev.13 [2023-09-23T04:32:18.193Z] b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [2023-09-23T04:32:18.193Z] main [2023-09-23T04:32:18.193Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:18.538Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:18.865Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:32:18.865Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-23T04:32:18.865Z] df481ae10db3: Preparing [2023-09-23T04:32:18.865Z] e6341158cd66: Preparing [2023-09-23T04:32:18.865Z] 77827310dd22: Preparing [2023-09-23T04:32:18.865Z] 0529f454f04d: Preparing [2023-09-23T04:32:18.865Z] 4693057ce236: Preparing [2023-09-23T04:32:18.865Z] 4693057ce236: Layer already exists [2023-09-23T04:32:18.865Z] df481ae10db3: Pushed [2023-09-23T04:32:18.865Z] e6341158cd66: Pushed [2023-09-23T04:32:18.865Z] 0529f454f04d: Pushed [2023-09-23T04:32:21.441Z] 77827310dd22: Pushed [2023-09-23T04:32:21.700Z] b1e63b1ff18fadb50f5646486da837eb774535ec: digest: sha256:e267e89b5fc2e802090611bb61bf005c74333a381ce9eff651bc4d5051537a35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:22.026Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:22.324Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-23T04:32:22.324Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-23T04:32:22.583Z] df481ae10db3: Preparing [2023-09-23T04:32:22.583Z] e6341158cd66: Preparing [2023-09-23T04:32:22.583Z] 77827310dd22: Preparing [2023-09-23T04:32:22.583Z] 0529f454f04d: Preparing [2023-09-23T04:32:22.583Z] 4693057ce236: Preparing [2023-09-23T04:32:22.583Z] 77827310dd22: Layer already exists [2023-09-23T04:32:22.583Z] 4693057ce236: Layer already exists [2023-09-23T04:32:22.583Z] df481ae10db3: Layer already exists [2023-09-23T04:32:22.583Z] e6341158cd66: Layer already exists [2023-09-23T04:32:22.583Z] 0529f454f04d: Layer already exists [2023-09-23T04:32:22.583Z] latest: digest: sha256:e267e89b5fc2e802090611bb61bf005c74333a381ce9eff651bc4d5051537a35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:22.911Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:23.238Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.13 [2023-09-23T04:32:23.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-23T04:32:23.238Z] df481ae10db3: Preparing [2023-09-23T04:32:23.238Z] e6341158cd66: Preparing [2023-09-23T04:32:23.238Z] 77827310dd22: Preparing [2023-09-23T04:32:23.238Z] 0529f454f04d: Preparing [2023-09-23T04:32:23.238Z] 4693057ce236: Preparing [2023-09-23T04:32:23.238Z] 0529f454f04d: Layer already exists [2023-09-23T04:32:23.238Z] 77827310dd22: Layer already exists [2023-09-23T04:32:23.238Z] e6341158cd66: Layer already exists [2023-09-23T04:32:23.238Z] df481ae10db3: Layer already exists [2023-09-23T04:32:23.238Z] 4693057ce236: Layer already exists [2023-09-23T04:32:23.238Z] 3.1.0-dev.13: digest: sha256:e267e89b5fc2e802090611bb61bf005c74333a381ce9eff651bc4d5051537a35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:23.575Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:23.910Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [2023-09-23T04:32:23.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-23T04:32:23.910Z] df481ae10db3: Preparing [2023-09-23T04:32:23.910Z] e6341158cd66: Preparing [2023-09-23T04:32:23.910Z] 77827310dd22: Preparing [2023-09-23T04:32:23.910Z] 0529f454f04d: Preparing [2023-09-23T04:32:23.910Z] 4693057ce236: Preparing [2023-09-23T04:32:23.910Z] e6341158cd66: Layer already exists [2023-09-23T04:32:23.910Z] df481ae10db3: Layer already exists [2023-09-23T04:32:23.910Z] 0529f454f04d: Layer already exists [2023-09-23T04:32:23.910Z] 77827310dd22: Layer already exists [2023-09-23T04:32:23.910Z] 4693057ce236: Layer already exists [2023-09-23T04:32:23.910Z] b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13: digest: sha256:e267e89b5fc2e802090611bb61bf005c74333a381ce9eff651bc4d5051537a35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:24.240Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:24.543Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-09-23T04:32:24.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-23T04:32:25.117Z] df481ae10db3: Preparing [2023-09-23T04:32:25.117Z] e6341158cd66: Preparing [2023-09-23T04:32:25.117Z] 77827310dd22: Preparing [2023-09-23T04:32:25.117Z] 0529f454f04d: Preparing [2023-09-23T04:32:25.117Z] 4693057ce236: Preparing [2023-09-23T04:32:25.117Z] e6341158cd66: Layer already exists [2023-09-23T04:32:25.117Z] 4693057ce236: Layer already exists [2023-09-23T04:32:25.117Z] 77827310dd22: Layer already exists [2023-09-23T04:32:25.117Z] 0529f454f04d: Layer already exists [2023-09-23T04:32:25.117Z] df481ae10db3: Layer already exists [2023-09-23T04:32:25.117Z] main: digest: sha256:e267e89b5fc2e802090611bb61bf005c74333a381ce9eff651bc4d5051537a35 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:32:25.157Z] ===================================================== [Pipeline] echo [2023-09-23T04:32:25.165Z] taggedImages: [2023-09-23T04:32:25.165Z] - nexus3.edgexfoundry.org:10004/device-mqtt:b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:32:25.165Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-23T04:32:25.165Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.13 [2023-09-23T04:32:25.165Z] - nexus3.edgexfoundry.org:10004/device-mqtt:b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [2023-09-23T04:32:25.165Z] - 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-09-23T04:32:25.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:32:25.540Z] [2023-09-23T04:32:25.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:32:25.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:32:28.418Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-23T04:32:28.418Z] 5eb5b503b376: Pulling fs layer [2023-09-23T04:32:28.418Z] 5c69ac0246d0: Pulling fs layer [2023-09-23T04:32:28.418Z] ec43610c2a17: Pulling fs layer [2023-09-23T04:32:28.418Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-23T04:32:28.418Z] 33b1e0a273af: Pulling fs layer [2023-09-23T04:32:28.418Z] 5d3b04190fa2: Pulling fs layer [2023-09-23T04:32:28.418Z] 2f39f015ded8: Pulling fs layer [2023-09-23T04:32:28.418Z] 3a2ae6a8a46f: Waiting [2023-09-23T04:32:28.418Z] 5d3b04190fa2: Waiting [2023-09-23T04:32:28.418Z] 2f39f015ded8: Waiting [2023-09-23T04:32:28.418Z] 33b1e0a273af: Waiting [2023-09-23T04:32:29.754Z] 5c69ac0246d0: Verifying Checksum [2023-09-23T04:32:29.754Z] 5c69ac0246d0: Download complete [2023-09-23T04:32:29.754Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-23T04:32:29.754Z] 3a2ae6a8a46f: Download complete [2023-09-23T04:32:29.754Z] 33b1e0a273af: Verifying Checksum [2023-09-23T04:32:29.754Z] 33b1e0a273af: Download complete [2023-09-23T04:32:29.754Z] 5d3b04190fa2: Verifying Checksum [2023-09-23T04:32:29.754Z] 5d3b04190fa2: Download complete [2023-09-23T04:32:29.754Z] ec43610c2a17: Verifying Checksum [2023-09-23T04:32:29.754Z] ec43610c2a17: Download complete [2023-09-23T04:32:30.020Z] 5eb5b503b376: Download complete [2023-09-23T04:32:30.587Z] 2f39f015ded8: Download complete [2023-09-23T04:32:30.845Z] 5eb5b503b376: Pull complete [2023-09-23T04:32:31.110Z] 5c69ac0246d0: Pull complete [2023-09-23T04:32:31.369Z] ec43610c2a17: Pull complete [2023-09-23T04:32:31.633Z] 3a2ae6a8a46f: Pull complete [2023-09-23T04:32:31.633Z] 33b1e0a273af: Pull complete [2023-09-23T04:32:31.893Z] 5d3b04190fa2: Pull complete [2023-09-23T04:32:36.116Z] 2f39f015ded8: Pull complete [2023-09-23T04:32:36.116Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-23T04:32:36.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:32:36.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:32:36.210Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:32:36.260Z] $ 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-09-23T04:32:46.538Z] $ docker top 37454ce8db699576dea2cf4c1f20da3373bff018a8deea76c6e508010307c7bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:32:46.932Z] ---> job-cost.sh [2023-09-23T04:32:46.932Z] lf-activate-venv: SKIPPING [2023-09-23T04:32:46.932Z] INFO: No Stack... [2023-09-23T04:32:47.200Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T04:32:47.777Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T04:32:48.082Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-09-23T04:32:48.082Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T04:32:48.104Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] [2023-09-23T04:32:48.111Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] did not exist. Created. [2023-09-23T04:32:48.111Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T04:32:48.411Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-23T04:32:48.441Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T04:32:48.447Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T04:32:48.465Z] $ docker stop --time=1 37454ce8db699576dea2cf4c1f20da3373bff018a8deea76c6e508010307c7bf [2023-09-23T04:32:49.925Z] $ docker rm -f --volumes 37454ce8db699576dea2cf4c1f20da3373bff018a8deea76c6e508010307c7bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-23T04:33:31.627Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7676 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-09-23T04:33:31.640Z] Running in /w/workspace/device-mqtt-go/141 [Pipeline] { [Pipeline] checkout [2023-09-23T04:33:31.677Z] The recommended git tool is: git [2023-09-23T04:33:41.509Z] using credential edgex-jenkins-ssh [2023-09-23T04:33:41.525Z] Cloning the remote Git repository [2023-09-23T04:33:41.589Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-23T04:33:41.717Z] > git init /w/workspace/device-mqtt-go/141 # timeout=10 [2023-09-23T04:33:42.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-23T04:33:42.002Z] > git --version # timeout=10 [2023-09-23T04:33:42.034Z] > git --version # 'git version 2.25.1' [2023-09-23T04:33:42.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T04:33:42.260Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T04:33:43.554Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-23T04:33:43.615Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T04:33:45.201Z] Avoid second fetch [2023-09-23T04:33:45.201Z] Checking out Revision b1e63b1ff18fadb50f5646486da837eb774535ec (main) [2023-09-23T04:33:46.058Z] Commit message: "Merge pull request #628 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T04:33:45.234Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T04:33:45.330Z] > git checkout -f b1e63b1ff18fadb50f5646486da837eb774535ec # timeout=10 [2023-09-23T04:33:47.000Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-23T04:33:47.000Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T04:33:47.000Z] Dload Upload Total Spent Left Speed [2023-09-23T04:33:47.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-09-23T04:33:47.638Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-23T04:33:47.971Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-23T04:33:47.971Z] + sudo tee /etc/docker/daemon.new [2023-09-23T04:33:47.971Z] { [2023-09-23T04:33:47.971Z] "registry-mirrors": [ [2023-09-23T04:33:47.971Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-23T04:33:47.971Z] ], [2023-09-23T04:33:47.971Z] "bip": "10.250.0.254/24", [2023-09-23T04:33:47.971Z] "hosts": [ [2023-09-23T04:33:47.971Z] "tcp://0.0.0.0:5555", [2023-09-23T04:33:47.971Z] "unix:///var/run/docker.sock" [2023-09-23T04:33:47.971Z] ], [2023-09-23T04:33:47.971Z] "mtu": 1458, [2023-09-23T04:33:47.971Z] "selinux-enabled": true, [2023-09-23T04:33:47.971Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-23T04:33:47.971Z] } [Pipeline] sh [2023-09-23T04:33:48.310Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-23T04:33:48.673Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:34:07.199Z] provisioning config files... [2023-09-23T04:34:07.233Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/141@tmp/config8415792057214649395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:34:07.603Z] ---> docker-login.sh [2023-09-23T04:34:07.603Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:34:08.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:08.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:08.194Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:08.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:08.194Z] [2023-09-23T04:34:08.194Z] Login Succeeded [2023-09-23T04:34:08.194Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:34:08.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:11.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:11.068Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:11.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:11.068Z] [2023-09-23T04:34:11.068Z] Login Succeeded [2023-09-23T04:34:11.068Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:34:11.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:11.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:11.068Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:11.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:11.068Z] [2023-09-23T04:34:11.657Z] Login Succeeded [2023-09-23T04:34:11.657Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:34:11.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:11.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:11.930Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:11.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:11.930Z] [2023-09-23T04:34:11.930Z] Login Succeeded [2023-09-23T04:34:11.930Z] docker.io [2023-09-23T04:34:12.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:34:12.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:34:12.475Z] Configure a credential helper to remove this warning. See [2023-09-23T04:34:12.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:34:12.475Z] [2023-09-23T04:34:12.475Z] Login Succeeded [2023-09-23T04:34:12.476Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:34:12.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T04:34:12.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:34:12.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:34:12.843Z] ========================================================= [2023-09-23T04:34:12.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-23T04:34:12.843Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:34:13.198Z] + 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-09-23T04:34:13.469Z] Sending build context to Docker daemon 3.347MB [2023-09-23T04:34:13.469Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:34:13.469Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-23T04:34:13.744Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-23T04:34:13.744Z] 9fda8d8052c6: Pulling fs layer [2023-09-23T04:34:13.744Z] 5d54e960e981: Pulling fs layer [2023-09-23T04:34:13.744Z] c4a7e357bf2a: Pulling fs layer [2023-09-23T04:34:13.744Z] f0e02332f6b5: Pulling fs layer [2023-09-23T04:34:13.744Z] cefa15bbcfad: Pulling fs layer [2023-09-23T04:34:13.744Z] 17808c966233: Pulling fs layer [2023-09-23T04:34:13.744Z] f4c1fc716caa: Pulling fs layer [2023-09-23T04:34:13.744Z] f0e02332f6b5: Waiting [2023-09-23T04:34:13.744Z] cefa15bbcfad: Waiting [2023-09-23T04:34:13.744Z] 17808c966233: Waiting [2023-09-23T04:34:13.744Z] f4c1fc716caa: Waiting [2023-09-23T04:34:13.744Z] 5d54e960e981: Download complete [2023-09-23T04:34:13.744Z] f0e02332f6b5: Verifying Checksum [2023-09-23T04:34:13.744Z] f0e02332f6b5: Download complete [2023-09-23T04:34:13.744Z] cefa15bbcfad: Verifying Checksum [2023-09-23T04:34:13.744Z] cefa15bbcfad: Download complete [2023-09-23T04:34:13.744Z] 9fda8d8052c6: Verifying Checksum [2023-09-23T04:34:13.744Z] 9fda8d8052c6: Download complete [2023-09-23T04:34:14.348Z] f4c1fc716caa: Verifying Checksum [2023-09-23T04:34:14.348Z] f4c1fc716caa: Download complete [2023-09-23T04:34:14.939Z] 9fda8d8052c6: Pull complete [2023-09-23T04:34:15.211Z] 5d54e960e981: Pull complete [2023-09-23T04:34:15.803Z] c4a7e357bf2a: Verifying Checksum [2023-09-23T04:34:15.803Z] c4a7e357bf2a: Download complete [2023-09-23T04:34:16.774Z] 17808c966233: Verifying Checksum [2023-09-23T04:34:16.774Z] 17808c966233: Download complete [2023-09-23T04:34:29.158Z] c4a7e357bf2a: Pull complete [2023-09-23T04:34:29.158Z] f0e02332f6b5: Pull complete [2023-09-23T04:34:29.158Z] cefa15bbcfad: Pull complete [2023-09-23T04:34:34.559Z] 17808c966233: Pull complete [2023-09-23T04:34:36.556Z] f4c1fc716caa: Pull complete [2023-09-23T04:34:36.556Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-23T04:34:36.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-23T04:34:36.556Z] ---> ea914061e18c [2023-09-23T04:34:36.556Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:34:38.516Z] ---> Running in 9bf0758105bc [2023-09-23T04:34:38.516Z] Removing intermediate container 9bf0758105bc [2023-09-23T04:34:38.516Z] ---> ae033bb9c0a9 [2023-09-23T04:34:38.516Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:34:38.516Z] ---> Running in 3fb4e24fe491 [2023-09-23T04:34:38.788Z] Removing intermediate container 3fb4e24fe491 [2023-09-23T04:34:38.788Z] ---> 91374d663685 [2023-09-23T04:34:38.788Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T04:34:39.058Z] ---> Running in 81d18f0dbe39 [2023-09-23T04:34:39.327Z] Removing intermediate container 81d18f0dbe39 [2023-09-23T04:34:39.327Z] ---> c81c70a6b8ca [2023-09-23T04:34:39.327Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T04:34:39.327Z] ---> Running in efa42efc8a82 [2023-09-23T04:34:39.597Z] Removing intermediate container efa42efc8a82 [2023-09-23T04:34:39.597Z] ---> 277f10474224 [2023-09-23T04:34:39.597Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T04:34:39.869Z] ---> Running in 815d120ef2f9 [2023-09-23T04:34:40.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T04:34:41.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T04:34:42.389Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-23T04:34:42.389Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-23T04:34:42.389Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-23T04:34:42.389Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-23T04:34:42.389Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:34:42.390Z] OK: 270 MiB in 56 packages [2023-09-23T04:34:43.357Z] Removing intermediate container 815d120ef2f9 [2023-09-23T04:34:43.357Z] ---> 6f971c1bc02a [2023-09-23T04:34:43.357Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-23T04:34:43.625Z] ---> Running in 02bffaa23ad2 [2023-09-23T04:34:43.894Z] Removing intermediate container 02bffaa23ad2 [2023-09-23T04:34:43.894Z] ---> 866b77b59ea2 [2023-09-23T04:34:43.894Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-23T04:34:44.169Z] ---> 22f94fc7d0bb [2023-09-23T04:34:44.169Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:34:44.169Z] ---> Running in 4c0a124304a2 [2023-09-23T04:35:52.077Z] Removing intermediate container 4c0a124304a2 [2023-09-23T04:35:52.077Z] ---> 1dc1c5f4448a [2023-09-23T04:35:52.077Z] Step 11/12 : COPY . . [2023-09-23T04:35:52.077Z] ---> d229884651a6 [2023-09-23T04:35:52.077Z] Step 12/12 : RUN $MAKE [2023-09-23T04:35:52.077Z] ---> Running in 489070f5b8f5 [2023-09-23T04:35:52.077Z] noop [2023-09-23T04:35:52.077Z] Removing intermediate container 489070f5b8f5 [2023-09-23T04:35:52.077Z] ---> 3f2237455fc9 [2023-09-23T04:35:52.077Z] Successfully built 3f2237455fc9 [2023-09-23T04:35:52.077Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:35:52.441Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T04:35:52.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:35:52.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-7676 does not seem to be running inside a container [2023-09-23T04:35:52.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/141 -v /w/workspace/device-mqtt-go/141:/w/workspace/device-mqtt-go/141:rw,z -v /w/workspace/device-mqtt-go/141@tmp:/w/workspace/device-mqtt-go/141@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-09-23T04:35:54.001Z] $ docker top 650205f2ca0b0da31976f9c6225a8c6880f24c4596fb4b67dc09fc42a120ff66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:35:54.840Z] + go version [2023-09-23T04:35:54.840Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-23T04:35:54.863Z] $ docker stop --time=1 650205f2ca0b0da31976f9c6225a8c6880f24c4596fb4b67dc09fc42a120ff66 [2023-09-23T04:35:56.490Z] $ docker rm -f --volumes 650205f2ca0b0da31976f9c6225a8c6880f24c4596fb4b67dc09fc42a120ff66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:35:57.009Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T04:35:57.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:35:57.189Z] prd-ubuntu20.04-docker-arm64-4c-16g-7676 does not seem to be running inside a container [2023-09-23T04:35:57.258Z] $ 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/141 -v /w/workspace/device-mqtt-go/141:/w/workspace/device-mqtt-go/141:rw,z -v /w/workspace/device-mqtt-go/141@tmp:/w/workspace/device-mqtt-go/141@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-09-23T04:35:58.384Z] $ docker top 7ed0ca96998e1c6bf21dbff0628d62e148bcb6417db9dc08f6386918152349f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:35:58.903Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/141 [Pipeline] fileExists [Pipeline] sh [2023-09-23T04:35:59.235Z] + make test [2023-09-23T04:35:59.235Z] go test ./... -coverprofile=coverage.out ./... [2023-09-23T04:36:03.505Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-23T04:37:55.261Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-23T04:37:55.261Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-23T04:37:55.261Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.8% of statements [2023-09-23T04:37:55.261Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-23T04:37:55.261Z] go vet ./... [2023-09-23T04:38:13.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T04:38:13.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T04:38:13.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T04:38:13.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T04:38:13.517Z] $ docker stop --time=1 7ed0ca96998e1c6bf21dbff0628d62e148bcb6417db9dc08f6386918152349f8 [2023-09-23T04:38:15.323Z] $ docker rm -f --volumes 7ed0ca96998e1c6bf21dbff0628d62e148bcb6417db9dc08f6386918152349f8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:38:16.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T04:38:16.507Z] Warning: overwriting stash ‘coverage-report’ [2023-09-23T04:38:16.951Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T04:38:17.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T04:38:17.657Z] + ls -al . [2023-09-23T04:38:17.657Z] total 184 [2023-09-23T04:38:17.657Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 04:36 . [2023-09-23T04:38:17.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:33 .. [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 04:33 .dockerignore [2023-09-23T04:38:17.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:33 .git [2023-09-23T04:38:17.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:33 .github [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 23 04:33 .gitignore [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 04:33 .golangci.yml [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 23 04:33 Attribution.txt [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 23 04:33 CHANGELOG.md [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 23 04:33 Dockerfile [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 04:33 GOVERNANCE.md [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 23 04:33 Jenkinsfile [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 04:33 LICENSE [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 23 04:33 Makefile [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 23 04:33 OWNERS.md [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 23 04:33 README.md [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 04:30 VERSION [2023-09-23T04:38:17.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:33 bin [2023-09-23T04:38:17.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:33 cmd [2023-09-23T04:38:17.657Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 23 04:37 coverage.out [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 23 04:33 go.mod [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 23 04:33 go.sum [2023-09-23T04:38:17.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:33 internal [2023-09-23T04:38:17.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:33 mock [2023-09-23T04:38:17.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:33 snap [2023-09-23T04:38:17.657Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 23 04:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:38:18.001Z] + 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=b1e63b1ff18fadb50f5646486da837eb774535ec --label arch=arm64 --label version=3.1.0-dev.13 . [2023-09-23T04:38:18.269Z] Sending build context to Docker daemon 3.367MB [2023-09-23T04:38:18.269Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T04:38:18.269Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-23T04:38:18.269Z] ---> 3f2237455fc9 [2023-09-23T04:38:18.269Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-23T04:38:19.235Z] ---> Running in 23fa9720b49d [2023-09-23T04:38:19.235Z] Removing intermediate container 23fa9720b49d [2023-09-23T04:38:19.235Z] ---> e10ca0781b23 [2023-09-23T04:38:19.235Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-23T04:38:19.512Z] ---> Running in ae12bea339d6 [2023-09-23T04:38:19.780Z] Removing intermediate container ae12bea339d6 [2023-09-23T04:38:19.780Z] ---> 1ee226592fc0 [2023-09-23T04:38:19.780Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-23T04:38:19.780Z] ---> Running in bfcffe0c10ae [2023-09-23T04:38:20.049Z] Removing intermediate container bfcffe0c10ae [2023-09-23T04:38:20.049Z] ---> b8b0569dfaf3 [2023-09-23T04:38:20.049Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-23T04:38:20.328Z] ---> Running in 579fe0ce278a [2023-09-23T04:38:20.600Z] Removing intermediate container 579fe0ce278a [2023-09-23T04:38:20.600Z] ---> 7d83bf64afe2 [2023-09-23T04:38:20.600Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-23T04:38:20.600Z] ---> Running in eddbbbe2cadb [2023-09-23T04:38:21.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T04:38:21.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T04:38:23.241Z] OK: 270 MiB in 56 packages [2023-09-23T04:38:24.845Z] Removing intermediate container eddbbbe2cadb [2023-09-23T04:38:24.845Z] ---> d76ad44fdf15 [2023-09-23T04:38:24.845Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-23T04:38:24.845Z] ---> Running in 0ff677253e5e [2023-09-23T04:38:24.845Z] Removing intermediate container 0ff677253e5e [2023-09-23T04:38:24.845Z] ---> 0c1c9ceb2172 [2023-09-23T04:38:24.845Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-23T04:38:24.845Z] ---> 22ac5a6d8cc9 [2023-09-23T04:38:24.845Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T04:38:25.116Z] ---> Running in 3eed93b572f3 [2023-09-23T04:38:27.064Z] Removing intermediate container 3eed93b572f3 [2023-09-23T04:38:27.064Z] ---> 81a46f06ef33 [2023-09-23T04:38:27.064Z] Step 11/24 : COPY . . [2023-09-23T04:38:28.031Z] ---> 38cc2c642f83 [2023-09-23T04:38:28.031Z] Step 12/24 : RUN $MAKE [2023-09-23T04:38:28.031Z] ---> Running in e2f7d1b2ec18 [2023-09-23T04:38:29.002Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-23T04:40:35.712Z] Removing intermediate container e2f7d1b2ec18 [2023-09-23T04:40:35.712Z] ---> 9c2fd52153ab [2023-09-23T04:40:35.712Z] Step 13/24 : FROM alpine:3.18 [2023-09-23T04:40:35.712Z] 3.18: Pulling from library/alpine [2023-09-23T04:40:35.712Z] 9fda8d8052c6: Already exists [2023-09-23T04:40:35.712Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T04:40:35.712Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T04:40:35.712Z] ---> f6648c04cd6c [2023-09-23T04:40:35.712Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-23T04:40:35.712Z] ---> Running in 9405c6152d48 [2023-09-23T04:40:35.712Z] Removing intermediate container 9405c6152d48 [2023-09-23T04:40:35.712Z] ---> 074b26ffa739 [2023-09-23T04:40:35.712Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-23T04:40:35.712Z] ---> Running in 9058a973d66d [2023-09-23T04:40:35.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T04:40:35.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T04:40:35.712Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-23T04:40:35.712Z] Executing busybox-1.36.1-r2.trigger [2023-09-23T04:40:35.712Z] OK: 8 MiB in 16 packages [2023-09-23T04:40:35.712Z] Removing intermediate container 9058a973d66d [2023-09-23T04:40:35.712Z] ---> 3ae1a24eabb1 [2023-09-23T04:40:35.712Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-23T04:40:35.712Z] ---> 907783520571 [2023-09-23T04:40:35.712Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-23T04:40:35.712Z] ---> 8b90474d771f [2023-09-23T04:40:35.712Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-23T04:40:35.712Z] ---> 1bc4a724d9d9 [2023-09-23T04:40:35.712Z] Step 19/24 : EXPOSE 59982 [2023-09-23T04:40:35.712Z] ---> Running in f55a17e87d44 [2023-09-23T04:40:35.712Z] Removing intermediate container f55a17e87d44 [2023-09-23T04:40:35.712Z] ---> 5688149233d2 [2023-09-23T04:40:35.712Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-23T04:40:35.712Z] ---> Running in 1bb97bf841dc [2023-09-23T04:40:35.712Z] Removing intermediate container 1bb97bf841dc [2023-09-23T04:40:35.712Z] ---> 9d1d032c1440 [2023-09-23T04:40:35.712Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-23T04:40:35.712Z] ---> Running in 33a51d9c447b [2023-09-23T04:40:35.712Z] Removing intermediate container 33a51d9c447b [2023-09-23T04:40:35.712Z] ---> 6d8c350cc66e [2023-09-23T04:40:35.712Z] Step 22/24 : LABEL arch=arm64 [2023-09-23T04:40:35.712Z] ---> Running in 45008dddfaa4 [2023-09-23T04:40:35.712Z] Removing intermediate container 45008dddfaa4 [2023-09-23T04:40:35.712Z] ---> b4b69ab99ba8 [2023-09-23T04:40:35.712Z] Step 23/24 : LABEL git_sha=b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:40:35.712Z] ---> Running in e8b0a9ba74ab [2023-09-23T04:40:35.712Z] Removing intermediate container e8b0a9ba74ab [2023-09-23T04:40:35.712Z] ---> dabae6290c1f [2023-09-23T04:40:35.712Z] Step 24/24 : LABEL version=3.1.0-dev.13 [2023-09-23T04:40:35.712Z] ---> Running in ce4f152ecf84 [2023-09-23T04:40:35.712Z] Removing intermediate container ce4f152ecf84 [2023-09-23T04:40:35.712Z] ---> bf72705f317f [2023-09-23T04:40:35.712Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T04:40:35.712Z] Successfully built bf72705f317f [2023-09-23T04:40:35.712Z] 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-09-23T04:40:35.798Z] provisioning config files... [2023-09-23T04:40:35.812Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/141@tmp/config9020417362934553458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:40:36.151Z] ---> docker-login.sh [2023-09-23T04:40:36.151Z] nexus3.edgexfoundry.org:10001 [2023-09-23T04:40:36.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:36.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:36.420Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:36.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:36.420Z] [2023-09-23T04:40:36.420Z] Login Succeeded [2023-09-23T04:40:36.420Z] nexus3.edgexfoundry.org:10002 [2023-09-23T04:40:36.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:36.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:36.688Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:36.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:36.688Z] [2023-09-23T04:40:36.688Z] Login Succeeded [2023-09-23T04:40:36.688Z] nexus3.edgexfoundry.org:10003 [2023-09-23T04:40:36.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:37.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:37.228Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:37.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:37.228Z] [2023-09-23T04:40:37.228Z] Login Succeeded [2023-09-23T04:40:37.228Z] nexus3.edgexfoundry.org:10004 [2023-09-23T04:40:37.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:37.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:37.495Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:37.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:37.496Z] [2023-09-23T04:40:37.496Z] Login Succeeded [2023-09-23T04:40:37.496Z] docker.io [2023-09-23T04:40:37.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T04:40:38.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T04:40:38.027Z] Configure a credential helper to remove this warning. See [2023-09-23T04:40:38.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T04:40:38.027Z] [2023-09-23T04:40:38.027Z] Login Succeeded [2023-09-23T04:40:38.027Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T04:40:38.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:40:38.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T04:40:38.085Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-09-23T04:40:38.085Z] b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:40:38.085Z] latest [2023-09-23T04:40:38.085Z] 3.1.0-dev.13 [2023-09-23T04:40:38.085Z] b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [2023-09-23T04:40:38.085Z] main [2023-09-23T04:40:38.085Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:38.428Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:38.776Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:40:38.776Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-23T04:40:38.776Z] 8fb0f786399e: Preparing [2023-09-23T04:40:38.776Z] 95556ec9854e: Preparing [2023-09-23T04:40:38.776Z] cad309fc6058: Preparing [2023-09-23T04:40:38.776Z] 96524db71837: Preparing [2023-09-23T04:40:38.776Z] b2191e2be29d: Preparing [2023-09-23T04:40:38.776Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:39.049Z] 95556ec9854e: Pushed [2023-09-23T04:40:39.049Z] 8fb0f786399e: Pushed [2023-09-23T04:40:39.049Z] 96524db71837: Pushed [2023-09-23T04:40:44.386Z] cad309fc6058: Pushed [2023-09-23T04:40:44.386Z] b1e63b1ff18fadb50f5646486da837eb774535ec: digest: sha256:c5e847aab6022d147b40e6b2ff0e1a289edc10be970b507e885825852f9b18cb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:44.735Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:45.073Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-23T04:40:45.073Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-23T04:40:45.073Z] 8fb0f786399e: Preparing [2023-09-23T04:40:45.073Z] 95556ec9854e: Preparing [2023-09-23T04:40:45.073Z] cad309fc6058: Preparing [2023-09-23T04:40:45.073Z] 96524db71837: Preparing [2023-09-23T04:40:45.073Z] b2191e2be29d: Preparing [2023-09-23T04:40:45.073Z] 8fb0f786399e: Layer already exists [2023-09-23T04:40:45.073Z] 96524db71837: Layer already exists [2023-09-23T04:40:45.073Z] 95556ec9854e: Layer already exists [2023-09-23T04:40:45.073Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:45.073Z] cad309fc6058: Layer already exists [2023-09-23T04:40:45.073Z] latest: digest: sha256:c5e847aab6022d147b40e6b2ff0e1a289edc10be970b507e885825852f9b18cb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:45.430Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:45.765Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.13 [2023-09-23T04:40:45.765Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-23T04:40:45.765Z] 8fb0f786399e: Preparing [2023-09-23T04:40:45.765Z] 95556ec9854e: Preparing [2023-09-23T04:40:45.765Z] cad309fc6058: Preparing [2023-09-23T04:40:45.765Z] 96524db71837: Preparing [2023-09-23T04:40:45.765Z] b2191e2be29d: Preparing [2023-09-23T04:40:45.765Z] cad309fc6058: Layer already exists [2023-09-23T04:40:45.765Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:45.765Z] 8fb0f786399e: Layer already exists [2023-09-23T04:40:45.765Z] 95556ec9854e: Layer already exists [2023-09-23T04:40:45.765Z] 96524db71837: Layer already exists [2023-09-23T04:40:45.765Z] 3.1.0-dev.13: digest: sha256:c5e847aab6022d147b40e6b2ff0e1a289edc10be970b507e885825852f9b18cb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:46.113Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:46.460Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [2023-09-23T04:40:46.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-23T04:40:46.460Z] 8fb0f786399e: Preparing [2023-09-23T04:40:46.460Z] 95556ec9854e: Preparing [2023-09-23T04:40:46.460Z] cad309fc6058: Preparing [2023-09-23T04:40:46.460Z] 96524db71837: Preparing [2023-09-23T04:40:46.460Z] b2191e2be29d: Preparing [2023-09-23T04:40:46.460Z] 8fb0f786399e: Layer already exists [2023-09-23T04:40:46.460Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:46.460Z] 95556ec9854e: Layer already exists [2023-09-23T04:40:46.460Z] 96524db71837: Layer already exists [2023-09-23T04:40:46.460Z] cad309fc6058: Layer already exists [2023-09-23T04:40:46.460Z] b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13: digest: sha256:c5e847aab6022d147b40e6b2ff0e1a289edc10be970b507e885825852f9b18cb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:47.141Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:47.763Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-09-23T04:40:47.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-23T04:40:47.763Z] 8fb0f786399e: Preparing [2023-09-23T04:40:47.763Z] 95556ec9854e: Preparing [2023-09-23T04:40:47.763Z] cad309fc6058: Preparing [2023-09-23T04:40:47.763Z] 96524db71837: Preparing [2023-09-23T04:40:47.763Z] b2191e2be29d: Preparing [2023-09-23T04:40:47.763Z] cad309fc6058: Layer already exists [2023-09-23T04:40:47.763Z] b2191e2be29d: Layer already exists [2023-09-23T04:40:47.763Z] 96524db71837: Layer already exists [2023-09-23T04:40:47.763Z] 95556ec9854e: Layer already exists [2023-09-23T04:40:47.763Z] 8fb0f786399e: Layer already exists [2023-09-23T04:40:47.763Z] main: digest: sha256:c5e847aab6022d147b40e6b2ff0e1a289edc10be970b507e885825852f9b18cb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-23T04:40:48.084Z] ===================================================== [Pipeline] echo [2023-09-23T04:40:48.095Z] taggedImages: [2023-09-23T04:40:48.095Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b1e63b1ff18fadb50f5646486da837eb774535ec [2023-09-23T04:40:48.095Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-23T04:40:48.095Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.13 [2023-09-23T04:40:48.095Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:b1e63b1ff18fadb50f5646486da837eb774535ec-3.1.0-dev.13 [2023-09-23T04:40:48.095Z] - 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-09-23T04:40:48.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T04:40:48.473Z] [2023-09-23T04:40:48.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:40:48.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T04:40:48.815Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-23T04:40:48.815Z] 8998bd30e6a1: Pulling fs layer [2023-09-23T04:40:48.815Z] 04944245beec: Pulling fs layer [2023-09-23T04:40:48.815Z] 699f458cf7ca: Pulling fs layer [2023-09-23T04:40:48.815Z] 765212b225bb: Pulling fs layer [2023-09-23T04:40:48.815Z] f23df028b6ca: Pulling fs layer [2023-09-23T04:40:48.815Z] d65c8cfc05b1: Pulling fs layer [2023-09-23T04:40:48.815Z] 2437ff75d9bd: Pulling fs layer [2023-09-23T04:40:48.815Z] 765212b225bb: Waiting [2023-09-23T04:40:48.815Z] f23df028b6ca: Waiting [2023-09-23T04:40:48.815Z] d65c8cfc05b1: Waiting [2023-09-23T04:40:48.815Z] 2437ff75d9bd: Waiting [2023-09-23T04:40:49.094Z] 04944245beec: Verifying Checksum [2023-09-23T04:40:49.094Z] 04944245beec: Download complete [2023-09-23T04:40:49.094Z] 765212b225bb: Verifying Checksum [2023-09-23T04:40:49.094Z] 765212b225bb: Download complete [2023-09-23T04:40:49.094Z] f23df028b6ca: Download complete [2023-09-23T04:40:49.094Z] d65c8cfc05b1: Verifying Checksum [2023-09-23T04:40:49.094Z] d65c8cfc05b1: Download complete [2023-09-23T04:40:49.094Z] 699f458cf7ca: Verifying Checksum [2023-09-23T04:40:49.677Z] 8998bd30e6a1: Verifying Checksum [2023-09-23T04:40:49.677Z] 8998bd30e6a1: Download complete [2023-09-23T04:40:51.630Z] 2437ff75d9bd: Verifying Checksum [2023-09-23T04:40:51.630Z] 2437ff75d9bd: Download complete [2023-09-23T04:40:53.578Z] 8998bd30e6a1: Pull complete [2023-09-23T04:40:53.578Z] 04944245beec: Pull complete [2023-09-23T04:40:54.990Z] 699f458cf7ca: Pull complete [2023-09-23T04:40:55.257Z] 765212b225bb: Pull complete [2023-09-23T04:40:55.840Z] f23df028b6ca: Pull complete [2023-09-23T04:40:56.107Z] d65c8cfc05b1: Pull complete [2023-09-23T04:41:11.100Z] 2437ff75d9bd: Pull complete [2023-09-23T04:41:11.100Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-23T04:41:11.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T04:41:11.100Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:41:11.307Z] prd-ubuntu20.04-docker-arm64-4c-16g-7676 does not seem to be running inside a container [2023-09-23T04:41:11.380Z] $ 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/141 -v /w/workspace/device-mqtt-go/141:/w/workspace/device-mqtt-go/141:rw,z -v /w/workspace/device-mqtt-go/141@tmp:/w/workspace/device-mqtt-go/141@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-09-23T04:41:14.188Z] $ docker top 25ee53bcefab859aaa7841b2714ef9d6d8a85a6895b00b0ebc635b65c1e2447d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:41:15.036Z] ---> job-cost.sh [2023-09-23T04:41:15.036Z] lf-activate-venv: SKIPPING [2023-09-23T04:41:15.036Z] INFO: No Stack... [2023-09-23T04:41:15.305Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-23T04:41:16.265Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T04:41:16.905Z] + cat /w/workspace/device-mqtt-go/141/archives/cost.csv [2023-09-23T04:41:16.905Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T04:41:16.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] [2023-09-23T04:41:17.060Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] did not exist. Created. [2023-09-23T04:41:17.060Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T04:41:17.399Z] /w/workspace/device-mqtt-go/141@tmp/durable-0db1a9f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-23T04:41:17.735Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-23T04:41:17.758Z] Warning: overwriting stash ‘stack-cost’ [2023-09-23T04:41:17.809Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T04:41:17.815Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T04:41:17.833Z] $ docker stop --time=1 25ee53bcefab859aaa7841b2714ef9d6d8a85a6895b00b0ebc635b65c1e2447d [2023-09-23T04:41:19.303Z] $ docker rm -f --volumes 25ee53bcefab859aaa7841b2714ef9d6d8a85a6895b00b0ebc635b65c1e2447d [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-09-23T04:41:19.677Z] provisioning config files... [2023-09-23T04:41:19.683Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2024731391599862350tmp [Pipeline] { [Pipeline] sh [2023-09-23T04:41:19.976Z] + set +x [2023-09-23T04:41:19.976Z] + curl -s https://codecov.io/bash [2023-09-23T04:41:19.976Z] + bash -s -- [2023-09-23T04:41:19.976Z] [2023-09-23T04:41:19.976Z] _____ _ [2023-09-23T04:41:19.976Z] / ____| | | [2023-09-23T04:41:19.976Z] | | ___ __| | ___ ___ _____ __ [2023-09-23T04:41:19.976Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-23T04:41:19.976Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-23T04:41:19.976Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-23T04:41:19.976Z] Bash-1.0.6 [2023-09-23T04:41:19.976Z] [2023-09-23T04:41:19.976Z] [2023-09-23T04:41:19.976Z] ==> git version 2.25.1 found [2023-09-23T04:41:19.976Z] ==> 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-09-23T04:41:19.976Z] Release-Date: 2020-01-08 [2023-09-23T04:41:19.976Z] 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-09-23T04:41:19.976Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-23T04:41:19.976Z] ==> Jenkins CI detected. [2023-09-23T04:41:19.976Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-23T04:41:19.976Z] project root: . [2023-09-23T04:41:19.976Z] --> token set from env [2023-09-23T04:41:19.976Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-23T04:41:19.976Z] ==> Running gcov in . (disable via -X gcov) [2023-09-23T04:41:19.976Z] ==> Python coveragepy not found [2023-09-23T04:41:19.976Z] ==> Searching for coverage reports in: [2023-09-23T04:41:19.976Z] + . [2023-09-23T04:41:19.976Z] -> Found 1 reports [2023-09-23T04:41:19.976Z] ==> Detecting git/mercurial file structure [2023-09-23T04:41:19.976Z] ==> Reading reports [2023-09-23T04:41:19.976Z] + ./coverage.out bytes=18506 [2023-09-23T04:41:19.976Z] ==> Appending adjustments [2023-09-23T04:41:19.976Z] https://docs.codecov.io/docs/fixing-reports [2023-09-23T04:41:20.236Z] + Found adjustments [2023-09-23T04:41:20.236Z] ==> Gzipping contents [2023-09-23T04:41:20.236Z] 4.0K /tmp/codecov.n7qJiw.gz [2023-09-23T04:41:20.236Z] ==> Uploading reports [2023-09-23T04:41:20.236Z] url: https://codecov.io [2023-09-23T04:41:20.236Z] query: branch=main&commit=b1e63b1ff18fadb50f5646486da837eb774535ec&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-23T04:41:20.236Z] -> Pinging Codecov [2023-09-23T04:41:20.236Z] 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=b1e63b1ff18fadb50f5646486da837eb774535ec&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-23T04:41:20.236Z] -> Uploading to [2023-09-23T04:41:20.236Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-23/7D719EC7BBE17E464838252E33014C33/b1e63b1ff18fadb50f5646486da837eb774535ec/6e13aa31-a59f-49f2-9096-14a210f1fb91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T044120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ae08a8e94bae6d81f8ee277b5b32a400e0d2f5f83751dd79c2abc0ed94aaaea [2023-09-23T04:41:20.236Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T04:41:20.236Z] Dload Upload Total Spent Left Speed [2023-09-23T04:41:20.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16592 --:--:-- --:--:-- --:--:-- 16507 100 3219 0 0 100 3219 0 16592 --:--:-- --:--:-- --:--:-- 16507 [2023-09-23T04:41:20.496Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] } [2023-09-23T04:41:20.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-23T04:41:20.634Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-23T04:41:20.643Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:20.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T04:41:20.936Z] [2023-09-23T04:41:20.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:21.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T04:41:21.235Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-23T04:41:21.235Z] df9b9388f04a: Pulling fs layer [2023-09-23T04:41:21.235Z] 52dc419b0ee2: Pulling fs layer [2023-09-23T04:41:21.235Z] 25bc292e5bac: Pulling fs layer [2023-09-23T04:41:21.235Z] 114826534d7a: Pulling fs layer [2023-09-23T04:41:21.235Z] 4657fd5d0bcf: Pulling fs layer [2023-09-23T04:41:21.235Z] 6ad1cebc031e: Pulling fs layer [2023-09-23T04:41:21.235Z] 8a3aa393b2d8: Pulling fs layer [2023-09-23T04:41:21.235Z] 4657fd5d0bcf: Waiting [2023-09-23T04:41:21.235Z] 6ad1cebc031e: Waiting [2023-09-23T04:41:21.235Z] 114826534d7a: Waiting [2023-09-23T04:41:21.235Z] 8a3aa393b2d8: Waiting [2023-09-23T04:41:21.235Z] 25bc292e5bac: Verifying Checksum [2023-09-23T04:41:21.235Z] 25bc292e5bac: Download complete [2023-09-23T04:41:21.235Z] 52dc419b0ee2: Download complete [2023-09-23T04:41:21.235Z] 4657fd5d0bcf: Verifying Checksum [2023-09-23T04:41:21.235Z] 4657fd5d0bcf: Download complete [2023-09-23T04:41:21.235Z] df9b9388f04a: Download complete [2023-09-23T04:41:21.494Z] df9b9388f04a: Pull complete [2023-09-23T04:41:21.494Z] 6ad1cebc031e: Verifying Checksum [2023-09-23T04:41:21.494Z] 6ad1cebc031e: Download complete [2023-09-23T04:41:21.494Z] 52dc419b0ee2: Pull complete [2023-09-23T04:41:21.754Z] 25bc292e5bac: Pull complete [2023-09-23T04:41:22.012Z] 114826534d7a: Verifying Checksum [2023-09-23T04:41:22.012Z] 114826534d7a: Download complete [2023-09-23T04:41:22.270Z] 8a3aa393b2d8: Verifying Checksum [2023-09-23T04:41:22.270Z] 8a3aa393b2d8: Download complete [2023-09-23T04:41:25.551Z] 114826534d7a: Pull complete [2023-09-23T04:41:25.551Z] 4657fd5d0bcf: Pull complete [2023-09-23T04:41:25.551Z] 6ad1cebc031e: Pull complete [2023-09-23T04:41:28.077Z] 8a3aa393b2d8: Pull complete [2023-09-23T04:41:28.077Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-23T04:41:28.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-23T04:41:28.077Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:41:28.153Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:41:28.182Z] $ 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-09-23T04:41:35.884Z] $ docker top 1b0745e359ed181cfefac9cc42702ad4392f11024e3788d9c1918ba6dfad2e8b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-23T04:41:35.950Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-09-23T04:41:36.230Z] + set -o pipefail [2023-09-23T04:41:36.230Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-09-23T04:41:41.502Z] [2023-09-23T04:41:41.502Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-09-23T04:41:41.502Z] [2023-09-23T04:41:41.502Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/3e3c834e-5d18-4617-93d0-28008acd78b8 [2023-09-23T04:41:41.502Z] [2023-09-23T04:41:41.502Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-23T04:41:41.502Z] [2023-09-23T04:41:41.502Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-23T04:41:41.502Z] [2023-09-23T04:41:43.408Z] [2023-09-23T04:41:43.409Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-23T04:41:43.409Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-23T04:41:43.409Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-23T04:41:43.419Z] $ docker stop --time=1 1b0745e359ed181cfefac9cc42702ad4392f11024e3788d9c1918ba6dfad2e8b [2023-09-23T04:41:48.499Z] $ docker rm -f --volumes 1b0745e359ed181cfefac9cc42702ad4392f11024e3788d9c1918ba6dfad2e8b [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-09-23T04:41:49.274Z] + git log --format=format:%s -1 b1e63b1ff18fadb50f5646486da837eb774535ec [Pipeline] sh [2023-09-23T04:41:49.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:41:49.563Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:49.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:41:49.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:41:49.946Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:41:49.976Z] $ 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-09-23T04:41:50.515Z] $ docker top fc5ae11b672541ba91cd669fdb85f8ec9fd53390da48a842a644f9cbf6b0c1b4 -eo pid,comm [2023-09-23T04:41:50.563Z] 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-09-23T04:41:50.563Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:41:50.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:41:50.595Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:41:50.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:41:50.733Z] $ docker exec fc5ae11b672541ba91cd669fdb85f8ec9fd53390da48a842a644f9cbf6b0c1b4 ssh-agent [2023-09-23T04:41:50.848Z] SSH_AUTH_SOCK=/tmp/ssh-nLa0Ovy9dSbo/agent.32 [2023-09-23T04:41:50.848Z] SSH_AGENT_PID=38 [2023-09-23T04:41:50.852Z] Running ssh-add (command line suppressed) [2023-09-23T04:41:50.955Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8602837419268237593.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8602837419268237593.key) [2023-09-23T04:41:50.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:41:51.254Z] + git semver tag [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,482 [run_tag] DEBUG tag force:False [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,482 [check_head_tag] DEBUG check head tag [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,482 [execute] INFO git cat-file --batch-check [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,483 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,487 [execute] INFO git cat-file --batch [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,498 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,498 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,498 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-23T04:41:51.512Z] 2023-09-23 04:41:51,504 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:41:51.512Z] 3.1.0-dev.13 [Pipeline] } [2023-09-23T04:41:51.779Z] $ docker exec --env ******** --env ******** fc5ae11b672541ba91cd669fdb85f8ec9fd53390da48a842a644f9cbf6b0c1b4 ssh-agent -k [2023-09-23T04:41:51.875Z] unset SSH_AUTH_SOCK; [2023-09-23T04:41:51.876Z] unset SSH_AGENT_PID; [2023-09-23T04:41:51.876Z] echo Agent pid 38 killed; [2023-09-23T04:41:51.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:41:52.196Z] + git semver [Pipeline] } [2023-09-23T04:41:52.466Z] $ docker stop --time=1 fc5ae11b672541ba91cd669fdb85f8ec9fd53390da48a842a644f9cbf6b0c1b4 [2023-09-23T04:41:53.839Z] $ docker rm -f --volumes fc5ae11b672541ba91cd669fdb85f8ec9fd53390da48a842a644f9cbf6b0c1b4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:54.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T04:41:54.268Z] [2023-09-23T04:41:54.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:41:54.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T04:41:54.567Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-23T04:41:54.567Z] ab5ef0e58194: Pulling fs layer [2023-09-23T04:41:54.567Z] 9712f1f96733: Pulling fs layer [2023-09-23T04:41:54.567Z] 63f879dbbcfc: Pulling fs layer [2023-09-23T04:41:54.567Z] 0d9ebad4ef96: Pulling fs layer [2023-09-23T04:41:54.567Z] e9a5061849ea: Pulling fs layer [2023-09-23T04:41:54.567Z] d747dcd14b5f: Pulling fs layer [2023-09-23T04:41:54.567Z] 2de7ff778b66: Pulling fs layer [2023-09-23T04:41:54.567Z] e9a5061849ea: Waiting [2023-09-23T04:41:54.567Z] d747dcd14b5f: Waiting [2023-09-23T04:41:54.567Z] 0d9ebad4ef96: Waiting [2023-09-23T04:41:54.567Z] 2de7ff778b66: Waiting [2023-09-23T04:41:54.567Z] 9712f1f96733: Verifying Checksum [2023-09-23T04:41:54.567Z] 9712f1f96733: Download complete [2023-09-23T04:41:54.827Z] 63f879dbbcfc: Verifying Checksum [2023-09-23T04:41:54.827Z] 63f879dbbcfc: Download complete [2023-09-23T04:41:55.084Z] e9a5061849ea: Download complete [2023-09-23T04:41:55.084Z] d747dcd14b5f: Verifying Checksum [2023-09-23T04:41:55.084Z] d747dcd14b5f: Download complete [2023-09-23T04:41:55.084Z] 0d9ebad4ef96: Verifying Checksum [2023-09-23T04:41:55.084Z] 0d9ebad4ef96: Download complete [2023-09-23T04:41:55.084Z] ab5ef0e58194: Download complete [2023-09-23T04:41:55.084Z] 2de7ff778b66: Verifying Checksum [2023-09-23T04:41:55.084Z] 2de7ff778b66: Download complete [2023-09-23T04:41:57.609Z] ab5ef0e58194: Pull complete [2023-09-23T04:41:57.609Z] 9712f1f96733: Pull complete [2023-09-23T04:41:58.541Z] 63f879dbbcfc: Pull complete [2023-09-23T04:42:02.718Z] 0d9ebad4ef96: Pull complete [2023-09-23T04:42:02.718Z] e9a5061849ea: Pull complete [2023-09-23T04:42:02.718Z] d747dcd14b5f: Pull complete [2023-09-23T04:42:03.285Z] 2de7ff778b66: Pull complete [2023-09-23T04:42:03.285Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-23T04:42:03.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-23T04:42:03.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:03.364Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:42:03.391Z] $ 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-09-23T04:42:12.368Z] $ docker top e906a7f81de74f09851e598cf9fa4ef167607b720065228205ccf07bf22d3d7a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:42:12.439Z] provisioning config files... [2023-09-23T04:42:12.449Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5103722240775698664tmp [2023-09-23T04:42:12.461Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4303453598856654835tmp [2023-09-23T04:42:12.471Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17746583386892595294tmp [Pipeline] { [Pipeline] echo [2023-09-23T04:42:12.485Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:12.768Z] ---> sigul-configuration.sh [2023-09-23T04:42:12.768Z] gpg: directory `/root/.gnupg' created [2023-09-23T04:42:12.768Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-23T04:42:12.768Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-23T04:42:12.768Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-23T04:42:12.768Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-23T04:42:12.768Z] gpg: CAST5 encrypted data [2023-09-23T04:42:12.768Z] gpg: encrypted with 1 passphrase [2023-09-23T04:42:12.768Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-23T04:42:13.052Z] + mkdir /home/jenkins [2023-09-23T04:42:13.052Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-23T04:42:13.337Z] + 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-09-23T04:42:13.346Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:13.634Z] ---> sigul-install.sh [2023-09-23T04:42:13.634Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-23T04:42:13.917Z] + git tag --list [2023-09-23T04:42:13.917Z] 0.7.1 [2023-09-23T04:42:13.917Z] v1.0.0 [2023-09-23T04:42:13.917Z] v1.1.0 [2023-09-23T04:42:13.917Z] v1.1.1 [2023-09-23T04:42:13.917Z] v1.2.2 [2023-09-23T04:42:13.917Z] v1.3.0 [2023-09-23T04:42:13.917Z] v1.3.1 [2023-09-23T04:42:13.917Z] v2.0.0 [2023-09-23T04:42:13.917Z] v2.1.0 [2023-09-23T04:42:13.917Z] v2.1.1 [2023-09-23T04:42:13.917Z] v2.2.0 [2023-09-23T04:42:13.917Z] v2.3.0 [2023-09-23T04:42:13.917Z] v3.0 [2023-09-23T04:42:13.917Z] v3.0.0 [2023-09-23T04:42:13.917Z] v3.1.0-dev.1 [2023-09-23T04:42:13.917Z] v3.1.0-dev.10 [2023-09-23T04:42:13.917Z] v3.1.0-dev.11 [2023-09-23T04:42:13.917Z] v3.1.0-dev.12 [2023-09-23T04:42:13.917Z] v3.1.0-dev.13 [2023-09-23T04:42:13.917Z] v3.1.0-dev.2 [2023-09-23T04:42:13.917Z] v3.1.0-dev.3 [2023-09-23T04:42:13.917Z] v3.1.0-dev.4 [2023-09-23T04:42:13.917Z] v3.1.0-dev.5 [2023-09-23T04:42:13.917Z] v3.1.0-dev.6 [2023-09-23T04:42:13.917Z] v3.1.0-dev.7 [2023-09-23T04:42:13.917Z] v3.1.0-dev.8 [2023-09-23T04:42:13.917Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-23T04:42:14.206Z] + lftools sign git-tag v3.1.0-dev.13 [2023-09-23T04:42:14.773Z] Signing Git tag with Sigul... [2023-09-23T04:42:14.773Z] Signing v3.1.0-dev.13 [Pipeline] echo [2023-09-23T04:42:15.039Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:15.320Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-23T04:42:15.327Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-23T04:42:15.343Z] $ docker stop --time=1 e906a7f81de74f09851e598cf9fa4ef167607b720065228205ccf07bf22d3d7a [2023-09-23T04:42:16.632Z] $ docker rm -f --volumes e906a7f81de74f09851e598cf9fa4ef167607b720065228205ccf07bf22d3d7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-23T04:42:17.045Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:42:17.045Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:42:17.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:42:17.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:17.411Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:42:17.439Z] $ 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-09-23T04:42:17.739Z] $ docker top b33981e5aeb44ac9f78634d6f12744daa009aa7ef9106d0a2389e6aaa091d966 -eo pid,comm [2023-09-23T04:42:17.784Z] 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-09-23T04:42:17.784Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:42:17.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:42:17.830Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:42:17.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:42:17.949Z] $ docker exec b33981e5aeb44ac9f78634d6f12744daa009aa7ef9106d0a2389e6aaa091d966 ssh-agent [2023-09-23T04:42:18.056Z] SSH_AUTH_SOCK=/tmp/ssh-8OskSmsNlPwZ/agent.33 [2023-09-23T04:42:18.056Z] SSH_AGENT_PID=39 [2023-09-23T04:42:18.062Z] Running ssh-add (command line suppressed) [2023-09-23T04:42:18.161Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10162790440686550200.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10162790440686550200.key) [2023-09-23T04:42:18.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:42:18.460Z] + git semver bump pre [2023-09-23T04:42:18.718Z] 2023-09-23 04:42:18,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,631 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,631 [bump_version] DEBUG bumped version:3.1.0-dev.14 [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,631 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,631 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,634 [execute] INFO git cat-file --batch-check [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,641 [execute] INFO git cat-file --batch [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T04:42:18.719Z] 2023-09-23 04:42:18,647 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:42:18.719Z] 3.1.0-dev.14 [Pipeline] } [2023-09-23T04:42:18.727Z] $ docker exec --env ******** --env ******** b33981e5aeb44ac9f78634d6f12744daa009aa7ef9106d0a2389e6aaa091d966 ssh-agent -k [2023-09-23T04:42:18.838Z] unset SSH_AUTH_SOCK; [2023-09-23T04:42:18.838Z] unset SSH_AGENT_PID; [2023-09-23T04:42:18.838Z] echo Agent pid 39 killed; [2023-09-23T04:42:18.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:42:19.165Z] + git semver [Pipeline] } [2023-09-23T04:42:19.746Z] $ docker stop --time=1 b33981e5aeb44ac9f78634d6f12744daa009aa7ef9106d0a2389e6aaa091d966 [2023-09-23T04:42:21.082Z] $ docker rm -f --volumes b33981e5aeb44ac9f78634d6f12744daa009aa7ef9106d0a2389e6aaa091d966 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T04:42:21.421Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T04:42:21.422Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:42:21.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T04:42:21.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:21.782Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:42:21.811Z] $ 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-09-23T04:42:22.155Z] $ docker top 394803058fb7d787cf3c08b3b9378ad832c1e2152ce9d810d9dfefad53ce3b92 -eo pid,comm [2023-09-23T04:42:22.200Z] 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-09-23T04:42:22.200Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T04:42:22.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T04:42:22.228Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T04:42:22.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T04:42:22.339Z] $ docker exec 394803058fb7d787cf3c08b3b9378ad832c1e2152ce9d810d9dfefad53ce3b92 ssh-agent [2023-09-23T04:42:22.456Z] SSH_AUTH_SOCK=/tmp/ssh-qkHylM1QJ9bV/agent.32 [2023-09-23T04:42:22.456Z] SSH_AGENT_PID=38 [2023-09-23T04:42:22.461Z] Running ssh-add (command line suppressed) [2023-09-23T04:42:22.565Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9472916441958714379.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9472916441958714379.key) [2023-09-23T04:42:22.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T04:42:22.861Z] + git semver push [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,031 [run_push] DEBUG push [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,032 [execute] INFO git cat-file --batch-check [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,036 [execute] INFO git rev-list 71e188a720be70d28236b0b37fe9feebb7981a4b -- [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,036 [execute] DEBUG Popen(['git', 'rev-list', '71e188a720be70d28236b0b37fe9feebb7981a4b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,046 [execute] INFO git fetch -v origin [2023-09-23T04:42:23.121Z] 2023-09-23 04:42:23,046 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-23T04:42:23.686Z] 2023-09-23 04:42:23,510 [run_push] DEBUG no remote changes detected [2023-09-23T04:42:23.686Z] 2023-09-23 04:42:23,511 [execute] INFO git push origin semver [2023-09-23T04:42:23.686Z] 2023-09-23 04:42:23,511 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-23T04:42:24.621Z] 2023-09-23 04:42:24,423 [run_push] DEBUG push all version tags [2023-09-23T04:42:24.621Z] 2023-09-23 04:42:24,423 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-23T04:42:24.621Z] 2023-09-23 04:42:24,424 [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-09-23T04:42:25.186Z] 2023-09-23 04:42:25,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-23T04:42:25.186Z] 3.1.0-dev.14 [Pipeline] } [2023-09-23T04:42:25.195Z] $ docker exec --env ******** --env ******** 394803058fb7d787cf3c08b3b9378ad832c1e2152ce9d810d9dfefad53ce3b92 ssh-agent -k [2023-09-23T04:42:25.301Z] unset SSH_AUTH_SOCK; [2023-09-23T04:42:25.301Z] unset SSH_AGENT_PID; [2023-09-23T04:42:25.301Z] echo Agent pid 38 killed; [2023-09-23T04:42:25.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T04:42:25.623Z] + git semver [Pipeline] } [2023-09-23T04:42:25.892Z] $ docker stop --time=1 394803058fb7d787cf3c08b3b9378ad832c1e2152ce9d810d9dfefad53ce3b92 [2023-09-23T04:42:27.145Z] $ docker rm -f --volumes 394803058fb7d787cf3c08b3b9378ad832c1e2152ce9d810d9dfefad53ce3b92 [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-09-23T04:42:27.723Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-09-23T04:42:27.723Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-23T04:42:27.723Z] total 16 [2023-09-23T04:42:27.723Z] drwxr-xr-x 3 root root 4096 Sep 23 04:32 . [2023-09-23T04:42:27.723Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 04:42 .. [2023-09-23T04:42:27.723Z] drwxr-xr-x 2 root root 4096 Sep 23 04:32 cost [2023-09-23T04:42:27.723Z] -rw-r--r-- 1 root root 86 Sep 23 04:32 cost.csv [2023-09-23T04:42:27.723Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-23T04:42:27.723Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-23T04:42:27.723Z] total 16 [2023-09-23T04:42:27.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 04:32 . [2023-09-23T04:42:27.723Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 04:42 .. [2023-09-23T04:42:27.723Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 04:32 cost [2023-09-23T04:42:27.723Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 23 04:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:28.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:28.866Z] ---> package-listing.sh [2023-09-23T04:42:28.866Z] ++ facter osfamily [2023-09-23T04:42:28.866Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-23T04:42:29.124Z] + OS_FAMILY=debian [2023-09-23T04:42:29.124Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-23T04:42:29.124Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-23T04:42:29.124Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-23T04:42:29.124Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-23T04:42:29.124Z] + PACKAGES=/tmp/packages_start.txt [2023-09-23T04:42:29.124Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-23T04:42:29.124Z] + PACKAGES=/tmp/packages_end.txt [2023-09-23T04:42:29.124Z] + case "${OS_FAMILY}" in [2023-09-23T04:42:29.124Z] + dpkg -l [2023-09-23T04:42:29.124Z] + grep '^ii' [2023-09-23T04:42:29.124Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-23T04:42:29.124Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-23T04:42:29.124Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-23T04:42:29.124Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-23T04:42:29.124Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-09-23T04:42:29.124Z] + 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-09-23T04:42:29.131Z] 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-09-23T04:42:29.477Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T04:42:29.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T04:42:29.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T04:42:29.900Z] prd-ubuntu20.04-docker-8c-8g-7672 does not seem to be running inside a container [2023-09-23T04:42:29.942Z] $ 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-09-23T04:42:30.144Z] $ docker top 595c2e001bf5bf1b7488c80a7068a8cf1c32f664c3953e2cf0df6c888b063bc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T04:42:30.481Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-23T04:42:30.767Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-23T04:42:31.048Z] + ls /var/log/sa-host [2023-09-23T04:42:31.048Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T04:42:31.121Z] provisioning config files... [2023-09-23T04:42:31.129Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10082221595847483825tmp [Pipeline] { [Pipeline] echo [2023-09-23T04:42:31.142Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:31.423Z] ---> create-netrc.sh [Pipeline] } [2023-09-23T04:42:31.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:31.753Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-23T04:42:31.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:32.041Z] ---> sudo-logs.sh [2023-09-23T04:42:32.041Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-23T04:42:32.082Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:32.365Z] ---> job-cost.sh [2023-09-23T04:42:32.365Z] lf-activate-venv: SKIPPING [2023-09-23T04:42:32.365Z] DEBUG: total: 0.2199999988079071 [2023-09-23T04:42:32.365Z] INFO: Retrieving Stack Cost... [2023-09-23T04:42:32.624Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T04:42:33.192Z] INFO: Archiving Costs [Pipeline] echo [2023-09-23T04:42:33.204Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T04:42:33.486Z] ---> logs-deploy.sh [2023-09-23T04:42:33.486Z] lf-activate-venv: SKIPPING [2023-09-23T04:42:33.486Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/141 [2023-09-23T04:42:33.486Z] INFO: archiving workspace using pattern(s): [2023-09-23T04:42:34.421Z] Archives upload complete. [2023-09-23T04:42:34.421Z] INFO: archiving logs to Nexus