Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from daf9656040259007f9ff9da57e54fb024fb8fec3 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-ssh12846958547783065412.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12337145315754111061.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6298674535203612995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17187729305727070195.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-ssh9644811657585947531.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16759 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 daf9656040259007f9ff9da57e54fb024fb8fec3 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f daf9656040259007f9ff9da57e54fb024fb8fec3 # timeout=10 Commit message: "docs: Update Readme to refer to 3.1 main doc page (#642)" > git rev-list --no-walk a20e3f699be50ae0fa7b260dcb78cdd891955ce4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-06T23:58:28.420Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-06T23:58:28.464Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-06T23:58:28.482Z] ========================================================= [2023-11-06T23:58:28.482Z] EdgeX Global Pipelines Version Info [2023-11-06T23:58:28.482Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:58:29.210Z] ------------------- [2023-11-06T23:58:29.211Z] stable info: [2023-11-06T23:58:29.211Z] ------------------- [2023-11-06T23:58:29.211Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-06T23:58:29.211Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-06T23:58:29.211Z] Message: update stable to v1.0.257 [2023-11-06T23:58:29.780Z] ------------------- [2023-11-06T23:58:29.780Z] experimental info: [2023-11-06T23:58:29.780Z] ------------------- [2023-11-06T23:58:29.780Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-06T23:58:29.780Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-06T23:58:29.780Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-06T23:58:29.970Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-06T23:58:29.978Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-06T23:58:29.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-06T23:58:29.995Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-06T23:58:30.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-06T23:58:30.012Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-06T23:58:30.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-06T23:58:30.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-06T23:58:30.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-06T23:58:30.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-06T23:58:30.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-06T23:58:30.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-06T23:58:30.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-06T23:58:30.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-06T23:58:30.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T23:58:30.170Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T23:58:30.185Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T23:58:30.205Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T23:58:30.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-06T23:58:30.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-06T23:58:30.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-06T23:58:30.259Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-06T23:58:30.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-06T23:58:30.284Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-06T23:58:30.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-06T23:58:30.309Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-06T23:58:30.320Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-06T23:58:30.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-06T23:58:30.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-06T23:58:30.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-06T23:58:30.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo [2023-11-06T23:58:30.388Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daf9656 [Pipeline] echo [2023-11-06T23:58:30.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:58:30.439Z] provisioning config files... [2023-11-06T23:58:30.451Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14086234847610944577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:58:30.762Z] ---> docker-login.sh [2023-11-06T23:58:30.762Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:58:31.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:31.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:31.021Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:31.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:31.021Z] [2023-11-06T23:58:31.021Z] Login Succeeded [2023-11-06T23:58:31.021Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:58:31.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:31.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:31.280Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:31.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:31.280Z] [2023-11-06T23:58:31.280Z] Login Succeeded [2023-11-06T23:58:31.280Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:58:31.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:31.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:31.280Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:31.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:31.280Z] [2023-11-06T23:58:31.280Z] Login Succeeded [2023-11-06T23:58:31.280Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:58:31.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:31.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:31.280Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:31.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:31.280Z] [2023-11-06T23:58:31.280Z] Login Succeeded [2023-11-06T23:58:31.280Z] docker.io [2023-11-06T23:58:31.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:31.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:31.811Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:31.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:31.811Z] [2023-11-06T23:58:31.811Z] Login Succeeded [2023-11-06T23:58:31.811Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:58:31.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-06T23:58:32.181Z] + git rev-list -1 --merges daf9656040259007f9ff9da57e54fb024fb8fec3~1..daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo [2023-11-06T23:58:32.236Z] -----------> git rev-list -1 --merges daf9656040259007f9ff9da57e54fb024fb8fec3~1..daf9656040259007f9ff9da57e54fb024fb8fec3 daf9656040259007f9ff9da57e54fb024fb8fec3 [false] [Pipeline] sh [2023-11-06T23:58:32.574Z] + git log --format=format:%s -1 daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo [2023-11-06T23:58:32.589Z] ========================================================= [2023-11-06T23:58:32.589Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-06T23:58:32.589Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T23:58:32.908Z] + git log --format=format:%s -1 daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo [2023-11-06T23:58:32.921Z] [semverPrep] GIT_COMMIT: daf9656040259007f9ff9da57e54fb024fb8fec3, Commit Message: docs: Update Readme to refer to 3.1 main doc page (#642) [Pipeline] echo [2023-11-06T23:58:32.933Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-06T23:58:33.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T23:58:33.277Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-06T23:58:33.277Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-06T23:58:33.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-06T23:58:33.278Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-06T23:58:33.278Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-06T23:58:33.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:58:33.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:58:33.620Z] [2023-11-06T23:58:33.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:58:33.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:58:33.930Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-06T23:58:33.930Z] b85a868b505f: Pulling fs layer [2023-11-06T23:58:33.930Z] e2be974225ed: Pulling fs layer [2023-11-06T23:58:33.930Z] 339a4e72a1f5: Pulling fs layer [2023-11-06T23:58:33.930Z] 988bab9f4d93: Pulling fs layer [2023-11-06T23:58:33.930Z] 1469e6f7b9e6: Pulling fs layer [2023-11-06T23:58:33.930Z] eaf3925da568: Pulling fs layer [2023-11-06T23:58:33.930Z] bab4dde63d76: Pulling fs layer [2023-11-06T23:58:33.930Z] bde34c3a00c8: Pulling fs layer [2023-11-06T23:58:33.930Z] b352a97aabf1: Pulling fs layer [2023-11-06T23:58:33.930Z] 4872d77fe225: Pulling fs layer [2023-11-06T23:58:33.930Z] 5851b861e8e6: Pulling fs layer [2023-11-06T23:58:33.930Z] bab4dde63d76: Waiting [2023-11-06T23:58:33.930Z] 4872d77fe225: Waiting [2023-11-06T23:58:33.930Z] 5851b861e8e6: Waiting [2023-11-06T23:58:33.930Z] bde34c3a00c8: Waiting [2023-11-06T23:58:33.930Z] 988bab9f4d93: Waiting [2023-11-06T23:58:33.930Z] b352a97aabf1: Waiting [2023-11-06T23:58:33.930Z] 1469e6f7b9e6: Waiting [2023-11-06T23:58:33.930Z] e2be974225ed: Verifying Checksum [2023-11-06T23:58:33.930Z] e2be974225ed: Download complete [2023-11-06T23:58:33.930Z] 988bab9f4d93: Download complete [2023-11-06T23:58:33.930Z] 1469e6f7b9e6: Verifying Checksum [2023-11-06T23:58:33.930Z] 1469e6f7b9e6: Download complete [2023-11-06T23:58:34.189Z] eaf3925da568: Verifying Checksum [2023-11-06T23:58:34.189Z] eaf3925da568: Download complete [2023-11-06T23:58:34.189Z] 339a4e72a1f5: Verifying Checksum [2023-11-06T23:58:34.189Z] 339a4e72a1f5: Download complete [2023-11-06T23:58:34.189Z] bde34c3a00c8: Download complete [2023-11-06T23:58:34.189Z] b352a97aabf1: Download complete [2023-11-06T23:58:34.189Z] 4872d77fe225: Verifying Checksum [2023-11-06T23:58:34.189Z] 4872d77fe225: Download complete [2023-11-06T23:58:34.189Z] 5851b861e8e6: Verifying Checksum [2023-11-06T23:58:34.189Z] 5851b861e8e6: Download complete [2023-11-06T23:58:34.189Z] b85a868b505f: Verifying Checksum [2023-11-06T23:58:34.189Z] b85a868b505f: Download complete [2023-11-06T23:58:34.449Z] bab4dde63d76: Verifying Checksum [2023-11-06T23:58:34.449Z] bab4dde63d76: Download complete [2023-11-06T23:58:35.385Z] b85a868b505f: Pull complete [2023-11-06T23:58:35.385Z] e2be974225ed: Pull complete [2023-11-06T23:58:35.952Z] 339a4e72a1f5: Pull complete [2023-11-06T23:58:35.952Z] 988bab9f4d93: Pull complete [2023-11-06T23:58:36.210Z] 1469e6f7b9e6: Pull complete [2023-11-06T23:58:36.210Z] eaf3925da568: Pull complete [2023-11-06T23:58:38.119Z] bab4dde63d76: Pull complete [2023-11-06T23:58:38.119Z] bde34c3a00c8: Pull complete [2023-11-06T23:58:38.119Z] b352a97aabf1: Pull complete [2023-11-06T23:58:38.119Z] 4872d77fe225: Pull complete [2023-11-06T23:58:38.119Z] 5851b861e8e6: Pull complete [2023-11-06T23:58:38.119Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-06T23:58:38.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T23:58:38.119Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:58:38.228Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-06T23:58:38.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-06T23:58:40.783Z] $ docker top 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 -eo pid,comm [2023-11-06T23:58:40.839Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-06T23:58:40.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T23:58:40.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:58:40.879Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:58:40.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:58:41.000Z] $ docker exec 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent [2023-11-06T23:58:41.105Z] SSH_AUTH_SOCK=/tmp/ssh-XJWwrl6k8w9h/agent.31 [2023-11-06T23:58:41.105Z] SSH_AGENT_PID=37 [2023-11-06T23:58:41.113Z] Running ssh-add (command line suppressed) [2023-11-06T23:58:41.212Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_305643377428521100.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_305643377428521100.key) [2023-11-06T23:58:41.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:58:41.510Z] + git tag --points-at HEAD [Pipeline] } [2023-11-06T23:58:41.524Z] $ docker exec --env ******** --env ******** 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent -k [2023-11-06T23:58:41.627Z] unset SSH_AUTH_SOCK; [2023-11-06T23:58:41.627Z] unset SSH_AGENT_PID; [2023-11-06T23:58:41.627Z] echo Agent pid 37 killed; [2023-11-06T23:58:41.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-06T23:58:41.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T23:58:41.668Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T23:58:41.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T23:58:41.776Z] $ docker exec 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent [2023-11-06T23:58:41.896Z] SSH_AUTH_SOCK=/tmp/ssh-bUKmW080EPY4/agent.69 [2023-11-06T23:58:41.896Z] SSH_AGENT_PID=75 [2023-11-06T23:58:41.901Z] Running ssh-add (command line suppressed) [2023-11-06T23:58:42.002Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17997576841292373055.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17997576841292373055.key) [2023-11-06T23:58:42.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T23:58:42.309Z] + git semver init [2023-11-06T23:58:42.570Z] 2023-11-06 23:58:42,481 [run_init] DEBUG init version:0.0.0 force:False [2023-11-06T23:58:42.570Z] 2023-11-06 23:58:42,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-11-06T23:58:42.570Z] 2023-11-06 23:58:42,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-11-06T23:58:42.570Z] 2023-11-06 23:58:42,483 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-06T23:58:43.510Z] 2023-11-06 23:58:43,321 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-11-06T23:58:43.510Z] 2023-11-06 23:58:43,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-11-06T23:58:43.510Z] 2023-11-06 23:58:43,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-06T23:58:43.510Z] 2023-11-06 23:58:43,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-06T23:58:43.510Z] 3.1.0-dev.22 [Pipeline] } [2023-11-06T23:58:43.522Z] $ docker exec --env ******** --env ******** 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent -k [2023-11-06T23:58:43.633Z] unset SSH_AUTH_SOCK; [2023-11-06T23:58:43.634Z] unset SSH_AGENT_PID; [2023-11-06T23:58:43.634Z] echo Agent pid 75 killed; [2023-11-06T23:58:43.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T23:58:43.949Z] + git semver [Pipeline] } [2023-11-06T23:58:44.225Z] $ docker stop --time=1 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 [2023-11-06T23:58:45.512Z] $ docker rm -f --volumes 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:58:45.863Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-06T23:58:46.099Z] Stashed 1 file(s) [Pipeline] echo [2023-11-06T23:58:46.101Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T23:58:46.233Z] provisioning config files... [2023-11-06T23:58:46.243Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2869805619877187592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T23:58:46.539Z] ---> docker-login.sh [2023-11-06T23:58:46.539Z] nexus3.edgexfoundry.org:10001 [2023-11-06T23:58:46.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:46.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:46.539Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:46.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:46.539Z] [2023-11-06T23:58:46.539Z] Login Succeeded [2023-11-06T23:58:46.539Z] nexus3.edgexfoundry.org:10002 [2023-11-06T23:58:46.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:46.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:46.539Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:46.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:46.539Z] [2023-11-06T23:58:46.539Z] Login Succeeded [2023-11-06T23:58:46.539Z] nexus3.edgexfoundry.org:10003 [2023-11-06T23:58:46.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:46.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:46.800Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:46.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:46.800Z] [2023-11-06T23:58:46.800Z] Login Succeeded [2023-11-06T23:58:46.800Z] nexus3.edgexfoundry.org:10004 [2023-11-06T23:58:46.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:46.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:46.800Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:46.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:46.800Z] [2023-11-06T23:58:46.800Z] Login Succeeded [2023-11-06T23:58:46.800Z] docker.io [2023-11-06T23:58:46.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T23:58:47.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T23:58:47.061Z] Configure a credential helper to remove this warning. See [2023-11-06T23:58:47.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T23:58:47.061Z] [2023-11-06T23:58:47.061Z] Login Succeeded [2023-11-06T23:58:47.061Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T23:58:47.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-06T23:58:47.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:58:47.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T23:58:47.171Z] ========================================================= [2023-11-06T23:58:47.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-06T23:58:47.171Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:58:47.485Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-06T23:58:47.485Z] Sending build context to Docker daemon 6.555MB [2023-11-06T23:58:47.485Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T23:58:47.485Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-06T23:58:47.485Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-06T23:58:47.485Z] 7264a8db6415: Pulling fs layer [2023-11-06T23:58:47.485Z] c4d48a809fc2: Pulling fs layer [2023-11-06T23:58:47.485Z] 4f1c88b9dad5: Pulling fs layer [2023-11-06T23:58:47.485Z] ad3a456e5733: Pulling fs layer [2023-11-06T23:58:47.485Z] 33e27b845d1e: Pulling fs layer [2023-11-06T23:58:47.485Z] c68163c4e522: Pulling fs layer [2023-11-06T23:58:47.485Z] 50da416c3ac9: Pulling fs layer [2023-11-06T23:58:47.485Z] 23d2d4c4bb30: Pulling fs layer [2023-11-06T23:58:47.485Z] 33e27b845d1e: Waiting [2023-11-06T23:58:47.485Z] ad3a456e5733: Waiting [2023-11-06T23:58:47.485Z] c68163c4e522: Waiting [2023-11-06T23:58:47.485Z] 23d2d4c4bb30: Waiting [2023-11-06T23:58:47.485Z] c4d48a809fc2: Download complete [2023-11-06T23:58:47.485Z] ad3a456e5733: Download complete [2023-11-06T23:58:47.485Z] 33e27b845d1e: Verifying Checksum [2023-11-06T23:58:47.485Z] 33e27b845d1e: Download complete [2023-11-06T23:58:47.746Z] 7264a8db6415: Verifying Checksum [2023-11-06T23:58:47.746Z] 7264a8db6415: Download complete [2023-11-06T23:58:47.746Z] c68163c4e522: Verifying Checksum [2023-11-06T23:58:47.746Z] c68163c4e522: Download complete [2023-11-06T23:58:47.746Z] 7264a8db6415: Pull complete [2023-11-06T23:58:48.006Z] 23d2d4c4bb30: Verifying Checksum [2023-11-06T23:58:48.006Z] 23d2d4c4bb30: Download complete [2023-11-06T23:58:48.006Z] c4d48a809fc2: Pull complete [2023-11-06T23:58:48.006Z] 4f1c88b9dad5: Verifying Checksum [2023-11-06T23:58:48.006Z] 4f1c88b9dad5: Download complete [2023-11-06T23:58:48.574Z] 50da416c3ac9: Verifying Checksum [2023-11-06T23:58:48.574Z] 50da416c3ac9: Download complete [2023-11-06T23:58:51.105Z] 4f1c88b9dad5: Pull complete [2023-11-06T23:58:51.105Z] ad3a456e5733: Pull complete [2023-11-06T23:58:51.105Z] 33e27b845d1e: Pull complete [2023-11-06T23:58:51.105Z] c68163c4e522: Pull complete [2023-11-06T23:58:53.009Z] 50da416c3ac9: Pull complete [2023-11-06T23:58:53.577Z] 23d2d4c4bb30: Pull complete [2023-11-06T23:58:53.577Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-06T23:58:53.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-06T23:58:53.577Z] ---> 0786185ac409 [2023-11-06T23:58:53.577Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-06T23:58:58.893Z] ---> Running in c7a7d68ca93a [2023-11-06T23:58:58.893Z] Removing intermediate container c7a7d68ca93a [2023-11-06T23:58:58.893Z] ---> 394742209330 [2023-11-06T23:58:58.893Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-06T23:58:58.893Z] ---> Running in a19f29531daf [2023-11-06T23:58:58.893Z] Removing intermediate container a19f29531daf [2023-11-06T23:58:58.893Z] ---> 4473a9ff973e [2023-11-06T23:58:58.893Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-06T23:58:58.893Z] ---> Running in 0315bfefefd5 [2023-11-06T23:58:59.154Z] Removing intermediate container 0315bfefefd5 [2023-11-06T23:58:59.154Z] ---> e358d5dac71c [2023-11-06T23:58:59.154Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-06T23:58:59.154Z] ---> Running in 18518f7a89e2 [2023-11-06T23:58:59.412Z] Removing intermediate container 18518f7a89e2 [2023-11-06T23:58:59.412Z] ---> 6d30d64418ff [2023-11-06T23:58:59.412Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-06T23:58:59.412Z] ---> Running in 459d5ce80486 [2023-11-06T23:58:59.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T23:58:59.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T23:59:00.238Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-06T23:59:00.238Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-06T23:59:00.238Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-06T23:59:00.238Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-06T23:59:00.238Z] Executing busybox-1.36.1-r2.trigger [2023-11-06T23:59:00.238Z] OK: 268 MiB in 56 packages [2023-11-06T23:59:00.496Z] Removing intermediate container 459d5ce80486 [2023-11-06T23:59:00.496Z] ---> f7026d856ac3 [2023-11-06T23:59:00.496Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-06T23:59:00.496Z] ---> Running in f17bcc517225 [2023-11-06T23:59:00.754Z] Removing intermediate container f17bcc517225 [2023-11-06T23:59:00.754Z] ---> 701a38318347 [2023-11-06T23:59:00.754Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-06T23:59:00.754Z] ---> 933d1c7dc9fe [2023-11-06T23:59:00.754Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T23:59:00.754Z] ---> Running in eeb39c3182ef [2023-11-06T23:59:01.199Z] Still waiting to schedule task [2023-11-06T23:59:01.199Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-06T23:59:32.900Z] Removing intermediate container eeb39c3182ef [2023-11-06T23:59:32.900Z] ---> ab13242244a1 [2023-11-06T23:59:32.900Z] Step 11/12 : COPY . . [2023-11-06T23:59:32.900Z] ---> 9b892adb3559 [2023-11-06T23:59:32.900Z] Step 12/12 : RUN $MAKE [2023-11-06T23:59:32.900Z] ---> Running in 8ca537f23a39 [2023-11-06T23:59:32.900Z] noop [2023-11-06T23:59:32.900Z] Removing intermediate container 8ca537f23a39 [2023-11-06T23:59:32.900Z] ---> 67e4923cba2b [2023-11-06T23:59:32.900Z] Successfully built 67e4923cba2b [2023-11-06T23:59:32.900Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:59:33.229Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-06T23:59:33.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:59:33.293Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-06T23:59:33.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-06T23:59:33.738Z] $ docker top 46240ab1829f8a229658ad9af0cee60de1c73f69e06b1816786ee6f0b32d5ad1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:59:34.078Z] + go version [2023-11-06T23:59:34.078Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-06T23:59:34.092Z] $ docker stop --time=1 46240ab1829f8a229658ad9af0cee60de1c73f69e06b1816786ee6f0b32d5ad1 [2023-11-06T23:59:35.346Z] $ docker rm -f --volumes 46240ab1829f8a229658ad9af0cee60de1c73f69e06b1816786ee6f0b32d5ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T23:59:35.748Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-06T23:59:35.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T23:59:35.820Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-06T23:59:35.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-06T23:59:36.241Z] $ docker top 1f83f38f66b82a0b870484ed79948a237d549e9ab5fc5dc5bfd7734cf98e47fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T23:59:36.571Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-06T23:59:36.873Z] + make test [2023-11-06T23:59:36.873Z] go test ./... -coverprofile=coverage.out ./... [2023-11-06T23:59:38.247Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-06T23:59:48.210Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-06T23:59:48.210Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-06T23:59:48.210Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements [2023-11-06T23:59:53.526Z] go vet ./... [2023-11-06T23:59:56.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-06T23:59:56.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-06T23:59:56.809Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-06T23:59:56.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-06T23:59:56.842Z] $ docker stop --time=1 1f83f38f66b82a0b870484ed79948a237d549e9ab5fc5dc5bfd7734cf98e47fc [2023-11-06T23:59:59.496Z] $ docker rm -f --volumes 1f83f38f66b82a0b870484ed79948a237d549e9ab5fc5dc5bfd7734cf98e47fc [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T23:59:59.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:00:00.039Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-07T00:00:00.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:00:01.063Z] + ls -al . [2023-11-07T00:00:01.063Z] total 184 [2023-11-07T00:00:01.063Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 6 23:59 . [2023-11-07T00:00:01.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 23:58 .. [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 6 23:58 .dockerignore [2023-11-07T00:00:01.063Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 23:59 .git [2023-11-07T00:00:01.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:58 .github [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 6 23:58 .gitignore [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 6 23:58 .golangci.yml [2023-11-07T00:00:01.063Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 23:58 .semver [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 6 23:58 Attribution.txt [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 17522 Nov 6 23:58 CHANGELOG.md [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 1689 Nov 6 23:58 Dockerfile [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 23:58 GOVERNANCE.md [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 6 23:58 Jenkinsfile [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 6 23:58 LICENSE [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 6 23:58 Makefile [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 6 23:58 OWNERS.md [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 6 23:58 README.md [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 6 23:58 VERSION [2023-11-07T00:00:01.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:58 bin [2023-11-07T00:00:01.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:58 cmd [2023-11-07T00:00:01.063Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 6 23:59 coverage.out [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 3822 Nov 6 23:58 go.mod [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 6 23:58 go.sum [2023-11-07T00:00:01.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:58 internal [2023-11-07T00:00:01.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:58 mock [2023-11-07T00:00:01.063Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 6 23:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:01.369Z] + 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=daf9656040259007f9ff9da57e54fb024fb8fec3 --label arch=amd64 --label version=3.1.0-dev.22 . [2023-11-07T00:00:01.369Z] Sending build context to Docker daemon 6.574MB [2023-11-07T00:00:01.369Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:00:01.369Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-07T00:00:01.369Z] ---> 67e4923cba2b [2023-11-07T00:00:01.369Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-07T00:00:01.369Z] ---> Running in dc69c5e38c8c [2023-11-07T00:00:01.627Z] Removing intermediate container dc69c5e38c8c [2023-11-07T00:00:01.627Z] ---> 1a864e04e101 [2023-11-07T00:00:01.627Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:00:01.627Z] ---> Running in f563db642709 [2023-11-07T00:00:01.627Z] Removing intermediate container f563db642709 [2023-11-07T00:00:01.627Z] ---> 5b69d44072bf [2023-11-07T00:00:01.627Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T00:00:01.627Z] ---> Running in ed714c809103 [2023-11-07T00:00:01.886Z] Removing intermediate container ed714c809103 [2023-11-07T00:00:01.886Z] ---> 00556f0dc401 [2023-11-07T00:00:01.886Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T00:00:01.886Z] ---> Running in c73a45cd3d89 [2023-11-07T00:00:01.886Z] Removing intermediate container c73a45cd3d89 [2023-11-07T00:00:01.886Z] ---> 85d21c596d71 [2023-11-07T00:00:01.886Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T00:00:01.886Z] ---> Running in d560e7fb10e8 [2023-11-07T00:00:02.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:00:02.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:00:02.665Z] OK: 268 MiB in 56 packages [2023-11-07T00:00:02.926Z] Removing intermediate container d560e7fb10e8 [2023-11-07T00:00:02.926Z] ---> f2152ab9dfa7 [2023-11-07T00:00:02.926Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-11-07T00:00:02.926Z] ---> Running in aa0e7d893240 [2023-11-07T00:00:03.185Z] Removing intermediate container aa0e7d893240 [2023-11-07T00:00:03.185Z] ---> dfcb88db5c74 [2023-11-07T00:00:03.185Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-07T00:00:03.185Z] ---> f6b1d2b178b2 [2023-11-07T00:00:03.185Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:00:03.185Z] ---> Running in 3a4d04e02e88 [2023-11-07T00:00:04.120Z] Removing intermediate container 3a4d04e02e88 [2023-11-07T00:00:04.120Z] ---> 42eb985f1798 [2023-11-07T00:00:04.120Z] Step 11/24 : COPY . . [2023-11-07T00:00:04.120Z] ---> 56fc4e194f85 [2023-11-07T00:00:04.120Z] Step 12/24 : RUN $MAKE [2023-11-07T00:00:04.120Z] ---> Running in ece9337fd204 [2023-11-07T00:00:04.382Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-07T00:00:22.459Z] Removing intermediate container ece9337fd204 [2023-11-07T00:00:22.459Z] ---> 639a08ccad9f [2023-11-07T00:00:22.459Z] Step 13/24 : FROM alpine:3.18 [2023-11-07T00:00:22.459Z] 3.18: Pulling from library/alpine [2023-11-07T00:00:22.459Z] 96526aa774ef: Pulling fs layer [2023-11-07T00:00:22.459Z] 96526aa774ef: Verifying Checksum [2023-11-07T00:00:22.459Z] 96526aa774ef: Download complete [2023-11-07T00:00:22.459Z] 96526aa774ef: Pull complete [2023-11-07T00:00:22.459Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:00:22.459Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:00:22.459Z] ---> 8ca4688f4f35 [2023-11-07T00:00:22.459Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-07T00:00:22.459Z] ---> Running in 5458c4e75b07 [2023-11-07T00:00:22.459Z] Removing intermediate container 5458c4e75b07 [2023-11-07T00:00:22.459Z] ---> 302be5c9edcf [2023-11-07T00:00:22.459Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-11-07T00:00:22.459Z] ---> Running in f2cde1fdcc74 [2023-11-07T00:00:22.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:00:22.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:00:23.230Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-07T00:00:23.230Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T00:00:23.230Z] OK: 7 MiB in 16 packages [2023-11-07T00:00:23.489Z] Removing intermediate container f2cde1fdcc74 [2023-11-07T00:00:23.489Z] ---> d31fbaafd2a8 [2023-11-07T00:00:23.489Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-07T00:00:24.055Z] ---> 414d90added2 [2023-11-07T00:00:24.055Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-07T00:00:24.314Z] ---> d7cd68ba3e6f [2023-11-07T00:00:24.314Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-07T00:00:24.572Z] ---> 39347a03aec5 [2023-11-07T00:00:24.572Z] Step 19/24 : EXPOSE 59982 [2023-11-07T00:00:24.572Z] ---> Running in bce121ecc0e7 [2023-11-07T00:00:24.572Z] Removing intermediate container bce121ecc0e7 [2023-11-07T00:00:24.572Z] ---> ec7987abea84 [2023-11-07T00:00:24.572Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-11-07T00:00:24.572Z] ---> Running in ac3b25751b0c [2023-11-07T00:00:24.572Z] Removing intermediate container ac3b25751b0c [2023-11-07T00:00:24.572Z] ---> ef4309d09f06 [2023-11-07T00:00:24.572Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-07T00:00:24.572Z] ---> Running in 5ddf68d99ed0 [2023-11-07T00:00:24.830Z] Removing intermediate container 5ddf68d99ed0 [2023-11-07T00:00:24.830Z] ---> 8a102cc9a983 [2023-11-07T00:00:24.830Z] Step 22/24 : LABEL arch=amd64 [2023-11-07T00:00:24.830Z] ---> Running in 7cae7c54800b [2023-11-07T00:00:24.830Z] Removing intermediate container 7cae7c54800b [2023-11-07T00:00:24.830Z] ---> 753501c4e58d [2023-11-07T00:00:24.830Z] Step 23/24 : LABEL git_sha=daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:00:24.830Z] ---> Running in 9c3c7b514885 [2023-11-07T00:00:25.089Z] Removing intermediate container 9c3c7b514885 [2023-11-07T00:00:25.089Z] ---> bd4c2a280f99 [2023-11-07T00:00:25.089Z] Step 24/24 : LABEL version=3.1.0-dev.22 [2023-11-07T00:00:25.089Z] ---> Running in 4b11bad77082 [2023-11-07T00:00:25.089Z] Removing intermediate container 4b11bad77082 [2023-11-07T00:00:25.089Z] ---> a00d9b46dc5b [2023-11-07T00:00:25.089Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:00:25.089Z] Successfully built a00d9b46dc5b [2023-11-07T00:00:25.089Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:00:25.171Z] provisioning config files... [2023-11-07T00:00:25.180Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10375523155539773557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:00:25.482Z] ---> docker-login.sh [2023-11-07T00:00:25.482Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:00:25.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:00:25.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:00:25.482Z] Configure a credential helper to remove this warning. See [2023-11-07T00:00:25.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:00:25.482Z] [2023-11-07T00:00:25.482Z] Login Succeeded [2023-11-07T00:00:25.482Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:00:25.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:00:25.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:00:25.482Z] Configure a credential helper to remove this warning. See [2023-11-07T00:00:25.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:00:25.482Z] [2023-11-07T00:00:25.482Z] Login Succeeded [2023-11-07T00:00:25.482Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:00:25.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:00:25.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:00:25.741Z] Configure a credential helper to remove this warning. See [2023-11-07T00:00:25.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:00:25.741Z] [2023-11-07T00:00:25.741Z] Login Succeeded [2023-11-07T00:00:25.742Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:00:25.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:00:25.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:00:25.742Z] Configure a credential helper to remove this warning. See [2023-11-07T00:00:25.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:00:25.742Z] [2023-11-07T00:00:25.742Z] Login Succeeded [2023-11-07T00:00:25.742Z] docker.io [2023-11-07T00:00:25.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:00:26.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:00:26.002Z] Configure a credential helper to remove this warning. See [2023-11-07T00:00:26.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:00:26.002Z] [2023-11-07T00:00:26.002Z] Login Succeeded [2023-11-07T00:00:26.262Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:00:26.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-07T00:00:26.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:00:26.315Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-11-07T00:00:26.315Z] daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:00:26.315Z] latest [2023-11-07T00:00:26.315Z] 3.1.0-dev.22 [2023-11-07T00:00:26.315Z] daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [2023-11-07T00:00:26.315Z] main [2023-11-07T00:00:26.315Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:26.627Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:26.931Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:00:26.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-07T00:00:26.931Z] b7009d03f585: Preparing [2023-11-07T00:00:26.931Z] 6173db5095f5: Preparing [2023-11-07T00:00:26.931Z] 088c270c5193: Preparing [2023-11-07T00:00:26.931Z] 6e429f78b980: Preparing [2023-11-07T00:00:26.931Z] cc2447e1835a: Preparing [2023-11-07T00:00:26.931Z] cc2447e1835a: Layer already exists [2023-11-07T00:00:26.931Z] b7009d03f585: Pushed [2023-11-07T00:00:26.931Z] 6173db5095f5: Pushed [2023-11-07T00:00:26.931Z] 6e429f78b980: Pushed [2023-11-07T00:00:30.219Z] 088c270c5193: Pushed [2023-11-07T00:00:30.219Z] daf9656040259007f9ff9da57e54fb024fb8fec3: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:30.544Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:30.851Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-11-07T00:00:30.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-07T00:00:30.851Z] b7009d03f585: Preparing [2023-11-07T00:00:30.851Z] 6173db5095f5: Preparing [2023-11-07T00:00:30.851Z] 088c270c5193: Preparing [2023-11-07T00:00:30.851Z] 6e429f78b980: Preparing [2023-11-07T00:00:30.851Z] cc2447e1835a: Preparing [2023-11-07T00:00:30.851Z] b7009d03f585: Layer already exists [2023-11-07T00:00:30.851Z] 6173db5095f5: Layer already exists [2023-11-07T00:00:30.851Z] cc2447e1835a: Layer already exists [2023-11-07T00:00:30.851Z] 6e429f78b980: Layer already exists [2023-11-07T00:00:30.851Z] 088c270c5193: Layer already exists [2023-11-07T00:00:30.851Z] latest: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:31.174Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:31.477Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.22 [2023-11-07T00:00:31.477Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-07T00:00:31.477Z] b7009d03f585: Preparing [2023-11-07T00:00:31.477Z] 6173db5095f5: Preparing [2023-11-07T00:00:31.477Z] 088c270c5193: Preparing [2023-11-07T00:00:31.477Z] 6e429f78b980: Preparing [2023-11-07T00:00:31.477Z] cc2447e1835a: Preparing [2023-11-07T00:00:31.477Z] b7009d03f585: Layer already exists [2023-11-07T00:00:31.477Z] 6173db5095f5: Layer already exists [2023-11-07T00:00:31.477Z] 088c270c5193: Layer already exists [2023-11-07T00:00:31.477Z] cc2447e1835a: Layer already exists [2023-11-07T00:00:31.477Z] 6e429f78b980: Layer already exists [2023-11-07T00:00:31.477Z] 3.1.0-dev.22: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:31.784Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:32.090Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [2023-11-07T00:00:32.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-07T00:00:32.090Z] b7009d03f585: Preparing [2023-11-07T00:00:32.090Z] 6173db5095f5: Preparing [2023-11-07T00:00:32.090Z] 088c270c5193: Preparing [2023-11-07T00:00:32.090Z] 6e429f78b980: Preparing [2023-11-07T00:00:32.090Z] cc2447e1835a: Preparing [2023-11-07T00:00:32.090Z] 088c270c5193: Layer already exists [2023-11-07T00:00:32.090Z] 6173db5095f5: Layer already exists [2023-11-07T00:00:32.090Z] cc2447e1835a: Layer already exists [2023-11-07T00:00:32.090Z] 6e429f78b980: Layer already exists [2023-11-07T00:00:32.090Z] b7009d03f585: Layer already exists [2023-11-07T00:00:32.090Z] daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:32.405Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:32.708Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-11-07T00:00:32.708Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-07T00:00:32.708Z] b7009d03f585: Preparing [2023-11-07T00:00:32.708Z] 6173db5095f5: Preparing [2023-11-07T00:00:32.708Z] 088c270c5193: Preparing [2023-11-07T00:00:32.708Z] 6e429f78b980: Preparing [2023-11-07T00:00:32.708Z] cc2447e1835a: Preparing [2023-11-07T00:00:32.708Z] 6e429f78b980: Layer already exists [2023-11-07T00:00:32.708Z] 6173db5095f5: Layer already exists [2023-11-07T00:00:32.708Z] 088c270c5193: Layer already exists [2023-11-07T00:00:32.708Z] cc2447e1835a: Layer already exists [2023-11-07T00:00:32.708Z] b7009d03f585: Layer already exists [2023-11-07T00:00:32.708Z] main: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-07T00:00:32.745Z] ===================================================== [Pipeline] echo [2023-11-07T00:00:32.752Z] taggedImages: [2023-11-07T00:00:32.752Z] - nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:00:32.752Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-11-07T00:00:32.752Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.22 [2023-11-07T00:00:32.752Z] - nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [2023-11-07T00:00:32.752Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:33.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:00:33.674Z] [2023-11-07T00:00:33.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:00:33.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:00:33.974Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-07T00:00:33.974Z] 5eb5b503b376: Pulling fs layer [2023-11-07T00:00:33.974Z] 5c69ac0246d0: Pulling fs layer [2023-11-07T00:00:33.974Z] ec43610c2a17: Pulling fs layer [2023-11-07T00:00:33.974Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-07T00:00:33.974Z] 33b1e0a273af: Pulling fs layer [2023-11-07T00:00:33.974Z] 5d3b04190fa2: Pulling fs layer [2023-11-07T00:00:33.974Z] 2f39f015ded8: Pulling fs layer [2023-11-07T00:00:33.974Z] 3a2ae6a8a46f: Waiting [2023-11-07T00:00:33.974Z] 33b1e0a273af: Waiting [2023-11-07T00:00:33.974Z] 5d3b04190fa2: Waiting [2023-11-07T00:00:33.974Z] 2f39f015ded8: Waiting [2023-11-07T00:00:33.974Z] 5c69ac0246d0: Download complete [2023-11-07T00:00:33.974Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-07T00:00:33.974Z] 3a2ae6a8a46f: Download complete [2023-11-07T00:00:33.974Z] 33b1e0a273af: Verifying Checksum [2023-11-07T00:00:33.974Z] 33b1e0a273af: Download complete [2023-11-07T00:00:33.974Z] 5d3b04190fa2: Download complete [2023-11-07T00:00:33.974Z] ec43610c2a17: Verifying Checksum [2023-11-07T00:00:33.974Z] ec43610c2a17: Download complete [2023-11-07T00:00:34.233Z] 5eb5b503b376: Verifying Checksum [2023-11-07T00:00:34.233Z] 5eb5b503b376: Download complete [2023-11-07T00:00:35.680Z] 5eb5b503b376: Pull complete [2023-11-07T00:00:35.938Z] 5c69ac0246d0: Pull complete [2023-11-07T00:00:36.197Z] 2f39f015ded8: Verifying Checksum [2023-11-07T00:00:36.197Z] 2f39f015ded8: Download complete [2023-11-07T00:00:36.455Z] ec43610c2a17: Pull complete [2023-11-07T00:00:36.455Z] 3a2ae6a8a46f: Pull complete [2023-11-07T00:00:36.713Z] 33b1e0a273af: Pull complete [2023-11-07T00:00:36.713Z] 5d3b04190fa2: Pull complete [2023-11-07T00:00:40.907Z] 2f39f015ded8: Pull complete [2023-11-07T00:00:40.907Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-07T00:00:40.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:00:40.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:00:40.995Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:00:41.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-07T00:00:47.562Z] $ docker top 784b79c37efe366a08ef5043cadb02172eff216b4f8948697836caf9dd1dafa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:00:59.508Z] ---> job-cost.sh [2023-11-07T00:00:59.508Z] lf-activate-venv: SKIPPING [2023-11-07T00:00:59.508Z] INFO: No Stack... [2023-11-07T00:00:59.508Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:01:00.083Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:01:00.374Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-11-07T00:01:00.374Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:01:00.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [2023-11-07T00:01:00.393Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] did not exist. Created. [2023-11-07T00:01:00.394Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:01:00.703Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-07T00:01:00.731Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:01:00.739Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:01:00.766Z] $ docker stop --time=1 784b79c37efe366a08ef5043cadb02172eff216b4f8948697836caf9dd1dafa8 [2023-11-07T00:01:01.926Z] $ docker rm -f --volumes 784b79c37efe366a08ef5043cadb02172eff216b4f8948697836caf9dd1dafa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-07T00:01:37.158Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16761 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-11-07T00:01:37.170Z] Running in /w/workspace/device-mqtt-go/150 [Pipeline] { [Pipeline] checkout [2023-11-07T00:01:37.202Z] The recommended git tool is: git [2023-11-07T00:01:43.643Z] using credential edgex-jenkins-ssh [2023-11-07T00:01:43.658Z] Cloning the remote Git repository [2023-11-07T00:01:43.718Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-07T00:01:43.832Z] > git init /w/workspace/device-mqtt-go/150 # timeout=10 [2023-11-07T00:01:44.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-07T00:01:44.018Z] > git --version # timeout=10 [2023-11-07T00:01:44.051Z] > git --version # 'git version 2.25.1' [2023-11-07T00:01:44.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:01:44.246Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:01:48.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-07T00:01:48.154Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:01:48.986Z] Avoid second fetch [2023-11-07T00:01:48.987Z] Checking out Revision daf9656040259007f9ff9da57e54fb024fb8fec3 (main) [2023-11-07T00:01:49.551Z] Commit message: "docs: Update Readme to refer to 3.1 main doc page (#642)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:01:49.008Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T00:01:49.080Z] > git checkout -f daf9656040259007f9ff9da57e54fb024fb8fec3 # timeout=10 [2023-11-07T00:01:50.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-07T00:01:50.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:01:50.572Z] Dload Upload Total Spent Left Speed [2023-11-07T00:01:50.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2023-11-07T00:01:51.164Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-07T00:01:51.505Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-11-07T00:01:51.505Z] sudo tee /etc/docker/daemon.new [2023-11-07T00:01:51.505Z] { [2023-11-07T00:01:51.505Z] "registry-mirrors": [ [2023-11-07T00:01:51.505Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-07T00:01:51.505Z] ], [2023-11-07T00:01:51.505Z] "bip": "10.250.0.254/24", [2023-11-07T00:01:51.505Z] "hosts": [ [2023-11-07T00:01:51.505Z] "tcp://0.0.0.0:5555", [2023-11-07T00:01:51.505Z] "unix:///var/run/docker.sock" [2023-11-07T00:01:51.505Z] ], [2023-11-07T00:01:51.505Z] "mtu": 1458, [2023-11-07T00:01:51.505Z] "selinux-enabled": true, [2023-11-07T00:01:51.505Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-07T00:01:51.505Z] } [Pipeline] sh [2023-11-07T00:01:51.844Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-07T00:01:52.191Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:02:10.488Z] provisioning config files... [2023-11-07T00:02:10.516Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/150@tmp/config1400700675317963715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:02:10.872Z] ---> docker-login.sh [2023-11-07T00:02:10.872Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:02:11.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:02:11.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:02:11.546Z] Configure a credential helper to remove this warning. See [2023-11-07T00:02:11.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:02:11.546Z] [2023-11-07T00:02:11.546Z] Login Succeeded [2023-11-07T00:02:11.546Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:02:11.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:02:11.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:02:11.816Z] Configure a credential helper to remove this warning. See [2023-11-07T00:02:11.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:02:11.816Z] [2023-11-07T00:02:11.816Z] Login Succeeded [2023-11-07T00:02:11.816Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:02:12.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:02:12.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:02:12.364Z] Configure a credential helper to remove this warning. See [2023-11-07T00:02:12.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:02:12.364Z] [2023-11-07T00:02:12.364Z] Login Succeeded [2023-11-07T00:02:12.364Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:02:12.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:02:12.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:02:12.634Z] Configure a credential helper to remove this warning. See [2023-11-07T00:02:12.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:02:12.634Z] [2023-11-07T00:02:12.634Z] Login Succeeded [2023-11-07T00:02:12.634Z] docker.io [2023-11-07T00:02:12.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:02:13.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:02:13.506Z] Configure a credential helper to remove this warning. See [2023-11-07T00:02:13.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:02:13.506Z] [2023-11-07T00:02:13.506Z] Login Succeeded [2023-11-07T00:02:13.506Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:02:13.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T00:02:13.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:02:13.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:02:13.829Z] ========================================================= [2023-11-07T00:02:13.829Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-07T00:02:13.829Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:02:14.183Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-07T00:02:18.461Z] Sending build context to Docker daemon 3.375MB [2023-11-07T00:02:18.461Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:02:18.461Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-07T00:02:18.461Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-07T00:02:18.461Z] 9fda8d8052c6: Pulling fs layer [2023-11-07T00:02:18.461Z] 5d54e960e981: Pulling fs layer [2023-11-07T00:02:18.461Z] c4a7e357bf2a: Pulling fs layer [2023-11-07T00:02:18.461Z] f0e02332f6b5: Pulling fs layer [2023-11-07T00:02:18.461Z] cefa15bbcfad: Pulling fs layer [2023-11-07T00:02:18.461Z] 17808c966233: Pulling fs layer [2023-11-07T00:02:18.461Z] f4c1fc716caa: Pulling fs layer [2023-11-07T00:02:18.461Z] cefa15bbcfad: Waiting [2023-11-07T00:02:18.461Z] 17808c966233: Waiting [2023-11-07T00:02:18.461Z] f0e02332f6b5: Waiting [2023-11-07T00:02:18.461Z] f4c1fc716caa: Waiting [2023-11-07T00:02:18.461Z] 5d54e960e981: Verifying Checksum [2023-11-07T00:02:18.461Z] 5d54e960e981: Download complete [2023-11-07T00:02:18.461Z] f0e02332f6b5: Verifying Checksum [2023-11-07T00:02:18.461Z] f0e02332f6b5: Download complete [2023-11-07T00:02:18.461Z] cefa15bbcfad: Verifying Checksum [2023-11-07T00:02:18.461Z] cefa15bbcfad: Download complete [2023-11-07T00:02:18.461Z] 9fda8d8052c6: Download complete [2023-11-07T00:02:18.730Z] f4c1fc716caa: Verifying Checksum [2023-11-07T00:02:18.730Z] f4c1fc716caa: Download complete [2023-11-07T00:02:18.999Z] 9fda8d8052c6: Pull complete [2023-11-07T00:02:19.590Z] 5d54e960e981: Pull complete [2023-11-07T00:02:19.859Z] c4a7e357bf2a: Verifying Checksum [2023-11-07T00:02:19.859Z] c4a7e357bf2a: Download complete [2023-11-07T00:02:21.274Z] 17808c966233: Verifying Checksum [2023-11-07T00:02:21.274Z] 17808c966233: Download complete [2023-11-07T00:02:33.600Z] c4a7e357bf2a: Pull complete [2023-11-07T00:02:33.600Z] f0e02332f6b5: Pull complete [2023-11-07T00:02:33.600Z] cefa15bbcfad: Pull complete [2023-11-07T00:02:41.843Z] 17808c966233: Pull complete [2023-11-07T00:02:45.196Z] f4c1fc716caa: Pull complete [2023-11-07T00:02:45.196Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-07T00:02:45.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-07T00:02:45.467Z] ---> ea914061e18c [2023-11-07T00:02:45.467Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-07T00:02:47.413Z] ---> Running in 02dba359efc0 [2023-11-07T00:02:47.413Z] Removing intermediate container 02dba359efc0 [2023-11-07T00:02:47.413Z] ---> be5ec4cbaddc [2023-11-07T00:02:47.413Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:02:47.681Z] ---> Running in c5c07d0bdba7 [2023-11-07T00:02:48.028Z] Removing intermediate container c5c07d0bdba7 [2023-11-07T00:02:48.028Z] ---> eedff945e57a [2023-11-07T00:02:48.028Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T00:02:48.028Z] ---> Running in aa8ada0d6cc1 [2023-11-07T00:02:48.649Z] Removing intermediate container aa8ada0d6cc1 [2023-11-07T00:02:48.649Z] ---> 383c65768d94 [2023-11-07T00:02:48.649Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T00:02:48.649Z] ---> Running in 75c0720321fb [2023-11-07T00:02:48.931Z] Removing intermediate container 75c0720321fb [2023-11-07T00:02:48.931Z] ---> 943a55332587 [2023-11-07T00:02:48.931Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T00:02:48.931Z] ---> Running in d4f6c321f096 [2023-11-07T00:02:50.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:02:50.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:02:51.589Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-07T00:02:51.589Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-07T00:02:51.862Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-07T00:02:51.862Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-07T00:02:51.862Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T00:02:51.862Z] OK: 270 MiB in 56 packages [2023-11-07T00:02:53.325Z] Removing intermediate container d4f6c321f096 [2023-11-07T00:02:53.325Z] ---> b7b117cf6829 [2023-11-07T00:02:53.325Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-07T00:02:53.325Z] ---> Running in 1d7edda19cc5 [2023-11-07T00:02:53.592Z] Removing intermediate container 1d7edda19cc5 [2023-11-07T00:02:53.592Z] ---> d36268ed56f7 [2023-11-07T00:02:53.592Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-07T00:02:53.860Z] ---> bc89bd0a499a [2023-11-07T00:02:53.860Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:02:54.127Z] ---> Running in ada8a0500087 [2023-11-07T00:04:15.798Z] Removing intermediate container ada8a0500087 [2023-11-07T00:04:15.798Z] ---> 845756c015ce [2023-11-07T00:04:15.798Z] Step 11/12 : COPY . . [2023-11-07T00:04:15.798Z] ---> e3331bb2ce54 [2023-11-07T00:04:15.798Z] Step 12/12 : RUN $MAKE [2023-11-07T00:04:15.798Z] ---> Running in b7ab4e353905 [2023-11-07T00:04:15.798Z] noop [2023-11-07T00:04:15.798Z] Removing intermediate container b7ab4e353905 [2023-11-07T00:04:15.798Z] ---> 50632c21c357 [2023-11-07T00:04:15.798Z] Successfully built 50632c21c357 [2023-11-07T00:04:15.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:04:16.149Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:04:16.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:04:16.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container [2023-11-07T00:04:16.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/150 -v /w/workspace/device-mqtt-go/150:/w/workspace/device-mqtt-go/150:rw,z -v /w/workspace/device-mqtt-go/150@tmp:/w/workspace/device-mqtt-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-07T00:04:17.654Z] $ docker top db059de4c6a7fe26295acbb9387cc385aae46f6929598b440cd75a587f1e2f35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:04:18.483Z] + go version [2023-11-07T00:04:18.484Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-07T00:04:18.505Z] $ docker stop --time=1 db059de4c6a7fe26295acbb9387cc385aae46f6929598b440cd75a587f1e2f35 [2023-11-07T00:04:20.121Z] $ docker rm -f --volumes db059de4c6a7fe26295acbb9387cc385aae46f6929598b440cd75a587f1e2f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:04:20.670Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:04:20.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:04:20.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container [2023-11-07T00:04:20.929Z] $ 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/150 -v /w/workspace/device-mqtt-go/150:/w/workspace/device-mqtt-go/150:rw,z -v /w/workspace/device-mqtt-go/150@tmp:/w/workspace/device-mqtt-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-07T00:04:22.129Z] $ docker top fa5601030c5e6ee589df87509c4c81e729189c80742a4a073d2a66879b428f8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:04:22.961Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/150 [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:04:23.299Z] + make test [2023-11-07T00:04:23.566Z] go test ./... -coverprofile=coverage.out ./... [2023-11-07T00:04:27.827Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-07T00:06:04.494Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-07T00:06:07.074Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-07T00:06:07.074Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 22.8% of statements [2023-11-07T00:06:07.656Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-07T00:06:07.656Z] go vet ./... [2023-11-07T00:06:39.930Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:06:39.930Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:06:39.930Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T00:06:39.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:06:39.961Z] $ docker stop --time=1 fa5601030c5e6ee589df87509c4c81e729189c80742a4a073d2a66879b428f8d [2023-11-07T00:06:42.019Z] $ docker rm -f --volumes fa5601030c5e6ee589df87509c4c81e729189c80742a4a073d2a66879b428f8d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:06:43.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:06:43.376Z] Warning: overwriting stash ‘coverage-report’ [2023-11-07T00:06:43.867Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:06:44.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:06:44.611Z] + ls -al . [2023-11-07T00:06:44.611Z] total 180 [2023-11-07T00:06:44.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:04 . [2023-11-07T00:06:44.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:01 .. [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:01 .dockerignore [2023-11-07T00:06:44.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:01 .git [2023-11-07T00:06:44.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:01 .github [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 00:01 .gitignore [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 00:01 .golangci.yml [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 7 00:01 Attribution.txt [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 17522 Nov 7 00:01 CHANGELOG.md [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 1689 Nov 7 00:01 Dockerfile [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:01 GOVERNANCE.md [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 00:01 Jenkinsfile [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 00:01 LICENSE [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 7 00:01 Makefile [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 00:01 OWNERS.md [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 7 00:01 README.md [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 6 23:58 VERSION [2023-11-07T00:06:44.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:01 bin [2023-11-07T00:06:44.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:01 cmd [2023-11-07T00:06:44.611Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 7 00:06 coverage.out [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 3822 Nov 7 00:01 go.mod [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 35094 Nov 7 00:01 go.sum [2023-11-07T00:06:44.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:01 internal [2023-11-07T00:06:44.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:01 mock [2023-11-07T00:06:44.611Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:06:44.964Z] + 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=daf9656040259007f9ff9da57e54fb024fb8fec3 --label arch=arm64 --label version=3.1.0-dev.22 . [2023-11-07T00:06:45.231Z] Sending build context to Docker daemon 3.395MB [2023-11-07T00:06:45.231Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:06:45.231Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-07T00:06:45.231Z] ---> 50632c21c357 [2023-11-07T00:06:45.231Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-07T00:06:45.507Z] ---> Running in 8b07820e8f3c [2023-11-07T00:06:45.781Z] Removing intermediate container 8b07820e8f3c [2023-11-07T00:06:45.781Z] ---> 1c5cdd53c060 [2023-11-07T00:06:45.781Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-07T00:06:46.050Z] ---> Running in 387ad56a9f7b [2023-11-07T00:06:46.319Z] Removing intermediate container 387ad56a9f7b [2023-11-07T00:06:46.319Z] ---> b0cbdd4e08e6 [2023-11-07T00:06:46.319Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-07T00:06:46.319Z] ---> Running in af51e561d9b3 [2023-11-07T00:06:46.588Z] Removing intermediate container af51e561d9b3 [2023-11-07T00:06:46.588Z] ---> 9015ae938311 [2023-11-07T00:06:46.588Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-07T00:06:46.856Z] ---> Running in 5cbe49955b4c [2023-11-07T00:06:47.125Z] Removing intermediate container 5cbe49955b4c [2023-11-07T00:06:47.125Z] ---> 1b9ecf6181ef [2023-11-07T00:06:47.125Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-07T00:06:47.392Z] ---> Running in ebcf8902a8cf [2023-11-07T00:06:48.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:06:48.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:06:50.355Z] OK: 270 MiB in 56 packages [2023-11-07T00:06:51.323Z] Removing intermediate container ebcf8902a8cf [2023-11-07T00:06:51.323Z] ---> a890f902c828 [2023-11-07T00:06:51.323Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-11-07T00:06:51.323Z] ---> Running in ba7180ea7874 [2023-11-07T00:06:51.908Z] Removing intermediate container ba7180ea7874 [2023-11-07T00:06:51.908Z] ---> ae0f1f643ff2 [2023-11-07T00:06:51.908Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-07T00:06:52.497Z] ---> 6722bb834e8d [2023-11-07T00:06:52.497Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:06:52.497Z] ---> Running in 9974429a7e37 [2023-11-07T00:06:55.084Z] Removing intermediate container 9974429a7e37 [2023-11-07T00:06:55.084Z] ---> 6bd070270b45 [2023-11-07T00:06:55.084Z] Step 11/24 : COPY . . [2023-11-07T00:06:56.044Z] ---> c2ffe8f9efb6 [2023-11-07T00:06:56.044Z] Step 12/24 : RUN $MAKE [2023-11-07T00:06:56.044Z] ---> Running in 4f05b85493f0 [2023-11-07T00:06:57.010Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-07T00:09:03.939Z] Removing intermediate container 4f05b85493f0 [2023-11-07T00:09:03.939Z] ---> b112d5067e1f [2023-11-07T00:09:03.939Z] Step 13/24 : FROM alpine:3.18 [2023-11-07T00:09:03.939Z] 3.18: Pulling from library/alpine [2023-11-07T00:09:03.939Z] 579b34f0a95b: Pulling fs layer [2023-11-07T00:09:03.939Z] 579b34f0a95b: Download complete [2023-11-07T00:09:03.939Z] 579b34f0a95b: Pull complete [2023-11-07T00:09:03.939Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:09:03.939Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:09:03.939Z] ---> 3cc203321400 [2023-11-07T00:09:03.939Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-07T00:09:03.939Z] ---> Running in c62f5f7edf13 [2023-11-07T00:09:03.939Z] Removing intermediate container c62f5f7edf13 [2023-11-07T00:09:03.939Z] ---> 2ce6b5626f67 [2023-11-07T00:09:03.939Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-11-07T00:09:03.939Z] ---> Running in 6d1b94bea79d [2023-11-07T00:09:03.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:09:03.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:09:03.939Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-07T00:09:03.939Z] Executing busybox-1.36.1-r2.trigger [2023-11-07T00:09:03.939Z] OK: 8 MiB in 16 packages [2023-11-07T00:09:03.939Z] Removing intermediate container 6d1b94bea79d [2023-11-07T00:09:03.939Z] ---> c5d17df60c7e [2023-11-07T00:09:03.939Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-07T00:09:03.939Z] ---> fcc60562db9a [2023-11-07T00:09:03.939Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-07T00:09:03.939Z] ---> ca681dfbb70e [2023-11-07T00:09:03.939Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-07T00:09:04.523Z] ---> 8ea3ddc071eb [2023-11-07T00:09:04.523Z] Step 19/24 : EXPOSE 59982 [2023-11-07T00:09:04.523Z] ---> Running in a0f9179e7934 [2023-11-07T00:09:04.793Z] Removing intermediate container a0f9179e7934 [2023-11-07T00:09:04.793Z] ---> 241c80de5615 [2023-11-07T00:09:04.793Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-11-07T00:09:05.059Z] ---> Running in 4bbb24e2e753 [2023-11-07T00:09:05.327Z] Removing intermediate container 4bbb24e2e753 [2023-11-07T00:09:05.327Z] ---> 1b226a1fc7b0 [2023-11-07T00:09:05.327Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-07T00:09:05.327Z] ---> Running in 0d629c7fe9db [2023-11-07T00:09:05.594Z] Removing intermediate container 0d629c7fe9db [2023-11-07T00:09:05.594Z] ---> b066ee11c600 [2023-11-07T00:09:05.594Z] Step 22/24 : LABEL arch=arm64 [2023-11-07T00:09:05.594Z] ---> Running in 23e10185ca1a [2023-11-07T00:09:10.931Z] Removing intermediate container 23e10185ca1a [2023-11-07T00:09:10.931Z] ---> 84d7f8ca1494 [2023-11-07T00:09:10.931Z] Step 23/24 : LABEL git_sha=daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:09:10.931Z] ---> Running in 1a0a54a42719 [2023-11-07T00:09:10.931Z] Removing intermediate container 1a0a54a42719 [2023-11-07T00:09:10.931Z] ---> 3076f99bff70 [2023-11-07T00:09:10.931Z] Step 24/24 : LABEL version=3.1.0-dev.22 [2023-11-07T00:09:10.931Z] ---> Running in abd373caf0cf [2023-11-07T00:09:10.931Z] Removing intermediate container abd373caf0cf [2023-11-07T00:09:10.931Z] ---> e37d55166c25 [2023-11-07T00:09:10.931Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:09:10.931Z] Successfully built e37d55166c25 [2023-11-07T00:09:10.931Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:09:11.050Z] provisioning config files... [2023-11-07T00:09:11.064Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/150@tmp/config17105377101647271673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:09:11.413Z] ---> docker-login.sh [2023-11-07T00:09:11.413Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:09:11.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:11.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:11.679Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:11.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:11.679Z] [2023-11-07T00:09:11.679Z] Login Succeeded [2023-11-07T00:09:11.679Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:09:11.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:11.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:11.953Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:11.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:11.953Z] [2023-11-07T00:09:11.953Z] Login Succeeded [2023-11-07T00:09:11.953Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:09:12.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:12.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:12.494Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:12.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:12.494Z] [2023-11-07T00:09:12.494Z] Login Succeeded [2023-11-07T00:09:12.494Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:09:12.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:12.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:12.762Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:12.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:12.762Z] [2023-11-07T00:09:12.762Z] Login Succeeded [2023-11-07T00:09:12.762Z] docker.io [2023-11-07T00:09:13.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:13.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:13.618Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:13.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:13.618Z] [2023-11-07T00:09:13.618Z] Login Succeeded [2023-11-07T00:09:13.618Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:09:13.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-07T00:09:13.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:09:13.692Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-11-07T00:09:13.692Z] daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:09:13.692Z] latest [2023-11-07T00:09:13.692Z] 3.1.0-dev.22 [2023-11-07T00:09:13.692Z] daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [2023-11-07T00:09:13.692Z] main [2023-11-07T00:09:13.692Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:14.060Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:14.418Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:09:14.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-07T00:09:14.418Z] 292e38bfd0b8: Preparing [2023-11-07T00:09:14.418Z] 481d2db98829: Preparing [2023-11-07T00:09:14.418Z] 0b58b2ffb029: Preparing [2023-11-07T00:09:14.418Z] 510f535eb4bb: Preparing [2023-11-07T00:09:14.418Z] 5f4d9fc4d98d: Preparing [2023-11-07T00:09:14.418Z] 5f4d9fc4d98d: Layer already exists [2023-11-07T00:09:14.684Z] 481d2db98829: Pushed [2023-11-07T00:09:14.684Z] 292e38bfd0b8: Pushed [2023-11-07T00:09:14.684Z] 510f535eb4bb: Pushed [2023-11-07T00:09:20.135Z] 0b58b2ffb029: Pushed [2023-11-07T00:09:20.405Z] daf9656040259007f9ff9da57e54fb024fb8fec3: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:20.776Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:21.127Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-11-07T00:09:21.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-07T00:09:21.127Z] 292e38bfd0b8: Preparing [2023-11-07T00:09:21.127Z] 481d2db98829: Preparing [2023-11-07T00:09:21.127Z] 0b58b2ffb029: Preparing [2023-11-07T00:09:21.127Z] 510f535eb4bb: Preparing [2023-11-07T00:09:21.127Z] 5f4d9fc4d98d: Preparing [2023-11-07T00:09:21.127Z] 5f4d9fc4d98d: Layer already exists [2023-11-07T00:09:21.127Z] 510f535eb4bb: Layer already exists [2023-11-07T00:09:21.127Z] 292e38bfd0b8: Layer already exists [2023-11-07T00:09:21.127Z] 481d2db98829: Layer already exists [2023-11-07T00:09:21.127Z] 0b58b2ffb029: Layer already exists [2023-11-07T00:09:21.127Z] latest: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:21.761Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:22.211Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.22 [2023-11-07T00:09:22.211Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-07T00:09:22.211Z] 292e38bfd0b8: Preparing [2023-11-07T00:09:22.211Z] 481d2db98829: Preparing [2023-11-07T00:09:22.211Z] 0b58b2ffb029: Preparing [2023-11-07T00:09:22.211Z] 510f535eb4bb: Preparing [2023-11-07T00:09:22.211Z] 5f4d9fc4d98d: Preparing [2023-11-07T00:09:22.211Z] 292e38bfd0b8: Layer already exists [2023-11-07T00:09:22.211Z] 0b58b2ffb029: Layer already exists [2023-11-07T00:09:22.211Z] 5f4d9fc4d98d: Layer already exists [2023-11-07T00:09:22.211Z] 481d2db98829: Layer already exists [2023-11-07T00:09:22.211Z] 510f535eb4bb: Layer already exists [2023-11-07T00:09:22.211Z] 3.1.0-dev.22: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:22.838Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:25.757Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [2023-11-07T00:09:25.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-07T00:09:25.757Z] 292e38bfd0b8: Preparing [2023-11-07T00:09:25.757Z] 481d2db98829: Preparing [2023-11-07T00:09:25.757Z] 0b58b2ffb029: Preparing [2023-11-07T00:09:25.757Z] 510f535eb4bb: Preparing [2023-11-07T00:09:25.757Z] 5f4d9fc4d98d: Preparing [2023-11-07T00:09:25.757Z] 481d2db98829: Layer already exists [2023-11-07T00:09:25.757Z] 510f535eb4bb: Layer already exists [2023-11-07T00:09:25.757Z] 292e38bfd0b8: Layer already exists [2023-11-07T00:09:25.757Z] 5f4d9fc4d98d: Layer already exists [2023-11-07T00:09:25.757Z] 0b58b2ffb029: Layer already exists [2023-11-07T00:09:26.023Z] daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:26.361Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:26.706Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-11-07T00:09:26.706Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-07T00:09:26.706Z] 292e38bfd0b8: Preparing [2023-11-07T00:09:26.706Z] 481d2db98829: Preparing [2023-11-07T00:09:26.706Z] 0b58b2ffb029: Preparing [2023-11-07T00:09:26.706Z] 510f535eb4bb: Preparing [2023-11-07T00:09:26.706Z] 5f4d9fc4d98d: Preparing [2023-11-07T00:09:26.706Z] 5f4d9fc4d98d: Layer already exists [2023-11-07T00:09:26.706Z] 0b58b2ffb029: Layer already exists [2023-11-07T00:09:26.706Z] 510f535eb4bb: Layer already exists [2023-11-07T00:09:26.706Z] 481d2db98829: Layer already exists [2023-11-07T00:09:26.706Z] 292e38bfd0b8: Layer already exists [2023-11-07T00:09:26.971Z] main: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-07T00:09:27.022Z] ===================================================== [Pipeline] echo [2023-11-07T00:09:27.032Z] taggedImages: [2023-11-07T00:09:27.032Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3 [2023-11-07T00:09:27.032Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-11-07T00:09:27.032Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.22 [2023-11-07T00:09:27.032Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [2023-11-07T00:09:27.032Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:27.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:09:27.386Z] [2023-11-07T00:09:27.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:27.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:09:27.714Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-07T00:09:27.714Z] 8998bd30e6a1: Pulling fs layer [2023-11-07T00:09:27.714Z] 04944245beec: Pulling fs layer [2023-11-07T00:09:27.714Z] 699f458cf7ca: Pulling fs layer [2023-11-07T00:09:27.714Z] 765212b225bb: Pulling fs layer [2023-11-07T00:09:27.714Z] f23df028b6ca: Pulling fs layer [2023-11-07T00:09:27.714Z] 765212b225bb: Waiting [2023-11-07T00:09:27.714Z] d65c8cfc05b1: Pulling fs layer [2023-11-07T00:09:27.714Z] f23df028b6ca: Waiting [2023-11-07T00:09:27.714Z] d65c8cfc05b1: Waiting [2023-11-07T00:09:27.714Z] 2437ff75d9bd: Pulling fs layer [2023-11-07T00:09:27.714Z] 2437ff75d9bd: Waiting [2023-11-07T00:09:27.982Z] 04944245beec: Verifying Checksum [2023-11-07T00:09:27.982Z] 04944245beec: Download complete [2023-11-07T00:09:27.982Z] 765212b225bb: Verifying Checksum [2023-11-07T00:09:27.982Z] 765212b225bb: Download complete [2023-11-07T00:09:27.982Z] f23df028b6ca: Verifying Checksum [2023-11-07T00:09:27.982Z] f23df028b6ca: Download complete [2023-11-07T00:09:27.982Z] d65c8cfc05b1: Verifying Checksum [2023-11-07T00:09:27.982Z] d65c8cfc05b1: Download complete [2023-11-07T00:09:28.251Z] 699f458cf7ca: Verifying Checksum [2023-11-07T00:09:28.251Z] 699f458cf7ca: Download complete [2023-11-07T00:09:28.518Z] 8998bd30e6a1: Verifying Checksum [2023-11-07T00:09:28.518Z] 8998bd30e6a1: Download complete [2023-11-07T00:09:31.100Z] 2437ff75d9bd: Verifying Checksum [2023-11-07T00:09:31.100Z] 2437ff75d9bd: Download complete [2023-11-07T00:09:33.046Z] 8998bd30e6a1: Pull complete [2023-11-07T00:09:33.315Z] 04944245beec: Pull complete [2023-11-07T00:09:34.727Z] 699f458cf7ca: Pull complete [2023-11-07T00:09:34.994Z] 765212b225bb: Pull complete [2023-11-07T00:09:35.950Z] f23df028b6ca: Pull complete [2023-11-07T00:09:40.206Z] d65c8cfc05b1: Pull complete [2023-11-07T00:09:55.197Z] 2437ff75d9bd: Pull complete [2023-11-07T00:09:55.197Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-07T00:09:55.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:09:55.197Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:09:55.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container [2023-11-07T00:09:55.469Z] $ 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/150 -v /w/workspace/device-mqtt-go/150:/w/workspace/device-mqtt-go/150:rw,z -v /w/workspace/device-mqtt-go/150@tmp:/w/workspace/device-mqtt-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-07T00:09:58.294Z] $ docker top 005ccf257117a244cfb612c2d61d408e2623aaa3b75fb45173a23712a9182901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:09:59.150Z] ---> job-cost.sh [2023-11-07T00:09:59.150Z] lf-activate-venv: SKIPPING [2023-11-07T00:09:59.150Z] INFO: No Stack... [2023-11-07T00:09:59.423Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-07T00:10:00.382Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:10:01.025Z] + cat /w/workspace/device-mqtt-go/150/archives/cost.csv [2023-11-07T00:10:01.025Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:10:01.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [2023-11-07T00:10:01.108Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] did not exist. Created. [2023-11-07T00:10:01.109Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:10:01.768Z] /w/workspace/device-mqtt-go/150@tmp/durable-51303122/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-07T00:10:02.422Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-07T00:10:02.446Z] Warning: overwriting stash ‘stack-cost’ [2023-11-07T00:10:02.495Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:10:02.502Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:10:02.518Z] $ docker stop --time=1 005ccf257117a244cfb612c2d61d408e2623aaa3b75fb45173a23712a9182901 [2023-11-07T00:10:04.094Z] $ docker rm -f --volumes 005ccf257117a244cfb612c2d61d408e2623aaa3b75fb45173a23712a9182901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-07T00:10:04.492Z] provisioning config files... [2023-11-07T00:10:04.502Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17018867500487595220tmp [Pipeline] { [Pipeline] sh [2023-11-07T00:10:04.796Z] + set +x [2023-11-07T00:10:04.796Z] + curl -s https://codecov.io/bash [2023-11-07T00:10:04.796Z] + bash -s -- [2023-11-07T00:10:04.796Z] [2023-11-07T00:10:04.796Z] _____ _ [2023-11-07T00:10:04.796Z] / ____| | | [2023-11-07T00:10:04.796Z] | | ___ __| | ___ ___ _____ __ [2023-11-07T00:10:04.796Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-07T00:10:04.796Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-07T00:10:04.796Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-07T00:10:04.796Z] Bash-1.0.6 [2023-11-07T00:10:04.796Z] [2023-11-07T00:10:04.796Z] [2023-11-07T00:10:04.796Z] ==> git version 2.25.1 found [2023-11-07T00:10:04.796Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-07T00:10:04.796Z] Release-Date: 2020-01-08 [2023-11-07T00:10:04.796Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-07T00:10:04.796Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-07T00:10:04.796Z] ==> Jenkins CI detected. [2023-11-07T00:10:04.796Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-11-07T00:10:04.796Z] project root: . [2023-11-07T00:10:04.796Z] --> token set from env [2023-11-07T00:10:04.796Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-07T00:10:04.796Z] ==> Running gcov in . (disable via -X gcov) [2023-11-07T00:10:04.796Z] ==> Python coveragepy not found [2023-11-07T00:10:04.796Z] ==> Searching for coverage reports in: [2023-11-07T00:10:04.796Z] + . [2023-11-07T00:10:05.055Z] -> Found 1 reports [2023-11-07T00:10:05.055Z] ==> Detecting git/mercurial file structure [2023-11-07T00:10:05.055Z] ==> Reading reports [2023-11-07T00:10:05.055Z] + ./coverage.out bytes=18506 [2023-11-07T00:10:05.055Z] ==> Appending adjustments [2023-11-07T00:10:05.055Z] https://docs.codecov.io/docs/fixing-reports [2023-11-07T00:10:05.055Z] + Found adjustments [2023-11-07T00:10:05.055Z] ==> Gzipping contents [2023-11-07T00:10:05.055Z] 4.0K /tmp/codecov.XI2cNB.gz [2023-11-07T00:10:05.055Z] ==> Uploading reports [2023-11-07T00:10:05.055Z] url: https://codecov.io [2023-11-07T00:10:05.055Z] query: branch=main&commit=daf9656040259007f9ff9da57e54fb024fb8fec3&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-07T00:10:05.055Z] -> Pinging Codecov [2023-11-07T00:10:05.055Z] 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=daf9656040259007f9ff9da57e54fb024fb8fec3&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-07T00:10:05.314Z] -> Uploading to [2023-11-07T00:10:05.314Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7D719EC7BBE17E464838252E33014C33/daf9656040259007f9ff9da57e54fb024fb8fec3/f0dfdafd-1ef5-4783-a7cf-ca9a61d78ca9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T001005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4648b85eecca229f3f19d279abe126f41292c8bcf5a32d3ed4612328044d830b [2023-11-07T00:10:05.314Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:10:05.314Z] Dload Upload Total Spent Left Speed [2023-11-07T00:10:05.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11209 --:--:-- --:--:-- --:--:-- 11209 [2023-11-07T00:10:05.572Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] } [2023-11-07T00:10:05.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-07T00:10:05.691Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-07T00:10:05.699Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:05.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T00:10:05.988Z] [2023-11-07T00:10:05.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:06.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T00:10:06.286Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-07T00:10:06.286Z] df9b9388f04a: Pulling fs layer [2023-11-07T00:10:06.286Z] 52dc419b0ee2: Pulling fs layer [2023-11-07T00:10:06.286Z] 25bc292e5bac: Pulling fs layer [2023-11-07T00:10:06.286Z] 114826534d7a: Pulling fs layer [2023-11-07T00:10:06.286Z] 4657fd5d0bcf: Pulling fs layer [2023-11-07T00:10:06.286Z] 6ad1cebc031e: Pulling fs layer [2023-11-07T00:10:06.286Z] 8a3aa393b2d8: Pulling fs layer [2023-11-07T00:10:06.286Z] 114826534d7a: Waiting [2023-11-07T00:10:06.286Z] 4657fd5d0bcf: Waiting [2023-11-07T00:10:06.286Z] 6ad1cebc031e: Waiting [2023-11-07T00:10:06.286Z] 8a3aa393b2d8: Waiting [2023-11-07T00:10:06.286Z] 25bc292e5bac: Verifying Checksum [2023-11-07T00:10:06.286Z] 25bc292e5bac: Download complete [2023-11-07T00:10:06.286Z] 52dc419b0ee2: Download complete [2023-11-07T00:10:06.286Z] 4657fd5d0bcf: Verifying Checksum [2023-11-07T00:10:06.286Z] 4657fd5d0bcf: Download complete [2023-11-07T00:10:06.286Z] df9b9388f04a: Download complete [2023-11-07T00:10:06.544Z] 6ad1cebc031e: Verifying Checksum [2023-11-07T00:10:06.544Z] 6ad1cebc031e: Download complete [2023-11-07T00:10:06.544Z] df9b9388f04a: Pull complete [2023-11-07T00:10:06.544Z] 52dc419b0ee2: Pull complete [2023-11-07T00:10:06.544Z] 25bc292e5bac: Pull complete [2023-11-07T00:10:07.111Z] 114826534d7a: Verifying Checksum [2023-11-07T00:10:07.111Z] 114826534d7a: Download complete [2023-11-07T00:10:07.370Z] 8a3aa393b2d8: Verifying Checksum [2023-11-07T00:10:07.370Z] 8a3aa393b2d8: Download complete [2023-11-07T00:10:10.665Z] 114826534d7a: Pull complete [2023-11-07T00:10:10.665Z] 4657fd5d0bcf: Pull complete [2023-11-07T00:10:10.924Z] 6ad1cebc031e: Pull complete [2023-11-07T00:10:13.460Z] 8a3aa393b2d8: Pull complete [2023-11-07T00:10:13.460Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-07T00:10:13.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-07T00:10:13.460Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:10:13.543Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:10:13.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-07T00:10:16.806Z] $ docker top 7f1bd477987ff4aa0c0fc91e0acb0635280fa5bd30b49b6cb7bf12bcc08428d5 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-07T00:10:16.866Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-11-07T00:10:17.144Z] + set -o pipefail [2023-11-07T00:10:17.144Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-11-07T00:10:22.411Z] [2023-11-07T00:10:22.411Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-11-07T00:10:22.411Z] [2023-11-07T00:10:22.411Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/d7a0f5fa-f73b-4ec8-bb21-3e2bba4779f6 [2023-11-07T00:10:22.411Z] [2023-11-07T00:10:22.411Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-07T00:10:22.411Z] [2023-11-07T00:10:22.670Z] [2023-11-07T00:10:22.670Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-07T00:10:22.670Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-07T00:10:22.670Z] More details here: https://snyk.co/ue1NS [2023-11-07T00:10:22.670Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-07T00:10:22.670Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-07T00:10:22.683Z] $ docker stop --time=1 7f1bd477987ff4aa0c0fc91e0acb0635280fa5bd30b49b6cb7bf12bcc08428d5 [2023-11-07T00:10:26.382Z] $ docker rm -f --volumes 7f1bd477987ff4aa0c0fc91e0acb0635280fa5bd30b49b6cb7bf12bcc08428d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:10:27.092Z] + git log --format=format:%s -1 daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] sh [2023-11-07T00:10:27.383Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:10:27.383Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:27.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:10:27.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:10:27.750Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:10:27.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-07T00:10:28.166Z] $ docker top f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a -eo pid,comm [2023-11-07T00:10:28.210Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-07T00:10:28.210Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:10:28.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:10:28.252Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:10:28.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:10:28.374Z] $ docker exec f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a ssh-agent [2023-11-07T00:10:28.475Z] SSH_AUTH_SOCK=/tmp/ssh-ghHhhLrXorWE/agent.32 [2023-11-07T00:10:28.475Z] SSH_AGENT_PID=38 [2023-11-07T00:10:28.480Z] Running ssh-add (command line suppressed) [2023-11-07T00:10:28.584Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8153441608751193710.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8153441608751193710.key) [2023-11-07T00:10:28.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:10:28.878Z] + git semver tag [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,093 [run_tag] DEBUG tag force:False [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,093 [check_head_tag] DEBUG check head tag [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,094 [execute] INFO git cat-file --batch-check [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,098 [execute] INFO git cat-file --batch [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,113 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,113 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:10:29.137Z] 2023-11-07 00:10:29,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:29.137Z] 3.1.0-dev.22 [Pipeline] } [2023-11-07T00:10:29.147Z] $ docker exec --env ******** --env ******** f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a ssh-agent -k [2023-11-07T00:10:29.247Z] unset SSH_AUTH_SOCK; [2023-11-07T00:10:29.247Z] unset SSH_AGENT_PID; [2023-11-07T00:10:29.247Z] echo Agent pid 38 killed; [2023-11-07T00:10:29.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:10:29.549Z] + git semver [Pipeline] } [2023-11-07T00:10:29.821Z] $ docker stop --time=1 f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a [2023-11-07T00:10:31.119Z] $ docker rm -f --volumes f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:31.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T00:10:31.492Z] [2023-11-07T00:10:31.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:31.786Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T00:10:31.786Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-07T00:10:31.786Z] ab5ef0e58194: Pulling fs layer [2023-11-07T00:10:31.786Z] 9712f1f96733: Pulling fs layer [2023-11-07T00:10:31.786Z] 63f879dbbcfc: Pulling fs layer [2023-11-07T00:10:31.786Z] 0d9ebad4ef96: Pulling fs layer [2023-11-07T00:10:31.786Z] e9a5061849ea: Pulling fs layer [2023-11-07T00:10:31.786Z] 0d9ebad4ef96: Waiting [2023-11-07T00:10:31.786Z] d747dcd14b5f: Pulling fs layer [2023-11-07T00:10:31.786Z] 2de7ff778b66: Pulling fs layer [2023-11-07T00:10:31.786Z] d747dcd14b5f: Waiting [2023-11-07T00:10:31.786Z] 2de7ff778b66: Waiting [2023-11-07T00:10:31.786Z] 9712f1f96733: Verifying Checksum [2023-11-07T00:10:31.786Z] 9712f1f96733: Download complete [2023-11-07T00:10:32.045Z] 63f879dbbcfc: Verifying Checksum [2023-11-07T00:10:32.045Z] 63f879dbbcfc: Download complete [2023-11-07T00:10:32.304Z] 0d9ebad4ef96: Verifying Checksum [2023-11-07T00:10:32.304Z] 0d9ebad4ef96: Download complete [2023-11-07T00:10:32.304Z] d747dcd14b5f: Verifying Checksum [2023-11-07T00:10:32.304Z] d747dcd14b5f: Download complete [2023-11-07T00:10:32.304Z] ab5ef0e58194: Download complete [2023-11-07T00:10:32.304Z] e9a5061849ea: Verifying Checksum [2023-11-07T00:10:32.304Z] e9a5061849ea: Download complete [2023-11-07T00:10:32.562Z] 2de7ff778b66: Verifying Checksum [2023-11-07T00:10:32.562Z] 2de7ff778b66: Download complete [2023-11-07T00:10:35.091Z] ab5ef0e58194: Pull complete [2023-11-07T00:10:35.091Z] 9712f1f96733: Pull complete [2023-11-07T00:10:35.656Z] 63f879dbbcfc: Pull complete [2023-11-07T00:10:38.938Z] 0d9ebad4ef96: Pull complete [2023-11-07T00:10:38.938Z] e9a5061849ea: Pull complete [2023-11-07T00:10:39.196Z] d747dcd14b5f: Pull complete [2023-11-07T00:10:40.130Z] 2de7ff778b66: Pull complete [2023-11-07T00:10:40.130Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-07T00:10:40.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-07T00:10:40.130Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:10:40.212Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:10:40.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-07T00:10:44.517Z] $ docker top e2dadba3296844a411297ad2d8a23c13bf55ae5a7333203319e5d25e0b91175b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:10:44.583Z] provisioning config files... [2023-11-07T00:10:44.590Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2055588135714241133tmp [2023-11-07T00:10:44.602Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config274424971413908460tmp [2023-11-07T00:10:44.611Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10496373602550494442tmp [Pipeline] { [Pipeline] echo [2023-11-07T00:10:44.624Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:10:44.908Z] ---> sigul-configuration.sh [2023-11-07T00:10:44.908Z] gpg: directory `/root/.gnupg' created [2023-11-07T00:10:44.908Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-07T00:10:44.908Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-07T00:10:44.908Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-07T00:10:44.908Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-07T00:10:44.908Z] gpg: CAST5 encrypted data [2023-11-07T00:10:44.908Z] gpg: encrypted with 1 passphrase [2023-11-07T00:10:44.908Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-07T00:10:45.192Z] + mkdir /home/jenkins [2023-11-07T00:10:45.192Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-07T00:10:45.478Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-07T00:10:45.486Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:10:45.770Z] ---> sigul-install.sh [2023-11-07T00:10:45.770Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-07T00:10:46.054Z] + git tag --list [2023-11-07T00:10:46.054Z] 0.7.1 [2023-11-07T00:10:46.054Z] v1.0.0 [2023-11-07T00:10:46.054Z] v1.1.0 [2023-11-07T00:10:46.055Z] v1.1.1 [2023-11-07T00:10:46.055Z] v1.2.2 [2023-11-07T00:10:46.055Z] v1.3.0 [2023-11-07T00:10:46.055Z] v1.3.1 [2023-11-07T00:10:46.055Z] v2.0.0 [2023-11-07T00:10:46.055Z] v2.1.0 [2023-11-07T00:10:46.055Z] v2.1.1 [2023-11-07T00:10:46.055Z] v2.2.0 [2023-11-07T00:10:46.055Z] v2.3.0 [2023-11-07T00:10:46.055Z] v3.0 [2023-11-07T00:10:46.055Z] v3.0.0 [2023-11-07T00:10:46.055Z] v3.1.0-dev.1 [2023-11-07T00:10:46.055Z] v3.1.0-dev.10 [2023-11-07T00:10:46.055Z] v3.1.0-dev.11 [2023-11-07T00:10:46.055Z] v3.1.0-dev.12 [2023-11-07T00:10:46.055Z] v3.1.0-dev.13 [2023-11-07T00:10:46.055Z] v3.1.0-dev.14 [2023-11-07T00:10:46.055Z] v3.1.0-dev.15 [2023-11-07T00:10:46.055Z] v3.1.0-dev.16 [2023-11-07T00:10:46.055Z] v3.1.0-dev.17 [2023-11-07T00:10:46.055Z] v3.1.0-dev.18 [2023-11-07T00:10:46.055Z] v3.1.0-dev.19 [2023-11-07T00:10:46.055Z] v3.1.0-dev.2 [2023-11-07T00:10:46.055Z] v3.1.0-dev.20 [2023-11-07T00:10:46.055Z] v3.1.0-dev.21 [2023-11-07T00:10:46.055Z] v3.1.0-dev.22 [2023-11-07T00:10:46.055Z] v3.1.0-dev.3 [2023-11-07T00:10:46.055Z] v3.1.0-dev.4 [2023-11-07T00:10:46.055Z] v3.1.0-dev.5 [2023-11-07T00:10:46.055Z] v3.1.0-dev.6 [2023-11-07T00:10:46.055Z] v3.1.0-dev.7 [2023-11-07T00:10:46.055Z] v3.1.0-dev.8 [2023-11-07T00:10:46.055Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-07T00:10:46.339Z] + lftools sign git-tag v3.1.0-dev.22 [2023-11-07T00:10:46.907Z] Signing Git tag with Sigul... [2023-11-07T00:10:46.907Z] Signing v3.1.0-dev.22 [Pipeline] echo [2023-11-07T00:10:47.176Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:10:47.454Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-07T00:10:47.461Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-07T00:10:47.482Z] $ docker stop --time=1 e2dadba3296844a411297ad2d8a23c13bf55ae5a7333203319e5d25e0b91175b [2023-11-07T00:10:48.749Z] $ docker rm -f --volumes e2dadba3296844a411297ad2d8a23c13bf55ae5a7333203319e5d25e0b91175b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-07T00:10:49.164Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:10:49.164Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:49.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:10:49.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:10:49.529Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:10:49.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-07T00:10:49.938Z] $ docker top 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 -eo pid,comm [2023-11-07T00:10:49.978Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-07T00:10:49.978Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:10:50.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:10:50.018Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:10:50.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:10:50.154Z] $ docker exec 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 ssh-agent [2023-11-07T00:10:50.259Z] SSH_AUTH_SOCK=/tmp/ssh-lRctVNtjZNX4/agent.32 [2023-11-07T00:10:50.259Z] SSH_AGENT_PID=38 [2023-11-07T00:10:50.264Z] Running ssh-add (command line suppressed) [2023-11-07T00:10:50.368Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6338511588793822874.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6338511588793822874.key) [2023-11-07T00:10:50.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:10:50.664Z] + git semver bump pre [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,853 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,853 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,853 [bump_version] DEBUG bumped version:3.1.0-dev.23 [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,853 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,853 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,853 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,856 [execute] INFO git cat-file --batch-check [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,862 [execute] INFO git cat-file --batch [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:50.923Z] 2023-11-07 00:10:50,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:50.923Z] 3.1.0-dev.23 [Pipeline] } [2023-11-07T00:10:50.935Z] $ docker exec --env ******** --env ******** 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 ssh-agent -k [2023-11-07T00:10:51.030Z] unset SSH_AUTH_SOCK; [2023-11-07T00:10:51.030Z] unset SSH_AGENT_PID; [2023-11-07T00:10:51.030Z] echo Agent pid 38 killed; [2023-11-07T00:10:51.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:10:51.341Z] + git semver [Pipeline] } [2023-11-07T00:10:51.615Z] $ docker stop --time=1 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 [2023-11-07T00:10:52.922Z] $ docker rm -f --volumes 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:10:53.252Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:10:53.252Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:53.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:10:53.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:10:53.619Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:10:53.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-07T00:10:53.989Z] $ docker top e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 -eo pid,comm [2023-11-07T00:10:54.037Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-07T00:10:54.037Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:10:54.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:10:54.072Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:10:54.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:10:54.196Z] $ docker exec e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 ssh-agent [2023-11-07T00:10:54.317Z] SSH_AUTH_SOCK=/tmp/ssh-MmzevZYg140r/agent.32 [2023-11-07T00:10:54.317Z] SSH_AGENT_PID=38 [2023-11-07T00:10:54.323Z] Running ssh-add (command line suppressed) [2023-11-07T00:10:54.428Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15609051145357170629.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15609051145357170629.key) [2023-11-07T00:10:54.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:10:54.724Z] + git semver push [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,937 [run_push] DEBUG push [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,938 [execute] INFO git cat-file --batch-check [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,943 [execute] INFO git rev-list ac6bc17c42ccd03d9c52e791d5d3ce28054a2205 -- [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,943 [execute] DEBUG Popen(['git', 'rev-list', 'ac6bc17c42ccd03d9c52e791d5d3ce28054a2205', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,955 [execute] INFO git fetch -v origin [2023-11-07T00:10:54.981Z] 2023-11-07 00:10:54,955 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-07T00:10:55.553Z] 2023-11-07 00:10:55,501 [run_push] DEBUG no remote changes detected [2023-11-07T00:10:55.553Z] 2023-11-07 00:10:55,501 [execute] INFO git push origin semver [2023-11-07T00:10:55.553Z] 2023-11-07 00:10:55,501 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:10:56.495Z] 2023-11-07 00:10:56,287 [run_push] DEBUG push all version tags [2023-11-07T00:10:56.495Z] 2023-11-07 00:10:56,287 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-07T00:10:56.495Z] 2023-11-07 00:10:56,288 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:10:57.064Z] 2023-11-07 00:10:57,065 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-11-07T00:10:57.064Z] 3.1.0-dev.23 [Pipeline] } [2023-11-07T00:10:57.335Z] $ docker exec --env ******** --env ******** e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 ssh-agent -k [2023-11-07T00:10:57.431Z] unset SSH_AUTH_SOCK; [2023-11-07T00:10:57.431Z] unset SSH_AGENT_PID; [2023-11-07T00:10:57.431Z] echo Agent pid 38 killed; [2023-11-07T00:10:57.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:10:57.760Z] + git semver [Pipeline] } [2023-11-07T00:10:58.036Z] $ docker stop --time=1 e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 [2023-11-07T00:10:59.330Z] $ docker rm -f --volumes e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-07T00:10:59.870Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-11-07T00:10:59.870Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-11-07T00:10:59.870Z] total 16 [2023-11-07T00:10:59.870Z] drwxr-xr-x 3 root root 4096 Nov 7 00:00 . [2023-11-07T00:10:59.870Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:10 .. [2023-11-07T00:10:59.870Z] drwxr-xr-x 2 root root 4096 Nov 7 00:00 cost [2023-11-07T00:10:59.870Z] -rw-r--r-- 1 root root 86 Nov 7 00:00 cost.csv [2023-11-07T00:10:59.870Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-11-07T00:10:59.870Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-11-07T00:10:59.870Z] total 16 [2023-11-07T00:10:59.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:00 . [2023-11-07T00:10:59.870Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:10 .. [2023-11-07T00:10:59.870Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:00 cost [2023-11-07T00:10:59.870Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 00:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:00.164Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:01.023Z] ---> package-listing.sh [2023-11-07T00:11:01.024Z] ++ facter osfamily [2023-11-07T00:11:01.024Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-07T00:11:01.284Z] + OS_FAMILY=debian [2023-11-07T00:11:01.284Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-11-07T00:11:01.284Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-07T00:11:01.284Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-07T00:11:01.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-07T00:11:01.284Z] + PACKAGES=/tmp/packages_start.txt [2023-11-07T00:11:01.284Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-11-07T00:11:01.284Z] + PACKAGES=/tmp/packages_end.txt [2023-11-07T00:11:01.284Z] + case "${OS_FAMILY}" in [2023-11-07T00:11:01.284Z] + dpkg -l [2023-11-07T00:11:01.284Z] + grep '^ii' [2023-11-07T00:11:01.284Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-07T00:11:01.284Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-07T00:11:01.284Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-07T00:11:01.284Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-11-07T00:11:01.284Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-11-07T00:11:01.284Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-11-07T00:11:01.295Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-07T00:11:01.571Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:11:02.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:11:02.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:11:02.244Z] prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container [2023-11-07T00:11:02.293Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-07T00:11:02.520Z] $ docker top c33d22f6e74746621885b789d7684c57b3826fb8ebb74fcdfa7151a23843cb86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:11:02.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-07T00:11:03.179Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-07T00:11:03.466Z] + ls /var/log/sa-host [2023-11-07T00:11:03.466Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:11:03.532Z] provisioning config files... [2023-11-07T00:11:03.540Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2917022433535578738tmp [Pipeline] { [Pipeline] echo [2023-11-07T00:11:03.627Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:03.922Z] ---> create-netrc.sh [Pipeline] } [2023-11-07T00:11:03.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:04.258Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-07T00:11:04.265Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:04.549Z] ---> sudo-logs.sh [2023-11-07T00:11:04.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-07T00:11:04.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:04.867Z] ---> job-cost.sh [2023-11-07T00:11:04.867Z] lf-activate-venv: SKIPPING [2023-11-07T00:11:04.867Z] DEBUG: total: 0.2199999988079071 [2023-11-07T00:11:04.867Z] INFO: Retrieving Stack Cost... [2023-11-07T00:11:05.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:11:05.695Z] INFO: Archiving Costs [Pipeline] echo [2023-11-07T00:11:05.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:11:05.988Z] ---> logs-deploy.sh [2023-11-07T00:11:05.988Z] lf-activate-venv: SKIPPING [2023-11-07T00:11:05.988Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/150 [2023-11-07T00:11:05.988Z] INFO: archiving workspace using pattern(s): [2023-11-07T00:11:06.925Z] Archives upload complete. [2023-11-07T00:11:07.183Z] INFO: archiving logs to Nexus