Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f4870105b6de4608a6fa1c66d7959f9992f8cce 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-ssh13990284283366641968.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-ssh5689542957141044812.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-ssh12231163886145382965.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-ssh1013715651036664375.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-ssh4977189498739539436.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-ubuntu20.04-docker-8c-8g-5520’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5523 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 6f4870105b6de4608a6fa1c66d7959f9992f8cce (main) Commit message: "Merge pull request #622 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > 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 6f4870105b6de4608a6fa1c66d7959f9992f8cce # timeout=10 > git rev-list --no-walk c4dbf6069102021828098e365a108396ed21524d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-07T04:44:59.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-07T04:44:59.304Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-07T04:44:59.318Z] ========================================================= [2023-09-07T04:44:59.318Z] EdgeX Global Pipelines Version Info [2023-09-07T04:44:59.318Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:45:00.043Z] ------------------- [2023-09-07T04:45:00.043Z] stable info: [2023-09-07T04:45:00.043Z] ------------------- [2023-09-07T04:45:00.043Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-07T04:45:00.043Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T04:45:00.043Z] Message: update stable to v1.0.253 [2023-09-07T04:45:00.615Z] ------------------- [2023-09-07T04:45:00.615Z] experimental info: [2023-09-07T04:45:00.615Z] ------------------- [2023-09-07T04:45:00.615Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-07T04:45:00.615Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T04:45:00.615Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-07T04:45:00.773Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-07T04:45:00.786Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-07T04:45:00.798Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-07T04:45:00.810Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-07T04:45:00.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-07T04:45:00.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-07T04:45:00.859Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-07T04:45:00.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-07T04:45:00.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-07T04:45:00.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-07T04:45:00.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-07T04:45:00.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-07T04:45:00.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-07T04:45:00.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-07T04:45:00.963Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T04:45:00.976Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T04:45:00.992Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T04:45:01.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T04:45:01.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-07T04:45:01.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-07T04:45:01.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-07T04:45:01.082Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-07T04:45:01.096Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-07T04:45:01.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-07T04:45:01.126Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-07T04:45:01.143Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-07T04:45:01.164Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-07T04:45:01.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-07T04:45:01.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-07T04:45:01.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-07T04:45:01.240Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] echo [2023-09-07T04:45:01.261Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f48701 [Pipeline] echo [2023-09-07T04:45:01.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:45:01.320Z] provisioning config files... [2023-09-07T04:45:01.332Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4552747389376609519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:45:01.632Z] ---> docker-login.sh [2023-09-07T04:45:01.633Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:45:01.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:01.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:01.892Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:01.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:01.892Z] [2023-09-07T04:45:01.892Z] Login Succeeded [2023-09-07T04:45:01.892Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:45:01.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:02.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:02.154Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:02.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:02.154Z] [2023-09-07T04:45:02.154Z] Login Succeeded [2023-09-07T04:45:02.154Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:45:02.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:02.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:02.154Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:02.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:02.154Z] [2023-09-07T04:45:02.154Z] Login Succeeded [2023-09-07T04:45:02.154Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:45:02.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:02.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:02.414Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:02.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:02.414Z] [2023-09-07T04:45:02.414Z] Login Succeeded [2023-09-07T04:45:02.414Z] docker.io [2023-09-07T04:45:02.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:02.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:02.673Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:02.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:02.673Z] [2023-09-07T04:45:02.673Z] Login Succeeded [2023-09-07T04:45:02.673Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:45:02.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-07T04:45:03.054Z] + git rev-list -1 --merges 6f4870105b6de4608a6fa1c66d7959f9992f8cce~1..6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] echo [2023-09-07T04:45:03.100Z] -----------> git rev-list -1 --merges 6f4870105b6de4608a6fa1c66d7959f9992f8cce~1..6f4870105b6de4608a6fa1c66d7959f9992f8cce 6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:45:03.100Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce [false] [Pipeline] sh [2023-09-07T04:45:03.389Z] + git log --format=format:%s -1 6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] echo [2023-09-07T04:45:03.404Z] ========================================================= [2023-09-07T04:45:03.404Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-07T04:45:03.404Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:45:03.723Z] + git log --format=format:%s -1 6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] echo [2023-09-07T04:45:03.735Z] [semverPrep] GIT_COMMIT: 6f4870105b6de4608a6fa1c66d7959f9992f8cce, Commit Message: Merge pull request #622 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo [2023-09-07T04:45:03.744Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-07T04:45:04.088Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:45:04.088Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-07T04:45:04.088Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-07T04:45:04.088Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-07T04:45:04.088Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-07T04:45:04.088Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-07T04:45:04.088Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:45:04.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:45:04.427Z] [2023-09-07T04:45:04.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:45:04.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:45:04.728Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-07T04:45:04.728Z] b85a868b505f: Pulling fs layer [2023-09-07T04:45:04.728Z] e2be974225ed: Pulling fs layer [2023-09-07T04:45:04.728Z] 339a4e72a1f5: Pulling fs layer [2023-09-07T04:45:04.728Z] 988bab9f4d93: Pulling fs layer [2023-09-07T04:45:04.728Z] 1469e6f7b9e6: Pulling fs layer [2023-09-07T04:45:04.728Z] eaf3925da568: Pulling fs layer [2023-09-07T04:45:04.728Z] bab4dde63d76: Pulling fs layer [2023-09-07T04:45:04.728Z] bde34c3a00c8: Pulling fs layer [2023-09-07T04:45:04.728Z] b352a97aabf1: Pulling fs layer [2023-09-07T04:45:04.728Z] 4872d77fe225: Pulling fs layer [2023-09-07T04:45:04.728Z] 5851b861e8e6: Pulling fs layer [2023-09-07T04:45:04.728Z] 988bab9f4d93: Waiting [2023-09-07T04:45:04.728Z] 1469e6f7b9e6: Waiting [2023-09-07T04:45:04.728Z] b352a97aabf1: Waiting [2023-09-07T04:45:04.728Z] eaf3925da568: Waiting [2023-09-07T04:45:04.728Z] bde34c3a00c8: Waiting [2023-09-07T04:45:04.728Z] bab4dde63d76: Waiting [2023-09-07T04:45:04.728Z] 5851b861e8e6: Waiting [2023-09-07T04:45:04.728Z] e2be974225ed: Download complete [2023-09-07T04:45:04.728Z] 988bab9f4d93: Verifying Checksum [2023-09-07T04:45:04.728Z] 988bab9f4d93: Download complete [2023-09-07T04:45:05.024Z] 1469e6f7b9e6: Verifying Checksum [2023-09-07T04:45:05.024Z] 1469e6f7b9e6: Download complete [2023-09-07T04:45:05.024Z] eaf3925da568: Verifying Checksum [2023-09-07T04:45:05.024Z] eaf3925da568: Download complete [2023-09-07T04:45:05.024Z] 339a4e72a1f5: Verifying Checksum [2023-09-07T04:45:05.024Z] 339a4e72a1f5: Download complete [2023-09-07T04:45:05.024Z] bde34c3a00c8: Download complete [2023-09-07T04:45:05.024Z] b352a97aabf1: Verifying Checksum [2023-09-07T04:45:05.024Z] b352a97aabf1: Download complete [2023-09-07T04:45:05.024Z] 4872d77fe225: Verifying Checksum [2023-09-07T04:45:05.024Z] 4872d77fe225: Download complete [2023-09-07T04:45:05.024Z] 5851b861e8e6: Verifying Checksum [2023-09-07T04:45:05.024Z] 5851b861e8e6: Download complete [2023-09-07T04:45:05.024Z] b85a868b505f: Verifying Checksum [2023-09-07T04:45:05.024Z] b85a868b505f: Download complete [2023-09-07T04:45:05.290Z] bab4dde63d76: Verifying Checksum [2023-09-07T04:45:05.290Z] bab4dde63d76: Download complete [2023-09-07T04:45:06.227Z] b85a868b505f: Pull complete [2023-09-07T04:45:06.487Z] e2be974225ed: Pull complete [2023-09-07T04:45:07.060Z] 339a4e72a1f5: Pull complete [2023-09-07T04:45:07.060Z] 988bab9f4d93: Pull complete [2023-09-07T04:45:07.333Z] 1469e6f7b9e6: Pull complete [2023-09-07T04:45:07.591Z] eaf3925da568: Pull complete [2023-09-07T04:45:09.513Z] bab4dde63d76: Pull complete [2023-09-07T04:45:09.513Z] bde34c3a00c8: Pull complete [2023-09-07T04:45:09.513Z] b352a97aabf1: Pull complete [2023-09-07T04:45:09.774Z] 4872d77fe225: Pull complete [2023-09-07T04:45:09.774Z] 5851b861e8e6: Pull complete [2023-09-07T04:45:09.774Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-07T04:45:09.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:45:09.774Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:45:09.879Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:45:09.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-07T04:45:12.906Z] $ docker top a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 -eo pid,comm [2023-09-07T04:45:12.953Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-07T04:45:12.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:45:12.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:45:12.984Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:45:13.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:45:13.107Z] $ docker exec a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 ssh-agent [2023-09-07T04:45:13.206Z] SSH_AUTH_SOCK=/tmp/ssh-zqVxM9e4OKbM/agent.33 [2023-09-07T04:45:13.206Z] SSH_AGENT_PID=39 [2023-09-07T04:45:13.214Z] Running ssh-add (command line suppressed) [2023-09-07T04:45:13.317Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16782991691552455669.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16782991691552455669.key) [2023-09-07T04:45:13.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:45:13.614Z] + git tag --points-at HEAD [Pipeline] } [2023-09-07T04:45:13.639Z] $ docker exec --env ******** --env ******** a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 ssh-agent -k [2023-09-07T04:45:13.741Z] unset SSH_AUTH_SOCK; [2023-09-07T04:45:13.741Z] unset SSH_AGENT_PID; [2023-09-07T04:45:13.742Z] echo Agent pid 39 killed; [2023-09-07T04:45:13.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-07T04:45:13.773Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:45:13.773Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:45:13.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:45:13.899Z] $ docker exec a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 ssh-agent [2023-09-07T04:45:13.986Z] SSH_AUTH_SOCK=/tmp/ssh-CwF4MCpaizeT/agent.71 [2023-09-07T04:45:13.986Z] SSH_AGENT_PID=77 [2023-09-07T04:45:13.991Z] Running ssh-add (command line suppressed) [2023-09-07T04:45:14.100Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15325805043806037559.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15325805043806037559.key) [2023-09-07T04:45:14.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:45:14.394Z] + git semver init [2023-09-07T04:45:14.654Z] 2023-09-07 04:45:14,583 [run_init] DEBUG init version:0.0.0 force:False [2023-09-07T04:45:14.654Z] 2023-09-07 04:45:14,583 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-07T04:45:14.655Z] 2023-09-07 04:45:14,584 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-07T04:45:14.655Z] 2023-09-07 04:45:14,584 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:45:15.595Z] 2023-09-07 04:45:15,335 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-09-07T04:45:15.596Z] 2023-09-07 04:45:15,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-09-07T04:45:15.596Z] 2023-09-07 04:45:15,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:45:15.596Z] 2023-09-07 04:45:15,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:45:15.596Z] 3.1.0-dev.7 [Pipeline] } [2023-09-07T04:45:15.609Z] $ docker exec --env ******** --env ******** a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 ssh-agent -k [2023-09-07T04:45:15.714Z] unset SSH_AUTH_SOCK; [2023-09-07T04:45:15.715Z] unset SSH_AGENT_PID; [2023-09-07T04:45:15.715Z] echo Agent pid 77 killed; [2023-09-07T04:45:15.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:45:16.027Z] + git semver [Pipeline] } [2023-09-07T04:45:16.302Z] $ docker stop --time=1 a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 [2023-09-07T04:45:17.572Z] $ docker rm -f --volumes a7aa8cec7cc377c013b5909c6b75832ce2aa8c8252fe900d332cebe75d3fd6d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:45:17.912Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-07T04:45:18.106Z] Stashed 1 file(s) [Pipeline] echo [2023-09-07T04:45:18.109Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:45:18.272Z] provisioning config files... [2023-09-07T04:45:18.282Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8744093428524825231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:45:18.575Z] ---> docker-login.sh [2023-09-07T04:45:18.575Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:45:18.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:18.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:18.575Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:18.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:18.575Z] [2023-09-07T04:45:18.575Z] Login Succeeded [2023-09-07T04:45:18.575Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:45:18.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:18.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:18.575Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:18.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:18.575Z] [2023-09-07T04:45:18.575Z] Login Succeeded [2023-09-07T04:45:18.575Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:45:18.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:18.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:18.834Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:18.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:18.834Z] [2023-09-07T04:45:18.834Z] Login Succeeded [2023-09-07T04:45:18.834Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:45:18.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:18.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:18.834Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:18.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:18.834Z] [2023-09-07T04:45:18.834Z] Login Succeeded [2023-09-07T04:45:18.834Z] docker.io [2023-09-07T04:45:19.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:19.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:19.093Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:19.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:19.093Z] [2023-09-07T04:45:19.093Z] Login Succeeded [2023-09-07T04:45:19.093Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:45:19.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T04:45:19.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:45:19.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:45:19.180Z] ========================================================= [2023-09-07T04:45:19.180Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-07T04:45:19.180Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:45:19.498Z] + 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-09-07T04:45:19.498Z] Sending build context to Docker daemon 6.479MB [2023-09-07T04:45:19.498Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:45:19.498Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-07T04:45:19.498Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-07T04:45:19.498Z] 4db1b89c0bd1: Pulling fs layer [2023-09-07T04:45:19.498Z] 6911f1a30b25: Pulling fs layer [2023-09-07T04:45:19.498Z] e194b8c5c2a9: Pulling fs layer [2023-09-07T04:45:19.498Z] 6863d3e3a2b1: Pulling fs layer [2023-09-07T04:45:19.498Z] ec0bb842ea78: Pulling fs layer [2023-09-07T04:45:19.498Z] 40a00589a448: Pulling fs layer [2023-09-07T04:45:19.498Z] 6863d3e3a2b1: Waiting [2023-09-07T04:45:19.498Z] ec0bb842ea78: Waiting [2023-09-07T04:45:19.498Z] 6c08303d61cc: Pulling fs layer [2023-09-07T04:45:19.498Z] 40a00589a448: Waiting [2023-09-07T04:45:19.498Z] 798269fcf238: Pulling fs layer [2023-09-07T04:45:19.498Z] 6c08303d61cc: Waiting [2023-09-07T04:45:19.498Z] 6911f1a30b25: Verifying Checksum [2023-09-07T04:45:19.498Z] 6911f1a30b25: Download complete [2023-09-07T04:45:19.498Z] 6863d3e3a2b1: Verifying Checksum [2023-09-07T04:45:19.498Z] 6863d3e3a2b1: Download complete [2023-09-07T04:45:19.769Z] 4db1b89c0bd1: Verifying Checksum [2023-09-07T04:45:19.769Z] 4db1b89c0bd1: Download complete [2023-09-07T04:45:19.769Z] ec0bb842ea78: Verifying Checksum [2023-09-07T04:45:19.769Z] ec0bb842ea78: Download complete [2023-09-07T04:45:19.769Z] 40a00589a448: Verifying Checksum [2023-09-07T04:45:19.769Z] 40a00589a448: Download complete [2023-09-07T04:45:19.769Z] 4db1b89c0bd1: Pull complete [2023-09-07T04:45:20.073Z] 6911f1a30b25: Pull complete [2023-09-07T04:45:20.335Z] 798269fcf238: Verifying Checksum [2023-09-07T04:45:20.335Z] 798269fcf238: Download complete [2023-09-07T04:45:20.594Z] e194b8c5c2a9: Download complete [2023-09-07T04:45:20.594Z] 6c08303d61cc: Verifying Checksum [2023-09-07T04:45:20.594Z] 6c08303d61cc: Download complete [2023-09-07T04:45:23.884Z] e194b8c5c2a9: Pull complete [2023-09-07T04:45:24.142Z] 6863d3e3a2b1: Pull complete [2023-09-07T04:45:24.142Z] ec0bb842ea78: Pull complete [2023-09-07T04:45:24.142Z] 40a00589a448: Pull complete [2023-09-07T04:45:27.445Z] 6c08303d61cc: Pull complete [2023-09-07T04:45:28.012Z] 798269fcf238: Pull complete [2023-09-07T04:45:28.012Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-07T04:45:28.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-07T04:45:28.012Z] ---> ec979cd7f677 [2023-09-07T04:45:28.012Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:45:33.217Z] Still waiting to schedule task [2023-09-07T04:45:33.217Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5522’ [2023-09-07T04:45:42.895Z] ---> Running in 6522dcfc751f [2023-09-07T04:45:42.895Z] Removing intermediate container 6522dcfc751f [2023-09-07T04:45:42.895Z] ---> f0ab45c7d2c5 [2023-09-07T04:45:42.895Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:45:42.895Z] ---> Running in 0bdf33ac8eb6 [2023-09-07T04:45:42.895Z] Removing intermediate container 0bdf33ac8eb6 [2023-09-07T04:45:42.895Z] ---> ee298684da03 [2023-09-07T04:45:42.895Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:45:42.895Z] ---> Running in fffadb41358d [2023-09-07T04:45:42.895Z] Removing intermediate container fffadb41358d [2023-09-07T04:45:42.895Z] ---> cfda305d85cd [2023-09-07T04:45:42.895Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:45:42.895Z] ---> Running in c708f6da6ff6 [2023-09-07T04:45:42.895Z] Removing intermediate container c708f6da6ff6 [2023-09-07T04:45:42.895Z] ---> f14ea1a7abd9 [2023-09-07T04:45:42.895Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:45:42.895Z] ---> Running in 1cd132b7673e [2023-09-07T04:45:42.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:45:42.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:45:42.895Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-07T04:45:42.895Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-07T04:45:42.895Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-07T04:45:42.895Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-07T04:45:42.895Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:45:42.895Z] OK: 269 MiB in 57 packages [2023-09-07T04:45:43.463Z] Removing intermediate container 1cd132b7673e [2023-09-07T04:45:43.463Z] ---> 4a65e427a4d1 [2023-09-07T04:45:43.463Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-07T04:45:43.463Z] ---> Running in 0905adbb0fc3 [2023-09-07T04:45:43.463Z] Removing intermediate container 0905adbb0fc3 [2023-09-07T04:45:43.463Z] ---> d554c15d1e3f [2023-09-07T04:45:43.463Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-07T04:45:43.463Z] ---> 296c6311770b [2023-09-07T04:45:43.463Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:45:43.721Z] ---> Running in d70e3ea3e387 [2023-09-07T04:46:22.508Z] Removing intermediate container d70e3ea3e387 [2023-09-07T04:46:22.508Z] ---> 639f3d2f539e [2023-09-07T04:46:22.508Z] Step 11/12 : COPY . . [2023-09-07T04:46:22.508Z] ---> cb736d969046 [2023-09-07T04:46:22.508Z] Step 12/12 : RUN $MAKE [2023-09-07T04:46:22.508Z] ---> Running in 787a4179cfc6 [2023-09-07T04:46:22.508Z] noop [2023-09-07T04:46:22.508Z] Removing intermediate container 787a4179cfc6 [2023-09-07T04:46:22.508Z] ---> 8e94cd525e33 [2023-09-07T04:46:22.508Z] Successfully built 8e94cd525e33 [2023-09-07T04:46:22.508Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:22.823Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T04:46:22.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:46:22.905Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:46:22.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-07T04:46:23.282Z] $ docker top 4fb8364b7aadc9addc1e2899f11801a2d9154b5b7b1eeab9dbc61cfcdd75bc4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:46:23.618Z] + go version [2023-09-07T04:46:23.618Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-07T04:46:23.632Z] $ docker stop --time=1 4fb8364b7aadc9addc1e2899f11801a2d9154b5b7b1eeab9dbc61cfcdd75bc4c [2023-09-07T04:46:24.873Z] $ docker rm -f --volumes 4fb8364b7aadc9addc1e2899f11801a2d9154b5b7b1eeab9dbc61cfcdd75bc4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:25.286Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T04:46:25.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:46:25.354Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:46:25.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-07T04:46:25.710Z] $ docker top cd5cfa75493087e896f18e0e39927bcc2e5380630c11628fa84cf3652ca4dc3b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:46:26.041Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-07T04:46:26.334Z] + make test [2023-09-07T04:46:26.334Z] go test ./... -coverprofile=coverage.out ./... [2023-09-07T04:46:31.594Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-07T04:46:43.843Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-07T04:46:43.843Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-07T04:46:43.843Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 22.8% of statements [2023-09-07T04:46:50.393Z] go vet ./... [2023-09-07T04:46:54.575Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T04:46:54.575Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T04:46:54.575Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T04:46:54.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T04:46:54.606Z] $ docker stop --time=1 cd5cfa75493087e896f18e0e39927bcc2e5380630c11628fa84cf3652ca4dc3b [2023-09-07T04:47:00.637Z] $ docker rm -f --volumes cd5cfa75493087e896f18e0e39927bcc2e5380630c11628fa84cf3652ca4dc3b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:47:01.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T04:47:01.214Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-07T04:47:01.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T04:47:01.937Z] + ls -al . [2023-09-07T04:47:01.937Z] total 188 [2023-09-07T04:47:01.937Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:46 . [2023-09-07T04:47:01.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:44 .. [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 04:44 .dockerignore [2023-09-07T04:47:01.937Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:45 .git [2023-09-07T04:47:01.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:44 .github [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 7 04:44 .gitignore [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:44 .golangci.yml [2023-09-07T04:47:01.937Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:45 .semver [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 7 04:44 Attribution.txt [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 7 04:44 CHANGELOG.md [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 7 04:44 Dockerfile [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:44 GOVERNANCE.md [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 7 04:44 Jenkinsfile [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:44 LICENSE [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 7 04:44 Makefile [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 7 04:44 OWNERS.md [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 7 04:44 README.md [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:45 VERSION [2023-09-07T04:47:01.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:44 bin [2023-09-07T04:47:01.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:44 cmd [2023-09-07T04:47:01.937Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 7 04:46 coverage.out [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 3820 Sep 7 04:44 go.mod [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 7 04:44 go.sum [2023-09-07T04:47:01.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:44 internal [2023-09-07T04:47:01.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:44 mock [2023-09-07T04:47:01.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:44 snap [2023-09-07T04:47:01.937Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 7 04:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:02.246Z] + 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=6f4870105b6de4608a6fa1c66d7959f9992f8cce --label arch=amd64 --label version=3.1.0-dev.7 . [2023-09-07T04:47:02.246Z] Sending build context to Docker daemon 6.499MB [2023-09-07T04:47:02.246Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:47:02.246Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-07T04:47:02.246Z] ---> 8e94cd525e33 [2023-09-07T04:47:02.246Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:47:02.507Z] ---> Running in 0950825ec1d0 [2023-09-07T04:47:02.507Z] Removing intermediate container 0950825ec1d0 [2023-09-07T04:47:02.507Z] ---> 76a859db6c74 [2023-09-07T04:47:02.507Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:47:02.507Z] ---> Running in bc734ef17bd1 [2023-09-07T04:47:02.507Z] Removing intermediate container bc734ef17bd1 [2023-09-07T04:47:02.507Z] ---> 4947ffdf7b33 [2023-09-07T04:47:02.507Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:47:02.507Z] ---> Running in 79263d65552b [2023-09-07T04:47:02.766Z] Removing intermediate container 79263d65552b [2023-09-07T04:47:02.766Z] ---> 2fb722aee012 [2023-09-07T04:47:02.766Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:47:02.766Z] ---> Running in 7b5b82a79738 [2023-09-07T04:47:02.766Z] Removing intermediate container 7b5b82a79738 [2023-09-07T04:47:02.766Z] ---> 16e1d6334c6d [2023-09-07T04:47:02.766Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:47:02.766Z] ---> Running in d79482c7b9d5 [2023-09-07T04:47:03.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:47:03.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:47:03.546Z] OK: 269 MiB in 57 packages [2023-09-07T04:47:04.115Z] Removing intermediate container d79482c7b9d5 [2023-09-07T04:47:04.115Z] ---> a3d968582c4a [2023-09-07T04:47:04.115Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-07T04:47:04.115Z] ---> Running in 684d25d692c4 [2023-09-07T04:47:04.115Z] Removing intermediate container 684d25d692c4 [2023-09-07T04:47:04.115Z] ---> c020d1c715d6 [2023-09-07T04:47:04.115Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-07T04:47:04.115Z] ---> e35111e73b97 [2023-09-07T04:47:04.115Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:47:04.373Z] ---> Running in 4e63b56b957b [2023-09-07T04:47:05.321Z] Removing intermediate container 4e63b56b957b [2023-09-07T04:47:05.321Z] ---> 7254869944f6 [2023-09-07T04:47:05.321Z] Step 11/24 : COPY . . [2023-09-07T04:47:05.580Z] ---> 55c57c80c83e [2023-09-07T04:47:05.580Z] Step 12/24 : RUN $MAKE [2023-09-07T04:47:05.580Z] ---> Running in c06a04391548 [2023-09-07T04:47:05.838Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-07T04:47:32.378Z] Removing intermediate container c06a04391548 [2023-09-07T04:47:32.379Z] ---> abf09226bf7d [2023-09-07T04:47:32.379Z] Step 13/24 : FROM alpine:3.17 [2023-09-07T04:47:32.379Z] 3.17: Pulling from library/alpine [2023-09-07T04:47:32.379Z] 9398808236ff: Pulling fs layer [2023-09-07T04:47:32.379Z] 9398808236ff: Download complete [2023-09-07T04:47:32.379Z] 9398808236ff: Pull complete [2023-09-07T04:47:32.379Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T04:47:32.379Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T04:47:32.379Z] ---> 1e0b8b5322fc [2023-09-07T04:47:32.379Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-07T04:47:32.379Z] ---> Running in 746353e01005 [2023-09-07T04:47:32.379Z] Removing intermediate container 746353e01005 [2023-09-07T04:47:32.379Z] ---> 040f07630f2c [2023-09-07T04:47:32.379Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-07T04:47:32.379Z] ---> Running in 3e45f0010e3d [2023-09-07T04:47:32.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:47:32.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:47:32.379Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-07T04:47:32.379Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:47:32.379Z] OK: 7 MiB in 16 packages [2023-09-07T04:47:32.379Z] Removing intermediate container 3e45f0010e3d [2023-09-07T04:47:32.379Z] ---> 9a72a10309bc [2023-09-07T04:47:32.379Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-07T04:47:32.379Z] ---> ef24e651a4c9 [2023-09-07T04:47:32.379Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-07T04:47:32.379Z] ---> 82e4ddcfe12b [2023-09-07T04:47:32.379Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-07T04:47:32.379Z] ---> 00d81edc997c [2023-09-07T04:47:32.379Z] Step 19/24 : EXPOSE 59982 [2023-09-07T04:47:32.379Z] ---> Running in 715f7ba88846 [2023-09-07T04:47:32.379Z] Removing intermediate container 715f7ba88846 [2023-09-07T04:47:32.379Z] ---> 517ea15f32d2 [2023-09-07T04:47:32.379Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-07T04:47:32.379Z] ---> Running in 2cc7b9c3eaf2 [2023-09-07T04:47:32.379Z] Removing intermediate container 2cc7b9c3eaf2 [2023-09-07T04:47:32.379Z] ---> 9e5e1a145a39 [2023-09-07T04:47:32.379Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-07T04:47:32.379Z] ---> Running in 79ecb3d4c83b [2023-09-07T04:47:32.379Z] Removing intermediate container 79ecb3d4c83b [2023-09-07T04:47:32.379Z] ---> c9660cca7d33 [2023-09-07T04:47:32.379Z] Step 22/24 : LABEL arch=amd64 [2023-09-07T04:47:32.379Z] ---> Running in ceb8ca2892f2 [2023-09-07T04:47:32.379Z] Removing intermediate container ceb8ca2892f2 [2023-09-07T04:47:32.379Z] ---> 519d2b549242 [2023-09-07T04:47:32.379Z] Step 23/24 : LABEL git_sha=6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:47:32.379Z] ---> Running in e077b76db884 [2023-09-07T04:47:32.379Z] Removing intermediate container e077b76db884 [2023-09-07T04:47:32.379Z] ---> fe35b910319f [2023-09-07T04:47:32.379Z] Step 24/24 : LABEL version=3.1.0-dev.7 [2023-09-07T04:47:32.379Z] ---> Running in 1c2cc09679f7 [2023-09-07T04:47:32.379Z] Removing intermediate container 1c2cc09679f7 [2023-09-07T04:47:32.379Z] ---> 647dd8967e9a [2023-09-07T04:47:32.379Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T04:47:32.379Z] Successfully built 647dd8967e9a [2023-09-07T04:47:32.379Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:47:32.502Z] provisioning config files... [2023-09-07T04:47:32.548Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8482221147514540172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:47:32.854Z] ---> docker-login.sh [2023-09-07T04:47:32.854Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:47:32.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:47:32.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:47:32.854Z] Configure a credential helper to remove this warning. See [2023-09-07T04:47:32.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:47:32.854Z] [2023-09-07T04:47:32.854Z] Login Succeeded [2023-09-07T04:47:32.854Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:47:32.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:47:32.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:47:32.854Z] Configure a credential helper to remove this warning. See [2023-09-07T04:47:32.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:47:32.854Z] [2023-09-07T04:47:32.854Z] Login Succeeded [2023-09-07T04:47:32.854Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:47:33.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:47:33.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:47:33.114Z] Configure a credential helper to remove this warning. See [2023-09-07T04:47:33.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:47:33.114Z] [2023-09-07T04:47:33.114Z] Login Succeeded [2023-09-07T04:47:33.114Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:47:33.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:47:33.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:47:33.114Z] Configure a credential helper to remove this warning. See [2023-09-07T04:47:33.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:47:33.114Z] [2023-09-07T04:47:33.114Z] Login Succeeded [2023-09-07T04:47:33.114Z] docker.io [2023-09-07T04:47:33.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:47:33.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:47:33.374Z] Configure a credential helper to remove this warning. See [2023-09-07T04:47:33.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:47:33.374Z] [2023-09-07T04:47:33.374Z] Login Succeeded [2023-09-07T04:47:33.374Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:47:33.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:47:33.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:47:33.456Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-09-07T04:47:33.456Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:47:33.456Z] latest [2023-09-07T04:47:33.456Z] 3.1.0-dev.7 [2023-09-07T04:47:33.456Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [2023-09-07T04:47:33.456Z] main [2023-09-07T04:47:33.456Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:33.807Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:34.115Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:47:34.115Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-07T04:47:34.115Z] 674c2d68f453: Preparing [2023-09-07T04:47:34.115Z] 2f8b245eee86: Preparing [2023-09-07T04:47:34.115Z] 26b6f9849293: Preparing [2023-09-07T04:47:34.115Z] d4b3620a5427: Preparing [2023-09-07T04:47:34.115Z] 36b50b131297: Preparing [2023-09-07T04:47:34.115Z] 36b50b131297: Layer already exists [2023-09-07T04:47:34.115Z] d4b3620a5427: Pushed [2023-09-07T04:47:34.115Z] 674c2d68f453: Pushed [2023-09-07T04:47:34.115Z] 2f8b245eee86: Pushed [2023-09-07T04:47:39.393Z] 26b6f9849293: Pushed [2023-09-07T04:47:39.393Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce: digest: sha256:0a4c195dc5f5c4b14712678963842b6c28b3099f22795f6a2168fb87e6d85cdb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:39.719Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:40.026Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-07T04:47:40.026Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-07T04:47:40.026Z] 674c2d68f453: Preparing [2023-09-07T04:47:40.026Z] 2f8b245eee86: Preparing [2023-09-07T04:47:40.026Z] 26b6f9849293: Preparing [2023-09-07T04:47:40.026Z] d4b3620a5427: Preparing [2023-09-07T04:47:40.026Z] 36b50b131297: Preparing [2023-09-07T04:47:40.026Z] 2f8b245eee86: Layer already exists [2023-09-07T04:47:40.026Z] 674c2d68f453: Layer already exists [2023-09-07T04:47:40.026Z] 36b50b131297: Layer already exists [2023-09-07T04:47:40.026Z] 26b6f9849293: Layer already exists [2023-09-07T04:47:40.026Z] d4b3620a5427: Layer already exists [2023-09-07T04:47:40.026Z] latest: digest: sha256:0a4c195dc5f5c4b14712678963842b6c28b3099f22795f6a2168fb87e6d85cdb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:40.336Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:40.643Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.7 [2023-09-07T04:47:40.644Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-07T04:47:40.644Z] 674c2d68f453: Preparing [2023-09-07T04:47:40.644Z] 2f8b245eee86: Preparing [2023-09-07T04:47:40.644Z] 26b6f9849293: Preparing [2023-09-07T04:47:40.644Z] d4b3620a5427: Preparing [2023-09-07T04:47:40.644Z] 36b50b131297: Preparing [2023-09-07T04:47:40.644Z] 26b6f9849293: Layer already exists [2023-09-07T04:47:40.644Z] 2f8b245eee86: Layer already exists [2023-09-07T04:47:40.644Z] 674c2d68f453: Layer already exists [2023-09-07T04:47:40.644Z] 36b50b131297: Layer already exists [2023-09-07T04:47:40.644Z] d4b3620a5427: Layer already exists [2023-09-07T04:47:40.644Z] 3.1.0-dev.7: digest: sha256:0a4c195dc5f5c4b14712678963842b6c28b3099f22795f6a2168fb87e6d85cdb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:40.967Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:41.277Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [2023-09-07T04:47:41.277Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-07T04:47:41.277Z] 674c2d68f453: Preparing [2023-09-07T04:47:41.277Z] 2f8b245eee86: Preparing [2023-09-07T04:47:41.277Z] 26b6f9849293: Preparing [2023-09-07T04:47:41.277Z] d4b3620a5427: Preparing [2023-09-07T04:47:41.277Z] 36b50b131297: Preparing [2023-09-07T04:47:41.277Z] 2f8b245eee86: Layer already exists [2023-09-07T04:47:41.277Z] 26b6f9849293: Layer already exists [2023-09-07T04:47:41.277Z] 36b50b131297: Layer already exists [2023-09-07T04:47:41.277Z] 674c2d68f453: Layer already exists [2023-09-07T04:47:41.277Z] d4b3620a5427: Layer already exists [2023-09-07T04:47:41.277Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7: digest: sha256:0a4c195dc5f5c4b14712678963842b6c28b3099f22795f6a2168fb87e6d85cdb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:41.585Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:41.903Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-09-07T04:47:41.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-07T04:47:41.903Z] 674c2d68f453: Preparing [2023-09-07T04:47:41.903Z] 2f8b245eee86: Preparing [2023-09-07T04:47:41.903Z] 26b6f9849293: Preparing [2023-09-07T04:47:41.903Z] d4b3620a5427: Preparing [2023-09-07T04:47:41.903Z] 36b50b131297: Preparing [2023-09-07T04:47:41.903Z] 2f8b245eee86: Layer already exists [2023-09-07T04:47:41.903Z] d4b3620a5427: Layer already exists [2023-09-07T04:47:41.903Z] 674c2d68f453: Layer already exists [2023-09-07T04:47:41.903Z] 36b50b131297: Layer already exists [2023-09-07T04:47:41.903Z] 26b6f9849293: Layer already exists [2023-09-07T04:47:41.903Z] main: digest: sha256:0a4c195dc5f5c4b14712678963842b6c28b3099f22795f6a2168fb87e6d85cdb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:47:41.943Z] ===================================================== [Pipeline] echo [2023-09-07T04:47:41.949Z] taggedImages: [2023-09-07T04:47:41.949Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:47:41.949Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-07T04:47:41.949Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.7 [2023-09-07T04:47:41.949Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [2023-09-07T04:47:41.949Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:42.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:47:42.331Z] [2023-09-07T04:47:42.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:42.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:47:42.633Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-07T04:47:42.633Z] 5eb5b503b376: Pulling fs layer [2023-09-07T04:47:42.633Z] 5c69ac0246d0: Pulling fs layer [2023-09-07T04:47:42.633Z] ec43610c2a17: Pulling fs layer [2023-09-07T04:47:42.633Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-07T04:47:42.633Z] 33b1e0a273af: Pulling fs layer [2023-09-07T04:47:42.633Z] 5d3b04190fa2: Pulling fs layer [2023-09-07T04:47:42.633Z] 2f39f015ded8: Pulling fs layer [2023-09-07T04:47:42.633Z] 3a2ae6a8a46f: Waiting [2023-09-07T04:47:42.633Z] 33b1e0a273af: Waiting [2023-09-07T04:47:42.633Z] 2f39f015ded8: Waiting [2023-09-07T04:47:42.633Z] 5d3b04190fa2: Waiting [2023-09-07T04:47:42.633Z] 5c69ac0246d0: Verifying Checksum [2023-09-07T04:47:42.633Z] 5c69ac0246d0: Download complete [2023-09-07T04:47:42.633Z] 3a2ae6a8a46f: Download complete [2023-09-07T04:47:42.633Z] ec43610c2a17: Verifying Checksum [2023-09-07T04:47:42.633Z] ec43610c2a17: Download complete [2023-09-07T04:47:42.633Z] 33b1e0a273af: Verifying Checksum [2023-09-07T04:47:42.633Z] 33b1e0a273af: Download complete [2023-09-07T04:47:42.904Z] 5d3b04190fa2: Verifying Checksum [2023-09-07T04:47:42.904Z] 5d3b04190fa2: Download complete [2023-09-07T04:47:42.904Z] 5eb5b503b376: Verifying Checksum [2023-09-07T04:47:42.904Z] 5eb5b503b376: Download complete [2023-09-07T04:47:43.470Z] 2f39f015ded8: Download complete [2023-09-07T04:47:44.405Z] 5eb5b503b376: Pull complete [2023-09-07T04:47:44.405Z] 5c69ac0246d0: Pull complete [2023-09-07T04:47:44.973Z] ec43610c2a17: Pull complete [2023-09-07T04:47:44.973Z] 3a2ae6a8a46f: Pull complete [2023-09-07T04:47:45.244Z] 33b1e0a273af: Pull complete [2023-09-07T04:47:45.244Z] 5d3b04190fa2: Pull complete [2023-09-07T04:47:50.522Z] 2f39f015ded8: Pull complete [2023-09-07T04:47:50.522Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-07T04:47:50.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:47:50.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:47:50.618Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:47:50.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-07T04:47:54.683Z] $ docker top 66768a036a4905207d07caeac3afb8d08fc1d0d0cf77242efc650f9ff20867d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:47:55.073Z] ---> job-cost.sh [2023-09-07T04:47:55.073Z] lf-activate-venv: SKIPPING [2023-09-07T04:47:55.073Z] INFO: No Stack... [2023-09-07T04:47:55.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T04:47:55.896Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T04:47:56.181Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-09-07T04:47:56.181Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T04:47:56.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] [2023-09-07T04:47:56.201Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] did not exist. Created. [2023-09-07T04:47:56.201Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:47:56.499Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-07T04:47:56.530Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T04:47:56.538Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T04:47:56.559Z] $ docker stop --time=1 66768a036a4905207d07caeac3afb8d08fc1d0d0cf77242efc650f9ff20867d4 [2023-09-07T04:47:58.310Z] $ docker rm -f --volumes 66768a036a4905207d07caeac3afb8d08fc1d0d0cf77242efc650f9ff20867d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-07T04:48:20.841Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5526 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-09-07T04:48:20.853Z] Running in /w/workspace/device-mqtt-go/135 [Pipeline] { [Pipeline] checkout [2023-09-07T04:48:20.890Z] The recommended git tool is: git [2023-09-07T04:48:27.259Z] using credential edgex-jenkins-ssh [2023-09-07T04:48:27.276Z] Cloning the remote Git repository [2023-09-07T04:48:27.330Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-07T04:48:27.440Z] > git init /w/workspace/device-mqtt-go/135 # timeout=10 [2023-09-07T04:48:27.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-07T04:48:27.623Z] > git --version # timeout=10 [2023-09-07T04:48:27.650Z] > git --version # 'git version 2.25.1' [2023-09-07T04:48:27.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-07T04:48:27.837Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T04:48:29.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-07T04:48:29.067Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T04:48:30.094Z] Avoid second fetch [2023-09-07T04:48:30.095Z] Checking out Revision 6f4870105b6de4608a6fa1c66d7959f9992f8cce (main) [2023-09-07T04:48:30.729Z] Commit message: "Merge pull request #622 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:48:30.117Z] > git config core.sparsecheckout # timeout=10 [2023-09-07T04:48:30.193Z] > git checkout -f 6f4870105b6de4608a6fa1c66d7959f9992f8cce # timeout=10 [2023-09-07T04:48:31.613Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-07T04:48:31.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T04:48:31.613Z] Dload Upload Total Spent Left Speed [2023-09-07T04:48:31.613Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-09-07T04:48:32.462Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-07T04:48:32.802Z] + sudo tee /etc/docker/daemon.new [2023-09-07T04:48:32.802Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-07T04:48:32.802Z] { [2023-09-07T04:48:32.802Z] "registry-mirrors": [ [2023-09-07T04:48:32.802Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-07T04:48:32.802Z] ], [2023-09-07T04:48:32.802Z] "bip": "10.250.0.254/24", [2023-09-07T04:48:32.802Z] "hosts": [ [2023-09-07T04:48:32.802Z] "tcp://0.0.0.0:5555", [2023-09-07T04:48:32.802Z] "unix:///var/run/docker.sock" [2023-09-07T04:48:32.802Z] ], [2023-09-07T04:48:32.802Z] "mtu": 1458, [2023-09-07T04:48:32.802Z] "selinux-enabled": true, [2023-09-07T04:48:32.802Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-07T04:48:32.802Z] } [Pipeline] sh [2023-09-07T04:48:33.359Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-07T04:48:33.702Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:48:51.983Z] provisioning config files... [2023-09-07T04:48:52.015Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/135@tmp/config10702291699188336491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:48:52.375Z] ---> docker-login.sh [2023-09-07T04:48:52.375Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:48:52.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:52.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:52.964Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:52.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:52.964Z] [2023-09-07T04:48:52.964Z] Login Succeeded [2023-09-07T04:48:52.964Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:48:53.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:53.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:53.506Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:53.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:53.506Z] [2023-09-07T04:48:53.506Z] Login Succeeded [2023-09-07T04:48:53.506Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:48:53.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:53.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:53.779Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:53.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:53.779Z] [2023-09-07T04:48:53.779Z] Login Succeeded [2023-09-07T04:48:53.779Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:48:54.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:54.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:54.332Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:54.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:54.332Z] [2023-09-07T04:48:54.332Z] Login Succeeded [2023-09-07T04:48:54.332Z] docker.io [2023-09-07T04:48:54.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:48:54.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:48:54.873Z] Configure a credential helper to remove this warning. See [2023-09-07T04:48:54.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:48:54.873Z] [2023-09-07T04:48:54.873Z] Login Succeeded [2023-09-07T04:48:54.873Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:48:54.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T04:48:55.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:48:55.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:48:55.203Z] ========================================================= [2023-09-07T04:48:55.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-07T04:48:55.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:48:55.556Z] + 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-09-07T04:48:55.825Z] Sending build context to Docker daemon 3.33MB [2023-09-07T04:48:55.825Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:48:55.826Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-07T04:48:56.098Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-07T04:48:56.098Z] edb6bdbacee9: Pulling fs layer [2023-09-07T04:48:56.098Z] 5f9638ab2659: Pulling fs layer [2023-09-07T04:48:56.098Z] 8d51d6327a98: Pulling fs layer [2023-09-07T04:48:56.098Z] 8b374f2dd631: Pulling fs layer [2023-09-07T04:48:56.098Z] ec14aa9079de: Pulling fs layer [2023-09-07T04:48:56.098Z] 2f466654f4bb: Pulling fs layer [2023-09-07T04:48:56.098Z] 554e91adad29: Pulling fs layer [2023-09-07T04:48:56.098Z] ec14aa9079de: Waiting [2023-09-07T04:48:56.098Z] 2f466654f4bb: Waiting [2023-09-07T04:48:56.098Z] 554e91adad29: Waiting [2023-09-07T04:48:56.098Z] 8b374f2dd631: Waiting [2023-09-07T04:48:56.098Z] 5f9638ab2659: Verifying Checksum [2023-09-07T04:48:56.098Z] 5f9638ab2659: Download complete [2023-09-07T04:48:56.098Z] 8b374f2dd631: Verifying Checksum [2023-09-07T04:48:56.098Z] 8b374f2dd631: Download complete [2023-09-07T04:48:56.098Z] ec14aa9079de: Download complete [2023-09-07T04:48:56.098Z] edb6bdbacee9: Verifying Checksum [2023-09-07T04:48:57.074Z] edb6bdbacee9: Pull complete [2023-09-07T04:48:57.354Z] 554e91adad29: Verifying Checksum [2023-09-07T04:48:57.354Z] 554e91adad29: Download complete [2023-09-07T04:48:57.948Z] 5f9638ab2659: Pull complete [2023-09-07T04:48:58.923Z] 2f466654f4bb: Verifying Checksum [2023-09-07T04:48:58.923Z] 2f466654f4bb: Download complete [2023-09-07T04:48:58.923Z] 8d51d6327a98: Verifying Checksum [2023-09-07T04:48:58.923Z] 8d51d6327a98: Download complete [2023-09-07T04:49:11.268Z] 8d51d6327a98: Pull complete [2023-09-07T04:49:11.268Z] 8b374f2dd631: Pull complete [2023-09-07T04:49:11.268Z] ec14aa9079de: Pull complete [2023-09-07T04:49:16.646Z] 2f466654f4bb: Pull complete [2023-09-07T04:49:19.256Z] 554e91adad29: Pull complete [2023-09-07T04:49:19.256Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-07T04:49:19.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-07T04:49:19.256Z] ---> 1e15ea492957 [2023-09-07T04:49:19.256Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:49:21.865Z] ---> Running in 7a1ed18b6cc1 [2023-09-07T04:49:21.865Z] Removing intermediate container 7a1ed18b6cc1 [2023-09-07T04:49:21.865Z] ---> bce95a4b82f9 [2023-09-07T04:49:21.865Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:49:21.865Z] ---> Running in 8717bb818dbc [2023-09-07T04:49:22.139Z] Removing intermediate container 8717bb818dbc [2023-09-07T04:49:22.139Z] ---> a84e2844e6d6 [2023-09-07T04:49:22.139Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:49:22.139Z] ---> Running in 4a87e0b49c30 [2023-09-07T04:49:22.726Z] Removing intermediate container 4a87e0b49c30 [2023-09-07T04:49:22.726Z] ---> ab36c4363961 [2023-09-07T04:49:22.726Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:49:22.726Z] ---> Running in 6741c38f447d [2023-09-07T04:49:22.996Z] Removing intermediate container 6741c38f447d [2023-09-07T04:49:22.996Z] ---> 6814e7fd0231 [2023-09-07T04:49:22.996Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:49:22.996Z] ---> Running in 423b8c9e8b8d [2023-09-07T04:49:24.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:49:24.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:49:26.032Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-07T04:49:26.032Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-07T04:49:26.032Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-07T04:49:26.032Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-07T04:49:26.032Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:49:26.032Z] OK: 268 MiB in 57 packages [2023-09-07T04:49:27.005Z] Removing intermediate container 423b8c9e8b8d [2023-09-07T04:49:27.005Z] ---> 7e47c9dcba10 [2023-09-07T04:49:27.005Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-07T04:49:27.273Z] ---> Running in 2ef570cb6599 [2023-09-07T04:49:27.539Z] Removing intermediate container 2ef570cb6599 [2023-09-07T04:49:27.539Z] ---> 1ba15efdc29b [2023-09-07T04:49:27.539Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-07T04:49:28.127Z] ---> ecce28cb3c99 [2023-09-07T04:49:28.127Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:49:28.127Z] ---> Running in c6712d4b66de [2023-09-07T04:51:04.842Z] Removing intermediate container c6712d4b66de [2023-09-07T04:51:04.842Z] ---> a8652cb958f1 [2023-09-07T04:51:04.842Z] Step 11/12 : COPY . . [2023-09-07T04:51:04.842Z] ---> e290cdfc2a0d [2023-09-07T04:51:04.842Z] Step 12/12 : RUN $MAKE [2023-09-07T04:51:04.842Z] ---> Running in 3269850aad12 [2023-09-07T04:51:04.842Z] noop [2023-09-07T04:51:04.842Z] Removing intermediate container 3269850aad12 [2023-09-07T04:51:04.842Z] ---> 8136244f0eac [2023-09-07T04:51:04.842Z] Successfully built 8136244f0eac [2023-09-07T04:51:04.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:51:05.218Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T04:51:05.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:51:05.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-5526 does not seem to be running inside a container [2023-09-07T04:51:05.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/135 -v /w/workspace/device-mqtt-go/135:/w/workspace/device-mqtt-go/135:rw,z -v /w/workspace/device-mqtt-go/135@tmp:/w/workspace/device-mqtt-go/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-07T04:51:06.736Z] $ docker top 3dc67dc7a0b5dc306cde7b9f36feedd1a05666ed62c67c3f1ce1a3451a88e92a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:51:07.575Z] + go version [2023-09-07T04:51:07.575Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-07T04:51:07.604Z] $ docker stop --time=1 3dc67dc7a0b5dc306cde7b9f36feedd1a05666ed62c67c3f1ce1a3451a88e92a [2023-09-07T04:51:09.248Z] $ docker rm -f --volumes 3dc67dc7a0b5dc306cde7b9f36feedd1a05666ed62c67c3f1ce1a3451a88e92a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:51:09.814Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T04:51:09.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:51:09.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-5526 does not seem to be running inside a container [2023-09-07T04:51:10.067Z] $ 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/135 -v /w/workspace/device-mqtt-go/135:/w/workspace/device-mqtt-go/135:rw,z -v /w/workspace/device-mqtt-go/135@tmp:/w/workspace/device-mqtt-go/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-07T04:51:11.234Z] $ docker top c8fc1d9a17b64ee9f80246d28f5ae2eca35c4a9dd1be31dc9d27654c3d87289b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:51:12.095Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/135 [Pipeline] fileExists [Pipeline] sh [2023-09-07T04:51:12.435Z] + make test [2023-09-07T04:51:12.701Z] go test ./... -coverprofile=coverage.out ./... [2023-09-07T04:51:52.045Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-07T04:54:13.800Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-07T04:54:13.800Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-07T04:54:13.800Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.087s coverage: 22.8% of statements [2023-09-07T04:54:14.067Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-07T04:54:14.067Z] go vet ./... [2023-09-07T04:54:46.311Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T04:54:46.311Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T04:54:46.311Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T04:54:46.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T04:54:46.352Z] $ docker stop --time=1 c8fc1d9a17b64ee9f80246d28f5ae2eca35c4a9dd1be31dc9d27654c3d87289b [2023-09-07T04:54:50.193Z] $ docker rm -f --volumes c8fc1d9a17b64ee9f80246d28f5ae2eca35c4a9dd1be31dc9d27654c3d87289b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:54:51.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T04:54:51.498Z] Warning: overwriting stash ‘coverage-report’ [2023-09-07T04:54:52.002Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:54:52.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T04:54:52.708Z] + ls -al . [2023-09-07T04:54:52.708Z] total 184 [2023-09-07T04:54:52.708Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 04:51 . [2023-09-07T04:54:52.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:48 .. [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 04:48 .dockerignore [2023-09-07T04:54:52.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:48 .git [2023-09-07T04:54:52.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:48 .github [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 7 04:48 .gitignore [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:48 .golangci.yml [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 7 04:48 Attribution.txt [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 7 04:48 CHANGELOG.md [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 7 04:48 Dockerfile [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:48 GOVERNANCE.md [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 7 04:48 Jenkinsfile [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:48 LICENSE [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 7 04:48 Makefile [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 7 04:48 OWNERS.md [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 7 04:48 README.md [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:45 VERSION [2023-09-07T04:54:52.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:48 bin [2023-09-07T04:54:52.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:48 cmd [2023-09-07T04:54:52.708Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 7 04:54 coverage.out [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 3820 Sep 7 04:48 go.mod [2023-09-07T04:54:52.708Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 7 04:48 go.sum [2023-09-07T04:54:52.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:48 internal [2023-09-07T04:54:52.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:48 mock [2023-09-07T04:54:52.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:48 snap [2023-09-07T04:54:52.709Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 7 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:53.051Z] + 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=6f4870105b6de4608a6fa1c66d7959f9992f8cce --label arch=arm64 --label version=3.1.0-dev.7 . [2023-09-07T04:54:53.317Z] Sending build context to Docker daemon 3.349MB [2023-09-07T04:54:53.317Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:54:53.317Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-07T04:54:53.317Z] ---> 8136244f0eac [2023-09-07T04:54:53.317Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:54:53.584Z] ---> Running in e49cb4c60191 [2023-09-07T04:54:53.851Z] Removing intermediate container e49cb4c60191 [2023-09-07T04:54:53.851Z] ---> 9d9e2f7b70fb [2023-09-07T04:54:53.851Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:54:53.851Z] ---> Running in b3ccc988fff4 [2023-09-07T04:54:54.122Z] Removing intermediate container b3ccc988fff4 [2023-09-07T04:54:54.122Z] ---> be2a40b09bed [2023-09-07T04:54:54.122Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-07T04:54:54.122Z] ---> Running in b0147518ed70 [2023-09-07T04:54:54.709Z] Removing intermediate container b0147518ed70 [2023-09-07T04:54:54.710Z] ---> 36f5ab756c20 [2023-09-07T04:54:54.710Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:54:54.710Z] ---> Running in 6fae7af27f39 [2023-09-07T04:54:54.978Z] Removing intermediate container 6fae7af27f39 [2023-09-07T04:54:54.978Z] ---> 476920b284d6 [2023-09-07T04:54:54.978Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:54:54.978Z] ---> Running in c6a7ef019898 [2023-09-07T04:54:55.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:54:56.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:54:57.872Z] OK: 268 MiB in 57 packages [2023-09-07T04:54:58.840Z] Removing intermediate container c6a7ef019898 [2023-09-07T04:54:58.840Z] ---> 75675111b0e0 [2023-09-07T04:54:58.840Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-07T04:54:58.840Z] ---> Running in 381a13618dd5 [2023-09-07T04:54:59.111Z] Removing intermediate container 381a13618dd5 [2023-09-07T04:54:59.111Z] ---> 8ad42d08ce53 [2023-09-07T04:54:59.111Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-07T04:54:59.378Z] ---> 6983fc2ba1cf [2023-09-07T04:54:59.378Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:54:59.646Z] ---> Running in 6e4e07493a71 [2023-09-07T04:55:04.991Z] Removing intermediate container 6e4e07493a71 [2023-09-07T04:55:04.991Z] ---> 583b2310e298 [2023-09-07T04:55:04.991Z] Step 11/24 : COPY . . [2023-09-07T04:55:05.951Z] ---> a308bb5d74af [2023-09-07T04:55:05.951Z] Step 12/24 : RUN $MAKE [2023-09-07T04:55:05.951Z] ---> Running in 10658048808b [2023-09-07T04:55:06.915Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-07T04:57:28.841Z] Removing intermediate container 10658048808b [2023-09-07T04:57:28.841Z] ---> 686dc156ecd2 [2023-09-07T04:57:28.841Z] Step 13/24 : FROM alpine:3.17 [2023-09-07T04:57:28.841Z] 3.17: Pulling from library/alpine [2023-09-07T04:57:28.841Z] 4060ece20d7a: Pulling fs layer [2023-09-07T04:57:28.841Z] 4060ece20d7a: Download complete [2023-09-07T04:57:29.424Z] 4060ece20d7a: Pull complete [2023-09-07T04:57:29.424Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T04:57:29.424Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T04:57:29.424Z] ---> 8650cd65339b [2023-09-07T04:57:29.424Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-07T04:57:29.424Z] ---> Running in e3bdad2d04cb [2023-09-07T04:57:29.692Z] Removing intermediate container e3bdad2d04cb [2023-09-07T04:57:29.692Z] ---> 662500070ab8 [2023-09-07T04:57:29.692Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-07T04:57:29.692Z] ---> Running in 9ba84a074f45 [2023-09-07T04:57:30.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:57:31.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:57:32.582Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-07T04:57:32.582Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:57:32.582Z] OK: 8 MiB in 16 packages [2023-09-07T04:57:33.538Z] Removing intermediate container 9ba84a074f45 [2023-09-07T04:57:33.538Z] ---> 27c5dd15958d [2023-09-07T04:57:33.538Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-07T04:57:34.954Z] ---> a18992e4c60d [2023-09-07T04:57:34.954Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-07T04:57:35.221Z] ---> 41bc06188ffb [2023-09-07T04:57:35.221Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-07T04:57:35.802Z] ---> ce596e3035a7 [2023-09-07T04:57:35.802Z] Step 19/24 : EXPOSE 59982 [2023-09-07T04:57:35.802Z] ---> Running in e58b2e5e2a9a [2023-09-07T04:57:36.067Z] Removing intermediate container e58b2e5e2a9a [2023-09-07T04:57:36.067Z] ---> b3f6d122ce04 [2023-09-07T04:57:36.067Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-07T04:57:36.067Z] ---> Running in 7bddf4837d12 [2023-09-07T04:57:36.334Z] Removing intermediate container 7bddf4837d12 [2023-09-07T04:57:36.334Z] ---> 77d403f566ec [2023-09-07T04:57:36.334Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-07T04:57:36.334Z] ---> Running in 956ed3104826 [2023-09-07T04:57:36.600Z] Removing intermediate container 956ed3104826 [2023-09-07T04:57:36.600Z] ---> 26b0ea96e7ae [2023-09-07T04:57:36.600Z] Step 22/24 : LABEL arch=arm64 [2023-09-07T04:57:36.869Z] ---> Running in c4032ab6c6a6 [2023-09-07T04:57:37.134Z] Removing intermediate container c4032ab6c6a6 [2023-09-07T04:57:37.134Z] ---> c55482618eda [2023-09-07T04:57:37.134Z] Step 23/24 : LABEL git_sha=6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:57:37.134Z] ---> Running in a99351042d42 [2023-09-07T04:57:37.400Z] Removing intermediate container a99351042d42 [2023-09-07T04:57:37.400Z] ---> 18964794be3d [2023-09-07T04:57:37.400Z] Step 24/24 : LABEL version=3.1.0-dev.7 [2023-09-07T04:57:37.400Z] ---> Running in 2212185f7116 [2023-09-07T04:57:37.664Z] Removing intermediate container 2212185f7116 [2023-09-07T04:57:37.664Z] ---> 3078e4455b33 [2023-09-07T04:57:37.664Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T04:57:37.664Z] Successfully built 3078e4455b33 [2023-09-07T04:57:37.664Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:57:37.753Z] provisioning config files... [2023-09-07T04:57:37.767Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/135@tmp/config15010592188074271458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:57:38.090Z] ---> docker-login.sh [2023-09-07T04:57:38.090Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:57:38.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:57:38.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:57:38.355Z] Configure a credential helper to remove this warning. See [2023-09-07T04:57:38.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:57:38.355Z] [2023-09-07T04:57:38.355Z] Login Succeeded [2023-09-07T04:57:38.355Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:57:38.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:57:38.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:57:38.620Z] Configure a credential helper to remove this warning. See [2023-09-07T04:57:38.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:57:38.620Z] [2023-09-07T04:57:38.620Z] Login Succeeded [2023-09-07T04:57:38.620Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:57:38.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:57:38.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:57:38.885Z] Configure a credential helper to remove this warning. See [2023-09-07T04:57:38.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:57:38.885Z] [2023-09-07T04:57:38.885Z] Login Succeeded [2023-09-07T04:57:38.885Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:57:39.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:57:39.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:57:39.415Z] Configure a credential helper to remove this warning. See [2023-09-07T04:57:39.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:57:39.415Z] [2023-09-07T04:57:39.415Z] Login Succeeded [2023-09-07T04:57:39.415Z] docker.io [2023-09-07T04:57:39.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:57:39.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:57:39.680Z] Configure a credential helper to remove this warning. See [2023-09-07T04:57:39.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:57:39.680Z] [2023-09-07T04:57:39.680Z] Login Succeeded [2023-09-07T04:57:39.680Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:57:39.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:57:39.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:57:39.734Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-09-07T04:57:39.734Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:57:39.734Z] latest [2023-09-07T04:57:39.734Z] 3.1.0-dev.7 [2023-09-07T04:57:39.734Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [2023-09-07T04:57:39.734Z] main [2023-09-07T04:57:39.734Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:40.061Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:40.389Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:57:40.389Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-07T04:57:40.389Z] 3310ff6caef1: Preparing [2023-09-07T04:57:40.389Z] c414399113ad: Preparing [2023-09-07T04:57:40.389Z] 98a3ffeba19e: Preparing [2023-09-07T04:57:40.389Z] de12ca87ab48: Preparing [2023-09-07T04:57:40.389Z] d2d9d24a8c2a: Preparing [2023-09-07T04:57:40.389Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:57:40.655Z] de12ca87ab48: Pushed [2023-09-07T04:57:40.655Z] c414399113ad: Pushed [2023-09-07T04:57:40.655Z] 3310ff6caef1: Pushed [2023-09-07T04:57:45.984Z] 98a3ffeba19e: Pushed [2023-09-07T04:57:45.984Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce: digest: sha256:cecba948400f0b20e5037e53ab78d0bfb18feca37aa0d9c0038cd3cb3d5f12fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:46.346Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:46.684Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-07T04:57:46.684Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-07T04:57:46.684Z] 3310ff6caef1: Preparing [2023-09-07T04:57:46.684Z] c414399113ad: Preparing [2023-09-07T04:57:46.684Z] 98a3ffeba19e: Preparing [2023-09-07T04:57:46.684Z] de12ca87ab48: Preparing [2023-09-07T04:57:46.684Z] d2d9d24a8c2a: Preparing [2023-09-07T04:57:46.684Z] 3310ff6caef1: Layer already exists [2023-09-07T04:57:46.684Z] de12ca87ab48: Layer already exists [2023-09-07T04:57:46.684Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:57:46.684Z] c414399113ad: Layer already exists [2023-09-07T04:57:46.684Z] 98a3ffeba19e: Layer already exists [2023-09-07T04:57:46.684Z] latest: digest: sha256:cecba948400f0b20e5037e53ab78d0bfb18feca37aa0d9c0038cd3cb3d5f12fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:47.027Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:47.360Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.7 [2023-09-07T04:57:47.361Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-07T04:57:47.361Z] 3310ff6caef1: Preparing [2023-09-07T04:57:47.361Z] c414399113ad: Preparing [2023-09-07T04:57:47.361Z] 98a3ffeba19e: Preparing [2023-09-07T04:57:47.361Z] de12ca87ab48: Preparing [2023-09-07T04:57:47.361Z] d2d9d24a8c2a: Preparing [2023-09-07T04:57:47.361Z] c414399113ad: Layer already exists [2023-09-07T04:57:47.361Z] de12ca87ab48: Layer already exists [2023-09-07T04:57:47.361Z] 98a3ffeba19e: Layer already exists [2023-09-07T04:57:47.361Z] 3310ff6caef1: Layer already exists [2023-09-07T04:57:47.361Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:57:47.361Z] 3.1.0-dev.7: digest: sha256:cecba948400f0b20e5037e53ab78d0bfb18feca37aa0d9c0038cd3cb3d5f12fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:47.708Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:48.038Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [2023-09-07T04:57:48.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-07T04:57:48.038Z] 3310ff6caef1: Preparing [2023-09-07T04:57:48.038Z] c414399113ad: Preparing [2023-09-07T04:57:48.038Z] 98a3ffeba19e: Preparing [2023-09-07T04:57:48.038Z] de12ca87ab48: Preparing [2023-09-07T04:57:48.038Z] d2d9d24a8c2a: Preparing [2023-09-07T04:57:48.038Z] 98a3ffeba19e: Layer already exists [2023-09-07T04:57:48.038Z] 3310ff6caef1: Layer already exists [2023-09-07T04:57:48.038Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:57:48.038Z] de12ca87ab48: Layer already exists [2023-09-07T04:57:48.038Z] c414399113ad: Layer already exists [2023-09-07T04:57:48.038Z] 6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7: digest: sha256:cecba948400f0b20e5037e53ab78d0bfb18feca37aa0d9c0038cd3cb3d5f12fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:48.518Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:48.856Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-09-07T04:57:48.856Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-07T04:57:48.856Z] 3310ff6caef1: Preparing [2023-09-07T04:57:48.856Z] c414399113ad: Preparing [2023-09-07T04:57:48.856Z] 98a3ffeba19e: Preparing [2023-09-07T04:57:48.856Z] de12ca87ab48: Preparing [2023-09-07T04:57:48.856Z] d2d9d24a8c2a: Preparing [2023-09-07T04:57:48.856Z] c414399113ad: Layer already exists [2023-09-07T04:57:48.856Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:57:48.856Z] 98a3ffeba19e: Layer already exists [2023-09-07T04:57:48.856Z] 3310ff6caef1: Layer already exists [2023-09-07T04:57:48.856Z] de12ca87ab48: Layer already exists [2023-09-07T04:57:48.856Z] main: digest: sha256:cecba948400f0b20e5037e53ab78d0bfb18feca37aa0d9c0038cd3cb3d5f12fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:57:48.900Z] ===================================================== [Pipeline] echo [2023-09-07T04:57:48.907Z] taggedImages: [2023-09-07T04:57:48.907Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6f4870105b6de4608a6fa1c66d7959f9992f8cce [2023-09-07T04:57:48.907Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-07T04:57:48.907Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.7 [2023-09-07T04:57:48.907Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6f4870105b6de4608a6fa1c66d7959f9992f8cce-3.1.0-dev.7 [2023-09-07T04:57:48.907Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:49.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:57:49.264Z] [2023-09-07T04:57:49.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:57:49.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:57:49.597Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-07T04:57:49.597Z] 8998bd30e6a1: Pulling fs layer [2023-09-07T04:57:49.597Z] 04944245beec: Pulling fs layer [2023-09-07T04:57:49.597Z] 699f458cf7ca: Pulling fs layer [2023-09-07T04:57:49.597Z] 765212b225bb: Pulling fs layer [2023-09-07T04:57:49.597Z] f23df028b6ca: Pulling fs layer [2023-09-07T04:57:49.597Z] d65c8cfc05b1: Pulling fs layer [2023-09-07T04:57:49.597Z] 2437ff75d9bd: Pulling fs layer [2023-09-07T04:57:49.597Z] 765212b225bb: Waiting [2023-09-07T04:57:49.597Z] f23df028b6ca: Waiting [2023-09-07T04:57:49.597Z] d65c8cfc05b1: Waiting [2023-09-07T04:57:49.597Z] 2437ff75d9bd: Waiting [2023-09-07T04:57:49.864Z] 04944245beec: Verifying Checksum [2023-09-07T04:57:49.864Z] 04944245beec: Download complete [2023-09-07T04:57:49.864Z] 765212b225bb: Verifying Checksum [2023-09-07T04:57:49.864Z] 765212b225bb: Download complete [2023-09-07T04:57:49.864Z] f23df028b6ca: Verifying Checksum [2023-09-07T04:57:49.864Z] f23df028b6ca: Download complete [2023-09-07T04:57:49.864Z] d65c8cfc05b1: Verifying Checksum [2023-09-07T04:57:49.864Z] d65c8cfc05b1: Download complete [2023-09-07T04:57:49.864Z] 699f458cf7ca: Verifying Checksum [2023-09-07T04:57:49.864Z] 699f458cf7ca: Download complete [2023-09-07T04:57:50.447Z] 8998bd30e6a1: Verifying Checksum [2023-09-07T04:57:50.447Z] 8998bd30e6a1: Download complete [2023-09-07T04:57:52.407Z] 2437ff75d9bd: Verifying Checksum [2023-09-07T04:57:52.407Z] 2437ff75d9bd: Download complete [2023-09-07T04:57:54.350Z] 8998bd30e6a1: Pull complete [2023-09-07T04:57:54.617Z] 04944245beec: Pull complete [2023-09-07T04:57:57.952Z] 699f458cf7ca: Pull complete [2023-09-07T04:57:57.952Z] 765212b225bb: Pull complete [2023-09-07T04:57:58.533Z] f23df028b6ca: Pull complete [2023-09-07T04:57:58.801Z] d65c8cfc05b1: Pull complete [2023-09-07T04:58:13.776Z] 2437ff75d9bd: Pull complete [2023-09-07T04:58:13.776Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-07T04:58:13.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:58:13.776Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:58:13.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-5526 does not seem to be running inside a container [2023-09-07T04:58:14.037Z] $ 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/135 -v /w/workspace/device-mqtt-go/135:/w/workspace/device-mqtt-go/135:rw,z -v /w/workspace/device-mqtt-go/135@tmp:/w/workspace/device-mqtt-go/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-07T04:58:16.415Z] $ docker top cc835e01a3491f1bfd20dd64373502ff85e038ac71e4ab0f554bd0390430311f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:58:16.902Z] ---> job-cost.sh [2023-09-07T04:58:17.166Z] lf-activate-venv: SKIPPING [2023-09-07T04:58:17.166Z] INFO: No Stack... [2023-09-07T04:58:17.431Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-07T04:58:18.386Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T04:58:19.010Z] + cat /w/workspace/device-mqtt-go/135/archives/cost.csv [2023-09-07T04:58:19.010Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T04:58:19.045Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] [2023-09-07T04:58:19.051Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] did not exist. Created. [2023-09-07T04:58:19.051Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:58:19.379Z] /w/workspace/device-mqtt-go/135@tmp/durable-634992a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-07T04:58:20.030Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-07T04:58:20.052Z] Warning: overwriting stash ‘stack-cost’ [2023-09-07T04:58:20.101Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T04:58:20.107Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T04:58:20.125Z] $ docker stop --time=1 cc835e01a3491f1bfd20dd64373502ff85e038ac71e4ab0f554bd0390430311f [2023-09-07T04:58:21.588Z] $ docker rm -f --volumes cc835e01a3491f1bfd20dd64373502ff85e038ac71e4ab0f554bd0390430311f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-07T04:58:21.970Z] provisioning config files... [2023-09-07T04:58:21.978Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18292479428703273997tmp [Pipeline] { [Pipeline] sh [2023-09-07T04:58:22.276Z] + set +x [2023-09-07T04:58:22.276Z] + bash -s -- [2023-09-07T04:58:22.276Z] + curl -s https://codecov.io/bash [2023-09-07T04:58:22.276Z] [2023-09-07T04:58:22.276Z] _____ _ [2023-09-07T04:58:22.276Z] / ____| | | [2023-09-07T04:58:22.276Z] | | ___ __| | ___ ___ _____ __ [2023-09-07T04:58:22.276Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-07T04:58:22.276Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-07T04:58:22.276Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-07T04:58:22.276Z] Bash-1.0.6 [2023-09-07T04:58:22.276Z] [2023-09-07T04:58:22.276Z] [2023-09-07T04:58:22.276Z] ==> git version 2.25.1 found [2023-09-07T04:58:22.276Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-07T04:58:22.276Z] Release-Date: 2020-01-08 [2023-09-07T04:58:22.276Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-07T04:58:22.276Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-07T04:58:22.276Z] ==> Jenkins CI detected. [2023-09-07T04:58:22.276Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-07T04:58:22.276Z] project root: . [2023-09-07T04:58:22.276Z] --> token set from env [2023-09-07T04:58:22.276Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-07T04:58:22.276Z] ==> Running gcov in . (disable via -X gcov) [2023-09-07T04:58:22.276Z] ==> Python coveragepy not found [2023-09-07T04:58:22.276Z] ==> Searching for coverage reports in: [2023-09-07T04:58:22.276Z] + . [2023-09-07T04:58:22.276Z] -> Found 1 reports [2023-09-07T04:58:22.276Z] ==> Detecting git/mercurial file structure [2023-09-07T04:58:22.276Z] ==> Reading reports [2023-09-07T04:58:22.276Z] + ./coverage.out bytes=18506 [2023-09-07T04:58:22.276Z] ==> Appending adjustments [2023-09-07T04:58:22.276Z] https://docs.codecov.io/docs/fixing-reports [2023-09-07T04:58:22.534Z] + Found adjustments [2023-09-07T04:58:22.534Z] ==> Gzipping contents [2023-09-07T04:58:22.534Z] 4.0K /tmp/codecov.gIcCTD.gz [2023-09-07T04:58:22.534Z] ==> Uploading reports [2023-09-07T04:58:22.534Z] url: https://codecov.io [2023-09-07T04:58:22.534Z] query: branch=main&commit=6f4870105b6de4608a6fa1c66d7959f9992f8cce&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-07T04:58:22.534Z] -> Pinging Codecov [2023-09-07T04:58:22.534Z] 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=6f4870105b6de4608a6fa1c66d7959f9992f8cce&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-07T04:58:22.534Z] -> Uploading to [2023-09-07T04:58:22.534Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-07/7D719EC7BBE17E464838252E33014C33/6f4870105b6de4608a6fa1c66d7959f9992f8cce/f5973188-2f59-4a84-a6d9-85acc12a6c9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T045822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=658ef2298f535cb41fc867b152db92d566147be213156016f36c91d845f27b9f [2023-09-07T04:58:22.534Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T04:58:22.534Z] Dload Upload Total Spent Left Speed [2023-09-07T04:58:22.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 14972 --:--:-- --:--:-- --:--:-- 14972 [2023-09-07T04:58:22.794Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] } [2023-09-07T04:58:22.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-07T04:58:22.928Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-07T04:58:22.937Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:23.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:58:23.242Z] [2023-09-07T04:58:23.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:23.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:58:23.549Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-07T04:58:23.549Z] df9b9388f04a: Pulling fs layer [2023-09-07T04:58:23.549Z] 52dc419b0ee2: Pulling fs layer [2023-09-07T04:58:23.549Z] 25bc292e5bac: Pulling fs layer [2023-09-07T04:58:23.549Z] 114826534d7a: Pulling fs layer [2023-09-07T04:58:23.549Z] 4657fd5d0bcf: Pulling fs layer [2023-09-07T04:58:23.549Z] 6ad1cebc031e: Pulling fs layer [2023-09-07T04:58:23.549Z] 8a3aa393b2d8: Pulling fs layer [2023-09-07T04:58:23.549Z] 114826534d7a: Waiting [2023-09-07T04:58:23.549Z] 4657fd5d0bcf: Waiting [2023-09-07T04:58:23.549Z] 6ad1cebc031e: Waiting [2023-09-07T04:58:23.549Z] 8a3aa393b2d8: Waiting [2023-09-07T04:58:23.549Z] 25bc292e5bac: Verifying Checksum [2023-09-07T04:58:23.549Z] 25bc292e5bac: Download complete [2023-09-07T04:58:23.549Z] 4657fd5d0bcf: Download complete [2023-09-07T04:58:23.549Z] df9b9388f04a: Verifying Checksum [2023-09-07T04:58:23.549Z] df9b9388f04a: Download complete [2023-09-07T04:58:23.808Z] df9b9388f04a: Pull complete [2023-09-07T04:58:23.808Z] 52dc419b0ee2: Pull complete [2023-09-07T04:58:23.808Z] 25bc292e5bac: Pull complete [2023-09-07T04:58:23.808Z] 6ad1cebc031e: Verifying Checksum [2023-09-07T04:58:23.808Z] 6ad1cebc031e: Download complete [2023-09-07T04:58:24.378Z] 114826534d7a: Verifying Checksum [2023-09-07T04:58:24.378Z] 114826534d7a: Download complete [2023-09-07T04:58:24.635Z] 8a3aa393b2d8: Verifying Checksum [2023-09-07T04:58:24.635Z] 8a3aa393b2d8: Download complete [2023-09-07T04:58:27.934Z] 114826534d7a: Pull complete [2023-09-07T04:58:27.934Z] 4657fd5d0bcf: Pull complete [2023-09-07T04:58:27.934Z] 6ad1cebc031e: Pull complete [2023-09-07T04:58:31.217Z] 8a3aa393b2d8: Pull complete [2023-09-07T04:58:31.217Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-07T04:58:31.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:58:31.217Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:58:31.306Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:58:31.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-07T04:58:35.254Z] $ docker top cce7c0076798c9dd7d74d4caa4cd6b6b9b0c03d747976f7624086ece5c949c59 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-07T04:58:35.318Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-09-07T04:58:35.596Z] + set -o pipefail [2023-09-07T04:58:35.596Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-09-07T04:58:40.877Z] [2023-09-07T04:58:40.877Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-09-07T04:58:40.877Z] [2023-09-07T04:58:40.877Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/f033b02f-ed4c-4884-8e0e-bbae125859a2 [2023-09-07T04:58:40.877Z] [2023-09-07T04:58:40.877Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-07T04:58:40.877Z] [2023-09-07T04:58:40.877Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-07T04:58:40.877Z] [2023-09-07T04:58:40.877Z] [2023-09-07T04:58:40.877Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-07T04:58:40.877Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-07T04:58:40.877Z] More details here: https://snyk.co/ue1NS [2023-09-07T04:58:40.877Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-07T04:58:40.877Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-07T04:58:40.888Z] $ docker stop --time=1 cce7c0076798c9dd7d74d4caa4cd6b6b9b0c03d747976f7624086ece5c949c59 [2023-09-07T04:58:44.327Z] $ docker rm -f --volumes cce7c0076798c9dd7d74d4caa4cd6b6b9b0c03d747976f7624086ece5c949c59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:58:45.058Z] + git log --format=format:%s -1 6f4870105b6de4608a6fa1c66d7959f9992f8cce [Pipeline] sh [2023-09-07T04:58:45.348Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:58:45.348Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:45.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:58:45.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:58:45.720Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:58:45.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-07T04:58:46.456Z] $ docker top 434597cff43925a74719c4edc075e74e484ffae4eb7e485a69804236f42254b5 -eo pid,comm [2023-09-07T04:58:46.497Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-07T04:58:46.497Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:58:46.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:58:46.535Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:58:46.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:58:46.672Z] $ docker exec 434597cff43925a74719c4edc075e74e484ffae4eb7e485a69804236f42254b5 ssh-agent [2023-09-07T04:58:46.767Z] SSH_AUTH_SOCK=/tmp/ssh-PMI6xUVj9kt9/agent.14 [2023-09-07T04:58:46.767Z] SSH_AGENT_PID=20 [2023-09-07T04:58:46.772Z] Running ssh-add (command line suppressed) [2023-09-07T04:58:46.880Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1983492091275900898.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1983492091275900898.key) [2023-09-07T04:58:46.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:58:47.178Z] + git semver tag [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,377 [run_tag] DEBUG tag force:False [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,378 [check_head_tag] DEBUG check head tag [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,379 [execute] INFO git cat-file --batch-check [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,383 [execute] INFO git cat-file --batch [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,393 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,393 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-09-07T04:58:47.436Z] 2023-09-07 04:58:47,393 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:58:47.437Z] 2023-09-07 04:58:47,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:58:47.437Z] 3.1.0-dev.7 [Pipeline] } [2023-09-07T04:58:47.447Z] $ docker exec --env ******** --env ******** 434597cff43925a74719c4edc075e74e484ffae4eb7e485a69804236f42254b5 ssh-agent -k [2023-09-07T04:58:47.551Z] unset SSH_AUTH_SOCK; [2023-09-07T04:58:47.551Z] unset SSH_AGENT_PID; [2023-09-07T04:58:47.551Z] echo Agent pid 20 killed; [2023-09-07T04:58:47.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:58:47.855Z] + git semver [Pipeline] } [2023-09-07T04:58:48.127Z] $ docker stop --time=1 434597cff43925a74719c4edc075e74e484ffae4eb7e485a69804236f42254b5 [2023-09-07T04:58:49.544Z] $ docker rm -f --volumes 434597cff43925a74719c4edc075e74e484ffae4eb7e485a69804236f42254b5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:49.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:58:49.921Z] [2023-09-07T04:58:49.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:58:50.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:58:50.218Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-07T04:58:50.218Z] ab5ef0e58194: Pulling fs layer [2023-09-07T04:58:50.218Z] 9712f1f96733: Pulling fs layer [2023-09-07T04:58:50.218Z] 63f879dbbcfc: Pulling fs layer [2023-09-07T04:58:50.219Z] 0d9ebad4ef96: Pulling fs layer [2023-09-07T04:58:50.219Z] e9a5061849ea: Pulling fs layer [2023-09-07T04:58:50.219Z] d747dcd14b5f: Pulling fs layer [2023-09-07T04:58:50.219Z] 2de7ff778b66: Pulling fs layer [2023-09-07T04:58:50.219Z] e9a5061849ea: Waiting [2023-09-07T04:58:50.219Z] 0d9ebad4ef96: Waiting [2023-09-07T04:58:50.219Z] d747dcd14b5f: Waiting [2023-09-07T04:58:50.219Z] 2de7ff778b66: Waiting [2023-09-07T04:58:50.789Z] 63f879dbbcfc: Verifying Checksum [2023-09-07T04:58:50.789Z] 63f879dbbcfc: Download complete [2023-09-07T04:58:50.789Z] e9a5061849ea: Verifying Checksum [2023-09-07T04:58:50.789Z] e9a5061849ea: Download complete [2023-09-07T04:58:50.789Z] d747dcd14b5f: Download complete [2023-09-07T04:58:51.046Z] ab5ef0e58194: Verifying Checksum [2023-09-07T04:58:51.046Z] ab5ef0e58194: Download complete [2023-09-07T04:58:51.046Z] 2de7ff778b66: Verifying Checksum [2023-09-07T04:58:51.046Z] 0d9ebad4ef96: Verifying Checksum [2023-09-07T04:58:51.046Z] 0d9ebad4ef96: Download complete [2023-09-07T04:58:53.576Z] ab5ef0e58194: Pull complete [2023-09-07T04:58:53.576Z] 9712f1f96733: Pull complete [2023-09-07T04:58:54.141Z] 63f879dbbcfc: Pull complete [2023-09-07T04:58:57.420Z] 0d9ebad4ef96: Pull complete [2023-09-07T04:58:57.678Z] e9a5061849ea: Pull complete [2023-09-07T04:58:57.936Z] d747dcd14b5f: Pull complete [2023-09-07T04:58:58.891Z] 2de7ff778b66: Pull complete [2023-09-07T04:58:58.891Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-07T04:58:58.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:58:58.891Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:58:58.968Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:58:58.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-07T04:59:03.714Z] $ docker top e10e5d15c88554cec3cde49dca00c872f010553de81dbd441e3bc0c604f10e05 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:59:03.794Z] provisioning config files... [2023-09-07T04:59:03.799Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8321484452450337970tmp [2023-09-07T04:59:03.809Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11869233277644623889tmp [2023-09-07T04:59:03.817Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config793487944829165885tmp [Pipeline] { [Pipeline] echo [2023-09-07T04:59:03.832Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:04.113Z] ---> sigul-configuration.sh [2023-09-07T04:59:04.113Z] gpg: directory `/root/.gnupg' created [2023-09-07T04:59:04.113Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-07T04:59:04.113Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-07T04:59:04.113Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-07T04:59:04.113Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-07T04:59:04.113Z] gpg: CAST5 encrypted data [2023-09-07T04:59:04.113Z] gpg: encrypted with 1 passphrase [2023-09-07T04:59:04.113Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-07T04:59:04.399Z] + mkdir /home/jenkins [2023-09-07T04:59:04.399Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-07T04:59:04.685Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-07T04:59:04.695Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:04.981Z] ---> sigul-install.sh [2023-09-07T04:59:04.981Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-07T04:59:05.267Z] + git tag --list [2023-09-07T04:59:05.267Z] 0.7.1 [2023-09-07T04:59:05.267Z] v1.0.0 [2023-09-07T04:59:05.267Z] v1.1.0 [2023-09-07T04:59:05.267Z] v1.1.1 [2023-09-07T04:59:05.267Z] v1.2.2 [2023-09-07T04:59:05.267Z] v1.3.0 [2023-09-07T04:59:05.267Z] v1.3.1 [2023-09-07T04:59:05.267Z] v2.0.0 [2023-09-07T04:59:05.267Z] v2.1.0 [2023-09-07T04:59:05.267Z] v2.1.1 [2023-09-07T04:59:05.267Z] v2.2.0 [2023-09-07T04:59:05.267Z] v2.3.0 [2023-09-07T04:59:05.267Z] v3.0 [2023-09-07T04:59:05.267Z] v3.0.0 [2023-09-07T04:59:05.267Z] v3.1.0-dev.1 [2023-09-07T04:59:05.267Z] v3.1.0-dev.2 [2023-09-07T04:59:05.267Z] v3.1.0-dev.3 [2023-09-07T04:59:05.267Z] v3.1.0-dev.4 [2023-09-07T04:59:05.267Z] v3.1.0-dev.5 [2023-09-07T04:59:05.267Z] v3.1.0-dev.6 [2023-09-07T04:59:05.267Z] v3.1.0-dev.7 [Pipeline] sh [2023-09-07T04:59:05.554Z] + lftools sign git-tag v3.1.0-dev.7 [2023-09-07T04:59:06.123Z] Signing Git tag with Sigul... [2023-09-07T04:59:06.123Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-09-07T04:59:06.392Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:06.675Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-07T04:59:06.681Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-07T04:59:06.702Z] $ docker stop --time=1 e10e5d15c88554cec3cde49dca00c872f010553de81dbd441e3bc0c604f10e05 [2023-09-07T04:59:08.429Z] $ docker rm -f --volumes e10e5d15c88554cec3cde49dca00c872f010553de81dbd441e3bc0c604f10e05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-07T04:59:08.847Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:59:08.847Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:09.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:59:09.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:09.212Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:59:09.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-07T04:59:10.197Z] $ docker top 7af3d2f459d88dc43f7e4173cd76d6254a9f591971058714a3a603f3d72074ab -eo pid,comm [2023-09-07T04:59:10.297Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-07T04:59:10.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:59:10.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:59:10.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:59:10.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:59:10.480Z] $ docker exec 7af3d2f459d88dc43f7e4173cd76d6254a9f591971058714a3a603f3d72074ab ssh-agent [2023-09-07T04:59:10.596Z] SSH_AUTH_SOCK=/tmp/ssh-XCNrY8icByka/agent.33 [2023-09-07T04:59:10.596Z] SSH_AGENT_PID=40 [2023-09-07T04:59:10.601Z] Running ssh-add (command line suppressed) [2023-09-07T04:59:10.709Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10063299405976221727.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10063299405976221727.key) [2023-09-07T04:59:10.720Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:59:11.003Z] + git semver bump pre [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,198 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,198 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,198 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,198 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,198 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,200 [execute] INFO git cat-file --batch-check [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,206 [execute] INFO git cat-file --batch [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:59:11.262Z] 2023-09-07 04:59:11,211 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:59:11.262Z] 3.1.0-dev.8 [Pipeline] } [2023-09-07T04:59:11.272Z] $ docker exec --env ******** --env ******** 7af3d2f459d88dc43f7e4173cd76d6254a9f591971058714a3a603f3d72074ab ssh-agent -k [2023-09-07T04:59:11.365Z] unset SSH_AUTH_SOCK; [2023-09-07T04:59:11.365Z] unset SSH_AGENT_PID; [2023-09-07T04:59:11.366Z] echo Agent pid 40 killed; [2023-09-07T04:59:11.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:59:11.677Z] + git semver [Pipeline] } [2023-09-07T04:59:11.951Z] $ docker stop --time=1 7af3d2f459d88dc43f7e4173cd76d6254a9f591971058714a3a603f3d72074ab [2023-09-07T04:59:13.205Z] $ docker rm -f --volumes 7af3d2f459d88dc43f7e4173cd76d6254a9f591971058714a3a603f3d72074ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:59:13.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:59:13.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:13.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:59:13.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:13.898Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:59:13.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-07T04:59:14.326Z] $ docker top 3d79f35eb5ddf3729061b1cc2b3ef7136819e6595e1a454865d68b7e1580b68a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:59:14.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:59:14.408Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:59:14.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:59:14.517Z] $ docker exec 3d79f35eb5ddf3729061b1cc2b3ef7136819e6595e1a454865d68b7e1580b68a ssh-agent [2023-09-07T04:59:14.631Z] SSH_AUTH_SOCK=/tmp/ssh-ZQyDDByBFdWy/agent.31 [2023-09-07T04:59:14.631Z] SSH_AGENT_PID=37 [2023-09-07T04:59:14.637Z] Running ssh-add (command line suppressed) [2023-09-07T04:59:14.761Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6759639045561212773.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6759639045561212773.key) [2023-09-07T04:59:14.777Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:59:15.101Z] + git semver push [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,331 [run_push] DEBUG push [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,332 [execute] INFO git cat-file --batch-check [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,335 [execute] INFO git rev-list c0f1a0077de26d9eda4406598227b7db5e8994e4 -- [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,335 [execute] DEBUG Popen(['git', 'rev-list', 'c0f1a0077de26d9eda4406598227b7db5e8994e4', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,342 [execute] INFO git fetch -v origin [2023-09-07T04:59:15.387Z] 2023-09-07 04:59:15,343 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-07T04:59:15.987Z] 2023-09-07 04:59:15,812 [run_push] DEBUG no remote changes detected [2023-09-07T04:59:15.987Z] 2023-09-07 04:59:15,812 [execute] INFO git push origin semver [2023-09-07T04:59:15.987Z] 2023-09-07 04:59:15,813 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:59:16.924Z] 2023-09-07 04:59:16,610 [run_push] DEBUG push all version tags [2023-09-07T04:59:16.924Z] 2023-09-07 04:59:16,611 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-07T04:59:16.924Z] 2023-09-07 04:59:16,611 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:59:17.491Z] 2023-09-07 04:59:17,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-07T04:59:17.491Z] 3.1.0-dev.8 [Pipeline] } [2023-09-07T04:59:17.503Z] $ docker exec --env ******** --env ******** 3d79f35eb5ddf3729061b1cc2b3ef7136819e6595e1a454865d68b7e1580b68a ssh-agent -k [2023-09-07T04:59:17.601Z] unset SSH_AUTH_SOCK; [2023-09-07T04:59:17.601Z] unset SSH_AGENT_PID; [2023-09-07T04:59:17.601Z] echo Agent pid 37 killed; [2023-09-07T04:59:17.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:59:17.913Z] + git semver [Pipeline] } [2023-09-07T04:59:18.187Z] $ docker stop --time=1 3d79f35eb5ddf3729061b1cc2b3ef7136819e6595e1a454865d68b7e1580b68a [2023-09-07T04:59:19.515Z] $ docker rm -f --volumes 3d79f35eb5ddf3729061b1cc2b3ef7136819e6595e1a454865d68b7e1580b68a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-07T04:59:20.073Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-09-07T04:59:20.073Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-07T04:59:20.073Z] total 16 [2023-09-07T04:59:20.073Z] drwxr-xr-x 3 root root 4096 Sep 7 04:47 . [2023-09-07T04:59:20.073Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 04:59 .. [2023-09-07T04:59:20.073Z] drwxr-xr-x 2 root root 4096 Sep 7 04:47 cost [2023-09-07T04:59:20.073Z] -rw-r--r-- 1 root root 86 Sep 7 04:47 cost.csv [2023-09-07T04:59:20.073Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-07T04:59:20.073Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-07T04:59:20.073Z] total 16 [2023-09-07T04:59:20.073Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:47 . [2023-09-07T04:59:20.073Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 04:59 .. [2023-09-07T04:59:20.073Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 04:47 cost [2023-09-07T04:59:20.073Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 7 04:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:20.364Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:21.222Z] ---> package-listing.sh [2023-09-07T04:59:21.222Z] ++ facter osfamily [2023-09-07T04:59:21.222Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-07T04:59:21.481Z] + OS_FAMILY=debian [2023-09-07T04:59:21.481Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-07T04:59:21.481Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-07T04:59:21.481Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-07T04:59:21.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-07T04:59:21.481Z] + PACKAGES=/tmp/packages_start.txt [2023-09-07T04:59:21.481Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-07T04:59:21.481Z] + PACKAGES=/tmp/packages_end.txt [2023-09-07T04:59:21.481Z] + case "${OS_FAMILY}" in [2023-09-07T04:59:21.481Z] + dpkg -l [2023-09-07T04:59:21.481Z] + grep '^ii' [2023-09-07T04:59:21.481Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-07T04:59:21.481Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-07T04:59:21.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-07T04:59:21.481Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-07T04:59:21.482Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-09-07T04:59:21.482Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-09-07T04:59:21.493Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-07T04:59:21.771Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:59:22.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:59:22.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:59:22.409Z] prd-ubuntu20.04-docker-8c-8g-5523 does not seem to be running inside a container [2023-09-07T04:59:22.441Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-07T04:59:22.670Z] $ docker top 04e366e2e534694df350c534361087c13ffab7b7027c36b252471ea173b30301 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:59:23.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-07T04:59:23.299Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-07T04:59:23.587Z] + ls /var/log/sa-host [2023-09-07T04:59:23.587Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:59:23.651Z] provisioning config files... [2023-09-07T04:59:23.657Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8091467157015864847tmp [Pipeline] { [Pipeline] echo [2023-09-07T04:59:23.669Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:23.953Z] ---> create-netrc.sh [Pipeline] } [2023-09-07T04:59:23.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:24.286Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-07T04:59:24.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:24.589Z] ---> sudo-logs.sh [2023-09-07T04:59:24.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-07T04:59:24.612Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:24.895Z] ---> job-cost.sh [2023-09-07T04:59:24.895Z] lf-activate-venv: SKIPPING [2023-09-07T04:59:24.895Z] DEBUG: total: 0.2199999988079071 [2023-09-07T04:59:24.895Z] INFO: Retrieving Stack Cost... [2023-09-07T04:59:25.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T04:59:25.724Z] INFO: Archiving Costs [Pipeline] echo [2023-09-07T04:59:25.736Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:59:26.020Z] ---> logs-deploy.sh [2023-09-07T04:59:26.020Z] lf-activate-venv: SKIPPING [2023-09-07T04:59:26.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/135 [2023-09-07T04:59:26.021Z] INFO: archiving workspace using pattern(s): [2023-09-07T04:59:26.959Z] Archives upload complete. [2023-09-07T04:59:26.959Z] INFO: archiving logs to Nexus