Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40a9b3b3de2a21918c6f1028b85f8a29e149216d 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-ssh2385065571188224057.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh15670100396468450945.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3356188318993720359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6567092273862233785.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-ssh15486399874362289310.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4262’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4265 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 40a9b3b3de2a21918c6f1028b85f8a29e149216d (main) > 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 40a9b3b3de2a21918c6f1028b85f8a29e149216d # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#618)" > git rev-list --no-walk 557fa96b1e7b02e89e1731c67f49966a69991ec2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-22T16:21:24.928Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-22T16:21:24.990Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-22T16:21:25.002Z] ========================================================= [2023-08-22T16:21:25.002Z] EdgeX Global Pipelines Version Info [2023-08-22T16:21:25.002Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:21:25.726Z] ------------------- [2023-08-22T16:21:25.726Z] stable info: [2023-08-22T16:21:25.726Z] ------------------- [2023-08-22T16:21:25.726Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-22T16:21:25.726Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:21:25.726Z] Message: update stable to v1.0.253 [2023-08-22T16:21:26.295Z] ------------------- [2023-08-22T16:21:26.295Z] experimental info: [2023-08-22T16:21:26.295Z] ------------------- [2023-08-22T16:21:26.295Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-22T16:21:26.295Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:21:26.295Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-22T16:21:26.452Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-08-22T16:21:26.467Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-08-22T16:21:26.487Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-22T16:21:26.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-22T16:21:26.515Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-22T16:21:26.527Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-22T16:21:26.540Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-22T16:21:26.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-22T16:21:26.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-22T16:21:26.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-22T16:21:26.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-22T16:21:26.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-08-22T16:21:26.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-22T16:21:26.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-22T16:21:26.650Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:21:26.660Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:21:26.672Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:21:26.693Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:21:26.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-22T16:21:26.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-22T16:21:26.735Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-22T16:21:26.748Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-22T16:21:26.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-22T16:21:26.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-22T16:21:26.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-22T16:21:26.801Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-22T16:21:26.815Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-22T16:21:26.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-22T16:21:26.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-22T16:21:26.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-22T16:21:26.867Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] echo [2023-08-22T16:21:26.878Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40a9b3b [Pipeline] echo [2023-08-22T16:21:26.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:21:26.933Z] provisioning config files... [2023-08-22T16:21:26.950Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8228564315367240617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:21:27.257Z] ---> docker-login.sh [2023-08-22T16:21:27.257Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:21:27.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:27.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:27.517Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:27.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:27.517Z] [2023-08-22T16:21:27.517Z] Login Succeeded [2023-08-22T16:21:27.517Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:21:27.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:27.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:27.517Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:27.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:27.517Z] [2023-08-22T16:21:27.517Z] Login Succeeded [2023-08-22T16:21:27.517Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:21:27.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:27.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:27.777Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:27.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:27.777Z] [2023-08-22T16:21:27.777Z] Login Succeeded [2023-08-22T16:21:27.777Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:21:27.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:27.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:27.777Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:27.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:27.777Z] [2023-08-22T16:21:27.777Z] Login Succeeded [2023-08-22T16:21:27.777Z] docker.io [2023-08-22T16:21:28.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:28.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:28.039Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:28.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:28.039Z] [2023-08-22T16:21:28.039Z] Login Succeeded [2023-08-22T16:21:28.039Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:21:28.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-22T16:21:28.394Z] + git rev-list -1 --merges 40a9b3b3de2a21918c6f1028b85f8a29e149216d~1..40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] echo [2023-08-22T16:21:28.446Z] -----------> git rev-list -1 --merges 40a9b3b3de2a21918c6f1028b85f8a29e149216d~1..40a9b3b3de2a21918c6f1028b85f8a29e149216d 40a9b3b3de2a21918c6f1028b85f8a29e149216d [false] [Pipeline] sh [2023-08-22T16:21:28.735Z] + git log --format=format:%s -1 40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] echo [2023-08-22T16:21:28.749Z] ========================================================= [2023-08-22T16:21:28.750Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-22T16:21:28.750Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:21:29.071Z] + git log --format=format:%s -1 40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] echo [2023-08-22T16:21:29.099Z] [semverPrep] GIT_COMMIT: 40a9b3b3de2a21918c6f1028b85f8a29e149216d, Commit Message: build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#618) [Pipeline] echo [2023-08-22T16:21:29.109Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-22T16:21:29.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:21:29.454Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-22T16:21:29.454Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-22T16:21:29.454Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-22T16:21:29.454Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-22T16:21:29.454Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-22T16:21:29.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:29.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:21:29.798Z] [2023-08-22T16:21:29.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:30.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:21:30.093Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-22T16:21:30.093Z] b85a868b505f: Pulling fs layer [2023-08-22T16:21:30.093Z] e2be974225ed: Pulling fs layer [2023-08-22T16:21:30.093Z] 339a4e72a1f5: Pulling fs layer [2023-08-22T16:21:30.093Z] 988bab9f4d93: Pulling fs layer [2023-08-22T16:21:30.093Z] 1469e6f7b9e6: Pulling fs layer [2023-08-22T16:21:30.093Z] eaf3925da568: Pulling fs layer [2023-08-22T16:21:30.093Z] bab4dde63d76: Pulling fs layer [2023-08-22T16:21:30.093Z] 988bab9f4d93: Waiting [2023-08-22T16:21:30.093Z] bde34c3a00c8: Pulling fs layer [2023-08-22T16:21:30.093Z] b352a97aabf1: Pulling fs layer [2023-08-22T16:21:30.093Z] 4872d77fe225: Pulling fs layer [2023-08-22T16:21:30.093Z] bab4dde63d76: Waiting [2023-08-22T16:21:30.093Z] eaf3925da568: Waiting [2023-08-22T16:21:30.093Z] 5851b861e8e6: Pulling fs layer [2023-08-22T16:21:30.093Z] 5851b861e8e6: Waiting [2023-08-22T16:21:30.093Z] 4872d77fe225: Waiting [2023-08-22T16:21:30.093Z] b352a97aabf1: Waiting [2023-08-22T16:21:30.093Z] e2be974225ed: Verifying Checksum [2023-08-22T16:21:30.093Z] e2be974225ed: Download complete [2023-08-22T16:21:30.093Z] 988bab9f4d93: Verifying Checksum [2023-08-22T16:21:30.093Z] 988bab9f4d93: Download complete [2023-08-22T16:21:30.351Z] 1469e6f7b9e6: Verifying Checksum [2023-08-22T16:21:30.351Z] 1469e6f7b9e6: Download complete [2023-08-22T16:21:30.351Z] eaf3925da568: Download complete [2023-08-22T16:21:30.351Z] 339a4e72a1f5: Verifying Checksum [2023-08-22T16:21:30.351Z] 339a4e72a1f5: Download complete [2023-08-22T16:21:30.351Z] b352a97aabf1: Verifying Checksum [2023-08-22T16:21:30.351Z] b352a97aabf1: Download complete [2023-08-22T16:21:30.351Z] 4872d77fe225: Download complete [2023-08-22T16:21:30.351Z] 5851b861e8e6: Verifying Checksum [2023-08-22T16:21:30.351Z] 5851b861e8e6: Download complete [2023-08-22T16:21:30.351Z] b85a868b505f: Download complete [2023-08-22T16:21:30.610Z] bab4dde63d76: Verifying Checksum [2023-08-22T16:21:30.610Z] bab4dde63d76: Download complete [2023-08-22T16:21:31.985Z] b85a868b505f: Pull complete [2023-08-22T16:21:31.985Z] e2be974225ed: Pull complete [2023-08-22T16:21:32.556Z] 339a4e72a1f5: Pull complete [2023-08-22T16:21:32.556Z] 988bab9f4d93: Pull complete [2023-08-22T16:21:32.814Z] 1469e6f7b9e6: Pull complete [2023-08-22T16:21:32.815Z] eaf3925da568: Pull complete [2023-08-22T16:21:34.718Z] bab4dde63d76: Pull complete [2023-08-22T16:21:34.977Z] bde34c3a00c8: Pull complete [2023-08-22T16:21:34.977Z] b352a97aabf1: Pull complete [2023-08-22T16:21:35.237Z] 4872d77fe225: Pull complete [2023-08-22T16:21:35.237Z] 5851b861e8e6: Pull complete [2023-08-22T16:21:35.237Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-22T16:21:35.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:21:35.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:21:35.342Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:21:35.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:21:39.592Z] $ docker top 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e -eo pid,comm [2023-08-22T16:21:39.644Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:21:39.644Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:21:39.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:21:39.686Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:21:39.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:21:39.814Z] $ docker exec 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e ssh-agent [2023-08-22T16:21:39.907Z] SSH_AUTH_SOCK=/tmp/ssh-HQLmfsX2elQo/agent.32 [2023-08-22T16:21:39.907Z] SSH_AGENT_PID=38 [2023-08-22T16:21:39.913Z] Running ssh-add (command line suppressed) [2023-08-22T16:21:40.011Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12863036219066189187.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12863036219066189187.key) [2023-08-22T16:21:40.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:21:40.311Z] + git tag --points-at HEAD [Pipeline] } [2023-08-22T16:21:40.324Z] $ docker exec --env ******** --env ******** 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e ssh-agent -k [2023-08-22T16:21:40.410Z] unset SSH_AUTH_SOCK; [2023-08-22T16:21:40.411Z] unset SSH_AGENT_PID; [2023-08-22T16:21:40.411Z] echo Agent pid 38 killed; [2023-08-22T16:21:40.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-22T16:21:40.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:21:40.447Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:21:40.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:21:40.555Z] $ docker exec 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e ssh-agent [2023-08-22T16:21:40.660Z] SSH_AUTH_SOCK=/tmp/ssh-X821PmN40Mq2/agent.70 [2023-08-22T16:21:40.660Z] SSH_AGENT_PID=76 [2023-08-22T16:21:40.665Z] Running ssh-add (command line suppressed) [2023-08-22T16:21:40.764Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6193792097392759661.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6193792097392759661.key) [2023-08-22T16:21:40.776Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:21:41.064Z] + git semver init [2023-08-22T16:21:41.323Z] 2023-08-22 16:21:41,246 [run_init] DEBUG init version:0.0.0 force:False [2023-08-22T16:21:41.323Z] 2023-08-22 16:21:41,246 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-22T16:21:41.323Z] 2023-08-22 16:21:41,247 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-22T16:21:41.323Z] 2023-08-22 16:21:41,247 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:21:42.257Z] 2023-08-22 16:21:42,035 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-08-22T16:21:42.257Z] 2023-08-22 16:21:42,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-08-22T16:21:42.257Z] 2023-08-22 16:21:42,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:21:42.257Z] 2023-08-22 16:21:42,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:21:42.257Z] 3.1.0-dev.4 [Pipeline] } [2023-08-22T16:21:42.269Z] $ docker exec --env ******** --env ******** 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e ssh-agent -k [2023-08-22T16:21:42.361Z] unset SSH_AUTH_SOCK; [2023-08-22T16:21:42.362Z] unset SSH_AGENT_PID; [2023-08-22T16:21:42.362Z] echo Agent pid 76 killed; [2023-08-22T16:21:42.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:21:42.675Z] + git semver [Pipeline] } [2023-08-22T16:21:42.953Z] $ docker stop --time=1 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e [2023-08-22T16:21:44.228Z] $ docker rm -f --volumes 4cc24624d6384dd7b9a71317741ebe07cc1b9a3717672ded9aa9e506fff7a76e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:21:44.574Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-22T16:21:44.793Z] Stashed 1 file(s) [Pipeline] echo [2023-08-22T16:21:44.796Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:21:44.957Z] provisioning config files... [2023-08-22T16:21:44.965Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16331649159720377241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:21:45.262Z] ---> docker-login.sh [2023-08-22T16:21:45.262Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:21:45.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:45.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:45.262Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:45.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:45.262Z] [2023-08-22T16:21:45.262Z] Login Succeeded [2023-08-22T16:21:45.262Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:21:45.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:45.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:45.262Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:45.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:45.262Z] [2023-08-22T16:21:45.262Z] Login Succeeded [2023-08-22T16:21:45.262Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:21:45.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:45.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:45.521Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:45.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:45.521Z] [2023-08-22T16:21:45.521Z] Login Succeeded [2023-08-22T16:21:45.521Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:21:45.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:45.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:45.521Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:45.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:45.521Z] [2023-08-22T16:21:45.521Z] Login Succeeded [2023-08-22T16:21:45.521Z] docker.io [2023-08-22T16:21:45.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:21:45.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:21:45.779Z] Configure a credential helper to remove this warning. See [2023-08-22T16:21:45.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:21:45.779Z] [2023-08-22T16:21:45.779Z] Login Succeeded [2023-08-22T16:21:45.779Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:21:45.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:21:45.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:21:45.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:21:45.876Z] ========================================================= [2023-08-22T16:21:45.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-22T16:21:45.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:46.185Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-22T16:21:46.185Z] Sending build context to Docker daemon 6.451MB [2023-08-22T16:21:46.185Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:21:46.185Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-22T16:21:46.185Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-22T16:21:46.185Z] 4db1b89c0bd1: Pulling fs layer [2023-08-22T16:21:46.185Z] 6911f1a30b25: Pulling fs layer [2023-08-22T16:21:46.185Z] e194b8c5c2a9: Pulling fs layer [2023-08-22T16:21:46.185Z] 6863d3e3a2b1: Pulling fs layer [2023-08-22T16:21:46.185Z] ec0bb842ea78: Pulling fs layer [2023-08-22T16:21:46.185Z] 40a00589a448: Pulling fs layer [2023-08-22T16:21:46.185Z] 6c08303d61cc: Pulling fs layer [2023-08-22T16:21:46.185Z] 798269fcf238: Pulling fs layer [2023-08-22T16:21:46.185Z] ec0bb842ea78: Waiting [2023-08-22T16:21:46.185Z] 6c08303d61cc: Waiting [2023-08-22T16:21:46.185Z] 798269fcf238: Waiting [2023-08-22T16:21:46.185Z] 6863d3e3a2b1: Waiting [2023-08-22T16:21:46.185Z] 40a00589a448: Waiting [2023-08-22T16:21:46.185Z] 6911f1a30b25: Verifying Checksum [2023-08-22T16:21:46.185Z] 6911f1a30b25: Download complete [2023-08-22T16:21:46.185Z] 6863d3e3a2b1: Verifying Checksum [2023-08-22T16:21:46.185Z] 6863d3e3a2b1: Download complete [2023-08-22T16:21:46.185Z] ec0bb842ea78: Download complete [2023-08-22T16:21:46.185Z] 4db1b89c0bd1: Verifying Checksum [2023-08-22T16:21:46.185Z] 4db1b89c0bd1: Download complete [2023-08-22T16:21:46.443Z] 40a00589a448: Verifying Checksum [2023-08-22T16:21:46.443Z] 40a00589a448: Download complete [2023-08-22T16:21:46.443Z] 4db1b89c0bd1: Pull complete [2023-08-22T16:21:46.704Z] 6911f1a30b25: Pull complete [2023-08-22T16:21:46.704Z] 798269fcf238: Download complete [2023-08-22T16:21:46.964Z] e194b8c5c2a9: Verifying Checksum [2023-08-22T16:21:46.964Z] e194b8c5c2a9: Download complete [2023-08-22T16:21:47.223Z] 6c08303d61cc: Verifying Checksum [2023-08-22T16:21:47.223Z] 6c08303d61cc: Download complete [2023-08-22T16:21:50.505Z] e194b8c5c2a9: Pull complete [2023-08-22T16:21:50.505Z] 6863d3e3a2b1: Pull complete [2023-08-22T16:21:50.505Z] ec0bb842ea78: Pull complete [2023-08-22T16:21:50.505Z] 40a00589a448: Pull complete [2023-08-22T16:21:53.053Z] 6c08303d61cc: Pull complete [2023-08-22T16:21:53.633Z] 798269fcf238: Pull complete [2023-08-22T16:21:53.633Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-22T16:21:53.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-22T16:21:53.633Z] ---> ec979cd7f677 [2023-08-22T16:21:53.633Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:21:59.904Z] Still waiting to schedule task [2023-08-22T16:21:59.905Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4261’ [2023-08-22T16:22:01.778Z] ---> Running in bdcc41b0ebf9 [2023-08-22T16:22:01.778Z] Removing intermediate container bdcc41b0ebf9 [2023-08-22T16:22:01.778Z] ---> b79b5904f2d9 [2023-08-22T16:22:01.778Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:22:01.778Z] ---> Running in bdfd03e56dfb [2023-08-22T16:22:01.778Z] Removing intermediate container bdfd03e56dfb [2023-08-22T16:22:01.778Z] ---> 774100aa879c [2023-08-22T16:22:01.778Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-22T16:22:01.778Z] ---> Running in 65b0594f153d [2023-08-22T16:22:01.778Z] Removing intermediate container 65b0594f153d [2023-08-22T16:22:01.778Z] ---> 0ae0de890dd4 [2023-08-22T16:22:01.778Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:22:01.778Z] ---> Running in fae016ee80d2 [2023-08-22T16:22:01.778Z] Removing intermediate container fae016ee80d2 [2023-08-22T16:22:01.778Z] ---> 82818ea7eb07 [2023-08-22T16:22:01.778Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:22:01.778Z] ---> Running in bc21335c2fec [2023-08-22T16:22:01.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:22:01.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:22:01.778Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-22T16:22:01.778Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-22T16:22:01.778Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-22T16:22:01.778Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-22T16:22:01.778Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T16:22:01.778Z] OK: 269 MiB in 57 packages [2023-08-22T16:22:02.347Z] Removing intermediate container bc21335c2fec [2023-08-22T16:22:02.347Z] ---> cc8fc7b67e7f [2023-08-22T16:22:02.347Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-22T16:22:02.347Z] ---> Running in dc789c573373 [2023-08-22T16:22:02.347Z] Removing intermediate container dc789c573373 [2023-08-22T16:22:02.347Z] ---> 577da8423536 [2023-08-22T16:22:02.347Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-22T16:22:02.347Z] ---> 1df1ef112725 [2023-08-22T16:22:02.347Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:22:02.606Z] ---> Running in b581c15f6ab1 [2023-08-22T16:22:41.561Z] Removing intermediate container b581c15f6ab1 [2023-08-22T16:22:41.561Z] ---> 2dced91ad86a [2023-08-22T16:22:41.561Z] Step 11/12 : COPY . . [2023-08-22T16:22:41.561Z] ---> 2d1218ae5a88 [2023-08-22T16:22:41.561Z] Step 12/12 : RUN $MAKE [2023-08-22T16:22:41.561Z] ---> Running in d9b9ba753a2f [2023-08-22T16:22:41.561Z] noop [2023-08-22T16:22:41.561Z] Removing intermediate container d9b9ba753a2f [2023-08-22T16:22:41.561Z] ---> 884bf52a9176 [2023-08-22T16:22:41.561Z] Successfully built 884bf52a9176 [2023-08-22T16:22:41.561Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:22:41.869Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:22:41.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:22:41.942Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:22:41.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-22T16:22:42.310Z] $ docker top 95fb16e7160d1bf92543a0f31aa5355c83b40d77847c7b31339c28b7e6da8b1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:22:42.660Z] + go version [2023-08-22T16:22:42.660Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-22T16:22:42.675Z] $ docker stop --time=1 95fb16e7160d1bf92543a0f31aa5355c83b40d77847c7b31339c28b7e6da8b1e [2023-08-22T16:22:43.976Z] $ docker rm -f --volumes 95fb16e7160d1bf92543a0f31aa5355c83b40d77847c7b31339c28b7e6da8b1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:22:44.380Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:22:44.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:22:44.443Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:22:44.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-22T16:22:44.833Z] $ docker top 6f5c53f1f9d58430a960aa45b422625a7c03f8b50bcefd8b3ac1bcc3b94085ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:22:45.168Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:22:45.468Z] + make test [2023-08-22T16:22:45.468Z] go test ./... -coverprofile=coverage.out ./... [2023-08-22T16:22:50.731Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-22T16:23:00.686Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-22T16:23:00.686Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-22T16:23:00.686Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-08-22T16:23:05.941Z] go vet ./... [2023-08-22T16:23:09.221Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T16:23:09.221Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T16:23:09.221Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-22T16:23:09.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T16:23:09.249Z] $ docker stop --time=1 6f5c53f1f9d58430a960aa45b422625a7c03f8b50bcefd8b3ac1bcc3b94085ec [2023-08-22T16:23:14.363Z] $ docker rm -f --volumes 6f5c53f1f9d58430a960aa45b422625a7c03f8b50bcefd8b3ac1bcc3b94085ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:23:14.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T16:23:14.859Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-22T16:23:15.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T16:23:15.584Z] + ls -al . [2023-08-22T16:23:15.584Z] total 184 [2023-08-22T16:23:15.584Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:22 . [2023-08-22T16:23:15.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 .. [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 16:21 .dockerignore [2023-08-22T16:23:15.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:21 .git [2023-08-22T16:23:15.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 .github [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 22 16:21 .gitignore [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 22 16:21 .golangci.yml [2023-08-22T16:23:15.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:21 .semver [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 9317 Aug 22 16:21 Attribution.txt [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 22 16:21 CHANGELOG.md [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 22 16:21 Dockerfile [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:21 GOVERNANCE.md [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 22 16:21 Jenkinsfile [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 22 16:21 LICENSE [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 1732 Aug 22 16:21 Makefile [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 22 16:21 OWNERS.md [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 22 16:21 README.md [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 16:21 VERSION [2023-08-22T16:23:15.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:21 bin [2023-08-22T16:23:15.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 cmd [2023-08-22T16:23:15.584Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 22 16:22 coverage.out [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 3285 Aug 22 16:21 go.mod [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 22 16:21 go.sum [2023-08-22T16:23:15.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 internal [2023-08-22T16:23:15.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:21 mock [2023-08-22T16:23:15.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 snap [2023-08-22T16:23:15.584Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 22 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:15.915Z] + 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=40a9b3b3de2a21918c6f1028b85f8a29e149216d --label arch=amd64 --label version=3.1.0-dev.4 . [2023-08-22T16:23:15.915Z] Sending build context to Docker daemon 6.47MB [2023-08-22T16:23:15.915Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:23:15.915Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-22T16:23:15.915Z] ---> 884bf52a9176 [2023-08-22T16:23:15.915Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:23:16.189Z] ---> Running in 5e348ca59348 [2023-08-22T16:23:16.189Z] Removing intermediate container 5e348ca59348 [2023-08-22T16:23:16.189Z] ---> 90e9de06ef63 [2023-08-22T16:23:16.189Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:23:16.189Z] ---> Running in 46b7709cd150 [2023-08-22T16:23:16.189Z] Removing intermediate container 46b7709cd150 [2023-08-22T16:23:16.189Z] ---> e2944d9a2b6a [2023-08-22T16:23:16.189Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-22T16:23:16.189Z] ---> Running in 5f2ed20c54a8 [2023-08-22T16:23:16.189Z] Removing intermediate container 5f2ed20c54a8 [2023-08-22T16:23:16.189Z] ---> f87ca3e7d542 [2023-08-22T16:23:16.189Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:23:16.462Z] ---> Running in eb9bd03c029e [2023-08-22T16:23:16.462Z] Removing intermediate container eb9bd03c029e [2023-08-22T16:23:16.462Z] ---> 9c69e9ac9eef [2023-08-22T16:23:16.462Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:23:16.462Z] ---> Running in 6436fc60c293 [2023-08-22T16:23:16.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:16.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:17.029Z] OK: 269 MiB in 57 packages [2023-08-22T16:23:17.596Z] Removing intermediate container 6436fc60c293 [2023-08-22T16:23:17.596Z] ---> 5cd6679782f9 [2023-08-22T16:23:17.596Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-22T16:23:17.596Z] ---> Running in 7fdfd8b61da5 [2023-08-22T16:23:17.596Z] Removing intermediate container 7fdfd8b61da5 [2023-08-22T16:23:17.596Z] ---> 6c1d589b6ff0 [2023-08-22T16:23:17.596Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-22T16:23:17.596Z] ---> eb84c8f2bd0a [2023-08-22T16:23:17.596Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:23:17.596Z] ---> Running in 4ff09535d363 [2023-08-22T16:23:18.164Z] Removing intermediate container 4ff09535d363 [2023-08-22T16:23:18.164Z] ---> 47c698b178c8 [2023-08-22T16:23:18.164Z] Step 11/24 : COPY . . [2023-08-22T16:23:18.733Z] ---> 7e82778df367 [2023-08-22T16:23:18.733Z] Step 12/24 : RUN $MAKE [2023-08-22T16:23:18.733Z] ---> Running in 8732f486606d [2023-08-22T16:23:18.991Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-22T16:23:40.907Z] Removing intermediate container 8732f486606d [2023-08-22T16:23:40.907Z] ---> 8f1702190258 [2023-08-22T16:23:40.907Z] Step 13/24 : FROM alpine:3.17 [2023-08-22T16:23:40.907Z] 3.17: Pulling from library/alpine [2023-08-22T16:23:40.908Z] 9398808236ff: Pulling fs layer [2023-08-22T16:23:40.908Z] 9398808236ff: Download complete [2023-08-22T16:23:40.908Z] 9398808236ff: Pull complete [2023-08-22T16:23:40.908Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T16:23:40.908Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T16:23:40.908Z] ---> 1e0b8b5322fc [2023-08-22T16:23:40.908Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-22T16:23:40.908Z] ---> Running in 9b5c0939df3b [2023-08-22T16:23:40.908Z] Removing intermediate container 9b5c0939df3b [2023-08-22T16:23:40.908Z] ---> f23ae03add99 [2023-08-22T16:23:40.908Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-22T16:23:40.908Z] ---> Running in 49a99cc5b601 [2023-08-22T16:23:41.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:41.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:41.686Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-22T16:23:41.686Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T16:23:41.686Z] OK: 7 MiB in 16 packages [2023-08-22T16:23:41.944Z] Removing intermediate container 49a99cc5b601 [2023-08-22T16:23:41.944Z] ---> a42428341e8a [2023-08-22T16:23:41.944Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-22T16:23:42.879Z] ---> 243679b40264 [2023-08-22T16:23:42.879Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-22T16:23:43.137Z] ---> 356384487661 [2023-08-22T16:23:43.137Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-22T16:23:43.137Z] ---> a14599c35bd7 [2023-08-22T16:23:43.137Z] Step 19/24 : EXPOSE 59982 [2023-08-22T16:23:43.137Z] ---> Running in edb71920832f [2023-08-22T16:23:43.396Z] Removing intermediate container edb71920832f [2023-08-22T16:23:43.396Z] ---> 861c36d7c6ee [2023-08-22T16:23:43.396Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-22T16:23:43.396Z] ---> Running in 0872ae909f7b [2023-08-22T16:23:43.396Z] Removing intermediate container 0872ae909f7b [2023-08-22T16:23:43.396Z] ---> 16960afc13ab [2023-08-22T16:23:43.396Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-22T16:23:43.396Z] ---> Running in 0da92651ac7c [2023-08-22T16:23:43.396Z] Removing intermediate container 0da92651ac7c [2023-08-22T16:23:43.396Z] ---> 8fb9d5e9e39d [2023-08-22T16:23:43.396Z] Step 22/24 : LABEL arch=amd64 [2023-08-22T16:23:43.396Z] ---> Running in 3526c90faf7e [2023-08-22T16:23:43.655Z] Removing intermediate container 3526c90faf7e [2023-08-22T16:23:43.655Z] ---> a2a079b1677f [2023-08-22T16:23:43.655Z] Step 23/24 : LABEL git_sha=40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:23:43.655Z] ---> Running in 499a6887223d [2023-08-22T16:23:43.655Z] Removing intermediate container 499a6887223d [2023-08-22T16:23:43.655Z] ---> b093fff084de [2023-08-22T16:23:43.655Z] Step 24/24 : LABEL version=3.1.0-dev.4 [2023-08-22T16:23:43.655Z] ---> Running in dbf33b767f75 [2023-08-22T16:23:43.655Z] Removing intermediate container dbf33b767f75 [2023-08-22T16:23:43.655Z] ---> 3f66464f6d92 [2023-08-22T16:23:43.655Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T16:23:43.655Z] Successfully built 3f66464f6d92 [2023-08-22T16:23:43.655Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:23:43.766Z] provisioning config files... [2023-08-22T16:23:43.773Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12527856211966709669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:23:44.068Z] ---> docker-login.sh [2023-08-22T16:23:44.068Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:23:44.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:44.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:44.068Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:44.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:44.068Z] [2023-08-22T16:23:44.068Z] Login Succeeded [2023-08-22T16:23:44.068Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:23:44.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:44.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:44.068Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:44.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:44.068Z] [2023-08-22T16:23:44.068Z] Login Succeeded [2023-08-22T16:23:44.068Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:23:44.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:44.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:44.327Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:44.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:44.327Z] [2023-08-22T16:23:44.327Z] Login Succeeded [2023-08-22T16:23:44.327Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:23:44.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:44.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:44.327Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:44.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:44.327Z] [2023-08-22T16:23:44.327Z] Login Succeeded [2023-08-22T16:23:44.327Z] docker.io [2023-08-22T16:23:44.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:23:44.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:23:44.586Z] Configure a credential helper to remove this warning. See [2023-08-22T16:23:44.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:23:44.586Z] [2023-08-22T16:23:44.586Z] Login Succeeded [2023-08-22T16:23:44.586Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:23:44.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:23:44.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:23:44.658Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-08-22T16:23:44.658Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:23:44.658Z] latest [2023-08-22T16:23:44.658Z] 3.1.0-dev.4 [2023-08-22T16:23:44.658Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [2023-08-22T16:23:44.658Z] main [2023-08-22T16:23:44.658Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:44.967Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:45.270Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:23:45.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-22T16:23:45.271Z] f99b1e35f5fe: Preparing [2023-08-22T16:23:45.271Z] f163075e0631: Preparing [2023-08-22T16:23:45.271Z] cf7cc6aa88d5: Preparing [2023-08-22T16:23:45.271Z] 52d97f176b03: Preparing [2023-08-22T16:23:45.271Z] 36b50b131297: Preparing [2023-08-22T16:23:45.271Z] 36b50b131297: Layer already exists [2023-08-22T16:23:45.271Z] f163075e0631: Pushed [2023-08-22T16:23:45.271Z] f99b1e35f5fe: Pushed [2023-08-22T16:23:45.271Z] 52d97f176b03: Pushed [2023-08-22T16:23:47.801Z] cf7cc6aa88d5: Pushed [2023-08-22T16:23:47.801Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d: digest: sha256:8a7f584b3e1f542b39e1ddecdade68edf7ac95df03fbc972bef901505e39df54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:48.106Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:48.415Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-22T16:23:48.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-22T16:23:48.415Z] f99b1e35f5fe: Preparing [2023-08-22T16:23:48.415Z] f163075e0631: Preparing [2023-08-22T16:23:48.415Z] cf7cc6aa88d5: Preparing [2023-08-22T16:23:48.415Z] 52d97f176b03: Preparing [2023-08-22T16:23:48.415Z] 36b50b131297: Preparing [2023-08-22T16:23:48.415Z] 52d97f176b03: Layer already exists [2023-08-22T16:23:48.415Z] f99b1e35f5fe: Layer already exists [2023-08-22T16:23:48.415Z] f163075e0631: Layer already exists [2023-08-22T16:23:48.415Z] 36b50b131297: Layer already exists [2023-08-22T16:23:48.415Z] cf7cc6aa88d5: Layer already exists [2023-08-22T16:23:48.415Z] latest: digest: sha256:8a7f584b3e1f542b39e1ddecdade68edf7ac95df03fbc972bef901505e39df54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:48.723Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:49.021Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.4 [2023-08-22T16:23:49.022Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-22T16:23:49.022Z] f99b1e35f5fe: Preparing [2023-08-22T16:23:49.022Z] f163075e0631: Preparing [2023-08-22T16:23:49.022Z] cf7cc6aa88d5: Preparing [2023-08-22T16:23:49.022Z] 52d97f176b03: Preparing [2023-08-22T16:23:49.022Z] 36b50b131297: Preparing [2023-08-22T16:23:49.022Z] f163075e0631: Layer already exists [2023-08-22T16:23:49.022Z] cf7cc6aa88d5: Layer already exists [2023-08-22T16:23:49.022Z] 36b50b131297: Layer already exists [2023-08-22T16:23:49.022Z] 52d97f176b03: Layer already exists [2023-08-22T16:23:49.022Z] f99b1e35f5fe: Layer already exists [2023-08-22T16:23:49.022Z] 3.1.0-dev.4: digest: sha256:8a7f584b3e1f542b39e1ddecdade68edf7ac95df03fbc972bef901505e39df54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:49.339Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:49.647Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [2023-08-22T16:23:49.647Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-22T16:23:49.647Z] f99b1e35f5fe: Preparing [2023-08-22T16:23:49.647Z] f163075e0631: Preparing [2023-08-22T16:23:49.647Z] cf7cc6aa88d5: Preparing [2023-08-22T16:23:49.647Z] 52d97f176b03: Preparing [2023-08-22T16:23:49.647Z] 36b50b131297: Preparing [2023-08-22T16:23:49.647Z] f99b1e35f5fe: Layer already exists [2023-08-22T16:23:49.647Z] 52d97f176b03: Layer already exists [2023-08-22T16:23:49.647Z] cf7cc6aa88d5: Layer already exists [2023-08-22T16:23:49.647Z] 36b50b131297: Layer already exists [2023-08-22T16:23:49.647Z] f163075e0631: Layer already exists [2023-08-22T16:23:49.647Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4: digest: sha256:8a7f584b3e1f542b39e1ddecdade68edf7ac95df03fbc972bef901505e39df54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:49.958Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:50.257Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-08-22T16:23:50.257Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-22T16:23:50.257Z] f99b1e35f5fe: Preparing [2023-08-22T16:23:50.257Z] f163075e0631: Preparing [2023-08-22T16:23:50.257Z] cf7cc6aa88d5: Preparing [2023-08-22T16:23:50.257Z] 52d97f176b03: Preparing [2023-08-22T16:23:50.257Z] 36b50b131297: Preparing [2023-08-22T16:23:50.257Z] cf7cc6aa88d5: Layer already exists [2023-08-22T16:23:50.257Z] 52d97f176b03: Layer already exists [2023-08-22T16:23:50.257Z] 36b50b131297: Layer already exists [2023-08-22T16:23:50.257Z] f163075e0631: Layer already exists [2023-08-22T16:23:50.258Z] f99b1e35f5fe: Layer already exists [2023-08-22T16:23:50.258Z] main: digest: sha256:8a7f584b3e1f542b39e1ddecdade68edf7ac95df03fbc972bef901505e39df54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:23:50.293Z] ===================================================== [Pipeline] echo [2023-08-22T16:23:50.300Z] taggedImages: [2023-08-22T16:23:50.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:23:50.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-22T16:23:50.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.4 [2023-08-22T16:23:50.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [2023-08-22T16:23:50.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:50.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:50.669Z] [2023-08-22T16:23:50.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:50.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:50.961Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-22T16:23:50.961Z] 5eb5b503b376: Pulling fs layer [2023-08-22T16:23:50.961Z] 5c69ac0246d0: Pulling fs layer [2023-08-22T16:23:50.961Z] ec43610c2a17: Pulling fs layer [2023-08-22T16:23:50.961Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-22T16:23:50.961Z] 33b1e0a273af: Pulling fs layer [2023-08-22T16:23:50.961Z] 5d3b04190fa2: Pulling fs layer [2023-08-22T16:23:50.961Z] 2f39f015ded8: Pulling fs layer [2023-08-22T16:23:50.961Z] 3a2ae6a8a46f: Waiting [2023-08-22T16:23:50.961Z] 33b1e0a273af: Waiting [2023-08-22T16:23:50.961Z] 5d3b04190fa2: Waiting [2023-08-22T16:23:50.961Z] 2f39f015ded8: Waiting [2023-08-22T16:23:50.961Z] 5c69ac0246d0: Download complete [2023-08-22T16:23:50.961Z] 3a2ae6a8a46f: Download complete [2023-08-22T16:23:50.961Z] 33b1e0a273af: Verifying Checksum [2023-08-22T16:23:50.961Z] 33b1e0a273af: Download complete [2023-08-22T16:23:50.961Z] 5d3b04190fa2: Verifying Checksum [2023-08-22T16:23:50.961Z] 5d3b04190fa2: Download complete [2023-08-22T16:23:50.961Z] ec43610c2a17: Verifying Checksum [2023-08-22T16:23:50.961Z] ec43610c2a17: Download complete [2023-08-22T16:23:51.219Z] 5eb5b503b376: Verifying Checksum [2023-08-22T16:23:51.219Z] 5eb5b503b376: Download complete [2023-08-22T16:23:51.781Z] 2f39f015ded8: Download complete [2023-08-22T16:23:52.345Z] 5eb5b503b376: Pull complete [2023-08-22T16:23:52.603Z] 5c69ac0246d0: Pull complete [2023-08-22T16:23:53.171Z] ec43610c2a17: Pull complete [2023-08-22T16:23:53.171Z] 3a2ae6a8a46f: Pull complete [2023-08-22T16:23:53.428Z] 33b1e0a273af: Pull complete [2023-08-22T16:23:53.428Z] 5d3b04190fa2: Pull complete [2023-08-22T16:23:57.607Z] 2f39f015ded8: Pull complete [2023-08-22T16:23:57.607Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-22T16:23:57.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:57.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:23:57.690Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:23:57.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-22T16:24:03.350Z] $ docker top 24c2d9ff43c86e6b8330cf67a85fb7e6def011cb7bfb5d773c772cc799b40243 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:24:03.716Z] ---> job-cost.sh [2023-08-22T16:24:03.716Z] lf-activate-venv: SKIPPING [2023-08-22T16:24:03.716Z] INFO: No Stack... [2023-08-22T16:24:03.974Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:24:04.233Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:24:04.519Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-08-22T16:24:04.519Z] + cut -d, -f6 [Pipeline] lock [2023-08-22T16:24:04.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] [2023-08-22T16:24:04.538Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] did not exist. Created. [2023-08-22T16:24:04.538Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:24:04.846Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-22T16:24:04.877Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:24:04.884Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:24:04.902Z] $ docker stop --time=1 24c2d9ff43c86e6b8330cf67a85fb7e6def011cb7bfb5d773c772cc799b40243 [2023-08-22T16:24:06.052Z] $ docker rm -f --volumes 24c2d9ff43c86e6b8330cf67a85fb7e6def011cb7bfb5d773c772cc799b40243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-22T16:25:21.282Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4273 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-08-22T16:25:21.295Z] Running in /w/workspace/device-mqtt-go/132 [Pipeline] { [Pipeline] checkout [2023-08-22T16:25:21.339Z] The recommended git tool is: git [2023-08-22T16:25:28.765Z] using credential edgex-jenkins-ssh [2023-08-22T16:25:28.784Z] Cloning the remote Git repository [2023-08-22T16:25:28.847Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-22T16:25:28.994Z] > git init /w/workspace/device-mqtt-go/132 # timeout=10 [2023-08-22T16:25:29.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-22T16:25:29.199Z] > git --version # timeout=10 [2023-08-22T16:25:29.230Z] > git --version # 'git version 2.25.1' [2023-08-22T16:25:29.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T16:25:29.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:25:30.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-22T16:25:30.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:25:32.183Z] Avoid second fetch [2023-08-22T16:25:32.183Z] Checking out Revision 40a9b3b3de2a21918c6f1028b85f8a29e149216d (main) [2023-08-22T16:25:33.000Z] Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#618)" [2023-08-22T16:25:32.214Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T16:25:32.326Z] > git checkout -f 40a9b3b3de2a21918c6f1028b85f8a29e149216d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:25:34.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-22T16:25:34.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:25:34.075Z] Dload Upload Total Spent Left Speed [2023-08-22T16:25:34.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-08-22T16:25:34.745Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-22T16:25:35.112Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-22T16:25:35.112Z] + sudo tee /etc/docker/daemon.new [2023-08-22T16:25:35.112Z] { [2023-08-22T16:25:35.112Z] "registry-mirrors": [ [2023-08-22T16:25:35.112Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-22T16:25:35.112Z] ], [2023-08-22T16:25:35.112Z] "bip": "10.250.0.254/24", [2023-08-22T16:25:35.112Z] "hosts": [ [2023-08-22T16:25:35.112Z] "tcp://0.0.0.0:5555", [2023-08-22T16:25:35.112Z] "unix:///var/run/docker.sock" [2023-08-22T16:25:35.112Z] ], [2023-08-22T16:25:35.112Z] "mtu": 1458, [2023-08-22T16:25:35.112Z] "selinux-enabled": true, [2023-08-22T16:25:35.112Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-22T16:25:35.112Z] } [Pipeline] sh [2023-08-22T16:25:35.474Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-22T16:25:35.848Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:25:54.195Z] provisioning config files... [2023-08-22T16:25:54.234Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/132@tmp/config6405375070529203212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:25:54.619Z] ---> docker-login.sh [2023-08-22T16:25:54.619Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:25:55.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:55.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:55.216Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:55.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:55.216Z] [2023-08-22T16:25:55.216Z] Login Succeeded [2023-08-22T16:25:55.216Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:25:55.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:55.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:55.767Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:55.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:55.767Z] [2023-08-22T16:25:55.767Z] Login Succeeded [2023-08-22T16:25:55.767Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:25:56.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:56.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:56.044Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:56.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:56.044Z] [2023-08-22T16:25:56.044Z] Login Succeeded [2023-08-22T16:25:56.044Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:25:56.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:56.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:56.594Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:56.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:56.594Z] [2023-08-22T16:25:56.594Z] Login Succeeded [2023-08-22T16:25:56.594Z] docker.io [2023-08-22T16:25:56.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:25:57.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:25:57.146Z] Configure a credential helper to remove this warning. See [2023-08-22T16:25:57.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:25:57.146Z] [2023-08-22T16:25:57.146Z] Login Succeeded [2023-08-22T16:25:57.146Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:25:57.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:25:57.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:25:57.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:25:57.576Z] ========================================================= [2023-08-22T16:25:57.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-22T16:25:57.576Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:25:57.952Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-22T16:25:58.227Z] Sending build context to Docker daemon 3.306MB [2023-08-22T16:25:58.227Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:25:58.227Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-22T16:25:58.506Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-22T16:25:58.506Z] edb6bdbacee9: Pulling fs layer [2023-08-22T16:25:58.506Z] 5f9638ab2659: Pulling fs layer [2023-08-22T16:25:58.506Z] 8d51d6327a98: Pulling fs layer [2023-08-22T16:25:58.506Z] 8b374f2dd631: Pulling fs layer [2023-08-22T16:25:58.506Z] ec14aa9079de: Pulling fs layer [2023-08-22T16:25:58.506Z] 2f466654f4bb: Pulling fs layer [2023-08-22T16:25:58.506Z] 554e91adad29: Pulling fs layer [2023-08-22T16:25:58.506Z] ec14aa9079de: Waiting [2023-08-22T16:25:58.506Z] 2f466654f4bb: Waiting [2023-08-22T16:25:58.506Z] 554e91adad29: Waiting [2023-08-22T16:25:58.506Z] 8b374f2dd631: Waiting [2023-08-22T16:25:58.506Z] 5f9638ab2659: Verifying Checksum [2023-08-22T16:25:58.506Z] 8b374f2dd631: Verifying Checksum [2023-08-22T16:25:58.506Z] 8b374f2dd631: Download complete [2023-08-22T16:25:58.506Z] ec14aa9079de: Verifying Checksum [2023-08-22T16:25:58.506Z] ec14aa9079de: Download complete [2023-08-22T16:25:58.506Z] edb6bdbacee9: Verifying Checksum [2023-08-22T16:25:58.506Z] edb6bdbacee9: Download complete [2023-08-22T16:25:59.982Z] edb6bdbacee9: Pull complete [2023-08-22T16:25:59.982Z] 554e91adad29: Verifying Checksum [2023-08-22T16:25:59.982Z] 554e91adad29: Download complete [2023-08-22T16:26:00.602Z] 5f9638ab2659: Pull complete [2023-08-22T16:26:02.084Z] 8d51d6327a98: Verifying Checksum [2023-08-22T16:26:02.084Z] 8d51d6327a98: Download complete [2023-08-22T16:26:02.084Z] 2f466654f4bb: Verifying Checksum [2023-08-22T16:26:02.084Z] 2f466654f4bb: Download complete [2023-08-22T16:26:14.473Z] 8d51d6327a98: Pull complete [2023-08-22T16:26:14.473Z] 8b374f2dd631: Pull complete [2023-08-22T16:26:14.473Z] ec14aa9079de: Pull complete [2023-08-22T16:26:24.631Z] 2f466654f4bb: Pull complete [2023-08-22T16:26:26.663Z] 554e91adad29: Pull complete [2023-08-22T16:26:26.663Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-22T16:26:26.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-22T16:26:26.663Z] ---> 1e15ea492957 [2023-08-22T16:26:26.663Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:26:29.359Z] ---> Running in 8ab3a1364bb6 [2023-08-22T16:26:29.359Z] Removing intermediate container 8ab3a1364bb6 [2023-08-22T16:26:29.359Z] ---> b7f33a72483e [2023-08-22T16:26:29.359Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:26:29.359Z] ---> Running in 4bda39182d5b [2023-08-22T16:26:29.955Z] Removing intermediate container 4bda39182d5b [2023-08-22T16:26:29.955Z] ---> 2ffa3ad8e5d5 [2023-08-22T16:26:29.955Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-22T16:26:29.955Z] ---> Running in ba18f0dd9829 [2023-08-22T16:26:30.227Z] Removing intermediate container ba18f0dd9829 [2023-08-22T16:26:30.227Z] ---> e6950e165b50 [2023-08-22T16:26:30.227Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:26:30.499Z] ---> Running in b5d967b0d548 [2023-08-22T16:26:30.771Z] Removing intermediate container b5d967b0d548 [2023-08-22T16:26:30.771Z] ---> 509c5a29cc93 [2023-08-22T16:26:30.771Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:26:30.771Z] ---> Running in d8a4906a7f40 [2023-08-22T16:26:32.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:26:33.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:26:34.393Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-22T16:26:34.393Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-22T16:26:34.393Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-22T16:26:34.675Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-22T16:26:34.675Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T16:26:34.675Z] OK: 268 MiB in 57 packages [2023-08-22T16:26:37.286Z] Removing intermediate container d8a4906a7f40 [2023-08-22T16:26:37.286Z] ---> bd980b393d98 [2023-08-22T16:26:37.286Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-22T16:26:37.568Z] ---> Running in 36790f50b61b [2023-08-22T16:26:37.839Z] Removing intermediate container 36790f50b61b [2023-08-22T16:26:37.839Z] ---> a086f7e0e308 [2023-08-22T16:26:37.839Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-22T16:26:38.446Z] ---> 3ae604b1fa4a [2023-08-22T16:26:38.446Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:26:38.723Z] ---> Running in 9a502d9118c6 [2023-08-22T16:27:46.675Z] Removing intermediate container 9a502d9118c6 [2023-08-22T16:27:46.675Z] ---> e7f348336a84 [2023-08-22T16:27:46.675Z] Step 11/12 : COPY . . [2023-08-22T16:27:47.264Z] ---> 51d20529e9c6 [2023-08-22T16:27:47.264Z] Step 12/12 : RUN $MAKE [2023-08-22T16:27:47.264Z] ---> Running in 1d824658845e [2023-08-22T16:27:48.232Z] noop [2023-08-22T16:27:49.210Z] Removing intermediate container 1d824658845e [2023-08-22T16:27:49.210Z] ---> 24e071a5f5d5 [2023-08-22T16:27:49.210Z] Successfully built 24e071a5f5d5 [2023-08-22T16:27:49.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:27:49.569Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:27:49.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:27:49.816Z] prd-ubuntu20.04-docker-arm64-4c-16g-4273 does not seem to be running inside a container [2023-08-22T16:27:49.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/132 -v /w/workspace/device-mqtt-go/132:/w/workspace/device-mqtt-go/132:rw,z -v /w/workspace/device-mqtt-go/132@tmp:/w/workspace/device-mqtt-go/132@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-08-22T16:27:51.208Z] $ docker top a00a824ecdaf7cab2497e8a59ee9d5ace592a6b5f7269c288574ca43c2a9d5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:27:52.081Z] + go version [2023-08-22T16:27:52.081Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-22T16:27:52.103Z] $ docker stop --time=1 a00a824ecdaf7cab2497e8a59ee9d5ace592a6b5f7269c288574ca43c2a9d5a8 [2023-08-22T16:27:53.800Z] $ docker rm -f --volumes a00a824ecdaf7cab2497e8a59ee9d5ace592a6b5f7269c288574ca43c2a9d5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:27:54.373Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:27:54.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:27:54.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-4273 does not seem to be running inside a container [2023-08-22T16:27:54.674Z] $ 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/132 -v /w/workspace/device-mqtt-go/132:/w/workspace/device-mqtt-go/132:rw,z -v /w/workspace/device-mqtt-go/132@tmp:/w/workspace/device-mqtt-go/132@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-08-22T16:27:56.035Z] $ docker top 96d156ca8d43aa8c9a95c230a3e9919ee1d5ddf3eacfa8d51704213730601303 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:27:56.921Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/132 [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:27:57.614Z] + make test [2023-08-22T16:27:57.614Z] go test ./... -coverprofile=coverage.out ./... [2023-08-22T16:28:36.553Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-22T16:30:58.330Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-22T16:31:05.018Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-22T16:31:05.018Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.085s coverage: 22.8% of statements [2023-08-22T16:31:05.288Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-22T16:31:05.288Z] go vet ./... [2023-08-22T16:31:37.549Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T16:31:37.550Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T16:31:37.550Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-22T16:31:37.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T16:31:37.582Z] $ docker stop --time=1 96d156ca8d43aa8c9a95c230a3e9919ee1d5ddf3eacfa8d51704213730601303 [2023-08-22T16:31:39.513Z] $ docker rm -f --volumes 96d156ca8d43aa8c9a95c230a3e9919ee1d5ddf3eacfa8d51704213730601303 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:31:40.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T16:31:40.776Z] Warning: overwriting stash ‘coverage-report’ [2023-08-22T16:31:41.320Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:31:41.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T16:31:42.046Z] + ls -al . [2023-08-22T16:31:42.046Z] total 180 [2023-08-22T16:31:42.046Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 16:28 . [2023-08-22T16:31:42.046Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:25 .. [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 16:25 .dockerignore [2023-08-22T16:31:42.046Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:25 .git [2023-08-22T16:31:42.046Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:25 .github [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 22 16:25 .gitignore [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 22 16:25 .golangci.yml [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 9317 Aug 22 16:25 Attribution.txt [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 22 16:25 CHANGELOG.md [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 22 16:25 Dockerfile [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:25 GOVERNANCE.md [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 22 16:25 Jenkinsfile [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 22 16:25 LICENSE [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 1732 Aug 22 16:25 Makefile [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 22 16:25 OWNERS.md [2023-08-22T16:31:42.046Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 22 16:25 README.md [2023-08-22T16:31:42.047Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 16:21 VERSION [2023-08-22T16:31:42.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:25 bin [2023-08-22T16:31:42.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:25 cmd [2023-08-22T16:31:42.047Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 22 16:31 coverage.out [2023-08-22T16:31:42.047Z] -rw-rw-r-- 1 jenkins jenkins 3285 Aug 22 16:25 go.mod [2023-08-22T16:31:42.047Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 22 16:25 go.sum [2023-08-22T16:31:42.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:25 internal [2023-08-22T16:31:42.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:25 mock [2023-08-22T16:31:42.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:25 snap [2023-08-22T16:31:42.047Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 22 16:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:31:42.400Z] + 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=40a9b3b3de2a21918c6f1028b85f8a29e149216d --label arch=arm64 --label version=3.1.0-dev.4 . [2023-08-22T16:31:42.668Z] Sending build context to Docker daemon 3.326MB [2023-08-22T16:31:42.668Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:31:42.668Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-22T16:31:42.668Z] ---> 24e071a5f5d5 [2023-08-22T16:31:42.668Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:31:42.938Z] ---> Running in 9ac16350d148 [2023-08-22T16:31:43.208Z] Removing intermediate container 9ac16350d148 [2023-08-22T16:31:43.208Z] ---> 4b3f6cd0c1f1 [2023-08-22T16:31:43.208Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:31:43.208Z] ---> Running in 1b1a26acac55 [2023-08-22T16:31:43.481Z] Removing intermediate container 1b1a26acac55 [2023-08-22T16:31:43.481Z] ---> f5db27bfd786 [2023-08-22T16:31:43.481Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-22T16:31:43.481Z] ---> Running in 7c37d746e764 [2023-08-22T16:31:44.072Z] Removing intermediate container 7c37d746e764 [2023-08-22T16:31:44.072Z] ---> 3f576c4e08f7 [2023-08-22T16:31:44.072Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:31:44.072Z] ---> Running in abc87e7c1e90 [2023-08-22T16:31:44.347Z] Removing intermediate container abc87e7c1e90 [2023-08-22T16:31:44.347Z] ---> f0213fa9fc0a [2023-08-22T16:31:44.347Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:31:44.347Z] ---> Running in 1c5753393b8c [2023-08-22T16:31:45.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:31:46.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:31:47.322Z] OK: 268 MiB in 57 packages [2023-08-22T16:31:48.295Z] Removing intermediate container 1c5753393b8c [2023-08-22T16:31:48.295Z] ---> a2991cacef6a [2023-08-22T16:31:48.295Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-22T16:31:48.295Z] ---> Running in ee3a9a907d25 [2023-08-22T16:31:48.567Z] Removing intermediate container ee3a9a907d25 [2023-08-22T16:31:48.567Z] ---> 9d315151fbc2 [2023-08-22T16:31:48.567Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-22T16:31:51.550Z] ---> 21826d447cde [2023-08-22T16:31:51.550Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:31:51.550Z] ---> Running in 9a9899e4d972 [2023-08-22T16:31:53.499Z] Removing intermediate container 9a9899e4d972 [2023-08-22T16:31:53.499Z] ---> 24c8f029f3e6 [2023-08-22T16:31:53.499Z] Step 11/24 : COPY . . [2023-08-22T16:31:54.465Z] ---> 6c7469966722 [2023-08-22T16:31:54.465Z] Step 12/24 : RUN $MAKE [2023-08-22T16:31:54.465Z] ---> Running in 9256e271c62c [2023-08-22T16:31:55.432Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-22T16:34:32.205Z] Removing intermediate container 9256e271c62c [2023-08-22T16:34:32.205Z] ---> 49c20b4381e4 [2023-08-22T16:34:32.205Z] Step 13/24 : FROM alpine:3.17 [2023-08-22T16:34:32.205Z] 3.17: Pulling from library/alpine [2023-08-22T16:34:32.205Z] 4060ece20d7a: Pulling fs layer [2023-08-22T16:34:32.205Z] 4060ece20d7a: Verifying Checksum [2023-08-22T16:34:32.205Z] 4060ece20d7a: Download complete [2023-08-22T16:34:32.205Z] 4060ece20d7a: Pull complete [2023-08-22T16:34:32.205Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T16:34:32.205Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T16:34:32.205Z] ---> 8650cd65339b [2023-08-22T16:34:32.205Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-22T16:34:32.205Z] ---> Running in 0ea579cd39cf [2023-08-22T16:34:32.205Z] Removing intermediate container 0ea579cd39cf [2023-08-22T16:34:32.205Z] ---> 977ef2cd5aa7 [2023-08-22T16:34:32.205Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-22T16:34:32.205Z] ---> Running in 0d65b76ab768 [2023-08-22T16:34:33.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:34:33.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:34:35.169Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-22T16:34:35.169Z] Executing busybox-1.35.0-r29.trigger [2023-08-22T16:34:35.169Z] OK: 8 MiB in 16 packages [2023-08-22T16:34:35.751Z] Removing intermediate container 0d65b76ab768 [2023-08-22T16:34:35.751Z] ---> d9a9c27bfa4e [2023-08-22T16:34:35.751Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-22T16:34:37.176Z] ---> 8afeb9f3720e [2023-08-22T16:34:37.176Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-22T16:34:37.761Z] ---> 8961545029f9 [2023-08-22T16:34:37.761Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-22T16:34:38.348Z] ---> 7eb631c9c2df [2023-08-22T16:34:38.348Z] Step 19/24 : EXPOSE 59982 [2023-08-22T16:34:38.348Z] ---> Running in 5cfb175017b0 [2023-08-22T16:34:38.618Z] Removing intermediate container 5cfb175017b0 [2023-08-22T16:34:38.618Z] ---> a29af1dec4f2 [2023-08-22T16:34:38.618Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-22T16:34:38.886Z] ---> Running in 7c2753ddcfde [2023-08-22T16:34:39.155Z] Removing intermediate container 7c2753ddcfde [2023-08-22T16:34:39.155Z] ---> 6c8fbede41e4 [2023-08-22T16:34:39.155Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-22T16:34:39.155Z] ---> Running in 67b38b862398 [2023-08-22T16:34:39.422Z] Removing intermediate container 67b38b862398 [2023-08-22T16:34:39.422Z] ---> 1d2360ebc233 [2023-08-22T16:34:39.422Z] Step 22/24 : LABEL arch=arm64 [2023-08-22T16:34:39.422Z] ---> Running in 792de98a84c3 [2023-08-22T16:34:39.688Z] Removing intermediate container 792de98a84c3 [2023-08-22T16:34:39.688Z] ---> 4574ff963bbf [2023-08-22T16:34:39.688Z] Step 23/24 : LABEL git_sha=40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:34:39.960Z] ---> Running in ba2d8284db99 [2023-08-22T16:34:40.229Z] Removing intermediate container ba2d8284db99 [2023-08-22T16:34:40.229Z] ---> 634e75437f1f [2023-08-22T16:34:40.229Z] Step 24/24 : LABEL version=3.1.0-dev.4 [2023-08-22T16:34:40.229Z] ---> Running in 5f460a82829b [2023-08-22T16:34:40.495Z] Removing intermediate container 5f460a82829b [2023-08-22T16:34:40.495Z] ---> f85a3c9ba01d [2023-08-22T16:34:40.496Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T16:34:40.496Z] Successfully built f85a3c9ba01d [2023-08-22T16:34:40.763Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:34:40.883Z] provisioning config files... [2023-08-22T16:34:40.907Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/132@tmp/config13783077985103830055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:34:41.256Z] ---> docker-login.sh [2023-08-22T16:34:41.256Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:34:41.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:41.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:41.527Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:41.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:41.527Z] [2023-08-22T16:34:41.527Z] Login Succeeded [2023-08-22T16:34:41.527Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:34:41.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:42.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:42.062Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:42.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:42.062Z] [2023-08-22T16:34:42.062Z] Login Succeeded [2023-08-22T16:34:42.062Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:34:42.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:42.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:42.328Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:42.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:42.328Z] [2023-08-22T16:34:42.328Z] Login Succeeded [2023-08-22T16:34:42.328Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:34:42.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:42.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:42.924Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:42.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:42.924Z] [2023-08-22T16:34:42.924Z] Login Succeeded [2023-08-22T16:34:42.924Z] docker.io [2023-08-22T16:34:43.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:34:43.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:34:43.466Z] Configure a credential helper to remove this warning. See [2023-08-22T16:34:43.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:34:43.466Z] [2023-08-22T16:34:43.466Z] Login Succeeded [2023-08-22T16:34:43.466Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:34:43.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:34:43.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:34:43.542Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-08-22T16:34:43.542Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:34:43.542Z] latest [2023-08-22T16:34:43.542Z] 3.1.0-dev.4 [2023-08-22T16:34:43.542Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [2023-08-22T16:34:43.542Z] main [2023-08-22T16:34:43.542Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:43.894Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:44.256Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:34:44.256Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-22T16:34:44.256Z] 0767e0741113: Preparing [2023-08-22T16:34:44.256Z] a9c2c2dceadf: Preparing [2023-08-22T16:34:44.256Z] a949a1f2c5ba: Preparing [2023-08-22T16:34:44.256Z] 0eaaf8734ae4: Preparing [2023-08-22T16:34:44.256Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:44.256Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:44.525Z] a9c2c2dceadf: Pushed [2023-08-22T16:34:44.525Z] 0767e0741113: Pushed [2023-08-22T16:34:44.525Z] 0eaaf8734ae4: Pushed [2023-08-22T16:34:49.874Z] a949a1f2c5ba: Pushed [2023-08-22T16:34:49.874Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d: digest: sha256:548bf7eed6d781ced40264561306ecd85561f66dce9061cc25eafeb00b599898 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:50.238Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:50.586Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-22T16:34:50.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-22T16:34:50.586Z] 0767e0741113: Preparing [2023-08-22T16:34:50.586Z] a9c2c2dceadf: Preparing [2023-08-22T16:34:50.586Z] a949a1f2c5ba: Preparing [2023-08-22T16:34:50.586Z] 0eaaf8734ae4: Preparing [2023-08-22T16:34:50.586Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:50.586Z] 0eaaf8734ae4: Layer already exists [2023-08-22T16:34:50.586Z] a949a1f2c5ba: Layer already exists [2023-08-22T16:34:50.586Z] a9c2c2dceadf: Layer already exists [2023-08-22T16:34:50.586Z] 0767e0741113: Layer already exists [2023-08-22T16:34:50.586Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:50.863Z] latest: digest: sha256:548bf7eed6d781ced40264561306ecd85561f66dce9061cc25eafeb00b599898 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:51.225Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:51.577Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.4 [2023-08-22T16:34:51.577Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-22T16:34:51.577Z] 0767e0741113: Preparing [2023-08-22T16:34:51.577Z] a9c2c2dceadf: Preparing [2023-08-22T16:34:51.577Z] a949a1f2c5ba: Preparing [2023-08-22T16:34:51.577Z] 0eaaf8734ae4: Preparing [2023-08-22T16:34:51.577Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:51.577Z] 0767e0741113: Layer already exists [2023-08-22T16:34:51.577Z] 0eaaf8734ae4: Layer already exists [2023-08-22T16:34:51.577Z] a949a1f2c5ba: Layer already exists [2023-08-22T16:34:51.577Z] a9c2c2dceadf: Layer already exists [2023-08-22T16:34:51.577Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:51.844Z] 3.1.0-dev.4: digest: sha256:548bf7eed6d781ced40264561306ecd85561f66dce9061cc25eafeb00b599898 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:52.201Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:52.564Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [2023-08-22T16:34:52.564Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-22T16:34:52.564Z] 0767e0741113: Preparing [2023-08-22T16:34:52.564Z] a9c2c2dceadf: Preparing [2023-08-22T16:34:52.564Z] a949a1f2c5ba: Preparing [2023-08-22T16:34:52.564Z] 0eaaf8734ae4: Preparing [2023-08-22T16:34:52.564Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:52.564Z] 0767e0741113: Layer already exists [2023-08-22T16:34:52.564Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:52.564Z] 0eaaf8734ae4: Layer already exists [2023-08-22T16:34:52.564Z] a949a1f2c5ba: Layer already exists [2023-08-22T16:34:52.564Z] a9c2c2dceadf: Layer already exists [2023-08-22T16:34:52.833Z] 40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4: digest: sha256:548bf7eed6d781ced40264561306ecd85561f66dce9061cc25eafeb00b599898 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:53.196Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:53.560Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-08-22T16:34:53.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-22T16:34:53.560Z] 0767e0741113: Preparing [2023-08-22T16:34:53.560Z] a9c2c2dceadf: Preparing [2023-08-22T16:34:53.560Z] a949a1f2c5ba: Preparing [2023-08-22T16:34:53.560Z] 0eaaf8734ae4: Preparing [2023-08-22T16:34:53.560Z] d2d9d24a8c2a: Preparing [2023-08-22T16:34:53.560Z] a949a1f2c5ba: Layer already exists [2023-08-22T16:34:53.560Z] a9c2c2dceadf: Layer already exists [2023-08-22T16:34:53.560Z] d2d9d24a8c2a: Layer already exists [2023-08-22T16:34:53.560Z] 0eaaf8734ae4: Layer already exists [2023-08-22T16:34:53.560Z] 0767e0741113: Layer already exists [2023-08-22T16:34:53.560Z] main: digest: sha256:548bf7eed6d781ced40264561306ecd85561f66dce9061cc25eafeb00b599898 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-22T16:34:53.883Z] ===================================================== [Pipeline] echo [2023-08-22T16:34:53.889Z] taggedImages: [2023-08-22T16:34:53.889Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:40a9b3b3de2a21918c6f1028b85f8a29e149216d [2023-08-22T16:34:53.889Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-22T16:34:53.889Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.4 [2023-08-22T16:34:53.889Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:40a9b3b3de2a21918c6f1028b85f8a29e149216d-3.1.0-dev.4 [2023-08-22T16:34:53.889Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:54.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:34:54.259Z] [2023-08-22T16:34:54.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:54.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:34:54.867Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-22T16:34:54.867Z] 8998bd30e6a1: Pulling fs layer [2023-08-22T16:34:54.867Z] 04944245beec: Pulling fs layer [2023-08-22T16:34:54.867Z] 699f458cf7ca: Pulling fs layer [2023-08-22T16:34:54.867Z] 765212b225bb: Pulling fs layer [2023-08-22T16:34:54.867Z] f23df028b6ca: Pulling fs layer [2023-08-22T16:34:54.867Z] d65c8cfc05b1: Pulling fs layer [2023-08-22T16:34:54.867Z] 2437ff75d9bd: Pulling fs layer [2023-08-22T16:34:54.867Z] f23df028b6ca: Waiting [2023-08-22T16:34:54.867Z] d65c8cfc05b1: Waiting [2023-08-22T16:34:54.867Z] 2437ff75d9bd: Waiting [2023-08-22T16:34:54.867Z] 765212b225bb: Waiting [2023-08-22T16:34:54.867Z] 04944245beec: Verifying Checksum [2023-08-22T16:34:54.867Z] 04944245beec: Download complete [2023-08-22T16:34:54.867Z] 765212b225bb: Verifying Checksum [2023-08-22T16:34:54.867Z] 765212b225bb: Download complete [2023-08-22T16:34:54.867Z] f23df028b6ca: Verifying Checksum [2023-08-22T16:34:54.867Z] f23df028b6ca: Download complete [2023-08-22T16:34:54.867Z] d65c8cfc05b1: Verifying Checksum [2023-08-22T16:34:54.867Z] d65c8cfc05b1: Download complete [2023-08-22T16:34:55.139Z] 699f458cf7ca: Verifying Checksum [2023-08-22T16:34:55.139Z] 699f458cf7ca: Download complete [2023-08-22T16:34:55.414Z] 8998bd30e6a1: Verifying Checksum [2023-08-22T16:34:55.414Z] 8998bd30e6a1: Download complete [2023-08-22T16:34:58.013Z] 2437ff75d9bd: Verifying Checksum [2023-08-22T16:34:58.013Z] 2437ff75d9bd: Download complete [2023-08-22T16:34:59.426Z] 8998bd30e6a1: Pull complete [2023-08-22T16:34:59.767Z] 04944245beec: Pull complete [2023-08-22T16:35:01.179Z] 699f458cf7ca: Pull complete [2023-08-22T16:35:01.445Z] 765212b225bb: Pull complete [2023-08-22T16:35:02.033Z] f23df028b6ca: Pull complete [2023-08-22T16:35:02.620Z] d65c8cfc05b1: Pull complete [2023-08-22T16:35:17.618Z] 2437ff75d9bd: Pull complete [2023-08-22T16:35:17.619Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-22T16:35:17.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:35:17.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:35:17.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-4273 does not seem to be running inside a container [2023-08-22T16:35:17.923Z] $ 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/132 -v /w/workspace/device-mqtt-go/132:/w/workspace/device-mqtt-go/132:rw,z -v /w/workspace/device-mqtt-go/132@tmp:/w/workspace/device-mqtt-go/132@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-08-22T16:35:20.893Z] $ docker top cb29be01359dc92e7f90d5850d524ec08681570e489e07d81c23460cce72d802 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:35:21.761Z] ---> job-cost.sh [2023-08-22T16:35:21.761Z] lf-activate-venv: SKIPPING [2023-08-22T16:35:21.761Z] INFO: No Stack... [2023-08-22T16:35:22.029Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-22T16:35:22.990Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:35:23.634Z] + cat /w/workspace/device-mqtt-go/132/archives/cost.csv [2023-08-22T16:35:23.634Z] + cut -d, -f6 [Pipeline] lock [2023-08-22T16:35:23.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] [2023-08-22T16:35:23.712Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] did not exist. Created. [2023-08-22T16:35:23.712Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:35:24.371Z] /w/workspace/device-mqtt-go/132@tmp/durable-5e8d7e1d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-22T16:35:25.026Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-22T16:35:25.047Z] Warning: overwriting stash ‘stack-cost’ [2023-08-22T16:35:25.121Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:35:25.129Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:35:25.144Z] $ docker stop --time=1 cb29be01359dc92e7f90d5850d524ec08681570e489e07d81c23460cce72d802 [2023-08-22T16:35:26.672Z] $ docker rm -f --volumes cb29be01359dc92e7f90d5850d524ec08681570e489e07d81c23460cce72d802 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-22T16:35:27.031Z] provisioning config files... [2023-08-22T16:35:27.037Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1039950469742290286tmp [Pipeline] { [Pipeline] sh [2023-08-22T16:35:27.332Z] + set +x [2023-08-22T16:35:27.333Z] + curl -s https://codecov.io/bash [2023-08-22T16:35:27.333Z] + bash -s -- [2023-08-22T16:35:27.333Z] [2023-08-22T16:35:27.333Z] _____ _ [2023-08-22T16:35:27.333Z] / ____| | | [2023-08-22T16:35:27.333Z] | | ___ __| | ___ ___ _____ __ [2023-08-22T16:35:27.333Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-22T16:35:27.333Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-22T16:35:27.333Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-22T16:35:27.333Z] Bash-1.0.6 [2023-08-22T16:35:27.333Z] [2023-08-22T16:35:27.333Z] [2023-08-22T16:35:27.333Z] ==> git version 2.25.1 found [2023-08-22T16:35:27.333Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-22T16:35:27.333Z] Release-Date: 2020-01-08 [2023-08-22T16:35:27.333Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-22T16:35:27.333Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-22T16:35:27.333Z] ==> Jenkins CI detected. [2023-08-22T16:35:27.333Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-22T16:35:27.333Z] project root: . [2023-08-22T16:35:27.333Z] --> token set from env [2023-08-22T16:35:27.333Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-22T16:35:27.333Z] ==> Running gcov in . (disable via -X gcov) [2023-08-22T16:35:27.333Z] ==> Python coveragepy not found [2023-08-22T16:35:27.333Z] ==> Searching for coverage reports in: [2023-08-22T16:35:27.333Z] + . [2023-08-22T16:35:27.333Z] -> Found 1 reports [2023-08-22T16:35:27.333Z] ==> Detecting git/mercurial file structure [2023-08-22T16:35:27.333Z] ==> Reading reports [2023-08-22T16:35:27.333Z] + ./coverage.out bytes=18506 [2023-08-22T16:35:27.333Z] ==> Appending adjustments [2023-08-22T16:35:27.333Z] https://docs.codecov.io/docs/fixing-reports [2023-08-22T16:35:27.592Z] + Found adjustments [2023-08-22T16:35:27.592Z] ==> Gzipping contents [2023-08-22T16:35:27.592Z] 4.0K /tmp/codecov.A7IfoO.gz [2023-08-22T16:35:27.592Z] ==> Uploading reports [2023-08-22T16:35:27.592Z] url: https://codecov.io [2023-08-22T16:35:27.592Z] query: branch=main&commit=40a9b3b3de2a21918c6f1028b85f8a29e149216d&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-22T16:35:27.592Z] -> Pinging Codecov [2023-08-22T16:35:27.592Z] 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=40a9b3b3de2a21918c6f1028b85f8a29e149216d&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-22T16:35:27.592Z] -> Uploading to [2023-08-22T16:35:27.592Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-22/7D719EC7BBE17E464838252E33014C33/40a9b3b3de2a21918c6f1028b85f8a29e149216d/bbcb6181-4f51-4417-a223-ad9fbb91c35b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T163527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3f5c6cda07e346830603aec8c31346940b7788e1830f3bc8c3ef44a12ac1d19 [2023-08-22T16:35:27.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:35:27.592Z] Dload Upload Total Spent Left Speed [2023-08-22T16:35:27.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17983 --:--:-- --:--:-- --:--:-- 17983 [2023-08-22T16:35:27.851Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] } [2023-08-22T16:35:27.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-22T16:35:27.965Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-22T16:35:27.977Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:28.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:35:28.269Z] [2023-08-22T16:35:28.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:28.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:35:28.564Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-22T16:35:28.564Z] df9b9388f04a: Pulling fs layer [2023-08-22T16:35:28.564Z] 52dc419b0ee2: Pulling fs layer [2023-08-22T16:35:28.564Z] 25bc292e5bac: Pulling fs layer [2023-08-22T16:35:28.564Z] 114826534d7a: Pulling fs layer [2023-08-22T16:35:28.564Z] 4657fd5d0bcf: Pulling fs layer [2023-08-22T16:35:28.564Z] 6ad1cebc031e: Pulling fs layer [2023-08-22T16:35:28.564Z] 8a3aa393b2d8: Pulling fs layer [2023-08-22T16:35:28.564Z] 4657fd5d0bcf: Waiting [2023-08-22T16:35:28.564Z] 6ad1cebc031e: Waiting [2023-08-22T16:35:28.564Z] 114826534d7a: Waiting [2023-08-22T16:35:28.564Z] 25bc292e5bac: Verifying Checksum [2023-08-22T16:35:28.564Z] 25bc292e5bac: Download complete [2023-08-22T16:35:28.564Z] 52dc419b0ee2: Download complete [2023-08-22T16:35:28.564Z] 4657fd5d0bcf: Download complete [2023-08-22T16:35:28.564Z] df9b9388f04a: Download complete [2023-08-22T16:35:28.848Z] 6ad1cebc031e: Verifying Checksum [2023-08-22T16:35:28.848Z] 6ad1cebc031e: Download complete [2023-08-22T16:35:28.848Z] df9b9388f04a: Pull complete [2023-08-22T16:35:28.848Z] 52dc419b0ee2: Pull complete [2023-08-22T16:35:28.848Z] 25bc292e5bac: Pull complete [2023-08-22T16:35:29.415Z] 114826534d7a: Verifying Checksum [2023-08-22T16:35:29.415Z] 114826534d7a: Download complete [2023-08-22T16:35:29.415Z] 8a3aa393b2d8: Verifying Checksum [2023-08-22T16:35:29.415Z] 8a3aa393b2d8: Download complete [2023-08-22T16:35:33.610Z] 114826534d7a: Pull complete [2023-08-22T16:35:33.610Z] 4657fd5d0bcf: Pull complete [2023-08-22T16:35:33.610Z] 6ad1cebc031e: Pull complete [2023-08-22T16:35:36.892Z] 8a3aa393b2d8: Pull complete [2023-08-22T16:35:36.892Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-22T16:35:36.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:35:36.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:35:36.982Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:35:37.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-22T16:35:43.346Z] $ docker top c2485f4b225c1c245ce1cb3b85e66b4560c721cce92205ad270221926943285c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-22T16:35:43.401Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-08-22T16:35:43.679Z] + set -o pipefail [2023-08-22T16:35:43.680Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-08-22T16:35:50.242Z] [2023-08-22T16:35:50.242Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-08-22T16:35:50.242Z] [2023-08-22T16:35:50.242Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/30681635-64ac-49b0-9947-b33a7d1eed16 [2023-08-22T16:35:50.242Z] [2023-08-22T16:35:50.242Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-22T16:35:50.242Z] [2023-08-22T16:35:50.242Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-22T16:35:50.242Z] [2023-08-22T16:35:50.242Z] [2023-08-22T16:35:50.242Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-22T16:35:50.242Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-22T16:35:50.242Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-22T16:35:50.253Z] $ docker stop --time=1 c2485f4b225c1c245ce1cb3b85e66b4560c721cce92205ad270221926943285c [2023-08-22T16:35:54.133Z] $ docker rm -f --volumes c2485f4b225c1c245ce1cb3b85e66b4560c721cce92205ad270221926943285c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:35:54.811Z] + git log --format=format:%s -1 40a9b3b3de2a21918c6f1028b85f8a29e149216d [Pipeline] sh [2023-08-22T16:35:55.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:35:55.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:55.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:35:55.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:35:55.467Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:35:55.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:35:55.949Z] $ docker top fae599e4850a0d66180d68438b2d84ecc8bda793ea2a744ae6092a966726c764 -eo pid,comm [2023-08-22T16:35:55.995Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:35:55.995Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:35:56.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:35:56.038Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:35:56.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:35:56.154Z] $ docker exec fae599e4850a0d66180d68438b2d84ecc8bda793ea2a744ae6092a966726c764 ssh-agent [2023-08-22T16:35:56.251Z] SSH_AUTH_SOCK=/tmp/ssh-Iqe12wNNbCDx/agent.32 [2023-08-22T16:35:56.251Z] SSH_AGENT_PID=38 [2023-08-22T16:35:56.255Z] Running ssh-add (command line suppressed) [2023-08-22T16:35:56.368Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3567465955192527003.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3567465955192527003.key) [2023-08-22T16:35:56.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:35:56.663Z] + git semver tag [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,836 [run_tag] DEBUG tag force:False [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,836 [check_head_tag] DEBUG check head tag [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,836 [execute] INFO git cat-file --batch-check [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,841 [execute] INFO git cat-file --batch [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,849 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,849 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:35:56.922Z] 2023-08-22 16:35:56,854 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:35:56.922Z] 3.1.0-dev.4 [Pipeline] } [2023-08-22T16:35:56.933Z] $ docker exec --env ******** --env ******** fae599e4850a0d66180d68438b2d84ecc8bda793ea2a744ae6092a966726c764 ssh-agent -k [2023-08-22T16:35:57.036Z] unset SSH_AUTH_SOCK; [2023-08-22T16:35:57.037Z] unset SSH_AGENT_PID; [2023-08-22T16:35:57.037Z] echo Agent pid 38 killed; [2023-08-22T16:35:57.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:35:57.354Z] + git semver [Pipeline] } [2023-08-22T16:35:57.626Z] $ docker stop --time=1 fae599e4850a0d66180d68438b2d84ecc8bda793ea2a744ae6092a966726c764 [2023-08-22T16:35:58.884Z] $ docker rm -f --volumes fae599e4850a0d66180d68438b2d84ecc8bda793ea2a744ae6092a966726c764 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:59.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:35:59.256Z] [2023-08-22T16:35:59.256Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:35:59.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:35:59.550Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-22T16:35:59.550Z] ab5ef0e58194: Pulling fs layer [2023-08-22T16:35:59.550Z] 9712f1f96733: Pulling fs layer [2023-08-22T16:35:59.550Z] 63f879dbbcfc: Pulling fs layer [2023-08-22T16:35:59.550Z] 0d9ebad4ef96: Pulling fs layer [2023-08-22T16:35:59.550Z] e9a5061849ea: Pulling fs layer [2023-08-22T16:35:59.550Z] d747dcd14b5f: Pulling fs layer [2023-08-22T16:35:59.550Z] 2de7ff778b66: Pulling fs layer [2023-08-22T16:35:59.550Z] 0d9ebad4ef96: Waiting [2023-08-22T16:35:59.550Z] d747dcd14b5f: Waiting [2023-08-22T16:35:59.550Z] 9712f1f96733: Verifying Checksum [2023-08-22T16:35:59.550Z] 9712f1f96733: Download complete [2023-08-22T16:35:59.811Z] 63f879dbbcfc: Verifying Checksum [2023-08-22T16:35:59.811Z] 63f879dbbcfc: Download complete [2023-08-22T16:36:00.069Z] 0d9ebad4ef96: Verifying Checksum [2023-08-22T16:36:00.069Z] 0d9ebad4ef96: Download complete [2023-08-22T16:36:00.069Z] d747dcd14b5f: Download complete [2023-08-22T16:36:00.069Z] e9a5061849ea: Verifying Checksum [2023-08-22T16:36:00.069Z] e9a5061849ea: Download complete [2023-08-22T16:36:00.069Z] ab5ef0e58194: Verifying Checksum [2023-08-22T16:36:00.069Z] ab5ef0e58194: Download complete [2023-08-22T16:36:00.327Z] 2de7ff778b66: Verifying Checksum [2023-08-22T16:36:00.327Z] 2de7ff778b66: Download complete [2023-08-22T16:36:02.855Z] ab5ef0e58194: Pull complete [2023-08-22T16:36:02.855Z] 9712f1f96733: Pull complete [2023-08-22T16:36:03.794Z] 63f879dbbcfc: Pull complete [2023-08-22T16:36:07.972Z] 0d9ebad4ef96: Pull complete [2023-08-22T16:36:07.972Z] e9a5061849ea: Pull complete [2023-08-22T16:36:07.972Z] d747dcd14b5f: Pull complete [2023-08-22T16:36:08.906Z] 2de7ff778b66: Pull complete [2023-08-22T16:36:08.906Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-22T16:36:08.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:36:08.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:08.982Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:36:09.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-22T16:36:16.312Z] $ docker top 21187a273eb97bcec768d9200348df5816c5a1fb18173e36ef1b85db80a90037 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:36:16.384Z] provisioning config files... [2023-08-22T16:36:16.390Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config657319077537257111tmp [2023-08-22T16:36:16.399Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9801139874263517817tmp [2023-08-22T16:36:16.407Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5308184668400464975tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:36:16.421Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:16.700Z] ---> sigul-configuration.sh [2023-08-22T16:36:16.700Z] gpg: directory `/root/.gnupg' created [2023-08-22T16:36:16.700Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-22T16:36:16.700Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-22T16:36:16.700Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-22T16:36:16.700Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-22T16:36:16.700Z] gpg: CAST5 encrypted data [2023-08-22T16:36:16.700Z] gpg: encrypted with 1 passphrase [2023-08-22T16:36:16.700Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-22T16:36:16.986Z] + mkdir /home/jenkins [2023-08-22T16:36:16.986Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-22T16:36:17.268Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-22T16:36:17.275Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:17.558Z] ---> sigul-install.sh [2023-08-22T16:36:17.558Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-22T16:36:17.839Z] + git tag --list [2023-08-22T16:36:17.839Z] 0.7.1 [2023-08-22T16:36:17.839Z] v1.0.0 [2023-08-22T16:36:17.839Z] v1.1.0 [2023-08-22T16:36:17.839Z] v1.1.1 [2023-08-22T16:36:17.839Z] v1.2.2 [2023-08-22T16:36:17.839Z] v1.3.0 [2023-08-22T16:36:17.839Z] v1.3.1 [2023-08-22T16:36:17.839Z] v2.0.0 [2023-08-22T16:36:17.839Z] v2.1.0 [2023-08-22T16:36:17.839Z] v2.1.1 [2023-08-22T16:36:17.839Z] v2.2.0 [2023-08-22T16:36:17.839Z] v2.3.0 [2023-08-22T16:36:17.839Z] v3.0 [2023-08-22T16:36:17.839Z] v3.0.0 [2023-08-22T16:36:17.839Z] v3.1.0-dev.1 [2023-08-22T16:36:17.839Z] v3.1.0-dev.2 [2023-08-22T16:36:17.839Z] v3.1.0-dev.3 [2023-08-22T16:36:17.839Z] v3.1.0-dev.4 [Pipeline] sh [2023-08-22T16:36:18.127Z] + lftools sign git-tag v3.1.0-dev.4 [2023-08-22T16:36:18.694Z] Signing Git tag with Sigul... [2023-08-22T16:36:18.694Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-08-22T16:36:18.961Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:19.243Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-22T16:36:19.250Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-22T16:36:19.274Z] $ docker stop --time=1 21187a273eb97bcec768d9200348df5816c5a1fb18173e36ef1b85db80a90037 [2023-08-22T16:36:20.552Z] $ docker rm -f --volumes 21187a273eb97bcec768d9200348df5816c5a1fb18173e36ef1b85db80a90037 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-22T16:36:20.946Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:36:20.946Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:21.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:36:21.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:21.314Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:36:21.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:36:21.679Z] $ docker top 3dc1c953af0d503b6607801e8e87a7fa2d5408bb02a24400898ca8ff6de46f44 -eo pid,comm [2023-08-22T16:36:21.726Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-22T16:36:21.726Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:36:21.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:36:21.766Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:36:21.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:36:21.883Z] $ docker exec 3dc1c953af0d503b6607801e8e87a7fa2d5408bb02a24400898ca8ff6de46f44 ssh-agent [2023-08-22T16:36:21.985Z] SSH_AUTH_SOCK=/tmp/ssh-jsmUTPssQezo/agent.32 [2023-08-22T16:36:21.985Z] SSH_AGENT_PID=38 [2023-08-22T16:36:21.989Z] Running ssh-add (command line suppressed) [2023-08-22T16:36:22.094Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11475901780441883459.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11475901780441883459.key) [2023-08-22T16:36:22.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:36:22.392Z] + git semver bump pre [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,590 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,590 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,590 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,590 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,592 [execute] INFO git cat-file --batch-check [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,599 [execute] INFO git cat-file --batch [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:22.651Z] 2023-08-22 16:36:22,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:36:22.651Z] 3.1.0-dev.5 [Pipeline] } [2023-08-22T16:36:22.662Z] $ docker exec --env ******** --env ******** 3dc1c953af0d503b6607801e8e87a7fa2d5408bb02a24400898ca8ff6de46f44 ssh-agent -k [2023-08-22T16:36:22.772Z] unset SSH_AUTH_SOCK; [2023-08-22T16:36:22.772Z] unset SSH_AGENT_PID; [2023-08-22T16:36:22.772Z] echo Agent pid 38 killed; [2023-08-22T16:36:22.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:36:23.105Z] + git semver [Pipeline] } [2023-08-22T16:36:23.378Z] $ docker stop --time=1 3dc1c953af0d503b6607801e8e87a7fa2d5408bb02a24400898ca8ff6de46f44 [2023-08-22T16:36:24.690Z] $ docker rm -f --volumes 3dc1c953af0d503b6607801e8e87a7fa2d5408bb02a24400898ca8ff6de46f44 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:36:25.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:36:25.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:25.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:36:25.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:25.400Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:36:25.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:36:25.819Z] $ docker top f6847e4535a9562acea7361a183c652a2e80fcab7bed5dcbcd9dc4d2511c82d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:36:25.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:36:25.892Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:36:26.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:36:26.008Z] $ docker exec f6847e4535a9562acea7361a183c652a2e80fcab7bed5dcbcd9dc4d2511c82d3 ssh-agent [2023-08-22T16:36:26.112Z] SSH_AUTH_SOCK=/tmp/ssh-qbKO7eheXq7Y/agent.32 [2023-08-22T16:36:26.112Z] SSH_AGENT_PID=38 [2023-08-22T16:36:26.117Z] Running ssh-add (command line suppressed) [2023-08-22T16:36:26.230Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18057678546369662652.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18057678546369662652.key) [2023-08-22T16:36:26.244Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:36:26.530Z] + git semver push [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,720 [run_push] DEBUG push [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,720 [execute] INFO git cat-file --batch-check [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,725 [execute] INFO git rev-list 69091fc88187b56f2d46a65b7a813fc8ea8a5e13 -- [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,725 [execute] DEBUG Popen(['git', 'rev-list', '69091fc88187b56f2d46a65b7a813fc8ea8a5e13', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,733 [execute] INFO git fetch -v origin [2023-08-22T16:36:26.789Z] 2023-08-22 16:36:26,734 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-22T16:36:27.358Z] 2023-08-22 16:36:27,192 [run_push] DEBUG no remote changes detected [2023-08-22T16:36:27.358Z] 2023-08-22 16:36:27,192 [execute] INFO git push origin semver [2023-08-22T16:36:27.358Z] 2023-08-22 16:36:27,193 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:27.925Z] 2023-08-22 16:36:27,916 [run_push] DEBUG push all version tags [2023-08-22T16:36:27.925Z] 2023-08-22 16:36:27,917 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-22T16:36:27.925Z] 2023-08-22 16:36:27,917 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:36:28.861Z] 2023-08-22 16:36:28,622 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-22T16:36:28.861Z] 3.1.0-dev.5 [Pipeline] } [2023-08-22T16:36:28.873Z] $ docker exec --env ******** --env ******** f6847e4535a9562acea7361a183c652a2e80fcab7bed5dcbcd9dc4d2511c82d3 ssh-agent -k [2023-08-22T16:36:28.967Z] unset SSH_AUTH_SOCK; [2023-08-22T16:36:28.967Z] unset SSH_AGENT_PID; [2023-08-22T16:36:28.967Z] echo Agent pid 38 killed; [2023-08-22T16:36:28.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:36:29.279Z] + git semver [Pipeline] } [2023-08-22T16:36:29.554Z] $ docker stop --time=1 f6847e4535a9562acea7361a183c652a2e80fcab7bed5dcbcd9dc4d2511c82d3 [2023-08-22T16:36:30.802Z] $ docker rm -f --volumes f6847e4535a9562acea7361a183c652a2e80fcab7bed5dcbcd9dc4d2511c82d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-22T16:36:31.330Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-08-22T16:36:31.330Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-22T16:36:31.330Z] total 16 [2023-08-22T16:36:31.330Z] drwxr-xr-x 3 root root 4096 Aug 22 16:24 . [2023-08-22T16:36:31.330Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:36 .. [2023-08-22T16:36:31.330Z] drwxr-xr-x 2 root root 4096 Aug 22 16:24 cost [2023-08-22T16:36:31.330Z] -rw-r--r-- 1 root root 86 Aug 22 16:24 cost.csv [2023-08-22T16:36:31.330Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-22T16:36:31.330Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-22T16:36:31.330Z] total 16 [2023-08-22T16:36:31.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:24 . [2023-08-22T16:36:31.330Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:36 .. [2023-08-22T16:36:31.330Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:24 cost [2023-08-22T16:36:31.330Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 22 16:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:31.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:32.474Z] ---> package-listing.sh [2023-08-22T16:36:32.474Z] ++ facter osfamily [2023-08-22T16:36:32.474Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-22T16:36:32.732Z] + OS_FAMILY=debian [2023-08-22T16:36:32.732Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-22T16:36:32.732Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-22T16:36:32.732Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-22T16:36:32.732Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-22T16:36:32.732Z] + PACKAGES=/tmp/packages_start.txt [2023-08-22T16:36:32.732Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-22T16:36:32.732Z] + PACKAGES=/tmp/packages_end.txt [2023-08-22T16:36:32.732Z] + case "${OS_FAMILY}" in [2023-08-22T16:36:32.732Z] + dpkg -l [2023-08-22T16:36:32.732Z] + grep '^ii' [2023-08-22T16:36:32.732Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-22T16:36:32.732Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-22T16:36:32.732Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-22T16:36:32.732Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-22T16:36:32.732Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-08-22T16:36:32.732Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-08-22T16:36:32.740Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-22T16:36:33.016Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:36:33.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:36:33.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:36:33.649Z] prd-ubuntu20.04-docker-8c-8g-4265 does not seem to be running inside a container [2023-08-22T16:36:33.682Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-22T16:36:33.914Z] $ docker top 3430fee5fbecb9d87a4fc750c816f3b7974ec7cf92cb4b26d2dbbd939aaea4cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:36:34.333Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-22T16:36:34.668Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-22T16:36:34.962Z] + ls /var/log/sa-host [2023-08-22T16:36:34.962Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:36:35.033Z] provisioning config files... [2023-08-22T16:36:35.040Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16138784437943839960tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:36:35.053Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:35.333Z] ---> create-netrc.sh [Pipeline] } [2023-08-22T16:36:35.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:35.649Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-22T16:36:35.657Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:35.936Z] ---> sudo-logs.sh [2023-08-22T16:36:35.936Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-22T16:36:35.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:36.247Z] ---> job-cost.sh [2023-08-22T16:36:36.247Z] lf-activate-venv: SKIPPING [2023-08-22T16:36:36.247Z] DEBUG: total: 0.2199999988079071 [2023-08-22T16:36:36.247Z] INFO: Retrieving Stack Cost... [2023-08-22T16:36:36.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:36:37.073Z] INFO: Archiving Costs [Pipeline] echo [2023-08-22T16:36:37.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:36:37.367Z] ---> logs-deploy.sh [2023-08-22T16:36:37.367Z] lf-activate-venv: SKIPPING [2023-08-22T16:36:37.367Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/132 [2023-08-22T16:36:37.367Z] INFO: archiving workspace using pattern(s): [2023-08-22T16:36:38.315Z] Archives upload complete. [2023-08-22T16:36:38.574Z] INFO: archiving logs to Nexus