Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 24031f99736a1500bd59a57df778730f3b803153 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-ssh2310176248759045908.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-ssh8722551590514330223.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-ssh9838343165809855415.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-ssh13731080901267649801.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-ssh9123817958326580198.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-4559’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4564 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 24031f99736a1500bd59a57df778730f3b803153 (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 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 Commit message: "Merge pull request #619 from FelixTing/update-sdk" > git rev-list --no-walk 40a9b3b3de2a21918c6f1028b85f8a29e149216d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T11:00:28.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T11:00:28.105Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T11:00:28.133Z] ========================================================= [2023-08-25T11:00:28.133Z] EdgeX Global Pipelines Version Info [2023-08-25T11:00:28.133Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:28.870Z] ------------------- [2023-08-25T11:00:28.870Z] stable info: [2023-08-25T11:00:28.870Z] ------------------- [2023-08-25T11:00:28.871Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T11:00:28.871Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T11:00:28.871Z] Message: update stable to v1.0.253 [2023-08-25T11:00:29.444Z] ------------------- [2023-08-25T11:00:29.444Z] experimental info: [2023-08-25T11:00:29.444Z] ------------------- [2023-08-25T11:00:29.444Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T11:00:29.444Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T11:00:29.444Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T11:00:29.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-08-25T11:00:29.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-08-25T11:00:29.619Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T11:00:29.639Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T11:00:29.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T11:00:29.666Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T11:00:29.678Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T11:00:29.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T11:00:29.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T11:00:29.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T11:00:29.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T11:00:29.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-08-25T11:00:29.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T11:00:29.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T11:00:29.781Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T11:00:29.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T11:00:29.811Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T11:00:29.826Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T11:00:29.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T11:00:29.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T11:00:29.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T11:00:29.875Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T11:00:29.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T11:00:29.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T11:00:29.925Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T11:00:29.936Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T11:00:29.950Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T11:00:29.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T11:00:29.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T11:00:29.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T11:00:30.012Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo [2023-08-25T11:00:30.026Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24031f9 [Pipeline] echo [2023-08-25T11:00:30.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:00:30.085Z] provisioning config files... [2023-08-25T11:00:30.097Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12930494112946042988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:30.398Z] ---> docker-login.sh [2023-08-25T11:00:30.398Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:00:30.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:30.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:30.656Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:30.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:30.656Z] [2023-08-25T11:00:30.656Z] Login Succeeded [2023-08-25T11:00:30.656Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:00:30.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:30.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:30.656Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:30.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:30.656Z] [2023-08-25T11:00:30.656Z] Login Succeeded [2023-08-25T11:00:30.656Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:00:30.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:30.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:30.914Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:30.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:30.914Z] [2023-08-25T11:00:30.914Z] Login Succeeded [2023-08-25T11:00:30.914Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:00:30.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:30.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:30.914Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:30.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:30.914Z] [2023-08-25T11:00:30.914Z] Login Succeeded [2023-08-25T11:00:30.914Z] docker.io [2023-08-25T11:00:30.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:31.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:31.174Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:31.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:31.174Z] [2023-08-25T11:00:31.174Z] Login Succeeded [2023-08-25T11:00:31.174Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:00:31.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T11:00:31.548Z] + git rev-list -1 --merges 24031f99736a1500bd59a57df778730f3b803153~1..24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo [2023-08-25T11:00:31.588Z] -----------> git rev-list -1 --merges 24031f99736a1500bd59a57df778730f3b803153~1..24031f99736a1500bd59a57df778730f3b803153 24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:00:31.588Z] 24031f99736a1500bd59a57df778730f3b803153 [false] [Pipeline] sh [2023-08-25T11:00:31.875Z] + git log --format=format:%s -1 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo [2023-08-25T11:00:31.889Z] ========================================================= [2023-08-25T11:00:31.889Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T11:00:31.889Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:00:32.218Z] + git log --format=format:%s -1 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] echo [2023-08-25T11:00:32.229Z] [semverPrep] GIT_COMMIT: 24031f99736a1500bd59a57df778730f3b803153, Commit Message: Merge pull request #619 from FelixTing/update-sdk [Pipeline] echo [2023-08-25T11:00:32.237Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T11:00:32.581Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:00:32.581Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T11:00:32.581Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T11:00:32.581Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T11:00:32.581Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T11:00:32.581Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T11:00:32.581Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:32.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:00:32.921Z] [2023-08-25T11:00:32.921Z] 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-25T11:00:33.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:00:33.222Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T11:00:33.222Z] b85a868b505f: Pulling fs layer [2023-08-25T11:00:33.222Z] e2be974225ed: Pulling fs layer [2023-08-25T11:00:33.222Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T11:00:33.222Z] 988bab9f4d93: Pulling fs layer [2023-08-25T11:00:33.222Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T11:00:33.222Z] eaf3925da568: Pulling fs layer [2023-08-25T11:00:33.222Z] 988bab9f4d93: Waiting [2023-08-25T11:00:33.222Z] 1469e6f7b9e6: Waiting [2023-08-25T11:00:33.222Z] bab4dde63d76: Pulling fs layer [2023-08-25T11:00:33.222Z] bde34c3a00c8: Pulling fs layer [2023-08-25T11:00:33.222Z] b352a97aabf1: Pulling fs layer [2023-08-25T11:00:33.222Z] eaf3925da568: Waiting [2023-08-25T11:00:33.222Z] bde34c3a00c8: Waiting [2023-08-25T11:00:33.222Z] bab4dde63d76: Waiting [2023-08-25T11:00:33.222Z] 4872d77fe225: Pulling fs layer [2023-08-25T11:00:33.222Z] b352a97aabf1: Waiting [2023-08-25T11:00:33.222Z] 5851b861e8e6: Pulling fs layer [2023-08-25T11:00:33.222Z] 4872d77fe225: Waiting [2023-08-25T11:00:33.222Z] 5851b861e8e6: Waiting [2023-08-25T11:00:33.222Z] e2be974225ed: Download complete [2023-08-25T11:00:33.222Z] 988bab9f4d93: Verifying Checksum [2023-08-25T11:00:33.222Z] 988bab9f4d93: Download complete [2023-08-25T11:00:33.222Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T11:00:33.222Z] 1469e6f7b9e6: Download complete [2023-08-25T11:00:33.222Z] eaf3925da568: Verifying Checksum [2023-08-25T11:00:33.222Z] eaf3925da568: Download complete [2023-08-25T11:00:33.482Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T11:00:33.482Z] 339a4e72a1f5: Download complete [2023-08-25T11:00:33.482Z] bde34c3a00c8: Verifying Checksum [2023-08-25T11:00:33.482Z] bde34c3a00c8: Download complete [2023-08-25T11:00:33.482Z] b352a97aabf1: Download complete [2023-08-25T11:00:33.482Z] 4872d77fe225: Download complete [2023-08-25T11:00:33.482Z] 5851b861e8e6: Verifying Checksum [2023-08-25T11:00:33.482Z] 5851b861e8e6: Download complete [2023-08-25T11:00:33.482Z] b85a868b505f: Download complete [2023-08-25T11:00:33.740Z] bab4dde63d76: Verifying Checksum [2023-08-25T11:00:33.740Z] bab4dde63d76: Download complete [2023-08-25T11:00:34.674Z] b85a868b505f: Pull complete [2023-08-25T11:00:34.674Z] e2be974225ed: Pull complete [2023-08-25T11:00:35.239Z] 339a4e72a1f5: Pull complete [2023-08-25T11:00:35.239Z] 988bab9f4d93: Pull complete [2023-08-25T11:00:35.498Z] 1469e6f7b9e6: Pull complete [2023-08-25T11:00:35.498Z] eaf3925da568: Pull complete [2023-08-25T11:00:37.402Z] bab4dde63d76: Pull complete [2023-08-25T11:00:37.402Z] bde34c3a00c8: Pull complete [2023-08-25T11:00:37.402Z] b352a97aabf1: Pull complete [2023-08-25T11:00:37.402Z] 4872d77fe225: Pull complete [2023-08-25T11:00:37.402Z] 5851b861e8e6: Pull complete [2023-08-25T11:00:37.402Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T11:00:37.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:00:37.402Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:00:37.492Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:00:37.524Z] $ 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-25T11:00:40.651Z] $ docker top a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d -eo pid,comm [2023-08-25T11:00:40.705Z] 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-25T11:00:40.705Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:00:40.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:00:40.736Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:00:40.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:00:40.845Z] $ docker exec a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent [2023-08-25T11:00:40.944Z] SSH_AUTH_SOCK=/tmp/ssh-L3PEeHHZbW6R/agent.32 [2023-08-25T11:00:40.944Z] SSH_AGENT_PID=38 [2023-08-25T11:00:40.951Z] Running ssh-add (command line suppressed) [2023-08-25T11:00:41.060Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2129584049528775844.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2129584049528775844.key) [2023-08-25T11:00:41.069Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:00:41.355Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T11:00:41.375Z] $ docker exec --env ******** --env ******** a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent -k [2023-08-25T11:00:41.471Z] unset SSH_AUTH_SOCK; [2023-08-25T11:00:41.472Z] unset SSH_AGENT_PID; [2023-08-25T11:00:41.472Z] echo Agent pid 38 killed; [2023-08-25T11:00:41.477Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T11:00:41.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:00:41.504Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:00:41.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:00:41.625Z] $ docker exec a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent [2023-08-25T11:00:41.721Z] SSH_AUTH_SOCK=/tmp/ssh-5eq9YeIHwnnt/agent.70 [2023-08-25T11:00:41.721Z] SSH_AGENT_PID=76 [2023-08-25T11:00:41.726Z] Running ssh-add (command line suppressed) [2023-08-25T11:00:41.837Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8423413859750011621.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8423413859750011621.key) [2023-08-25T11:00:41.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:00:42.137Z] + git semver init [2023-08-25T11:00:42.396Z] 2023-08-25 11:00:42,310 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T11:00:42.396Z] 2023-08-25 11:00:42,311 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-25T11:00:42.396Z] 2023-08-25 11:00:42,311 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-25T11:00:42.396Z] 2023-08-25 11:00:42,312 [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-25T11:00:43.335Z] 2023-08-25 11:00:43,074 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-08-25T11:00:43.335Z] 2023-08-25 11:00:43,075 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-08-25T11:00:43.335Z] 2023-08-25 11:00:43,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:00:43.335Z] 2023-08-25 11:00:43,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:00:43.335Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T11:00:43.349Z] $ docker exec --env ******** --env ******** a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d ssh-agent -k [2023-08-25T11:00:43.440Z] unset SSH_AUTH_SOCK; [2023-08-25T11:00:43.441Z] unset SSH_AGENT_PID; [2023-08-25T11:00:43.441Z] echo Agent pid 76 killed; [2023-08-25T11:00:43.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:00:43.742Z] + git semver [Pipeline] } [2023-08-25T11:00:44.018Z] $ docker stop --time=1 a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d [2023-08-25T11:00:45.317Z] $ docker rm -f --volumes a82dd228ce71e7f90de4f0ef0773f3cfe83def661910f09e9f8f3df74268723d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:00:45.644Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T11:00:45.846Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T11:00:45.849Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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-25T11:00:45.995Z] provisioning config files... [2023-08-25T11:00:46.005Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12458970080665146037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:46.300Z] ---> docker-login.sh [2023-08-25T11:00:46.301Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:00:46.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:46.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:46.301Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:46.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:46.301Z] [2023-08-25T11:00:46.301Z] Login Succeeded [2023-08-25T11:00:46.301Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:00:46.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:46.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:46.301Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:46.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:46.301Z] [2023-08-25T11:00:46.301Z] Login Succeeded [2023-08-25T11:00:46.301Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:00:46.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:46.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:46.560Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:46.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:46.560Z] [2023-08-25T11:00:46.560Z] Login Succeeded [2023-08-25T11:00:46.560Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:00:46.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:46.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:46.560Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:46.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:46.560Z] [2023-08-25T11:00:46.560Z] Login Succeeded [2023-08-25T11:00:46.560Z] docker.io [2023-08-25T11:00:46.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:46.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:46.818Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:46.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:46.818Z] [2023-08-25T11:00:46.818Z] Login Succeeded [2023-08-25T11:00:46.818Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:00:46.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:00:46.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:00:46.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:00:46.894Z] ========================================================= [2023-08-25T11:00:46.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T11:00:46.894Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:47.207Z] + 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-25T11:00:47.207Z] Sending build context to Docker daemon 6.445MB [2023-08-25T11:00:47.207Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:00:47.207Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T11:00:47.466Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T11:00:47.466Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T11:00:47.466Z] 6911f1a30b25: Pulling fs layer [2023-08-25T11:00:47.466Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T11:00:47.466Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T11:00:47.466Z] ec0bb842ea78: Pulling fs layer [2023-08-25T11:00:47.466Z] 40a00589a448: Pulling fs layer [2023-08-25T11:00:47.466Z] 6c08303d61cc: Pulling fs layer [2023-08-25T11:00:47.466Z] 798269fcf238: Pulling fs layer [2023-08-25T11:00:47.466Z] ec0bb842ea78: Waiting [2023-08-25T11:00:47.466Z] 40a00589a448: Waiting [2023-08-25T11:00:47.466Z] 6c08303d61cc: Waiting [2023-08-25T11:00:47.466Z] 798269fcf238: Waiting [2023-08-25T11:00:47.466Z] 6863d3e3a2b1: Waiting [2023-08-25T11:00:47.466Z] 6911f1a30b25: Verifying Checksum [2023-08-25T11:00:47.466Z] 6911f1a30b25: Download complete [2023-08-25T11:00:47.466Z] 6863d3e3a2b1: Download complete [2023-08-25T11:00:47.466Z] ec0bb842ea78: Download complete [2023-08-25T11:00:47.466Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T11:00:47.466Z] 4db1b89c0bd1: Download complete [2023-08-25T11:00:47.466Z] 40a00589a448: Verifying Checksum [2023-08-25T11:00:47.466Z] 40a00589a448: Download complete [2023-08-25T11:00:47.724Z] 4db1b89c0bd1: Pull complete [2023-08-25T11:00:47.724Z] 6911f1a30b25: Pull complete [2023-08-25T11:00:48.292Z] 798269fcf238: Verifying Checksum [2023-08-25T11:00:48.292Z] 798269fcf238: Download complete [2023-08-25T11:00:48.292Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T11:00:48.292Z] e194b8c5c2a9: Download complete [2023-08-25T11:00:48.549Z] 6c08303d61cc: Verifying Checksum [2023-08-25T11:00:48.549Z] 6c08303d61cc: Download complete [2023-08-25T11:00:51.104Z] e194b8c5c2a9: Pull complete [2023-08-25T11:00:51.362Z] 6863d3e3a2b1: Pull complete [2023-08-25T11:00:51.362Z] ec0bb842ea78: Pull complete [2023-08-25T11:00:51.362Z] 40a00589a448: Pull complete [2023-08-25T11:00:53.887Z] 6c08303d61cc: Pull complete [2023-08-25T11:00:54.453Z] 798269fcf238: Pull complete [2023-08-25T11:00:54.453Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T11:00:54.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T11:00:54.453Z] ---> ec979cd7f677 [2023-08-25T11:00:54.453Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:00:58.656Z] ---> Running in d3206a2e22de [2023-08-25T11:00:58.656Z] Removing intermediate container d3206a2e22de [2023-08-25T11:00:58.656Z] ---> f0b3c53380bd [2023-08-25T11:00:58.656Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:00:58.656Z] ---> Running in 04c7e822bd89 [2023-08-25T11:00:58.656Z] Removing intermediate container 04c7e822bd89 [2023-08-25T11:00:58.656Z] ---> 62feec7e181c [2023-08-25T11:00:58.656Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:00:58.656Z] ---> Running in a94d9857ee15 [2023-08-25T11:00:58.656Z] Removing intermediate container a94d9857ee15 [2023-08-25T11:00:58.656Z] ---> df78c3b8d34f [2023-08-25T11:00:58.656Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:00:58.656Z] ---> Running in 8265d88ef1fa [2023-08-25T11:00:58.656Z] Removing intermediate container 8265d88ef1fa [2023-08-25T11:00:58.656Z] ---> fc1f7234781a [2023-08-25T11:00:58.656Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:00:58.656Z] ---> Running in 89effce53d62 [2023-08-25T11:00:58.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:00:58.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:00:59.173Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T11:00:59.173Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T11:00:59.173Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T11:00:59.173Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T11:00:59.173Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:00:59.173Z] OK: 269 MiB in 57 packages [2023-08-25T11:00:59.739Z] Removing intermediate container 89effce53d62 [2023-08-25T11:00:59.739Z] ---> e603510a6107 [2023-08-25T11:00:59.739Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-25T11:00:59.739Z] ---> Running in 8973f7ef8b22 [2023-08-25T11:00:59.739Z] Removing intermediate container 8973f7ef8b22 [2023-08-25T11:00:59.739Z] ---> 169a79bb1368 [2023-08-25T11:00:59.739Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T11:00:59.997Z] ---> 8ef31f5eb925 [2023-08-25T11:00:59.997Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:00:59.997Z] ---> Running in 56f687625830 [2023-08-25T11:01:00.951Z] Still waiting to schedule task [2023-08-25T11:01:00.952Z] ‘prd-centos7-blackbox-4c-2g-4034’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T11:01:00.952Z] ‘prd-centos7-blackbox-4c-2g-4035’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T11:01:00.952Z] ‘prd-ubuntu20.04-docker-8c-8g-4566’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-25T11:01:00.952Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4565’ is offline [2023-08-25T11:01:00.952Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4567’ is offline [2023-08-25T11:01:32.071Z] Removing intermediate container 56f687625830 [2023-08-25T11:01:32.071Z] ---> 69c34ffdfeaa [2023-08-25T11:01:32.071Z] Step 11/12 : COPY . . [2023-08-25T11:01:32.071Z] ---> 357038fa82b4 [2023-08-25T11:01:32.071Z] Step 12/12 : RUN $MAKE [2023-08-25T11:01:32.071Z] ---> Running in fc77e88cba95 [2023-08-25T11:01:32.071Z] noop [2023-08-25T11:01:32.071Z] Removing intermediate container fc77e88cba95 [2023-08-25T11:01:32.071Z] ---> 5bdcb9a26082 [2023-08-25T11:01:32.071Z] Successfully built 5bdcb9a26082 [2023-08-25T11:01:32.071Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:01:32.375Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T11:01:32.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:01:32.439Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:01:32.466Z] $ 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-25T11:01:32.754Z] $ docker top bc439fc252998915bf8e95707c83ff0fb9b537b1c31763cb6e58380588a47335 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:01:33.088Z] + go version [2023-08-25T11:01:33.088Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T11:01:33.100Z] $ docker stop --time=1 bc439fc252998915bf8e95707c83ff0fb9b537b1c31763cb6e58380588a47335 [2023-08-25T11:01:34.370Z] $ docker rm -f --volumes bc439fc252998915bf8e95707c83ff0fb9b537b1c31763cb6e58380588a47335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:01:34.744Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T11:01:34.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:01:34.809Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:01:34.851Z] $ 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-25T11:01:35.168Z] $ docker top f8c1f2a67e9b8566cb3ed9b4278bea1cbc2c330cee966571edc2a3b93254820a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:01:35.493Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:01:35.783Z] + make test [2023-08-25T11:01:35.783Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T11:01:39.996Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-25T11:01:49.953Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-25T11:01:49.953Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-25T11:01:49.953Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements [2023-08-25T11:01:55.213Z] go vet ./... [2023-08-25T11:01:59.396Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:01:59.396Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:01:59.396Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:01:59.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:01:59.424Z] $ docker stop --time=1 f8c1f2a67e9b8566cb3ed9b4278bea1cbc2c330cee966571edc2a3b93254820a [2023-08-25T11:02:03.132Z] $ docker rm -f --volumes f8c1f2a67e9b8566cb3ed9b4278bea1cbc2c330cee966571edc2a3b93254820a [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:02:03.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:02:03.650Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T11:02:04.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:02:04.373Z] + ls -al . [2023-08-25T11:02:04.373Z] total 188 [2023-08-25T11:02:04.373Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 11:01 . [2023-08-25T11:02:04.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 .. [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 11:00 .dockerignore [2023-08-25T11:02:04.373Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:00 .git [2023-08-25T11:02:04.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 .github [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 11:00 .gitignore [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:00 .golangci.yml [2023-08-25T11:02:04.373Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:00 .semver [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 25 11:00 Attribution.txt [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 25 11:00 CHANGELOG.md [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 25 11:00 Dockerfile [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:00 GOVERNANCE.md [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 11:00 Jenkinsfile [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:00 LICENSE [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 25 11:00 Makefile [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 11:00 OWNERS.md [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 25 11:00 README.md [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 11:00 VERSION [2023-08-25T11:02:04.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 bin [2023-08-25T11:02:04.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 cmd [2023-08-25T11:02:04.373Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 25 11:01 coverage.out [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 3820 Aug 25 11:00 go.mod [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 25 11:00 go.sum [2023-08-25T11:02:04.373Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:00 internal [2023-08-25T11:02:04.373Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:00 mock [2023-08-25T11:02:04.373Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:00 snap [2023-08-25T11:02:04.373Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 25 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:04.673Z] + 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=24031f99736a1500bd59a57df778730f3b803153 --label arch=amd64 --label version=3.1.0-dev.5 . [2023-08-25T11:02:04.673Z] Sending build context to Docker daemon 6.464MB [2023-08-25T11:02:04.673Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:02:04.673Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-25T11:02:04.673Z] ---> 5bdcb9a26082 [2023-08-25T11:02:04.673Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:02:04.932Z] ---> Running in ff14fdcf3c14 [2023-08-25T11:02:04.932Z] Removing intermediate container ff14fdcf3c14 [2023-08-25T11:02:04.932Z] ---> 4cec18b350d0 [2023-08-25T11:02:04.932Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:02:04.932Z] ---> Running in 1b41c6682f8d [2023-08-25T11:02:04.932Z] Removing intermediate container 1b41c6682f8d [2023-08-25T11:02:04.932Z] ---> 00f039b1ef55 [2023-08-25T11:02:04.932Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:02:04.932Z] ---> Running in 509e29391989 [2023-08-25T11:02:05.190Z] Removing intermediate container 509e29391989 [2023-08-25T11:02:05.190Z] ---> a3a62762509b [2023-08-25T11:02:05.190Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:02:05.190Z] ---> Running in 0a8993f6079c [2023-08-25T11:02:05.190Z] Removing intermediate container 0a8993f6079c [2023-08-25T11:02:05.190Z] ---> 3be4c91dac27 [2023-08-25T11:02:05.190Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:02:05.190Z] ---> Running in 4f1e0288384e [2023-08-25T11:02:05.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:05.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:05.961Z] OK: 269 MiB in 57 packages [2023-08-25T11:02:06.220Z] Removing intermediate container 4f1e0288384e [2023-08-25T11:02:06.220Z] ---> 1dba5756c7bc [2023-08-25T11:02:06.220Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-25T11:02:06.220Z] ---> Running in a80bd50d7e90 [2023-08-25T11:02:06.478Z] Removing intermediate container a80bd50d7e90 [2023-08-25T11:02:06.478Z] ---> 6af7992ae868 [2023-08-25T11:02:06.478Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-25T11:02:06.478Z] ---> 1ded0a17d15b [2023-08-25T11:02:06.478Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:02:06.478Z] ---> Running in 7d5b8275589a [2023-08-25T11:02:07.044Z] Removing intermediate container 7d5b8275589a [2023-08-25T11:02:07.044Z] ---> a609edf69a9b [2023-08-25T11:02:07.044Z] Step 11/24 : COPY . . [2023-08-25T11:02:07.610Z] ---> f5cdfcfe220d [2023-08-25T11:02:07.610Z] Step 12/24 : RUN $MAKE [2023-08-25T11:02:07.610Z] ---> Running in ea26ca8ce777 [2023-08-25T11:02:07.610Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-25T11:02:27.198Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4568 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-08-25T11:02:27.210Z] Running in /w/workspace/device-mqtt-go/133 [Pipeline] { [Pipeline] checkout [2023-08-25T11:02:27.254Z] The recommended git tool is: git [2023-08-25T11:02:29.524Z] Removing intermediate container ea26ca8ce777 [2023-08-25T11:02:29.524Z] ---> 889c56898d5d [2023-08-25T11:02:29.524Z] Step 13/24 : FROM alpine:3.17 [2023-08-25T11:02:29.524Z] 3.17: Pulling from library/alpine [2023-08-25T11:02:29.524Z] 9398808236ff: Pulling fs layer [2023-08-25T11:02:29.524Z] 9398808236ff: Verifying Checksum [2023-08-25T11:02:29.524Z] 9398808236ff: Download complete [2023-08-25T11:02:29.524Z] 9398808236ff: Pull complete [2023-08-25T11:02:29.524Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:02:29.524Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:02:29.524Z] ---> 1e0b8b5322fc [2023-08-25T11:02:29.524Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-25T11:02:29.524Z] ---> Running in 20bd2f268063 [2023-08-25T11:02:29.524Z] Removing intermediate container 20bd2f268063 [2023-08-25T11:02:29.524Z] ---> 331c42327c77 [2023-08-25T11:02:29.524Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-25T11:02:29.524Z] ---> Running in 97c4a76abb5b [2023-08-25T11:02:29.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:29.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:02:29.784Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T11:02:29.784Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:02:29.784Z] OK: 7 MiB in 16 packages [2023-08-25T11:02:30.043Z] Removing intermediate container 97c4a76abb5b [2023-08-25T11:02:30.043Z] ---> 601fe9746ad3 [2023-08-25T11:02:30.043Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-25T11:02:30.975Z] ---> cf23eb2d7341 [2023-08-25T11:02:30.975Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-25T11:02:30.975Z] ---> 6e3fc53b2183 [2023-08-25T11:02:30.975Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-25T11:02:31.233Z] ---> 18678e51ad24 [2023-08-25T11:02:31.233Z] Step 19/24 : EXPOSE 59982 [2023-08-25T11:02:31.233Z] ---> Running in 0e6f17080861 [2023-08-25T11:02:31.233Z] Removing intermediate container 0e6f17080861 [2023-08-25T11:02:31.233Z] ---> 1d9106a437a4 [2023-08-25T11:02:31.233Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-25T11:02:31.233Z] ---> Running in 4e7068b6e5a6 [2023-08-25T11:02:31.233Z] Removing intermediate container 4e7068b6e5a6 [2023-08-25T11:02:31.233Z] ---> 34d4cd208f53 [2023-08-25T11:02:31.233Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T11:02:31.233Z] ---> Running in 9f45c4949c77 [2023-08-25T11:02:31.489Z] Removing intermediate container 9f45c4949c77 [2023-08-25T11:02:31.489Z] ---> d1771cbd5d32 [2023-08-25T11:02:31.489Z] Step 22/24 : LABEL arch=amd64 [2023-08-25T11:02:31.489Z] ---> Running in 1752bc39cdd9 [2023-08-25T11:02:31.489Z] Removing intermediate container 1752bc39cdd9 [2023-08-25T11:02:31.489Z] ---> 798b30ba0775 [2023-08-25T11:02:31.489Z] Step 23/24 : LABEL git_sha=24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:02:31.489Z] ---> Running in 0c69231f922d [2023-08-25T11:02:31.489Z] Removing intermediate container 0c69231f922d [2023-08-25T11:02:31.489Z] ---> 6e490606715c [2023-08-25T11:02:31.489Z] Step 24/24 : LABEL version=3.1.0-dev.5 [2023-08-25T11:02:31.489Z] ---> Running in 11e8231cc0b8 [2023-08-25T11:02:31.747Z] Removing intermediate container 11e8231cc0b8 [2023-08-25T11:02:31.747Z] ---> 357fc9a4f621 [2023-08-25T11:02:31.747Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:02:31.747Z] Successfully built 357fc9a4f621 [2023-08-25T11:02:31.747Z] 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-25T11:02:31.854Z] provisioning config files... [2023-08-25T11:02:31.860Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18144039943541189516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:02:32.148Z] ---> docker-login.sh [2023-08-25T11:02:32.148Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:02:32.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:32.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:32.148Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:32.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:32.148Z] [2023-08-25T11:02:32.148Z] Login Succeeded [2023-08-25T11:02:32.148Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:02:32.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:32.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:32.148Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:32.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:32.148Z] [2023-08-25T11:02:32.148Z] Login Succeeded [2023-08-25T11:02:32.148Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:02:32.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:32.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:32.406Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:32.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:32.406Z] [2023-08-25T11:02:32.406Z] Login Succeeded [2023-08-25T11:02:32.406Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:02:32.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:32.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:32.406Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:32.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:32.406Z] [2023-08-25T11:02:32.406Z] Login Succeeded [2023-08-25T11:02:32.406Z] docker.io [2023-08-25T11:02:32.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:32.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:32.665Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:32.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:32.665Z] [2023-08-25T11:02:32.665Z] Login Succeeded [2023-08-25T11:02:32.665Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:02:32.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:02:32.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:02:32.741Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-08-25T11:02:32.741Z] 24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:02:32.741Z] latest [2023-08-25T11:02:32.741Z] 3.1.0-dev.5 [2023-08-25T11:02:32.741Z] 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [2023-08-25T11:02:32.741Z] main [2023-08-25T11:02:32.741Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:33.068Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:33.383Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:02:33.383Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-25T11:02:33.383Z] c493d206bf57: Preparing [2023-08-25T11:02:33.383Z] ffbb74c15f48: Preparing [2023-08-25T11:02:33.383Z] 79c3bc57228a: Preparing [2023-08-25T11:02:33.383Z] c201c5b35894: Preparing [2023-08-25T11:02:33.383Z] 36b50b131297: Preparing [2023-08-25T11:02:33.383Z] 36b50b131297: Layer already exists [2023-08-25T11:02:33.383Z] c493d206bf57: Pushed [2023-08-25T11:02:33.383Z] c201c5b35894: Pushed [2023-08-25T11:02:33.383Z] ffbb74c15f48: Pushed [2023-08-25T11:02:34.668Z] using credential edgex-jenkins-ssh [2023-08-25T11:02:34.685Z] Cloning the remote Git repository [2023-08-25T11:02:34.746Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-25T11:02:35.912Z] 79c3bc57228a: Pushed [2023-08-25T11:02:36.171Z] 24031f99736a1500bd59a57df778730f3b803153: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [2023-08-25T11:02:34.878Z] > git init /w/workspace/device-mqtt-go/133 # timeout=10 [2023-08-25T11:02:35.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-25T11:02:35.091Z] > git --version # timeout=10 [2023-08-25T11:02:35.116Z] > git --version # 'git version 2.25.1' [2023-08-25T11:02:35.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T11:02:35.319Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:36.498Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:36.803Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-25T11:02:36.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-25T11:02:36.803Z] c493d206bf57: Preparing [2023-08-25T11:02:36.803Z] ffbb74c15f48: Preparing [2023-08-25T11:02:36.803Z] 79c3bc57228a: Preparing [2023-08-25T11:02:36.803Z] c201c5b35894: Preparing [2023-08-25T11:02:36.803Z] 36b50b131297: Preparing [2023-08-25T11:02:36.803Z] 79c3bc57228a: Layer already exists [2023-08-25T11:02:36.803Z] ffbb74c15f48: Layer already exists [2023-08-25T11:02:36.803Z] c493d206bf57: Layer already exists [2023-08-25T11:02:36.803Z] 36b50b131297: Layer already exists [2023-08-25T11:02:36.803Z] c201c5b35894: Layer already exists [2023-08-25T11:02:36.803Z] latest: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:37.119Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:37.427Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.5 [2023-08-25T11:02:37.428Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-25T11:02:37.428Z] c493d206bf57: Preparing [2023-08-25T11:02:37.428Z] ffbb74c15f48: Preparing [2023-08-25T11:02:37.428Z] 79c3bc57228a: Preparing [2023-08-25T11:02:37.428Z] c201c5b35894: Preparing [2023-08-25T11:02:37.428Z] 36b50b131297: Preparing [2023-08-25T11:02:37.428Z] c201c5b35894: Layer already exists [2023-08-25T11:02:37.428Z] 36b50b131297: Layer already exists [2023-08-25T11:02:37.428Z] 79c3bc57228a: Layer already exists [2023-08-25T11:02:37.428Z] c493d206bf57: Layer already exists [2023-08-25T11:02:37.428Z] ffbb74c15f48: Layer already exists [2023-08-25T11:02:37.428Z] 3.1.0-dev.5: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:36.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-25T11:02:36.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:02:37.690Z] Avoid second fetch [2023-08-25T11:02:37.691Z] Checking out Revision 24031f99736a1500bd59a57df778730f3b803153 (main) [2023-08-25T11:02:37.732Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:38.040Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [2023-08-25T11:02:38.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-25T11:02:38.041Z] c493d206bf57: Preparing [2023-08-25T11:02:38.041Z] ffbb74c15f48: Preparing [2023-08-25T11:02:38.041Z] 79c3bc57228a: Preparing [2023-08-25T11:02:38.041Z] c201c5b35894: Preparing [2023-08-25T11:02:38.041Z] 36b50b131297: Preparing [2023-08-25T11:02:38.041Z] c493d206bf57: Layer already exists [2023-08-25T11:02:38.041Z] c201c5b35894: Layer already exists [2023-08-25T11:02:38.041Z] 79c3bc57228a: Layer already exists [2023-08-25T11:02:38.041Z] 36b50b131297: Layer already exists [2023-08-25T11:02:38.041Z] ffbb74c15f48: Layer already exists [2023-08-25T11:02:38.041Z] 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:38.356Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:38.435Z] Commit message: "Merge pull request #619 from FelixTing/update-sdk" [2023-08-25T11:02:38.669Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-08-25T11:02:38.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-25T11:02:38.669Z] c493d206bf57: Preparing [2023-08-25T11:02:38.669Z] ffbb74c15f48: Preparing [2023-08-25T11:02:38.669Z] 79c3bc57228a: Preparing [2023-08-25T11:02:38.669Z] c201c5b35894: Preparing [2023-08-25T11:02:38.669Z] 36b50b131297: Preparing [2023-08-25T11:02:38.669Z] c201c5b35894: Layer already exists [2023-08-25T11:02:38.669Z] ffbb74c15f48: Layer already exists [2023-08-25T11:02:38.669Z] c493d206bf57: Layer already exists [2023-08-25T11:02:38.669Z] 79c3bc57228a: Layer already exists [2023-08-25T11:02:38.669Z] 36b50b131297: Layer already exists [2023-08-25T11:02:38.669Z] main: digest: sha256:0b57d7712afc96b479f544d771749515565d1ba93ad3be1ecb33ec780f8c7862 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:02:38.711Z] ===================================================== [Pipeline] echo [2023-08-25T11:02:38.719Z] taggedImages: [2023-08-25T11:02:38.719Z] - nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:02:38.719Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-25T11:02:38.719Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.5 [2023-08-25T11:02:38.719Z] - nexus3.edgexfoundry.org:10004/device-mqtt:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [2023-08-25T11:02:38.719Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:02:37.716Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T11:02:37.799Z] > git checkout -f 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 [2023-08-25T11:02:39.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:02:39.087Z] [2023-08-25T11:02:39.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:39.371Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T11:02:39.371Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:02:39.371Z] Dload Upload Total Spent Left Speed [2023-08-25T11:02:39.371Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [2023-08-25T11:02:39.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:02:39.381Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T11:02:39.381Z] 5eb5b503b376: Pulling fs layer [2023-08-25T11:02:39.381Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T11:02:39.381Z] ec43610c2a17: Pulling fs layer [2023-08-25T11:02:39.381Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T11:02:39.381Z] 33b1e0a273af: Pulling fs layer [2023-08-25T11:02:39.381Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T11:02:39.381Z] 2f39f015ded8: Pulling fs layer [2023-08-25T11:02:39.381Z] 33b1e0a273af: Waiting [2023-08-25T11:02:39.381Z] 5d3b04190fa2: Waiting [2023-08-25T11:02:39.381Z] 2f39f015ded8: Waiting [2023-08-25T11:02:39.381Z] 3a2ae6a8a46f: Waiting [2023-08-25T11:02:39.381Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T11:02:39.381Z] 5c69ac0246d0: Download complete [2023-08-25T11:02:39.381Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T11:02:39.381Z] 3a2ae6a8a46f: Download complete [2023-08-25T11:02:39.381Z] 33b1e0a273af: Verifying Checksum [2023-08-25T11:02:39.381Z] 33b1e0a273af: Download complete [2023-08-25T11:02:39.381Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T11:02:39.381Z] 5d3b04190fa2: Download complete [2023-08-25T11:02:39.381Z] ec43610c2a17: Verifying Checksum [2023-08-25T11:02:39.381Z] ec43610c2a17: Download complete [2023-08-25T11:02:39.639Z] 5eb5b503b376: Verifying Checksum [2023-08-25T11:02:39.639Z] 5eb5b503b376: Download complete [Pipeline] sh [2023-08-25T11:02:40.096Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T11:02:40.205Z] 2f39f015ded8: Download complete [2023-08-25T11:02:40.445Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T11:02:40.445Z] + sudo tee /etc/docker/daemon.new [2023-08-25T11:02:40.445Z] { [2023-08-25T11:02:40.445Z] "registry-mirrors": [ [2023-08-25T11:02:40.445Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T11:02:40.445Z] ], [2023-08-25T11:02:40.445Z] "bip": "10.250.0.254/24", [2023-08-25T11:02:40.445Z] "hosts": [ [2023-08-25T11:02:40.445Z] "tcp://0.0.0.0:5555", [2023-08-25T11:02:40.445Z] "unix:///var/run/docker.sock" [2023-08-25T11:02:40.445Z] ], [2023-08-25T11:02:40.445Z] "mtu": 1458, [2023-08-25T11:02:40.445Z] "selinux-enabled": true, [2023-08-25T11:02:40.445Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T11:02:40.445Z] } [Pipeline] sh [2023-08-25T11:02:40.770Z] 5eb5b503b376: Pull complete [2023-08-25T11:02:40.770Z] 5c69ac0246d0: Pull complete [2023-08-25T11:02:40.788Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T11:02:41.142Z] + sudo service docker restart [2023-08-25T11:02:41.336Z] ec43610c2a17: Pull complete [2023-08-25T11:02:41.336Z] 3a2ae6a8a46f: Pull complete [2023-08-25T11:02:41.594Z] 33b1e0a273af: Pull complete [2023-08-25T11:02:41.594Z] 5d3b04190fa2: Pull complete [2023-08-25T11:02:45.780Z] 2f39f015ded8: Pull complete [2023-08-25T11:02:45.780Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T11:02:45.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:02:45.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:02:45.861Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:02:45.894Z] $ 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-25T11:02:49.590Z] $ docker top 39b816a40480a28ef0f29e414a875d279437c5358ae92be0e01c922d4de3002d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:02:49.959Z] ---> job-cost.sh [2023-08-25T11:02:49.959Z] lf-activate-venv: SKIPPING [2023-08-25T11:02:49.959Z] INFO: No Stack... [2023-08-25T11:02:50.219Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:02:50.784Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:02:51.066Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-08-25T11:02:51.066Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:02:51.079Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [2023-08-25T11:02:51.085Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] did not exist. Created. [2023-08-25T11:02:51.085Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:02:51.382Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T11:02:51.415Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:02:51.421Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:02:51.439Z] $ docker stop --time=1 39b816a40480a28ef0f29e414a875d279437c5358ae92be0e01c922d4de3002d [2023-08-25T11:02:52.604Z] $ docker rm -f --volumes 39b816a40480a28ef0f29e414a875d279437c5358ae92be0e01c922d4de3002d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:02:59.529Z] provisioning config files... [2023-08-25T11:02:59.560Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/133@tmp/config16552466675465222861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:02:59.942Z] ---> docker-login.sh [2023-08-25T11:02:59.942Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:03:00.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:00.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:00.534Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:00.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:00.534Z] [2023-08-25T11:03:00.534Z] Login Succeeded [2023-08-25T11:03:00.534Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:03:00.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:01.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:01.083Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:01.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:01.083Z] [2023-08-25T11:03:01.083Z] Login Succeeded [2023-08-25T11:03:01.083Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:03:01.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:01.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:01.354Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:01.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:01.354Z] [2023-08-25T11:03:01.354Z] Login Succeeded [2023-08-25T11:03:01.354Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:03:01.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:01.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:01.962Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:01.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:01.962Z] [2023-08-25T11:03:01.962Z] Login Succeeded [2023-08-25T11:03:01.962Z] docker.io [2023-08-25T11:03:02.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:03:02.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:03:02.504Z] Configure a credential helper to remove this warning. See [2023-08-25T11:03:02.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:03:02.504Z] [2023-08-25T11:03:02.504Z] Login Succeeded [2023-08-25T11:03:02.504Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:03:02.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:03:02.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:03:02.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:03:02.911Z] ========================================================= [2023-08-25T11:03:02.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T11:03:02.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:03:03.264Z] + 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-25T11:03:03.536Z] Sending build context to Docker daemon 3.332MB [2023-08-25T11:03:03.536Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:03:03.536Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T11:03:03.810Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T11:03:03.810Z] edb6bdbacee9: Pulling fs layer [2023-08-25T11:03:03.810Z] 5f9638ab2659: Pulling fs layer [2023-08-25T11:03:03.810Z] 8d51d6327a98: Pulling fs layer [2023-08-25T11:03:03.810Z] 8b374f2dd631: Pulling fs layer [2023-08-25T11:03:03.810Z] ec14aa9079de: Pulling fs layer [2023-08-25T11:03:03.810Z] 2f466654f4bb: Pulling fs layer [2023-08-25T11:03:03.810Z] 554e91adad29: Pulling fs layer [2023-08-25T11:03:03.810Z] ec14aa9079de: Waiting [2023-08-25T11:03:03.810Z] 2f466654f4bb: Waiting [2023-08-25T11:03:03.810Z] 554e91adad29: Waiting [2023-08-25T11:03:03.810Z] 8b374f2dd631: Waiting [2023-08-25T11:03:03.810Z] 5f9638ab2659: Verifying Checksum [2023-08-25T11:03:03.810Z] 5f9638ab2659: Download complete [2023-08-25T11:03:03.810Z] 8b374f2dd631: Verifying Checksum [2023-08-25T11:03:03.810Z] 8b374f2dd631: Download complete [2023-08-25T11:03:03.810Z] ec14aa9079de: Verifying Checksum [2023-08-25T11:03:03.810Z] ec14aa9079de: Download complete [2023-08-25T11:03:03.810Z] edb6bdbacee9: Verifying Checksum [2023-08-25T11:03:03.810Z] edb6bdbacee9: Download complete [2023-08-25T11:03:05.275Z] edb6bdbacee9: Pull complete [2023-08-25T11:03:05.872Z] 554e91adad29: Verifying Checksum [2023-08-25T11:03:05.872Z] 554e91adad29: Download complete [2023-08-25T11:03:05.872Z] 5f9638ab2659: Pull complete [2023-08-25T11:03:07.293Z] 2f466654f4bb: Download complete [2023-08-25T11:03:07.293Z] 8d51d6327a98: Verifying Checksum [2023-08-25T11:03:07.293Z] 8d51d6327a98: Download complete [2023-08-25T11:03:19.634Z] 8d51d6327a98: Pull complete [2023-08-25T11:03:19.634Z] 8b374f2dd631: Pull complete [2023-08-25T11:03:19.634Z] ec14aa9079de: Pull complete [2023-08-25T11:03:27.893Z] 2f466654f4bb: Pull complete [2023-08-25T11:03:29.457Z] 554e91adad29: Pull complete [2023-08-25T11:03:29.457Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T11:03:29.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T11:03:29.457Z] ---> 1e15ea492957 [2023-08-25T11:03:29.457Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:03:31.446Z] ---> Running in cca9bfbd1c41 [2023-08-25T11:03:32.032Z] Removing intermediate container cca9bfbd1c41 [2023-08-25T11:03:32.032Z] ---> 50848fc45155 [2023-08-25T11:03:32.032Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:03:32.032Z] ---> Running in e0717f5b6619 [2023-08-25T11:03:32.302Z] Removing intermediate container e0717f5b6619 [2023-08-25T11:03:32.302Z] ---> 6ee1e09c34c7 [2023-08-25T11:03:32.302Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:03:32.570Z] ---> Running in ea610a502b5a [2023-08-25T11:03:32.839Z] Removing intermediate container ea610a502b5a [2023-08-25T11:03:32.839Z] ---> 0e16fe57011d [2023-08-25T11:03:32.839Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:03:32.839Z] ---> Running in cf86bd9c79c4 [2023-08-25T11:03:33.113Z] Removing intermediate container cf86bd9c79c4 [2023-08-25T11:03:33.113Z] ---> bc2e88d9ef1c [2023-08-25T11:03:33.113Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:03:33.383Z] ---> Running in a9291f9a39ff [2023-08-25T11:03:34.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:03:35.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:03:36.507Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T11:03:36.507Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T11:03:36.507Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T11:03:36.507Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T11:03:36.507Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:03:36.507Z] OK: 268 MiB in 57 packages [2023-08-25T11:03:37.474Z] Removing intermediate container a9291f9a39ff [2023-08-25T11:03:37.474Z] ---> 4d4b2a172fda [2023-08-25T11:03:37.474Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-25T11:03:37.746Z] ---> Running in 1713a5a3cf0b [2023-08-25T11:03:38.015Z] Removing intermediate container 1713a5a3cf0b [2023-08-25T11:03:38.015Z] ---> 9d6750deee5c [2023-08-25T11:03:38.015Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T11:03:38.602Z] ---> 2bbf38878fd4 [2023-08-25T11:03:38.602Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:03:38.602Z] ---> Running in 35821d2da6e4 [2023-08-25T11:05:00.313Z] Removing intermediate container 35821d2da6e4 [2023-08-25T11:05:00.313Z] ---> 49c106294ff0 [2023-08-25T11:05:00.313Z] Step 11/12 : COPY . . [2023-08-25T11:05:00.313Z] ---> 2790888b61c4 [2023-08-25T11:05:00.313Z] Step 12/12 : RUN $MAKE [2023-08-25T11:05:00.313Z] ---> Running in ce86697586e9 [2023-08-25T11:05:00.313Z] noop [2023-08-25T11:05:00.313Z] Removing intermediate container ce86697586e9 [2023-08-25T11:05:00.313Z] ---> 1ef07484f722 [2023-08-25T11:05:00.313Z] Successfully built 1ef07484f722 [2023-08-25T11:05:00.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:05:00.691Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:05:00.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:05:00.944Z] prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container [2023-08-25T11:05:01.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/133 -v /w/workspace/device-mqtt-go/133:/w/workspace/device-mqtt-go/133:rw,z -v /w/workspace/device-mqtt-go/133@tmp:/w/workspace/device-mqtt-go/133@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-25T11:05:02.485Z] $ docker top dc9189cf15c010a7967e2534b99adf5c80bc45f47b7b49e61fdcd1db2c12e183 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:05:03.365Z] + go version [2023-08-25T11:05:03.365Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T11:05:03.391Z] $ docker stop --time=1 dc9189cf15c010a7967e2534b99adf5c80bc45f47b7b49e61fdcd1db2c12e183 [2023-08-25T11:05:05.140Z] $ docker rm -f --volumes dc9189cf15c010a7967e2534b99adf5c80bc45f47b7b49e61fdcd1db2c12e183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:05:05.874Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:05:05.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:05:06.083Z] prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container [2023-08-25T11:05:06.173Z] $ 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/133 -v /w/workspace/device-mqtt-go/133:/w/workspace/device-mqtt-go/133:rw,z -v /w/workspace/device-mqtt-go/133@tmp:/w/workspace/device-mqtt-go/133@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-25T11:05:07.497Z] $ docker top 968a57b7e0053b7e6378b77950417968ed5a3cb0aa7e34a65df532a813738d36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:05:08.375Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/133 [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:05:09.045Z] + make test [2023-08-25T11:05:09.045Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T11:05:47.977Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-25T11:08:24.767Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-25T11:08:26.733Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-25T11:08:26.733Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.089s coverage: 22.8% of statements [2023-08-25T11:08:27.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T11:08:27.702Z] go vet ./... [2023-08-25T11:09:00.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:09:00.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:09:00.371Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:09:00.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:09:00.676Z] $ docker stop --time=1 968a57b7e0053b7e6378b77950417968ed5a3cb0aa7e34a65df532a813738d36 [2023-08-25T11:09:02.628Z] $ docker rm -f --volumes 968a57b7e0053b7e6378b77950417968ed5a3cb0aa7e34a65df532a813738d36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:09:03.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:09:03.936Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T11:09:04.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:09:04.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:09:05.235Z] + ls -al . [2023-08-25T11:09:05.235Z] total 184 [2023-08-25T11:09:05.235Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 11:05 . [2023-08-25T11:09:05.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:02 .. [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 11:02 .dockerignore [2023-08-25T11:09:05.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:02 .git [2023-08-25T11:09:05.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 .github [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 25 11:02 .gitignore [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:02 .golangci.yml [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 25 11:02 Attribution.txt [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 25 11:02 CHANGELOG.md [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 25 11:02 Dockerfile [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:02 GOVERNANCE.md [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 11:02 Jenkinsfile [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:02 LICENSE [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 25 11:02 Makefile [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 25 11:02 OWNERS.md [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 25 11:02 README.md [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 11:00 VERSION [2023-08-25T11:09:05.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:02 bin [2023-08-25T11:09:05.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 cmd [2023-08-25T11:09:05.235Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 25 11:08 coverage.out [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 3820 Aug 25 11:02 go.mod [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 25 11:02 go.sum [2023-08-25T11:09:05.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 internal [2023-08-25T11:09:05.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:02 mock [2023-08-25T11:09:05.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:02 snap [2023-08-25T11:09:05.235Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 25 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:09:05.576Z] + 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=24031f99736a1500bd59a57df778730f3b803153 --label arch=arm64 --label version=3.1.0-dev.5 . [2023-08-25T11:09:05.845Z] Sending build context to Docker daemon 3.351MB [2023-08-25T11:09:05.845Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:09:05.845Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-25T11:09:05.845Z] ---> 1ef07484f722 [2023-08-25T11:09:05.845Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:09:08.176Z] ---> Running in 54774bad56e7 [2023-08-25T11:09:08.447Z] Removing intermediate container 54774bad56e7 [2023-08-25T11:09:08.447Z] ---> ebb27e3c0e52 [2023-08-25T11:09:08.447Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:09:08.447Z] ---> Running in 3ca919488333 [2023-08-25T11:09:09.038Z] Removing intermediate container 3ca919488333 [2023-08-25T11:09:09.038Z] ---> 6d0419f16940 [2023-08-25T11:09:09.038Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-25T11:09:09.038Z] ---> Running in b0806591c652 [2023-08-25T11:09:09.308Z] Removing intermediate container b0806591c652 [2023-08-25T11:09:09.308Z] ---> 9c73cced0e4d [2023-08-25T11:09:09.308Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:09:09.308Z] ---> Running in d59a0b112bdc [2023-08-25T11:09:09.894Z] Removing intermediate container d59a0b112bdc [2023-08-25T11:09:09.894Z] ---> b3d62fca5ed9 [2023-08-25T11:09:09.894Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:09:09.894Z] ---> Running in 988b94b950a8 [2023-08-25T11:09:10.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:09:11.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:09:13.243Z] OK: 268 MiB in 57 packages [2023-08-25T11:09:14.209Z] Removing intermediate container 988b94b950a8 [2023-08-25T11:09:14.209Z] ---> eeb4f73b3430 [2023-08-25T11:09:14.209Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-25T11:09:14.209Z] ---> Running in 0b1cb0286872 [2023-08-25T11:09:14.478Z] Removing intermediate container 0b1cb0286872 [2023-08-25T11:09:14.478Z] ---> 469fb5b7e4e7 [2023-08-25T11:09:14.478Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-25T11:09:15.069Z] ---> be827733e592 [2023-08-25T11:09:15.069Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:09:15.069Z] ---> Running in dabc6f5b9d75 [2023-08-25T11:09:17.659Z] Removing intermediate container dabc6f5b9d75 [2023-08-25T11:09:17.659Z] ---> 980ce4709c62 [2023-08-25T11:09:17.659Z] Step 11/24 : COPY . . [2023-08-25T11:09:18.255Z] ---> 6700cd09d6b3 [2023-08-25T11:09:18.255Z] Step 12/24 : RUN $MAKE [2023-08-25T11:09:18.528Z] ---> Running in 68924d6d16d6 [2023-08-25T11:09:19.501Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-25T11:12:11.323Z] Removing intermediate container 68924d6d16d6 [2023-08-25T11:12:11.323Z] ---> 4869a899410c [2023-08-25T11:12:11.323Z] Step 13/24 : FROM alpine:3.17 [2023-08-25T11:12:11.323Z] 3.17: Pulling from library/alpine [2023-08-25T11:12:11.323Z] 4060ece20d7a: Pulling fs layer [2023-08-25T11:12:11.323Z] 4060ece20d7a: Verifying Checksum [2023-08-25T11:12:11.323Z] 4060ece20d7a: Download complete [2023-08-25T11:12:11.323Z] 4060ece20d7a: Pull complete [2023-08-25T11:12:11.323Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:12:11.323Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:12:11.323Z] ---> 8650cd65339b [2023-08-25T11:12:11.323Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-25T11:12:11.323Z] ---> Running in 20f1d8684676 [2023-08-25T11:12:11.323Z] Removing intermediate container 20f1d8684676 [2023-08-25T11:12:11.323Z] ---> ef52a1b293db [2023-08-25T11:12:11.323Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-25T11:12:11.323Z] ---> Running in e219af2aa19f [2023-08-25T11:12:11.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:12:11.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:12:11.323Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-25T11:12:11.323Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:12:11.323Z] OK: 8 MiB in 16 packages [2023-08-25T11:12:11.323Z] Removing intermediate container e219af2aa19f [2023-08-25T11:12:11.323Z] ---> f95b8d50a3a0 [2023-08-25T11:12:11.323Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-25T11:12:11.323Z] ---> 7ea38de5afd1 [2023-08-25T11:12:11.323Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-25T11:12:11.323Z] ---> 80e0e6ece349 [2023-08-25T11:12:11.323Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-25T11:12:11.323Z] ---> 29f1a33fbb95 [2023-08-25T11:12:11.323Z] Step 19/24 : EXPOSE 59982 [2023-08-25T11:12:11.323Z] ---> Running in c8042d2f8336 [2023-08-25T11:12:11.323Z] Removing intermediate container c8042d2f8336 [2023-08-25T11:12:11.323Z] ---> 90d2fb786860 [2023-08-25T11:12:11.323Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-25T11:12:11.323Z] ---> Running in d0f1908518d7 [2023-08-25T11:12:11.323Z] Removing intermediate container d0f1908518d7 [2023-08-25T11:12:11.323Z] ---> 660bb72a0f5a [2023-08-25T11:12:11.323Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-25T11:12:11.323Z] ---> Running in 9a315b8529c2 [2023-08-25T11:12:11.323Z] Removing intermediate container 9a315b8529c2 [2023-08-25T11:12:11.323Z] ---> 421f10d74faf [2023-08-25T11:12:11.323Z] Step 22/24 : LABEL arch=arm64 [2023-08-25T11:12:11.323Z] ---> Running in 4047c7835031 [2023-08-25T11:12:11.323Z] Removing intermediate container 4047c7835031 [2023-08-25T11:12:11.323Z] ---> 1404d350be27 [2023-08-25T11:12:11.323Z] Step 23/24 : LABEL git_sha=24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:12:11.323Z] ---> Running in 9abca3c06db9 [2023-08-25T11:12:11.589Z] Removing intermediate container 9abca3c06db9 [2023-08-25T11:12:11.589Z] ---> dc2ed0e0006b [2023-08-25T11:12:11.589Z] Step 24/24 : LABEL version=3.1.0-dev.5 [2023-08-25T11:12:11.859Z] ---> Running in 766985067eb6 [2023-08-25T11:12:12.128Z] Removing intermediate container 766985067eb6 [2023-08-25T11:12:12.128Z] ---> d74889cb8ec7 [2023-08-25T11:12:12.128Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:12:12.128Z] Successfully built d74889cb8ec7 [2023-08-25T11:12:12.128Z] 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-25T11:12:12.252Z] provisioning config files... [2023-08-25T11:12:12.266Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/133@tmp/config7664311975376200486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:12.600Z] ---> docker-login.sh [2023-08-25T11:12:12.600Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:12:12.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:12:12.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:12:12.867Z] Configure a credential helper to remove this warning. See [2023-08-25T11:12:12.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:12:12.867Z] [2023-08-25T11:12:12.867Z] Login Succeeded [2023-08-25T11:12:12.867Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:12:13.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:12:13.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:12:13.133Z] Configure a credential helper to remove this warning. See [2023-08-25T11:12:13.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:12:13.133Z] [2023-08-25T11:12:13.133Z] Login Succeeded [2023-08-25T11:12:13.133Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:12:13.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:12:13.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:12:13.669Z] Configure a credential helper to remove this warning. See [2023-08-25T11:12:13.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:12:13.669Z] [2023-08-25T11:12:13.669Z] Login Succeeded [2023-08-25T11:12:13.669Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:12:13.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:12:13.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:12:13.936Z] Configure a credential helper to remove this warning. See [2023-08-25T11:12:13.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:12:13.936Z] [2023-08-25T11:12:13.936Z] Login Succeeded [2023-08-25T11:12:13.936Z] docker.io [2023-08-25T11:12:14.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:12:14.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:12:14.467Z] Configure a credential helper to remove this warning. See [2023-08-25T11:12:14.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:12:14.467Z] [2023-08-25T11:12:14.467Z] Login Succeeded [2023-08-25T11:12:14.467Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:12:14.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:12:14.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:12:14.522Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-08-25T11:12:14.522Z] 24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:12:14.522Z] latest [2023-08-25T11:12:14.522Z] 3.1.0-dev.5 [2023-08-25T11:12:14.522Z] 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [2023-08-25T11:12:14.522Z] main [2023-08-25T11:12:14.522Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:14.855Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:15.194Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:12:15.194Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-25T11:12:15.194Z] 0a3926c651f6: Preparing [2023-08-25T11:12:15.194Z] 87fc46ca5ae1: Preparing [2023-08-25T11:12:15.194Z] daf49e504e17: Preparing [2023-08-25T11:12:15.194Z] a9a2b6508e99: Preparing [2023-08-25T11:12:15.194Z] d2d9d24a8c2a: Preparing [2023-08-25T11:12:15.194Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:12:15.460Z] a9a2b6508e99: Pushed [2023-08-25T11:12:15.460Z] 87fc46ca5ae1: Pushed [2023-08-25T11:12:15.460Z] 0a3926c651f6: Pushed [2023-08-25T11:12:20.879Z] daf49e504e17: Pushed [2023-08-25T11:12:20.879Z] 24031f99736a1500bd59a57df778730f3b803153: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:21.239Z] + 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-25T11:12:21.591Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-25T11:12:21.591Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-25T11:12:21.591Z] 0a3926c651f6: Preparing [2023-08-25T11:12:21.591Z] 87fc46ca5ae1: Preparing [2023-08-25T11:12:21.591Z] daf49e504e17: Preparing [2023-08-25T11:12:21.591Z] a9a2b6508e99: Preparing [2023-08-25T11:12:21.591Z] d2d9d24a8c2a: Preparing [2023-08-25T11:12:21.591Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:12:21.591Z] 87fc46ca5ae1: Layer already exists [2023-08-25T11:12:21.591Z] 0a3926c651f6: Layer already exists [2023-08-25T11:12:21.591Z] a9a2b6508e99: Layer already exists [2023-08-25T11:12:21.591Z] daf49e504e17: Layer already exists [2023-08-25T11:12:21.591Z] latest: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:22.241Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:22.581Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.5 [2023-08-25T11:12:22.581Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-25T11:12:22.581Z] 0a3926c651f6: Preparing [2023-08-25T11:12:22.581Z] 87fc46ca5ae1: Preparing [2023-08-25T11:12:22.581Z] daf49e504e17: Preparing [2023-08-25T11:12:22.581Z] a9a2b6508e99: Preparing [2023-08-25T11:12:22.581Z] d2d9d24a8c2a: Preparing [2023-08-25T11:12:22.581Z] 0a3926c651f6: Layer already exists [2023-08-25T11:12:22.581Z] daf49e504e17: Layer already exists [2023-08-25T11:12:22.581Z] 87fc46ca5ae1: Layer already exists [2023-08-25T11:12:22.581Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:12:22.581Z] a9a2b6508e99: Layer already exists [2023-08-25T11:12:22.581Z] 3.1.0-dev.5: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:22.929Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:23.287Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [2023-08-25T11:12:23.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-25T11:12:23.287Z] 0a3926c651f6: Preparing [2023-08-25T11:12:23.287Z] 87fc46ca5ae1: Preparing [2023-08-25T11:12:23.287Z] daf49e504e17: Preparing [2023-08-25T11:12:23.287Z] a9a2b6508e99: Preparing [2023-08-25T11:12:23.287Z] d2d9d24a8c2a: Preparing [2023-08-25T11:12:23.287Z] 0a3926c651f6: Layer already exists [2023-08-25T11:12:23.287Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:12:23.287Z] a9a2b6508e99: Layer already exists [2023-08-25T11:12:23.287Z] 87fc46ca5ae1: Layer already exists [2023-08-25T11:12:23.287Z] daf49e504e17: Layer already exists [2023-08-25T11:12:23.551Z] 24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:23.889Z] + 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-25T11:12:24.223Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-08-25T11:12:24.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-25T11:12:24.223Z] 0a3926c651f6: Preparing [2023-08-25T11:12:24.223Z] 87fc46ca5ae1: Preparing [2023-08-25T11:12:24.223Z] daf49e504e17: Preparing [2023-08-25T11:12:24.223Z] a9a2b6508e99: Preparing [2023-08-25T11:12:24.223Z] d2d9d24a8c2a: Preparing [2023-08-25T11:12:24.223Z] 0a3926c651f6: Layer already exists [2023-08-25T11:12:24.223Z] a9a2b6508e99: Layer already exists [2023-08-25T11:12:24.223Z] 87fc46ca5ae1: Layer already exists [2023-08-25T11:12:24.223Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:12:24.223Z] daf49e504e17: Layer already exists [2023-08-25T11:12:24.489Z] main: digest: sha256:4f04de16b932efcc290aa05daea33063c494d180c8b555ed04caf98ab293c8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:12:24.537Z] ===================================================== [Pipeline] echo [2023-08-25T11:12:24.543Z] taggedImages: [2023-08-25T11:12:24.543Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153 [2023-08-25T11:12:24.543Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-25T11:12:24.543Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.5 [2023-08-25T11:12:24.543Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:24031f99736a1500bd59a57df778730f3b803153-3.1.0-dev.5 [2023-08-25T11:12:24.543Z] - 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-25T11:12:24.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:12:24.917Z] [2023-08-25T11:12:24.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:25.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:12:25.251Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T11:12:25.251Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T11:12:25.251Z] 04944245beec: Pulling fs layer [2023-08-25T11:12:25.251Z] 699f458cf7ca: Pulling fs layer [2023-08-25T11:12:25.251Z] 765212b225bb: Pulling fs layer [2023-08-25T11:12:25.251Z] f23df028b6ca: Pulling fs layer [2023-08-25T11:12:25.251Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T11:12:25.251Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T11:12:25.251Z] 765212b225bb: Waiting [2023-08-25T11:12:25.251Z] d65c8cfc05b1: Waiting [2023-08-25T11:12:25.251Z] f23df028b6ca: Waiting [2023-08-25T11:12:25.520Z] 04944245beec: Verifying Checksum [2023-08-25T11:12:25.520Z] 04944245beec: Download complete [2023-08-25T11:12:25.520Z] 765212b225bb: Verifying Checksum [2023-08-25T11:12:25.520Z] 765212b225bb: Download complete [2023-08-25T11:12:25.520Z] f23df028b6ca: Download complete [2023-08-25T11:12:25.520Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T11:12:25.520Z] d65c8cfc05b1: Download complete [2023-08-25T11:12:25.520Z] 699f458cf7ca: Verifying Checksum [2023-08-25T11:12:25.520Z] 699f458cf7ca: Download complete [2023-08-25T11:12:26.106Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T11:12:26.106Z] 8998bd30e6a1: Download complete [2023-08-25T11:12:28.696Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T11:12:28.696Z] 2437ff75d9bd: Download complete [2023-08-25T11:12:30.641Z] 8998bd30e6a1: Pull complete [2023-08-25T11:12:31.225Z] 04944245beec: Pull complete [2023-08-25T11:12:32.644Z] 699f458cf7ca: Pull complete [2023-08-25T11:12:32.644Z] 765212b225bb: Pull complete [2023-08-25T11:12:33.605Z] f23df028b6ca: Pull complete [2023-08-25T11:12:33.605Z] d65c8cfc05b1: Pull complete [2023-08-25T11:12:48.599Z] 2437ff75d9bd: Pull complete [2023-08-25T11:12:48.599Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T11:12:48.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:12:48.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:48.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container [2023-08-25T11:12:48.849Z] $ 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/133 -v /w/workspace/device-mqtt-go/133:/w/workspace/device-mqtt-go/133:rw,z -v /w/workspace/device-mqtt-go/133@tmp:/w/workspace/device-mqtt-go/133@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-25T11:12:51.458Z] $ docker top 1502cec35fb3b4caaf6c273cdab7f114f872fc0f4bce20463068da6a69668c88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:52.288Z] ---> job-cost.sh [2023-08-25T11:12:52.288Z] lf-activate-venv: SKIPPING [2023-08-25T11:12:52.288Z] INFO: No Stack... [2023-08-25T11:12:52.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T11:12:53.511Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:12:53.831Z] + cat /w/workspace/device-mqtt-go/133/archives/cost.csv [2023-08-25T11:12:53.831Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:12:54.159Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [2023-08-25T11:12:54.165Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] did not exist. Created. [2023-08-25T11:12:54.165Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:12:54.816Z] /w/workspace/device-mqtt-go/133@tmp/durable-4f4be1c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T11:12:55.464Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T11:12:55.484Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T11:12:55.543Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:12:55.549Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:12:55.576Z] $ docker stop --time=1 1502cec35fb3b4caaf6c273cdab7f114f872fc0f4bce20463068da6a69668c88 [2023-08-25T11:12:57.043Z] $ docker rm -f --volumes 1502cec35fb3b4caaf6c273cdab7f114f872fc0f4bce20463068da6a69668c88 [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-25T11:12:57.416Z] provisioning config files... [2023-08-25T11:12:57.440Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9136481797544409287tmp [Pipeline] { [Pipeline] sh [2023-08-25T11:12:57.734Z] + set +x [2023-08-25T11:12:57.734Z] + curl -s https://codecov.io/bash [2023-08-25T11:12:57.734Z] + bash -s -- [2023-08-25T11:12:57.734Z] [2023-08-25T11:12:57.734Z] _____ _ [2023-08-25T11:12:57.734Z] / ____| | | [2023-08-25T11:12:57.734Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T11:12:57.734Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T11:12:57.734Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T11:12:57.734Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T11:12:57.734Z] Bash-1.0.6 [2023-08-25T11:12:57.734Z] [2023-08-25T11:12:57.734Z] [2023-08-25T11:12:57.734Z] ==> git version 2.25.1 found [2023-08-25T11:12:57.734Z] ==> 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-25T11:12:57.734Z] Release-Date: 2020-01-08 [2023-08-25T11:12:57.734Z] 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-25T11:12:57.734Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T11:12:57.734Z] ==> Jenkins CI detected. [2023-08-25T11:12:57.734Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-25T11:12:57.734Z] project root: . [2023-08-25T11:12:57.734Z] --> token set from env [2023-08-25T11:12:57.734Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T11:12:57.993Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T11:12:57.993Z] ==> Python coveragepy not found [2023-08-25T11:12:57.993Z] ==> Searching for coverage reports in: [2023-08-25T11:12:57.993Z] + . [2023-08-25T11:12:57.993Z] -> Found 1 reports [2023-08-25T11:12:57.993Z] ==> Detecting git/mercurial file structure [2023-08-25T11:12:57.993Z] ==> Reading reports [2023-08-25T11:12:57.993Z] + ./coverage.out bytes=18506 [2023-08-25T11:12:57.993Z] ==> Appending adjustments [2023-08-25T11:12:57.993Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T11:12:57.993Z] + Found adjustments [2023-08-25T11:12:57.993Z] ==> Gzipping contents [2023-08-25T11:12:57.993Z] 4.0K /tmp/codecov.fSfs3R.gz [2023-08-25T11:12:57.993Z] ==> Uploading reports [2023-08-25T11:12:57.993Z] url: https://codecov.io [2023-08-25T11:12:57.993Z] query: branch=main&commit=24031f99736a1500bd59a57df778730f3b803153&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:12:57.993Z] -> Pinging Codecov [2023-08-25T11:12:57.994Z] 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=24031f99736a1500bd59a57df778730f3b803153&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:12:58.255Z] -> Uploading to [2023-08-25T11:12:58.256Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/7D719EC7BBE17E464838252E33014C33/24031f99736a1500bd59a57df778730f3b803153/d7193469-415b-4f5e-ab5e-6663d6e1b46c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80124d06c025dc94c117dd00c2015341fcb84f73001655628747496799f2816c [2023-08-25T11:12:58.256Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:12:58.256Z] Dload Upload Total Spent Left Speed [2023-08-25T11:12:58.256Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17784 --:--:-- --:--:-- --:--:-- 17784 [2023-08-25T11:12:58.256Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/24031f99736a1500bd59a57df778730f3b803153 [Pipeline] } [2023-08-25T11:12:58.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T11:12:58.396Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T11:12:58.410Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:58.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:12:58.710Z] [2023-08-25T11:12:58.710Z] 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-25T11:12:59.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:12:59.010Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T11:12:59.010Z] df9b9388f04a: Pulling fs layer [2023-08-25T11:12:59.010Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T11:12:59.010Z] 25bc292e5bac: Pulling fs layer [2023-08-25T11:12:59.010Z] 114826534d7a: Pulling fs layer [2023-08-25T11:12:59.010Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T11:12:59.010Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T11:12:59.010Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T11:12:59.010Z] 114826534d7a: Waiting [2023-08-25T11:12:59.010Z] 4657fd5d0bcf: Waiting [2023-08-25T11:12:59.010Z] 6ad1cebc031e: Waiting [2023-08-25T11:12:59.010Z] 8a3aa393b2d8: Waiting [2023-08-25T11:12:59.010Z] 25bc292e5bac: Verifying Checksum [2023-08-25T11:12:59.010Z] 25bc292e5bac: Download complete [2023-08-25T11:12:59.010Z] 52dc419b0ee2: Verifying Checksum [2023-08-25T11:12:59.010Z] 52dc419b0ee2: Download complete [2023-08-25T11:12:59.010Z] 4657fd5d0bcf: Verifying Checksum [2023-08-25T11:12:59.010Z] 4657fd5d0bcf: Download complete [2023-08-25T11:12:59.010Z] df9b9388f04a: Download complete [2023-08-25T11:12:59.268Z] df9b9388f04a: Pull complete [2023-08-25T11:12:59.268Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T11:12:59.268Z] 6ad1cebc031e: Download complete [2023-08-25T11:12:59.268Z] 52dc419b0ee2: Pull complete [2023-08-25T11:12:59.268Z] 25bc292e5bac: Pull complete [2023-08-25T11:12:59.838Z] 114826534d7a: Download complete [2023-08-25T11:12:59.838Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T11:12:59.838Z] 8a3aa393b2d8: Download complete [2023-08-25T11:13:03.117Z] 114826534d7a: Pull complete [2023-08-25T11:13:03.117Z] 4657fd5d0bcf: Pull complete [2023-08-25T11:13:03.117Z] 6ad1cebc031e: Pull complete [2023-08-25T11:13:05.642Z] 8a3aa393b2d8: Pull complete [2023-08-25T11:13:05.642Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T11:13:05.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:13:05.642Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:05.720Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:13:05.756Z] $ 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-25T11:13:10.971Z] $ docker top b0f577a2717b16e8a07f8c9a0be7e1d50b1e19f00b4aa93063ac6ac0a67456d1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T11:13:11.032Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-08-25T11:13:11.314Z] + set -o pipefail [2023-08-25T11:13:11.314Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-08-25T11:13:15.501Z] [2023-08-25T11:13:15.501Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-08-25T11:13:15.501Z] [2023-08-25T11:13:15.501Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/5d18686b-8877-455f-acdd-729196bdcf90 [2023-08-25T11:13:15.501Z] [2023-08-25T11:13:15.501Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-25T11:13:15.501Z] [2023-08-25T11:13:15.501Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T11:13:15.501Z] [2023-08-25T11:13:15.501Z] [2023-08-25T11:13:15.501Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T11:13:15.501Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T11:13:15.501Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T11:13:15.512Z] $ docker stop --time=1 b0f577a2717b16e8a07f8c9a0be7e1d50b1e19f00b4aa93063ac6ac0a67456d1 [2023-08-25T11:13:19.741Z] $ docker rm -f --volumes b0f577a2717b16e8a07f8c9a0be7e1d50b1e19f00b4aa93063ac6ac0a67456d1 [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-25T11:13:20.486Z] + git log --format=format:%s -1 24031f99736a1500bd59a57df778730f3b803153 [Pipeline] sh [2023-08-25T11:13:20.777Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:13:20.777Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:21.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:13:21.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:21.152Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:13:21.187Z] $ 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-25T11:13:21.599Z] $ docker top 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:13:21.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:13:21.689Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:13:21.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:13:21.812Z] $ docker exec 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 ssh-agent [2023-08-25T11:13:21.919Z] SSH_AUTH_SOCK=/tmp/ssh-k1N7DRJG5zhL/agent.32 [2023-08-25T11:13:21.919Z] SSH_AGENT_PID=38 [2023-08-25T11:13:21.924Z] Running ssh-add (command line suppressed) [2023-08-25T11:13:22.027Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3361640500781767341.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3361640500781767341.key) [2023-08-25T11:13:22.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:13:22.324Z] + git semver tag [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,518 [run_tag] DEBUG tag force:False [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,519 [check_head_tag] DEBUG check head tag [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,519 [execute] INFO git cat-file --batch-check [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,524 [execute] INFO git cat-file --batch [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,535 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,535 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:13:22.583Z] 2023-08-25 11:13:22,540 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:22.583Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T11:13:22.593Z] $ docker exec --env ******** --env ******** 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 ssh-agent -k [2023-08-25T11:13:22.699Z] unset SSH_AUTH_SOCK; [2023-08-25T11:13:22.700Z] unset SSH_AGENT_PID; [2023-08-25T11:13:22.700Z] echo Agent pid 38 killed; [2023-08-25T11:13:22.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:13:23.004Z] + git semver [Pipeline] } [2023-08-25T11:13:23.275Z] $ docker stop --time=1 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 [2023-08-25T11:13:24.556Z] $ docker rm -f --volumes 548666b444c87bd4078403bc2bb13f06286e57638bdc8536c14b7211e7b4fee1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:24.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:13:24.928Z] [2023-08-25T11:13:24.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:25.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:13:25.222Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T11:13:25.222Z] ab5ef0e58194: Pulling fs layer [2023-08-25T11:13:25.222Z] 9712f1f96733: Pulling fs layer [2023-08-25T11:13:25.222Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T11:13:25.222Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T11:13:25.222Z] e9a5061849ea: Pulling fs layer [2023-08-25T11:13:25.222Z] d747dcd14b5f: Pulling fs layer [2023-08-25T11:13:25.222Z] 2de7ff778b66: Pulling fs layer [2023-08-25T11:13:25.222Z] 0d9ebad4ef96: Waiting [2023-08-25T11:13:25.222Z] e9a5061849ea: Waiting [2023-08-25T11:13:25.222Z] d747dcd14b5f: Waiting [2023-08-25T11:13:25.222Z] 2de7ff778b66: Waiting [2023-08-25T11:13:25.222Z] 9712f1f96733: Verifying Checksum [2023-08-25T11:13:25.222Z] 9712f1f96733: Download complete [2023-08-25T11:13:25.482Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T11:13:25.482Z] 63f879dbbcfc: Download complete [2023-08-25T11:13:25.740Z] e9a5061849ea: Verifying Checksum [2023-08-25T11:13:25.740Z] e9a5061849ea: Download complete [2023-08-25T11:13:25.740Z] d747dcd14b5f: Download complete [2023-08-25T11:13:25.740Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T11:13:25.740Z] 0d9ebad4ef96: Download complete [2023-08-25T11:13:25.740Z] ab5ef0e58194: Verifying Checksum [2023-08-25T11:13:25.740Z] ab5ef0e58194: Download complete [2023-08-25T11:13:25.740Z] 2de7ff778b66: Verifying Checksum [2023-08-25T11:13:25.740Z] 2de7ff778b66: Download complete [2023-08-25T11:13:29.018Z] ab5ef0e58194: Pull complete [2023-08-25T11:13:29.018Z] 9712f1f96733: Pull complete [2023-08-25T11:13:29.275Z] 63f879dbbcfc: Pull complete [2023-08-25T11:13:33.462Z] 0d9ebad4ef96: Pull complete [2023-08-25T11:13:33.462Z] e9a5061849ea: Pull complete [2023-08-25T11:13:33.462Z] d747dcd14b5f: Pull complete [2023-08-25T11:13:34.836Z] 2de7ff778b66: Pull complete [2023-08-25T11:13:34.836Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T11:13:34.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:13:34.836Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:34.912Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:13:34.945Z] $ 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-25T11:13:39.920Z] $ docker top 8d3cfdbb039dcd380f9944eae5b14da3be23ac439e961c86939f6574653c0769 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:13:39.985Z] provisioning config files... [2023-08-25T11:13:39.991Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17671383299950537353tmp [2023-08-25T11:13:40.001Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10707133702037376187tmp [2023-08-25T11:13:40.010Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11742145160105633146tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:13:40.025Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:40.307Z] ---> sigul-configuration.sh [2023-08-25T11:13:40.307Z] gpg: directory `/root/.gnupg' created [2023-08-25T11:13:40.307Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T11:13:40.307Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T11:13:40.307Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T11:13:40.308Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T11:13:40.308Z] gpg: CAST5 encrypted data [2023-08-25T11:13:40.308Z] gpg: encrypted with 1 passphrase [2023-08-25T11:13:40.308Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T11:13:40.591Z] + mkdir /home/jenkins [2023-08-25T11:13:40.591Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T11:13:40.877Z] + 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-25T11:13:40.886Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:41.168Z] ---> sigul-install.sh [2023-08-25T11:13:41.168Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T11:13:41.453Z] + git tag --list [2023-08-25T11:13:41.453Z] 0.7.1 [2023-08-25T11:13:41.453Z] v1.0.0 [2023-08-25T11:13:41.453Z] v1.1.0 [2023-08-25T11:13:41.453Z] v1.1.1 [2023-08-25T11:13:41.453Z] v1.2.2 [2023-08-25T11:13:41.453Z] v1.3.0 [2023-08-25T11:13:41.453Z] v1.3.1 [2023-08-25T11:13:41.453Z] v2.0.0 [2023-08-25T11:13:41.453Z] v2.1.0 [2023-08-25T11:13:41.453Z] v2.1.1 [2023-08-25T11:13:41.453Z] v2.2.0 [2023-08-25T11:13:41.453Z] v2.3.0 [2023-08-25T11:13:41.453Z] v3.0 [2023-08-25T11:13:41.453Z] v3.0.0 [2023-08-25T11:13:41.453Z] v3.1.0-dev.1 [2023-08-25T11:13:41.453Z] v3.1.0-dev.2 [2023-08-25T11:13:41.453Z] v3.1.0-dev.3 [2023-08-25T11:13:41.453Z] v3.1.0-dev.4 [2023-08-25T11:13:41.453Z] v3.1.0-dev.5 [Pipeline] sh [2023-08-25T11:13:41.739Z] + lftools sign git-tag v3.1.0-dev.5 [2023-08-25T11:13:42.307Z] Signing Git tag with Sigul... [2023-08-25T11:13:42.307Z] Signing v3.1.0-dev.5 [Pipeline] echo [2023-08-25T11:13:42.574Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:42.870Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T11:13:42.878Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T11:13:42.897Z] $ docker stop --time=1 8d3cfdbb039dcd380f9944eae5b14da3be23ac439e961c86939f6574653c0769 [2023-08-25T11:13:44.325Z] $ docker rm -f --volumes 8d3cfdbb039dcd380f9944eae5b14da3be23ac439e961c86939f6574653c0769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T11:13:44.737Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:13:44.737Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:45.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:13:45.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:45.098Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:13:45.132Z] $ 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-25T11:13:45.439Z] $ docker top a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f -eo pid,comm [2023-08-25T11:13:45.479Z] 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-25T11:13:45.479Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:13:45.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:13:45.516Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:13:45.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:13:45.629Z] $ docker exec a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f ssh-agent [2023-08-25T11:13:45.749Z] SSH_AUTH_SOCK=/tmp/ssh-1eJFfFeWr9Up/agent.32 [2023-08-25T11:13:45.749Z] SSH_AGENT_PID=38 [2023-08-25T11:13:45.753Z] Running ssh-add (command line suppressed) [2023-08-25T11:13:45.845Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2864092873606867529.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2864092873606867529.key) [2023-08-25T11:13:45.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:13:46.141Z] + git semver bump pre [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,295 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,295 [bump_version] DEBUG bumped version:3.1.0-dev.6 [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,295 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,295 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,297 [execute] INFO git cat-file --batch-check [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,297 [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-25T11:13:46.400Z] 2023-08-25 11:13:46,301 [execute] INFO git cat-file --batch [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:13:46.400Z] 2023-08-25 11:13:46,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:46.400Z] 3.1.0-dev.6 [Pipeline] } [2023-08-25T11:13:46.410Z] $ docker exec --env ******** --env ******** a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f ssh-agent -k [2023-08-25T11:13:46.491Z] unset SSH_AUTH_SOCK; [2023-08-25T11:13:46.491Z] unset SSH_AGENT_PID; [2023-08-25T11:13:46.491Z] echo Agent pid 38 killed; [2023-08-25T11:13:46.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:13:46.798Z] + git semver [Pipeline] } [2023-08-25T11:13:47.071Z] $ docker stop --time=1 a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f [2023-08-25T11:13:48.324Z] $ docker rm -f --volumes a0ca261d58c9aead9f36d67324821f1f7992eafb6d87daf8d32d935ab9487e6f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:13:48.648Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:13:48.648Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:48.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:13:48.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:49.007Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:13:49.033Z] $ 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-25T11:13:49.323Z] $ docker top 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 -eo pid,comm [2023-08-25T11:13:49.366Z] 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-25T11:13:49.366Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:13:49.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:13:49.407Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:13:49.513Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:13:49.516Z] $ docker exec 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 ssh-agent [2023-08-25T11:13:49.620Z] SSH_AUTH_SOCK=/tmp/ssh-hFMOqolyT5sP/agent.32 [2023-08-25T11:13:49.620Z] SSH_AGENT_PID=38 [2023-08-25T11:13:49.624Z] Running ssh-add (command line suppressed) [2023-08-25T11:13:49.720Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13895593144301378392.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13895593144301378392.key) [2023-08-25T11:13:49.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:13:50.014Z] + git semver push [2023-08-25T11:13:50.273Z] 2023-08-25 11:13:50,197 [run_push] DEBUG push [2023-08-25T11:13:50.273Z] 2023-08-25 11:13:50,197 [execute] INFO git cat-file --batch-check [2023-08-25T11:13:50.273Z] 2023-08-25 11:13:50,197 [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-25T11:13:50.273Z] 2023-08-25 11:13:50,201 [execute] INFO git rev-list 2e321c6f0f29e45a95669cc8bfdff41a3074c1a7 -- [2023-08-25T11:13:50.273Z] 2023-08-25 11:13:50,201 [execute] DEBUG Popen(['git', 'rev-list', '2e321c6f0f29e45a95669cc8bfdff41a3074c1a7', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:13:50.273Z] 2023-08-25 11:13:50,209 [execute] INFO git fetch -v origin [2023-08-25T11:13:50.273Z] 2023-08-25 11:13:50,210 [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-25T11:13:50.841Z] 2023-08-25 11:13:50,687 [run_push] DEBUG no remote changes detected [2023-08-25T11:13:50.841Z] 2023-08-25 11:13:50,688 [execute] INFO git push origin semver [2023-08-25T11:13:50.841Z] 2023-08-25 11:13:50,688 [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-25T11:13:51.779Z] 2023-08-25 11:13:51,493 [run_push] DEBUG push all version tags [2023-08-25T11:13:51.779Z] 2023-08-25 11:13:51,493 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T11:13:51.779Z] 2023-08-25 11:13:51,494 [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-25T11:13:52.346Z] 2023-08-25 11:13:52,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-25T11:13:52.346Z] 3.1.0-dev.6 [Pipeline] } [2023-08-25T11:13:52.357Z] $ docker exec --env ******** --env ******** 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 ssh-agent -k [2023-08-25T11:13:52.448Z] unset SSH_AUTH_SOCK; [2023-08-25T11:13:52.448Z] unset SSH_AGENT_PID; [2023-08-25T11:13:52.448Z] echo Agent pid 38 killed; [2023-08-25T11:13:52.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:13:52.761Z] + git semver [Pipeline] } [2023-08-25T11:13:53.033Z] $ docker stop --time=1 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 [2023-08-25T11:13:54.366Z] $ docker rm -f --volumes 98240cfeb52d5872154e1a17e5c501fc095d4eeb0ff482f854e113c037701a50 [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-25T11:13:54.946Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-08-25T11:13:54.946Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-25T11:13:54.946Z] total 16 [2023-08-25T11:13:54.946Z] drwxr-xr-x 3 root root 4096 Aug 25 11:02 . [2023-08-25T11:13:54.946Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:13 .. [2023-08-25T11:13:54.946Z] drwxr-xr-x 2 root root 4096 Aug 25 11:02 cost [2023-08-25T11:13:54.946Z] -rw-r--r-- 1 root root 86 Aug 25 11:02 cost.csv [2023-08-25T11:13:54.946Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-25T11:13:54.946Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-25T11:13:54.946Z] total 16 [2023-08-25T11:13:54.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:02 . [2023-08-25T11:13:54.946Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 11:13 .. [2023-08-25T11:13:54.946Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 11:02 cost [2023-08-25T11:13:54.946Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 25 11:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:55.231Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:56.082Z] ---> package-listing.sh [2023-08-25T11:13:56.083Z] ++ facter osfamily [2023-08-25T11:13:56.083Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T11:13:56.342Z] + OS_FAMILY=debian [2023-08-25T11:13:56.342Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-25T11:13:56.342Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T11:13:56.342Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T11:13:56.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T11:13:56.342Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T11:13:56.342Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-25T11:13:56.342Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T11:13:56.342Z] + case "${OS_FAMILY}" in [2023-08-25T11:13:56.342Z] + dpkg -l [2023-08-25T11:13:56.342Z] + grep '^ii' [2023-08-25T11:13:56.342Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T11:13:56.342Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T11:13:56.342Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T11:13:56.342Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-25T11:13:56.342Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-08-25T11:13:56.342Z] + 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-25T11:13:56.352Z] 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-25T11:13:56.628Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:57.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:13:57.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:57.254Z] prd-ubuntu20.04-docker-8c-8g-4564 does not seem to be running inside a container [2023-08-25T11:13:57.284Z] $ 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-25T11:13:57.495Z] $ docker top aae4f63cb98ef51a174509f1d8d37658d2064da92da95ffdda53c9021c835618 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:13:57.838Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T11:13:58.121Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T11:13:58.399Z] + ls /var/log/sa-host [2023-08-25T11:13:58.399Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:13:58.463Z] provisioning config files... [2023-08-25T11:13:58.470Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5333635595198584522tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:13:58.479Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:58.756Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T11:13:58.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:59.081Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T11:13:59.089Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:59.372Z] ---> sudo-logs.sh [2023-08-25T11:13:59.372Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T11:13:59.396Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:59.678Z] ---> job-cost.sh [2023-08-25T11:13:59.678Z] lf-activate-venv: SKIPPING [2023-08-25T11:13:59.678Z] DEBUG: total: 0.2199999988079071 [2023-08-25T11:13:59.678Z] INFO: Retrieving Stack Cost... [2023-08-25T11:14:00.617Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:14:00.876Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T11:14:00.888Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:14:01.169Z] ---> logs-deploy.sh [2023-08-25T11:14:01.169Z] lf-activate-venv: SKIPPING [2023-08-25T11:14:01.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/133 [2023-08-25T11:14:01.169Z] INFO: archiving workspace using pattern(s): [2023-08-25T11:14:02.104Z] Archives upload complete. [2023-08-25T11:14:02.104Z] INFO: archiving logs to Nexus