Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e591e9dcfdb189d130fee98849b2bbe259068cfa 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-ssh17593130046446800020.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9392543907070563483.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4064607312959405078.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6456950077505242567.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-ssh7646198124407954779.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18480 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 e591e9dcfdb189d130fee98849b2bbe259068cfa (main) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 (#600)" > 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 e591e9dcfdb189d130fee98849b2bbe259068cfa # timeout=10 > git rev-list --no-walk 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T18:09:40.392Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T18:09:40.461Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T18:09:40.484Z] ========================================================= [2023-06-12T18:09:40.484Z] EdgeX Global Pipelines Version Info [2023-06-12T18:09:40.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:41.192Z] ------------------- [2023-06-12T18:09:41.192Z] stable info: [2023-06-12T18:09:41.192Z] ------------------- [2023-06-12T18:09:41.192Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T18:09:41.192Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T18:09:41.192Z] Message: update stable to v1.0.250 [2023-06-12T18:09:41.763Z] ------------------- [2023-06-12T18:09:41.763Z] experimental info: [2023-06-12T18:09:41.763Z] ------------------- [2023-06-12T18:09:41.763Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T18:09:41.763Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T18:09:41.763Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T18:09:41.929Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-06-12T18:09:41.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-06-12T18:09:41.956Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T18:09:41.971Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T18:09:41.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T18:09:42.000Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T18:09:42.017Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T18:09:42.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-12T18:09:42.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T18:09:42.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T18:09:42.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T18:09:42.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-06-12T18:09:42.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T18:09:42.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T18:09:42.134Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T18:09:42.153Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T18:09:42.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T18:09:42.185Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T18:09:42.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T18:09:42.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T18:09:42.236Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-12T18:09:42.261Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-12T18:09:42.277Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T18:09:42.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T18:09:42.305Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T18:09:42.323Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T18:09:42.340Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T18:09:42.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-06-12T18:09:42.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-06-12T18:09:42.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-06-12T18:09:42.398Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] echo [2023-06-12T18:09:42.411Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e591e9d [Pipeline] echo [2023-06-12T18:09:42.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:09:42.466Z] provisioning config files... [2023-06-12T18:09:42.480Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12465656118553409462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:42.779Z] ---> docker-login.sh [2023-06-12T18:09:42.779Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:09:43.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:43.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:43.040Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:43.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:43.040Z] [2023-06-12T18:09:43.040Z] Login Succeeded [2023-06-12T18:09:43.040Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:09:43.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:43.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:43.040Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:43.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:43.040Z] [2023-06-12T18:09:43.299Z] Login Succeeded [2023-06-12T18:09:43.299Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:09:43.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:43.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:43.299Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:43.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:43.299Z] [2023-06-12T18:09:43.299Z] Login Succeeded [2023-06-12T18:09:43.299Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:09:43.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:43.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:43.299Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:43.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:43.299Z] [2023-06-12T18:09:43.299Z] Login Succeeded [2023-06-12T18:09:43.299Z] docker.io [2023-06-12T18:09:43.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:43.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:43.560Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:43.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:43.560Z] [2023-06-12T18:09:43.560Z] Login Succeeded [2023-06-12T18:09:43.560Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:09:43.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T18:09:43.960Z] + git rev-list -1 --merges e591e9dcfdb189d130fee98849b2bbe259068cfa~1..e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] echo [2023-06-12T18:09:44.023Z] -----------> git rev-list -1 --merges e591e9dcfdb189d130fee98849b2bbe259068cfa~1..e591e9dcfdb189d130fee98849b2bbe259068cfa e591e9dcfdb189d130fee98849b2bbe259068cfa [false] [Pipeline] sh [2023-06-12T18:09:44.315Z] + git log --format=format:%s -1 e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] echo [2023-06-12T18:09:44.332Z] ========================================================= [2023-06-12T18:09:44.332Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T18:09:44.332Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:09:44.652Z] + git log --format=format:%s -1 e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] echo [2023-06-12T18:09:44.664Z] [semverPrep] GIT_COMMIT: e591e9dcfdb189d130fee98849b2bbe259068cfa, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 (#600) [Pipeline] echo [2023-06-12T18:09:44.673Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T18:09:45.022Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:09:45.022Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T18:09:45.022Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T18:09:45.022Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T18:09:45.022Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-12T18:09:45.022Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-12T18:09:45.022Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:45.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:45.386Z] [2023-06-12T18:09:45.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:45.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:45.685Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T18:09:45.685Z] b85a868b505f: Pulling fs layer [2023-06-12T18:09:45.685Z] e2be974225ed: Pulling fs layer [2023-06-12T18:09:45.685Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T18:09:45.685Z] 988bab9f4d93: Pulling fs layer [2023-06-12T18:09:45.685Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T18:09:45.685Z] eaf3925da568: Pulling fs layer [2023-06-12T18:09:45.685Z] bab4dde63d76: Pulling fs layer [2023-06-12T18:09:45.685Z] bde34c3a00c8: Pulling fs layer [2023-06-12T18:09:45.685Z] b352a97aabf1: Pulling fs layer [2023-06-12T18:09:45.685Z] 4872d77fe225: Pulling fs layer [2023-06-12T18:09:45.685Z] 5851b861e8e6: Pulling fs layer [2023-06-12T18:09:45.685Z] 1469e6f7b9e6: Waiting [2023-06-12T18:09:45.685Z] eaf3925da568: Waiting [2023-06-12T18:09:45.685Z] bab4dde63d76: Waiting [2023-06-12T18:09:45.685Z] bde34c3a00c8: Waiting [2023-06-12T18:09:45.685Z] b352a97aabf1: Waiting [2023-06-12T18:09:45.685Z] 4872d77fe225: Waiting [2023-06-12T18:09:45.685Z] 5851b861e8e6: Waiting [2023-06-12T18:09:45.685Z] 988bab9f4d93: Waiting [2023-06-12T18:09:45.685Z] e2be974225ed: Download complete [2023-06-12T18:09:45.685Z] 988bab9f4d93: Verifying Checksum [2023-06-12T18:09:45.685Z] 988bab9f4d93: Download complete [2023-06-12T18:09:45.685Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T18:09:45.685Z] 1469e6f7b9e6: Download complete [2023-06-12T18:09:45.944Z] eaf3925da568: Verifying Checksum [2023-06-12T18:09:45.944Z] eaf3925da568: Download complete [2023-06-12T18:09:45.944Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T18:09:45.944Z] 339a4e72a1f5: Download complete [2023-06-12T18:09:45.944Z] bde34c3a00c8: Download complete [2023-06-12T18:09:45.944Z] b352a97aabf1: Download complete [2023-06-12T18:09:45.944Z] 4872d77fe225: Verifying Checksum [2023-06-12T18:09:45.944Z] 4872d77fe225: Download complete [2023-06-12T18:09:45.944Z] 5851b861e8e6: Verifying Checksum [2023-06-12T18:09:45.944Z] 5851b861e8e6: Download complete [2023-06-12T18:09:45.944Z] b85a868b505f: Verifying Checksum [2023-06-12T18:09:45.944Z] b85a868b505f: Download complete [2023-06-12T18:09:46.202Z] bab4dde63d76: Verifying Checksum [2023-06-12T18:09:46.202Z] bab4dde63d76: Download complete [2023-06-12T18:09:47.140Z] b85a868b505f: Pull complete [2023-06-12T18:09:47.140Z] e2be974225ed: Pull complete [2023-06-12T18:09:47.711Z] 339a4e72a1f5: Pull complete [2023-06-12T18:09:47.973Z] 988bab9f4d93: Pull complete [2023-06-12T18:09:48.232Z] 1469e6f7b9e6: Pull complete [2023-06-12T18:09:48.232Z] eaf3925da568: Pull complete [2023-06-12T18:09:50.140Z] bab4dde63d76: Pull complete [2023-06-12T18:09:50.140Z] bde34c3a00c8: Pull complete [2023-06-12T18:09:50.140Z] b352a97aabf1: Pull complete [2023-06-12T18:09:50.140Z] 4872d77fe225: Pull complete [2023-06-12T18:09:50.140Z] 5851b861e8e6: Pull complete [2023-06-12T18:09:50.140Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T18:09:50.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:50.140Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:09:50.237Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:09:50.280Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:09:52.798Z] $ docker top 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 -eo pid,comm [2023-06-12T18:09:52.850Z] 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-06-12T18:09:52.850Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:09:52.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:09:52.890Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:09:53.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:09:53.020Z] $ docker exec 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 ssh-agent [2023-06-12T18:09:53.117Z] SSH_AUTH_SOCK=/tmp/ssh-alXh1SpukOka/agent.31 [2023-06-12T18:09:53.117Z] SSH_AGENT_PID=37 [2023-06-12T18:09:53.124Z] Running ssh-add (command line suppressed) [2023-06-12T18:09:53.234Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14851222291548926807.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14851222291548926807.key) [2023-06-12T18:09:53.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:09:53.527Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T18:09:53.541Z] $ docker exec --env ******** --env ******** 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 ssh-agent -k [2023-06-12T18:09:53.633Z] unset SSH_AUTH_SOCK; [2023-06-12T18:09:53.633Z] unset SSH_AGENT_PID; [2023-06-12T18:09:53.633Z] echo Agent pid 37 killed; [2023-06-12T18:09:53.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T18:09:53.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:09:53.665Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:09:53.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:09:53.784Z] $ docker exec 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 ssh-agent [2023-06-12T18:09:53.890Z] SSH_AUTH_SOCK=/tmp/ssh-Ld2wgp4PjCvO/agent.69 [2023-06-12T18:09:53.890Z] SSH_AGENT_PID=75 [2023-06-12T18:09:53.895Z] Running ssh-add (command line suppressed) [2023-06-12T18:09:54.006Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13416751369037332194.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13416751369037332194.key) [2023-06-12T18:09:54.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:09:54.296Z] + git semver init [2023-06-12T18:09:54.556Z] 2023-06-12 18:09:54,468 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T18:09:54.556Z] 2023-06-12 18:09:54,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-06-12T18:09:54.556Z] 2023-06-12 18:09:54,469 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-06-12T18:09:54.556Z] 2023-06-12 18:09:54,469 [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-06-12T18:09:55.491Z] 2023-06-12 18:09:55,203 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-06-12T18:09:55.491Z] 2023-06-12 18:09:55,204 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-06-12T18:09:55.491Z] 2023-06-12 18:09:55,204 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:09:55.491Z] 2023-06-12 18:09:55,204 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:09:55.491Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:09:55.505Z] $ docker exec --env ******** --env ******** 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 ssh-agent -k [2023-06-12T18:09:55.594Z] unset SSH_AUTH_SOCK; [2023-06-12T18:09:55.595Z] unset SSH_AGENT_PID; [2023-06-12T18:09:55.596Z] echo Agent pid 75 killed; [2023-06-12T18:09:55.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:09:55.909Z] + git semver [Pipeline] } [2023-06-12T18:09:56.186Z] $ docker stop --time=1 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 [2023-06-12T18:09:57.459Z] $ docker rm -f --volumes 678e2e541a254e6f5013074e53db4c4a813975e0cd8ab2458c5eab77a7c00ed4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:09:57.784Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T18:09:57.980Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T18:09:57.984Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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-06-12T18:09:58.150Z] provisioning config files... [2023-06-12T18:09:58.159Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12814867626094717481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:58.465Z] ---> docker-login.sh [2023-06-12T18:09:58.466Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:09:58.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:58.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:58.466Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:58.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:58.466Z] [2023-06-12T18:09:58.466Z] Login Succeeded [2023-06-12T18:09:58.466Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:09:58.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:58.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:58.466Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:58.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:58.466Z] [2023-06-12T18:09:58.466Z] Login Succeeded [2023-06-12T18:09:58.466Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:09:58.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:58.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:58.725Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:58.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:58.725Z] [2023-06-12T18:09:58.725Z] Login Succeeded [2023-06-12T18:09:58.725Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:09:58.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:58.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:58.725Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:58.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:58.725Z] [2023-06-12T18:09:58.725Z] Login Succeeded [2023-06-12T18:09:58.725Z] docker.io [2023-06-12T18:09:58.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:58.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:58.984Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:58.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:58.984Z] [2023-06-12T18:09:58.984Z] Login Succeeded [2023-06-12T18:09:58.984Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:09:58.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T18:09:59.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:09:59.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:09:59.072Z] ========================================================= [2023-06-12T18:09:59.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T18:09:59.072Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:59.384Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-12T18:09:59.384Z] Sending build context to Docker daemon 6.413MB [2023-06-12T18:09:59.384Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:09:59.384Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T18:09:59.384Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T18:09:59.384Z] f56be85fc22e: Pulling fs layer [2023-06-12T18:09:59.384Z] 85791d961cd3: Pulling fs layer [2023-06-12T18:09:59.384Z] d694b5ae8c79: Pulling fs layer [2023-06-12T18:09:59.384Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T18:09:59.384Z] 4d19c01a9841: Pulling fs layer [2023-06-12T18:09:59.384Z] 9325e15d5711: Pulling fs layer [2023-06-12T18:09:59.384Z] 556b6ee489ea: Pulling fs layer [2023-06-12T18:09:59.384Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T18:09:59.384Z] 9f32a84ed3da: Waiting [2023-06-12T18:09:59.384Z] 4d19c01a9841: Waiting [2023-06-12T18:09:59.385Z] 9325e15d5711: Waiting [2023-06-12T18:09:59.385Z] 556b6ee489ea: Waiting [2023-06-12T18:09:59.385Z] c5a4b2cf53e6: Waiting [2023-06-12T18:09:59.385Z] 85791d961cd3: Download complete [2023-06-12T18:09:59.385Z] 9f32a84ed3da: Verifying Checksum [2023-06-12T18:09:59.385Z] 9f32a84ed3da: Download complete [2023-06-12T18:09:59.385Z] 4d19c01a9841: Verifying Checksum [2023-06-12T18:09:59.385Z] 4d19c01a9841: Download complete [2023-06-12T18:09:59.644Z] f56be85fc22e: Verifying Checksum [2023-06-12T18:09:59.644Z] f56be85fc22e: Download complete [2023-06-12T18:09:59.644Z] 9325e15d5711: Verifying Checksum [2023-06-12T18:09:59.644Z] 9325e15d5711: Download complete [2023-06-12T18:09:59.644Z] f56be85fc22e: Pull complete [2023-06-12T18:09:59.919Z] 85791d961cd3: Pull complete [2023-06-12T18:10:00.206Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T18:10:00.206Z] c5a4b2cf53e6: Download complete [2023-06-12T18:10:00.206Z] d694b5ae8c79: Download complete [2023-06-12T18:10:00.465Z] 556b6ee489ea: Verifying Checksum [2023-06-12T18:10:00.465Z] 556b6ee489ea: Download complete [2023-06-12T18:10:03.750Z] d694b5ae8c79: Pull complete [2023-06-12T18:10:03.750Z] 9f32a84ed3da: Pull complete [2023-06-12T18:10:03.750Z] 4d19c01a9841: Pull complete [2023-06-12T18:10:03.750Z] 9325e15d5711: Pull complete [2023-06-12T18:10:06.277Z] 556b6ee489ea: Pull complete [2023-06-12T18:10:07.211Z] c5a4b2cf53e6: Pull complete [2023-06-12T18:10:07.211Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T18:10:07.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T18:10:07.211Z] ---> c4be618373d6 [2023-06-12T18:10:07.211Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:10:11.404Z] ---> Running in 1ba5853b4ec9 [2023-06-12T18:10:11.404Z] Removing intermediate container 1ba5853b4ec9 [2023-06-12T18:10:11.404Z] ---> 7323a675ec0b [2023-06-12T18:10:11.404Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:10:11.668Z] ---> Running in 63ae3ddf4bb6 [2023-06-12T18:10:11.668Z] Removing intermediate container 63ae3ddf4bb6 [2023-06-12T18:10:11.668Z] ---> 5517b4b211d5 [2023-06-12T18:10:11.668Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:10:11.668Z] ---> Running in 8fb5479e0a97 [2023-06-12T18:10:11.668Z] Removing intermediate container 8fb5479e0a97 [2023-06-12T18:10:11.668Z] ---> 76819b37d8e7 [2023-06-12T18:10:11.668Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:10:11.668Z] ---> Running in 72ed1d5f59c9 [2023-06-12T18:10:11.926Z] Removing intermediate container 72ed1d5f59c9 [2023-06-12T18:10:11.926Z] ---> 0371aa0426d8 [2023-06-12T18:10:11.926Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:10:11.926Z] ---> Running in 6ee1f828f3b0 [2023-06-12T18:10:12.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:10:12.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:10:12.447Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T18:10:12.447Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T18:10:12.447Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T18:10:12.447Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T18:10:12.447Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:10:12.447Z] OK: 269 MiB in 57 packages [2023-06-12T18:10:13.014Z] Removing intermediate container 6ee1f828f3b0 [2023-06-12T18:10:13.014Z] ---> 482ba9e8a4a2 [2023-06-12T18:10:13.014Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-06-12T18:10:13.014Z] ---> Running in 744b2f02df09 [2023-06-12T18:10:13.104Z] Still waiting to schedule task [2023-06-12T18:10:13.104Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-12T18:10:13.273Z] Removing intermediate container 744b2f02df09 [2023-06-12T18:10:13.273Z] ---> 72fe7674b06f [2023-06-12T18:10:13.273Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T18:10:13.273Z] ---> 25f58f2f2a5e [2023-06-12T18:10:13.273Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:10:13.273Z] ---> Running in c7f5853c9e36 [2023-06-12T18:10:39.828Z] Removing intermediate container c7f5853c9e36 [2023-06-12T18:10:39.828Z] ---> 018426a78713 [2023-06-12T18:10:39.828Z] Step 11/12 : COPY . . [2023-06-12T18:10:39.828Z] ---> c427456454aa [2023-06-12T18:10:39.828Z] Step 12/12 : RUN $MAKE [2023-06-12T18:10:39.828Z] ---> Running in f2995068fca0 [2023-06-12T18:10:39.828Z] noop [2023-06-12T18:10:39.828Z] Removing intermediate container f2995068fca0 [2023-06-12T18:10:39.828Z] ---> fcef7a4df307 [2023-06-12T18:10:39.828Z] Successfully built fcef7a4df307 [2023-06-12T18:10:39.828Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:40.138Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T18:10:40.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:10:40.211Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:10:40.242Z] $ 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 ******** ci-base-image-x86_64 cat [2023-06-12T18:10:40.580Z] $ docker top 5f5715884d4f8ff72977f230639238a55cd2a605b32a638a7650cbb0dccafa99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:10:40.914Z] + go version [2023-06-12T18:10:40.914Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T18:10:40.927Z] $ docker stop --time=1 5f5715884d4f8ff72977f230639238a55cd2a605b32a638a7650cbb0dccafa99 [2023-06-12T18:10:42.209Z] $ docker rm -f --volumes 5f5715884d4f8ff72977f230639238a55cd2a605b32a638a7650cbb0dccafa99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:42.614Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T18:10:42.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:10:42.683Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:10:42.714Z] $ 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 ******** ci-base-image-x86_64 cat [2023-06-12T18:10:43.032Z] $ docker top f276f8cf5047a2195ab6aaef1519d037ec4cb8153b01fd0c2ae8be81d4696402 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:10:43.372Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-06-12T18:10:43.666Z] + make test [2023-06-12T18:10:43.666Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T18:10:48.934Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-06-12T18:10:58.912Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-06-12T18:10:58.913Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-06-12T18:10:58.913Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-06-12T18:11:05.461Z] go vet ./... [2023-06-12T18:11:07.990Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:11:07.990Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:11:07.990Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:11:08.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:11:08.015Z] $ docker stop --time=1 f276f8cf5047a2195ab6aaef1519d037ec4cb8153b01fd0c2ae8be81d4696402 [2023-06-12T18:11:11.077Z] $ docker rm -f --volumes f276f8cf5047a2195ab6aaef1519d037ec4cb8153b01fd0c2ae8be81d4696402 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:11:11.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:11:11.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T18:11:12.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:11:12.330Z] + ls -al . [2023-06-12T18:11:12.330Z] total 184 [2023-06-12T18:11:12.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:10 . [2023-06-12T18:11:12.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:09 .. [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 18:09 .dockerignore [2023-06-12T18:11:12.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:09 .git [2023-06-12T18:11:12.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 .github [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:09 .gitignore [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:09 .golangci.yml [2023-06-12T18:11:12.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:09 .semver [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 18:09 Attribution.txt [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 18:09 CHANGELOG.md [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 18:09 Dockerfile [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:09 GOVERNANCE.md [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 18:09 Jenkinsfile [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:09 LICENSE [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 18:09 Makefile [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:09 OWNERS.md [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 18:09 README.md [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 18:09 VERSION [2023-06-12T18:11:12.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:09 bin [2023-06-12T18:11:12.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 cmd [2023-06-12T18:11:12.330Z] -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 18:10 coverage.out [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 18:09 go.mod [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:09 go.sum [2023-06-12T18:11:12.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 internal [2023-06-12T18:11:12.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:09 mock [2023-06-12T18:11:12.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:09 snap [2023-06-12T18:11:12.330Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 18:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:12.673Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e591e9dcfdb189d130fee98849b2bbe259068cfa --label arch=amd64 --label version=3.1.0-dev.2 . [2023-06-12T18:11:12.674Z] Sending build context to Docker daemon 6.433MB [2023-06-12T18:11:12.674Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:11:12.674Z] Step 2/24 : FROM ${BASE} AS builder [2023-06-12T18:11:12.674Z] ---> fcef7a4df307 [2023-06-12T18:11:12.674Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:11:12.933Z] ---> Running in 48c43c3d4cd9 [2023-06-12T18:11:12.933Z] Removing intermediate container 48c43c3d4cd9 [2023-06-12T18:11:12.933Z] ---> 1233a3231b1a [2023-06-12T18:11:12.933Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:11:12.933Z] ---> Running in a35e131daeb6 [2023-06-12T18:11:12.933Z] Removing intermediate container a35e131daeb6 [2023-06-12T18:11:12.933Z] ---> cb2f12804e1f [2023-06-12T18:11:12.933Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:11:12.933Z] ---> Running in 027be52567d2 [2023-06-12T18:11:13.193Z] Removing intermediate container 027be52567d2 [2023-06-12T18:11:13.193Z] ---> 0dcc487c5a42 [2023-06-12T18:11:13.193Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:11:13.193Z] ---> Running in af9c7c6f06e2 [2023-06-12T18:11:13.193Z] Removing intermediate container af9c7c6f06e2 [2023-06-12T18:11:13.193Z] ---> da1f5b274526 [2023-06-12T18:11:13.193Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:11:13.193Z] ---> Running in c1d6b303918b [2023-06-12T18:11:13.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:11:13.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:11:13.713Z] OK: 269 MiB in 57 packages [2023-06-12T18:11:14.284Z] Removing intermediate container c1d6b303918b [2023-06-12T18:11:14.284Z] ---> 7747511748d7 [2023-06-12T18:11:14.284Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-06-12T18:11:14.284Z] ---> Running in fcee87d27bca [2023-06-12T18:11:14.284Z] Removing intermediate container fcee87d27bca [2023-06-12T18:11:14.284Z] ---> 94338a75ca64 [2023-06-12T18:11:14.284Z] Step 9/24 : COPY go.mod vendor* ./ [2023-06-12T18:11:14.284Z] ---> 121c9f99a6b6 [2023-06-12T18:11:14.284Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:11:14.542Z] ---> Running in 75ff7c14469c [2023-06-12T18:11:15.110Z] Removing intermediate container 75ff7c14469c [2023-06-12T18:11:15.110Z] ---> 8bebd0992222 [2023-06-12T18:11:15.110Z] Step 11/24 : COPY . . [2023-06-12T18:11:15.747Z] ---> d51bb97b2326 [2023-06-12T18:11:15.747Z] Step 12/24 : RUN $MAKE [2023-06-12T18:11:15.747Z] ---> Running in 7d7c80b64946 [2023-06-12T18:11:16.007Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-06-12T18:11:37.939Z] Removing intermediate container 7d7c80b64946 [2023-06-12T18:11:37.939Z] ---> 059f14980002 [2023-06-12T18:11:37.939Z] Step 13/24 : FROM alpine:3.17 [2023-06-12T18:11:37.939Z] 3.17: Pulling from library/alpine [2023-06-12T18:11:37.939Z] f56be85fc22e: Already exists [2023-06-12T18:11:37.939Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:11:37.939Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:11:37.939Z] ---> 9ed4aefc74f6 [2023-06-12T18:11:37.939Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-06-12T18:11:37.939Z] ---> Running in c71607a944de [2023-06-12T18:11:37.939Z] Removing intermediate container c71607a944de [2023-06-12T18:11:37.939Z] ---> 34a591a3e310 [2023-06-12T18:11:37.939Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:11:37.939Z] ---> Running in 007ba058aaf9 [2023-06-12T18:11:37.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:11:37.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:11:37.939Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:11:37.939Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:11:37.939Z] OK: 7 MiB in 16 packages [2023-06-12T18:11:37.939Z] Removing intermediate container 007ba058aaf9 [2023-06-12T18:11:37.939Z] ---> d5f6cf2b07ad [2023-06-12T18:11:37.939Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-06-12T18:11:37.939Z] ---> 145a7e58d00d [2023-06-12T18:11:37.939Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-06-12T18:11:38.199Z] ---> 76b4985c73fe [2023-06-12T18:11:38.199Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-06-12T18:11:38.199Z] ---> f390962c1ad2 [2023-06-12T18:11:38.199Z] Step 19/24 : EXPOSE 59982 [2023-06-12T18:11:38.199Z] ---> Running in 84afd8c37639 [2023-06-12T18:11:38.460Z] Removing intermediate container 84afd8c37639 [2023-06-12T18:11:38.460Z] ---> 6be9f1e81d8a [2023-06-12T18:11:38.460Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-06-12T18:11:38.460Z] ---> Running in f1cbf1832c6a [2023-06-12T18:11:38.460Z] Removing intermediate container f1cbf1832c6a [2023-06-12T18:11:38.460Z] ---> af93a3a2042d [2023-06-12T18:11:38.460Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:11:38.460Z] ---> Running in 95bc7ead7194 [2023-06-12T18:11:38.460Z] Removing intermediate container 95bc7ead7194 [2023-06-12T18:11:38.460Z] ---> 8ee13031fb97 [2023-06-12T18:11:38.460Z] Step 22/24 : LABEL arch=amd64 [2023-06-12T18:11:38.721Z] ---> Running in 6f6f95118986 [2023-06-12T18:11:38.721Z] Removing intermediate container 6f6f95118986 [2023-06-12T18:11:38.721Z] ---> 296eca93db7c [2023-06-12T18:11:38.721Z] Step 23/24 : LABEL git_sha=e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:11:38.721Z] ---> Running in 2eed16cce6f4 [2023-06-12T18:11:38.721Z] Removing intermediate container 2eed16cce6f4 [2023-06-12T18:11:38.721Z] ---> 32049ca79756 [2023-06-12T18:11:38.721Z] Step 24/24 : LABEL version=3.1.0-dev.2 [2023-06-12T18:11:38.721Z] ---> Running in 1fe298d496a9 [2023-06-12T18:11:39.044Z] Removing intermediate container 1fe298d496a9 [2023-06-12T18:11:39.044Z] ---> 3b523ab87c72 [2023-06-12T18:11:39.044Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:11:39.044Z] Successfully built 3b523ab87c72 [2023-06-12T18:11:39.044Z] 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-06-12T18:11:39.156Z] provisioning config files... [2023-06-12T18:11:39.175Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14842935235555508126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:11:39.537Z] ---> docker-login.sh [2023-06-12T18:11:39.537Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:11:39.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:11:39.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:11:39.537Z] Configure a credential helper to remove this warning. See [2023-06-12T18:11:39.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:11:39.537Z] [2023-06-12T18:11:39.537Z] Login Succeeded [2023-06-12T18:11:39.537Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:11:39.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:11:39.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:11:39.537Z] Configure a credential helper to remove this warning. See [2023-06-12T18:11:39.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:11:39.537Z] [2023-06-12T18:11:39.537Z] Login Succeeded [2023-06-12T18:11:39.537Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:11:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:11:39.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:11:39.814Z] Configure a credential helper to remove this warning. See [2023-06-12T18:11:39.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:11:39.814Z] [2023-06-12T18:11:39.814Z] Login Succeeded [2023-06-12T18:11:39.814Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:11:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:11:39.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:11:39.814Z] Configure a credential helper to remove this warning. See [2023-06-12T18:11:39.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:11:39.814Z] [2023-06-12T18:11:39.814Z] Login Succeeded [2023-06-12T18:11:39.814Z] docker.io [2023-06-12T18:11:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:11:40.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:11:40.072Z] Configure a credential helper to remove this warning. See [2023-06-12T18:11:40.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:11:40.072Z] [2023-06-12T18:11:40.072Z] Login Succeeded [2023-06-12T18:11:40.072Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:11:40.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:11:40.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:11:40.121Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-06-12T18:11:40.121Z] e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:11:40.121Z] latest [2023-06-12T18:11:40.121Z] 3.1.0-dev.2 [2023-06-12T18:11:40.121Z] e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [2023-06-12T18:11:40.121Z] main [2023-06-12T18:11:40.121Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:40.431Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:40.744Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:11:40.744Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T18:11:40.744Z] 0591fbb8a357: Preparing [2023-06-12T18:11:40.744Z] b4b78b4a3f3c: Preparing [2023-06-12T18:11:40.744Z] 2930f64538ab: Preparing [2023-06-12T18:11:40.744Z] 4600ae65c8f4: Preparing [2023-06-12T18:11:40.744Z] f1417ff83b31: Preparing [2023-06-12T18:11:40.744Z] f1417ff83b31: Layer already exists [2023-06-12T18:11:40.744Z] b4b78b4a3f3c: Pushed [2023-06-12T18:11:40.744Z] 0591fbb8a357: Pushed [2023-06-12T18:11:40.744Z] 4600ae65c8f4: Pushed [2023-06-12T18:11:43.280Z] 2930f64538ab: Pushed [2023-06-12T18:11:43.539Z] e591e9dcfdb189d130fee98849b2bbe259068cfa: digest: sha256:4c7320bbb04ba8c290d64ae73fecda80adb0b6b81e514bf9174a99010715c73d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:43.858Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:44.172Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-06-12T18:11:44.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T18:11:44.172Z] 0591fbb8a357: Preparing [2023-06-12T18:11:44.172Z] b4b78b4a3f3c: Preparing [2023-06-12T18:11:44.172Z] 2930f64538ab: Preparing [2023-06-12T18:11:44.172Z] 4600ae65c8f4: Preparing [2023-06-12T18:11:44.172Z] f1417ff83b31: Preparing [2023-06-12T18:11:44.172Z] 2930f64538ab: Layer already exists [2023-06-12T18:11:44.172Z] b4b78b4a3f3c: Layer already exists [2023-06-12T18:11:44.172Z] f1417ff83b31: Layer already exists [2023-06-12T18:11:44.172Z] 4600ae65c8f4: Layer already exists [2023-06-12T18:11:44.172Z] 0591fbb8a357: Layer already exists [2023-06-12T18:11:44.172Z] latest: digest: sha256:4c7320bbb04ba8c290d64ae73fecda80adb0b6b81e514bf9174a99010715c73d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:44.491Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:44.799Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.2 [2023-06-12T18:11:44.799Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T18:11:44.799Z] 0591fbb8a357: Preparing [2023-06-12T18:11:44.799Z] b4b78b4a3f3c: Preparing [2023-06-12T18:11:44.799Z] 2930f64538ab: Preparing [2023-06-12T18:11:44.799Z] 4600ae65c8f4: Preparing [2023-06-12T18:11:44.799Z] f1417ff83b31: Preparing [2023-06-12T18:11:44.799Z] f1417ff83b31: Layer already exists [2023-06-12T18:11:44.799Z] 2930f64538ab: Layer already exists [2023-06-12T18:11:44.799Z] 0591fbb8a357: Layer already exists [2023-06-12T18:11:44.799Z] 4600ae65c8f4: Layer already exists [2023-06-12T18:11:44.799Z] b4b78b4a3f3c: Layer already exists [2023-06-12T18:11:44.799Z] 3.1.0-dev.2: digest: sha256:4c7320bbb04ba8c290d64ae73fecda80adb0b6b81e514bf9174a99010715c73d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:45.121Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:45.434Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [2023-06-12T18:11:45.434Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T18:11:45.434Z] 0591fbb8a357: Preparing [2023-06-12T18:11:45.434Z] b4b78b4a3f3c: Preparing [2023-06-12T18:11:45.434Z] 2930f64538ab: Preparing [2023-06-12T18:11:45.434Z] 4600ae65c8f4: Preparing [2023-06-12T18:11:45.434Z] f1417ff83b31: Preparing [2023-06-12T18:11:45.434Z] 2930f64538ab: Layer already exists [2023-06-12T18:11:45.434Z] 0591fbb8a357: Layer already exists [2023-06-12T18:11:45.434Z] f1417ff83b31: Layer already exists [2023-06-12T18:11:45.434Z] 4600ae65c8f4: Layer already exists [2023-06-12T18:11:45.434Z] b4b78b4a3f3c: Layer already exists [2023-06-12T18:11:45.434Z] e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2: digest: sha256:4c7320bbb04ba8c290d64ae73fecda80adb0b6b81e514bf9174a99010715c73d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:45.756Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:46.072Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-06-12T18:11:46.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T18:11:46.072Z] 0591fbb8a357: Preparing [2023-06-12T18:11:46.072Z] b4b78b4a3f3c: Preparing [2023-06-12T18:11:46.072Z] 2930f64538ab: Preparing [2023-06-12T18:11:46.072Z] 4600ae65c8f4: Preparing [2023-06-12T18:11:46.072Z] f1417ff83b31: Preparing [2023-06-12T18:11:46.072Z] f1417ff83b31: Layer already exists [2023-06-12T18:11:46.072Z] 2930f64538ab: Layer already exists [2023-06-12T18:11:46.072Z] 0591fbb8a357: Layer already exists [2023-06-12T18:11:46.072Z] b4b78b4a3f3c: Layer already exists [2023-06-12T18:11:46.072Z] 4600ae65c8f4: Layer already exists [2023-06-12T18:11:46.072Z] main: digest: sha256:4c7320bbb04ba8c290d64ae73fecda80adb0b6b81e514bf9174a99010715c73d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:11:46.109Z] ===================================================== [Pipeline] echo [2023-06-12T18:11:46.115Z] taggedImages: [2023-06-12T18:11:46.115Z] - nexus3.edgexfoundry.org:10004/device-mqtt:e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:11:46.115Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-06-12T18:11:46.115Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.2 [2023-06-12T18:11:46.115Z] - nexus3.edgexfoundry.org:10004/device-mqtt:e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [2023-06-12T18:11:46.115Z] - 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-06-12T18:11:46.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:11:46.500Z] [2023-06-12T18:11:46.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:46.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:11:46.800Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T18:11:46.800Z] 5eb5b503b376: Pulling fs layer [2023-06-12T18:11:46.800Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T18:11:46.800Z] ec43610c2a17: Pulling fs layer [2023-06-12T18:11:46.800Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T18:11:46.800Z] 33b1e0a273af: Pulling fs layer [2023-06-12T18:11:46.800Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T18:11:46.800Z] 2f39f015ded8: Pulling fs layer [2023-06-12T18:11:46.800Z] 3a2ae6a8a46f: Waiting [2023-06-12T18:11:46.800Z] 33b1e0a273af: Waiting [2023-06-12T18:11:46.800Z] 5d3b04190fa2: Waiting [2023-06-12T18:11:46.800Z] 2f39f015ded8: Waiting [2023-06-12T18:11:46.800Z] 5c69ac0246d0: Verifying Checksum [2023-06-12T18:11:46.800Z] 5c69ac0246d0: Download complete [2023-06-12T18:11:46.800Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-12T18:11:46.800Z] 3a2ae6a8a46f: Download complete [2023-06-12T18:11:46.801Z] 33b1e0a273af: Verifying Checksum [2023-06-12T18:11:46.801Z] 33b1e0a273af: Download complete [2023-06-12T18:11:46.801Z] 5d3b04190fa2: Download complete [2023-06-12T18:11:47.059Z] ec43610c2a17: Verifying Checksum [2023-06-12T18:11:47.059Z] ec43610c2a17: Download complete [2023-06-12T18:11:47.059Z] 5eb5b503b376: Verifying Checksum [2023-06-12T18:11:47.059Z] 5eb5b503b376: Download complete [2023-06-12T18:11:47.626Z] 2f39f015ded8: Download complete [2023-06-12T18:11:48.191Z] 5eb5b503b376: Pull complete [2023-06-12T18:11:48.450Z] 5c69ac0246d0: Pull complete [2023-06-12T18:11:49.018Z] ec43610c2a17: Pull complete [2023-06-12T18:11:49.018Z] 3a2ae6a8a46f: Pull complete [2023-06-12T18:11:49.276Z] 33b1e0a273af: Pull complete [2023-06-12T18:11:49.276Z] 5d3b04190fa2: Pull complete [2023-06-12T18:11:53.458Z] 2f39f015ded8: Pull complete [2023-06-12T18:11:53.458Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T18:11:53.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:11:53.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:11:53.534Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:11:53.568Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T18:11:56.782Z] $ docker top fc5829ae1baeb744b4d5a2456f6ebf0aeaad9db13035ec7c2a472647aca8e4ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:11:57.151Z] ---> job-cost.sh [2023-06-12T18:11:57.151Z] lf-activate-venv: SKIPPING [2023-06-12T18:11:57.151Z] INFO: No Stack... [2023-06-12T18:11:57.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:11:57.979Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:11:58.263Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-06-12T18:11:58.263Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T18:11:58.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] [2023-06-12T18:11:58.297Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] did not exist. Created. [2023-06-12T18:11:58.297Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:11:58.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T18:11:58.617Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:11:58.623Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:11:58.644Z] $ docker stop --time=1 fc5829ae1baeb744b4d5a2456f6ebf0aeaad9db13035ec7c2a472647aca8e4ad [2023-06-12T18:11:59.795Z] $ docker rm -f --volumes fc5829ae1baeb744b4d5a2456f6ebf0aeaad9db13035ec7c2a472647aca8e4ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T18:13:28.690Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18482 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-06-12T18:13:28.704Z] Running in /w/workspace/device-mqtt-go/130 [Pipeline] { [Pipeline] checkout [2023-06-12T18:13:28.748Z] Selected Git installation does not exist. Using Default [2023-06-12T18:13:28.748Z] The recommended git tool is: NONE [2023-06-12T18:13:34.723Z] using credential edgex-jenkins-ssh [2023-06-12T18:13:34.743Z] Cloning the remote Git repository [2023-06-12T18:13:34.796Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-06-12T18:13:34.900Z] > git init /w/workspace/device-mqtt-go/130 # timeout=10 [2023-06-12T18:13:35.072Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-06-12T18:13:35.074Z] > git --version # timeout=10 [2023-06-12T18:13:35.095Z] > git --version # 'git version 2.25.1' [2023-06-12T18:13:35.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T18:13:35.269Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T18:13:37.338Z] Avoid second fetch [2023-06-12T18:13:37.339Z] Checking out Revision e591e9dcfdb189d130fee98849b2bbe259068cfa (main) [2023-06-12T18:13:36.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-06-12T18:13:36.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T18:13:37.357Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T18:13:37.434Z] > git checkout -f e591e9dcfdb189d130fee98849b2bbe259068cfa # timeout=10 [2023-06-12T18:13:37.914Z] Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 (#600)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:13:38.754Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T18:13:38.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:13:38.754Z] Dload Upload Total Spent Left Speed [2023-06-12T18:13:38.754Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-06-12T18:13:39.410Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T18:13:39.741Z] + sudo tee /etc/docker/daemon.new [2023-06-12T18:13:39.741Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T18:13:39.741Z] { [2023-06-12T18:13:39.741Z] "registry-mirrors": [ [2023-06-12T18:13:39.741Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T18:13:39.741Z] ], [2023-06-12T18:13:39.741Z] "bip": "10.250.0.254/24", [2023-06-12T18:13:39.741Z] "hosts": [ [2023-06-12T18:13:39.741Z] "tcp://0.0.0.0:5555", [2023-06-12T18:13:39.741Z] "unix:///var/run/docker.sock" [2023-06-12T18:13:39.741Z] ], [2023-06-12T18:13:39.741Z] "mtu": 1458, [2023-06-12T18:13:39.741Z] "selinux-enabled": true, [2023-06-12T18:13:39.741Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T18:13:39.741Z] } [Pipeline] sh [2023-06-12T18:13:40.096Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T18:13:40.431Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:13:58.707Z] provisioning config files... [2023-06-12T18:13:58.737Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/130@tmp/config3469394643405876026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:13:59.094Z] ---> docker-login.sh [2023-06-12T18:13:59.095Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:13:59.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:13:59.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:13:59.965Z] Configure a credential helper to remove this warning. See [2023-06-12T18:13:59.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:13:59.965Z] [2023-06-12T18:13:59.965Z] Login Succeeded [2023-06-12T18:13:59.965Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:14:00.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:14:00.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:14:00.236Z] Configure a credential helper to remove this warning. See [2023-06-12T18:14:00.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:14:00.236Z] [2023-06-12T18:14:00.236Z] Login Succeeded [2023-06-12T18:14:00.236Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:14:00.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:14:00.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:14:00.509Z] Configure a credential helper to remove this warning. See [2023-06-12T18:14:00.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:14:00.509Z] [2023-06-12T18:14:00.509Z] Login Succeeded [2023-06-12T18:14:00.509Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:14:00.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:14:01.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:14:01.054Z] Configure a credential helper to remove this warning. See [2023-06-12T18:14:01.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:14:01.054Z] [2023-06-12T18:14:01.054Z] Login Succeeded [2023-06-12T18:14:01.054Z] docker.io [2023-06-12T18:14:01.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:14:01.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:14:01.597Z] Configure a credential helper to remove this warning. See [2023-06-12T18:14:01.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:14:01.597Z] [2023-06-12T18:14:01.597Z] Login Succeeded [2023-06-12T18:14:01.597Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:14:01.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T18:14:01.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:14:01.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:14:01.914Z] ========================================================= [2023-06-12T18:14:01.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T18:14:01.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:14:02.271Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-12T18:14:02.542Z] Sending build context to Docker daemon 3.3MB [2023-06-12T18:14:02.542Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:14:02.542Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T18:14:02.811Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T18:14:02.811Z] c41833b44d91: Pulling fs layer [2023-06-12T18:14:02.811Z] ed15518f5707: Pulling fs layer [2023-06-12T18:14:02.811Z] feae8fd75edb: Pulling fs layer [2023-06-12T18:14:02.811Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T18:14:02.811Z] 3cdef696dda3: Pulling fs layer [2023-06-12T18:14:02.811Z] 2ced38df9373: Pulling fs layer [2023-06-12T18:14:02.811Z] 58f1dce35555: Pulling fs layer [2023-06-12T18:14:02.811Z] 242c74f7c9fa: Waiting [2023-06-12T18:14:02.811Z] 3cdef696dda3: Waiting [2023-06-12T18:14:02.811Z] 2ced38df9373: Waiting [2023-06-12T18:14:02.811Z] 58f1dce35555: Waiting [2023-06-12T18:14:02.811Z] ed15518f5707: Verifying Checksum [2023-06-12T18:14:02.811Z] ed15518f5707: Download complete [2023-06-12T18:14:02.811Z] 242c74f7c9fa: Verifying Checksum [2023-06-12T18:14:02.811Z] 242c74f7c9fa: Download complete [2023-06-12T18:14:02.811Z] 3cdef696dda3: Verifying Checksum [2023-06-12T18:14:02.811Z] 3cdef696dda3: Download complete [2023-06-12T18:14:02.811Z] c41833b44d91: Verifying Checksum [2023-06-12T18:14:02.811Z] c41833b44d91: Download complete [2023-06-12T18:14:04.247Z] c41833b44d91: Pull complete [2023-06-12T18:14:04.522Z] 58f1dce35555: Verifying Checksum [2023-06-12T18:14:04.522Z] 58f1dce35555: Download complete [2023-06-12T18:14:04.799Z] ed15518f5707: Pull complete [2023-06-12T18:14:05.771Z] feae8fd75edb: Verifying Checksum [2023-06-12T18:14:05.771Z] feae8fd75edb: Download complete [2023-06-12T18:14:05.771Z] 2ced38df9373: Verifying Checksum [2023-06-12T18:14:05.771Z] 2ced38df9373: Download complete [2023-06-12T18:14:18.125Z] feae8fd75edb: Pull complete [2023-06-12T18:14:18.125Z] 242c74f7c9fa: Pull complete [2023-06-12T18:14:18.125Z] 3cdef696dda3: Pull complete [2023-06-12T18:14:24.803Z] 2ced38df9373: Pull complete [2023-06-12T18:14:30.162Z] 58f1dce35555: Pull complete [2023-06-12T18:14:30.162Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T18:14:30.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T18:14:30.162Z] ---> fadd8f120f05 [2023-06-12T18:14:30.162Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:14:31.584Z] ---> Running in 5cdf0b294897 [2023-06-12T18:14:31.584Z] Removing intermediate container 5cdf0b294897 [2023-06-12T18:14:31.584Z] ---> abb59cd1029d [2023-06-12T18:14:31.584Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:14:31.584Z] ---> Running in 1be46c57fc2c [2023-06-12T18:14:32.176Z] Removing intermediate container 1be46c57fc2c [2023-06-12T18:14:32.176Z] ---> 5debcddbe068 [2023-06-12T18:14:32.176Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:14:32.176Z] ---> Running in 9fea418aa822 [2023-06-12T18:14:32.450Z] Removing intermediate container 9fea418aa822 [2023-06-12T18:14:32.450Z] ---> 8b2ff0d8a2ff [2023-06-12T18:14:32.450Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:14:32.450Z] ---> Running in 4974818ef020 [2023-06-12T18:14:32.741Z] Removing intermediate container 4974818ef020 [2023-06-12T18:14:32.741Z] ---> 126238237d33 [2023-06-12T18:14:32.741Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:14:33.014Z] ---> Running in b5ff17bc86df [2023-06-12T18:14:33.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:14:34.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:14:35.538Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T18:14:35.538Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T18:14:35.538Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T18:14:35.806Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T18:14:35.807Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:14:35.807Z] OK: 268 MiB in 57 packages [2023-06-12T18:14:36.799Z] Removing intermediate container b5ff17bc86df [2023-06-12T18:14:36.799Z] ---> a7aa279c3c4a [2023-06-12T18:14:36.799Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-06-12T18:14:36.799Z] ---> Running in 6b989ef5cc1e [2023-06-12T18:14:37.069Z] Removing intermediate container 6b989ef5cc1e [2023-06-12T18:14:37.069Z] ---> b21e954b93e5 [2023-06-12T18:14:37.069Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T18:14:37.658Z] ---> 29016d7223f9 [2023-06-12T18:14:37.658Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:14:37.658Z] ---> Running in 6f484af1088e [2023-06-12T18:15:45.570Z] Removing intermediate container 6f484af1088e [2023-06-12T18:15:45.570Z] ---> 5f0998c04eb8 [2023-06-12T18:15:45.570Z] Step 11/12 : COPY . . [2023-06-12T18:15:45.570Z] ---> 46b2839efded [2023-06-12T18:15:45.570Z] Step 12/12 : RUN $MAKE [2023-06-12T18:15:45.570Z] ---> Running in 0b992e499913 [2023-06-12T18:15:45.570Z] noop [2023-06-12T18:15:45.570Z] Removing intermediate container 0b992e499913 [2023-06-12T18:15:45.570Z] ---> 38c51b6282a7 [2023-06-12T18:15:45.570Z] Successfully built 38c51b6282a7 [2023-06-12T18:15:45.570Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:15:45.921Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T18:15:45.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:15:46.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-18482 does not seem to be running inside a container [2023-06-12T18:15:46.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/130 -v /w/workspace/device-mqtt-go/130:/w/workspace/device-mqtt-go/130:rw,z -v /w/workspace/device-mqtt-go/130@tmp:/w/workspace/device-mqtt-go/130@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-06-12T18:15:47.414Z] $ docker top 4df69ee71ffaba22e9c09211ea64e8d825dc7971e1e2142c4009c54d528661d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:15:48.244Z] + go version [2023-06-12T18:15:48.244Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T18:15:48.267Z] $ docker stop --time=1 4df69ee71ffaba22e9c09211ea64e8d825dc7971e1e2142c4009c54d528661d6 [2023-06-12T18:15:49.893Z] $ docker rm -f --volumes 4df69ee71ffaba22e9c09211ea64e8d825dc7971e1e2142c4009c54d528661d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:15:50.455Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T18:15:50.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:15:50.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-18482 does not seem to be running inside a container [2023-06-12T18:15:50.700Z] $ 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/130 -v /w/workspace/device-mqtt-go/130:/w/workspace/device-mqtt-go/130:rw,z -v /w/workspace/device-mqtt-go/130@tmp:/w/workspace/device-mqtt-go/130@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-06-12T18:15:51.832Z] $ docker top 7cc461f661fbbb1b59ac4e5aff1af4bcbc8e9447b147315e7202ebbc7755de86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:15:52.666Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/130 [Pipeline] fileExists [Pipeline] sh [2023-06-12T18:15:53.317Z] + make test [2023-06-12T18:15:53.317Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T18:16:25.569Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-06-12T18:18:17.266Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-06-12T18:18:17.266Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-06-12T18:18:17.266Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 22.8% of statements [2023-06-12T18:18:17.859Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T18:18:17.859Z] go vet ./... [2023-06-12T18:18:44.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:18:44.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:18:44.596Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:18:44.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:18:44.626Z] $ docker stop --time=1 7cc461f661fbbb1b59ac4e5aff1af4bcbc8e9447b147315e7202ebbc7755de86 [2023-06-12T18:18:46.424Z] $ docker rm -f --volumes 7cc461f661fbbb1b59ac4e5aff1af4bcbc8e9447b147315e7202ebbc7755de86 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:18:47.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:18:47.623Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T18:18:48.097Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:18:48.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:18:48.833Z] + ls -al . [2023-06-12T18:18:48.834Z] total 180 [2023-06-12T18:18:48.834Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 18:15 . [2023-06-12T18:18:48.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:13 .. [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 18:13 .dockerignore [2023-06-12T18:18:48.834Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:13 .git [2023-06-12T18:18:48.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:13 .github [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:13 .gitignore [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:13 .golangci.yml [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 18:13 Attribution.txt [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 18:13 CHANGELOG.md [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 18:13 Dockerfile [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:13 GOVERNANCE.md [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 18:13 Jenkinsfile [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:13 LICENSE [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 18:13 Makefile [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:13 OWNERS.md [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 18:13 README.md [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 18:09 VERSION [2023-06-12T18:18:48.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:13 bin [2023-06-12T18:18:48.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:13 cmd [2023-06-12T18:18:48.834Z] -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 18:18 coverage.out [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 18:13 go.mod [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:13 go.sum [2023-06-12T18:18:48.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:13 internal [2023-06-12T18:18:48.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:13 mock [2023-06-12T18:18:48.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:13 snap [2023-06-12T18:18:48.834Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:18:49.174Z] + 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=e591e9dcfdb189d130fee98849b2bbe259068cfa --label arch=arm64 --label version=3.1.0-dev.2 . [2023-06-12T18:18:49.446Z] Sending build context to Docker daemon 3.32MB [2023-06-12T18:18:49.446Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:18:49.446Z] Step 2/24 : FROM ${BASE} AS builder [2023-06-12T18:18:49.446Z] ---> 38c51b6282a7 [2023-06-12T18:18:49.446Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:18:49.722Z] ---> Running in 8fa70d99b6f0 [2023-06-12T18:18:49.998Z] Removing intermediate container 8fa70d99b6f0 [2023-06-12T18:18:49.998Z] ---> 7ad4d318dd44 [2023-06-12T18:18:49.998Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:18:49.998Z] ---> Running in 3cd40e2d337f [2023-06-12T18:18:50.265Z] Removing intermediate container 3cd40e2d337f [2023-06-12T18:18:50.265Z] ---> 3037914ede77 [2023-06-12T18:18:50.265Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:18:50.265Z] ---> Running in ad9b714ca882 [2023-06-12T18:18:50.534Z] Removing intermediate container ad9b714ca882 [2023-06-12T18:18:50.534Z] ---> cba747b24768 [2023-06-12T18:18:50.534Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:18:50.808Z] ---> Running in 092ed8d32be6 [2023-06-12T18:18:51.077Z] Removing intermediate container 092ed8d32be6 [2023-06-12T18:18:51.077Z] ---> cf0b1c967111 [2023-06-12T18:18:51.077Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:18:51.077Z] ---> Running in fc0acf7543c5 [2023-06-12T18:18:52.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:18:52.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:18:53.609Z] OK: 268 MiB in 57 packages [2023-06-12T18:18:54.575Z] Removing intermediate container fc0acf7543c5 [2023-06-12T18:18:54.575Z] ---> 1171a14f73d7 [2023-06-12T18:18:54.575Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-06-12T18:18:54.575Z] ---> Running in 3f56fc46bad9 [2023-06-12T18:18:54.842Z] Removing intermediate container 3f56fc46bad9 [2023-06-12T18:18:54.842Z] ---> dcca8e6c5b29 [2023-06-12T18:18:54.842Z] Step 9/24 : COPY go.mod vendor* ./ [2023-06-12T18:18:55.430Z] ---> 9350b1340071 [2023-06-12T18:18:55.430Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:18:55.430Z] ---> Running in 3c2d412c6ca9 [2023-06-12T18:18:58.018Z] Removing intermediate container 3c2d412c6ca9 [2023-06-12T18:18:58.018Z] ---> 5f2735f14b5a [2023-06-12T18:18:58.018Z] Step 11/24 : COPY . . [2023-06-12T18:18:58.605Z] ---> 249e247d828f [2023-06-12T18:18:58.605Z] Step 12/24 : RUN $MAKE [2023-06-12T18:18:58.605Z] ---> Running in 9badf0f32ca0 [2023-06-12T18:18:59.569Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-06-12T18:21:21.299Z] Removing intermediate container 9badf0f32ca0 [2023-06-12T18:21:21.299Z] ---> db5efeb4502e [2023-06-12T18:21:21.299Z] Step 13/24 : FROM alpine:3.17 [2023-06-12T18:21:21.299Z] 3.17: Pulling from library/alpine [2023-06-12T18:21:21.299Z] c41833b44d91: Already exists [2023-06-12T18:21:21.299Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:21:21.299Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:21:21.299Z] ---> 51e60588ff2c [2023-06-12T18:21:21.299Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-06-12T18:21:21.299Z] ---> Running in 1716d8d8c7bc [2023-06-12T18:21:21.299Z] Removing intermediate container 1716d8d8c7bc [2023-06-12T18:21:21.299Z] ---> c83833f6cde2 [2023-06-12T18:21:21.299Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:21:21.299Z] ---> Running in 3bc35bc1081f [2023-06-12T18:21:21.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:21:21.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:21:21.299Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:21:21.299Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:21:21.299Z] OK: 8 MiB in 16 packages [2023-06-12T18:21:21.299Z] Removing intermediate container 3bc35bc1081f [2023-06-12T18:21:21.299Z] ---> b8faab4d5334 [2023-06-12T18:21:21.299Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-06-12T18:21:21.299Z] ---> 6c8c2ad5c50a [2023-06-12T18:21:21.299Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-06-12T18:21:21.299Z] ---> 70d507132a30 [2023-06-12T18:21:21.299Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-06-12T18:21:21.299Z] ---> 7b6312528798 [2023-06-12T18:21:21.299Z] Step 19/24 : EXPOSE 59982 [2023-06-12T18:21:21.299Z] ---> Running in f2e446c2fc82 [2023-06-12T18:21:21.299Z] Removing intermediate container f2e446c2fc82 [2023-06-12T18:21:21.299Z] ---> e39eb709ea81 [2023-06-12T18:21:21.299Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-06-12T18:21:21.299Z] ---> Running in cb495f3c23ac [2023-06-12T18:21:21.299Z] Removing intermediate container cb495f3c23ac [2023-06-12T18:21:21.299Z] ---> 26df54163b09 [2023-06-12T18:21:21.299Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:21:21.299Z] ---> Running in 4a51c887f6f3 [2023-06-12T18:21:21.299Z] Removing intermediate container 4a51c887f6f3 [2023-06-12T18:21:21.299Z] ---> 231ffa9cf074 [2023-06-12T18:21:21.299Z] Step 22/24 : LABEL arch=arm64 [2023-06-12T18:21:21.299Z] ---> Running in 1c6a6ed6e8ee [2023-06-12T18:21:21.299Z] Removing intermediate container 1c6a6ed6e8ee [2023-06-12T18:21:21.299Z] ---> 7ac1004c2f00 [2023-06-12T18:21:21.299Z] Step 23/24 : LABEL git_sha=e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:21:21.299Z] ---> Running in 409abb4baefc [2023-06-12T18:21:21.299Z] Removing intermediate container 409abb4baefc [2023-06-12T18:21:21.299Z] ---> 29d87512f520 [2023-06-12T18:21:21.299Z] Step 24/24 : LABEL version=3.1.0-dev.2 [2023-06-12T18:21:21.299Z] ---> Running in d2eebfc8f1ab [2023-06-12T18:21:21.299Z] Removing intermediate container d2eebfc8f1ab [2023-06-12T18:21:21.299Z] ---> 09d101af191e [2023-06-12T18:21:21.299Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:21:21.299Z] Successfully built 09d101af191e [2023-06-12T18:21:21.299Z] 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-06-12T18:21:21.413Z] provisioning config files... [2023-06-12T18:21:21.426Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/130@tmp/config15863074844957649209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:21:21.761Z] ---> docker-login.sh [2023-06-12T18:21:21.761Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:21:21.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:21:22.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:21:22.029Z] Configure a credential helper to remove this warning. See [2023-06-12T18:21:22.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:21:22.029Z] [2023-06-12T18:21:22.029Z] Login Succeeded [2023-06-12T18:21:22.029Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:21:22.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:21:22.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:21:22.297Z] Configure a credential helper to remove this warning. See [2023-06-12T18:21:22.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:21:22.297Z] [2023-06-12T18:21:22.297Z] Login Succeeded [2023-06-12T18:21:22.297Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:21:22.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:21:22.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:21:22.832Z] Configure a credential helper to remove this warning. See [2023-06-12T18:21:22.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:21:22.832Z] [2023-06-12T18:21:22.832Z] Login Succeeded [2023-06-12T18:21:22.832Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:21:22.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:21:23.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:21:23.102Z] Configure a credential helper to remove this warning. See [2023-06-12T18:21:23.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:21:23.102Z] [2023-06-12T18:21:23.102Z] Login Succeeded [2023-06-12T18:21:23.102Z] docker.io [2023-06-12T18:21:23.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:21:23.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:21:23.635Z] Configure a credential helper to remove this warning. See [2023-06-12T18:21:23.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:21:23.635Z] [2023-06-12T18:21:23.635Z] Login Succeeded [2023-06-12T18:21:23.635Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:21:23.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:21:23.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:21:23.713Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-06-12T18:21:23.713Z] e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:21:23.713Z] latest [2023-06-12T18:21:23.713Z] 3.1.0-dev.2 [2023-06-12T18:21:23.713Z] e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [2023-06-12T18:21:23.713Z] main [2023-06-12T18:21:23.713Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:24.076Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:24.428Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:21:24.428Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:21:24.428Z] 7a58f92a6ff2: Preparing [2023-06-12T18:21:24.428Z] 019a599c0fe2: Preparing [2023-06-12T18:21:24.428Z] 100ce1d68099: Preparing [2023-06-12T18:21:24.428Z] fd1d48188587: Preparing [2023-06-12T18:21:24.428Z] 26cbea5cba74: Preparing [2023-06-12T18:21:24.428Z] 26cbea5cba74: Layer already exists [2023-06-12T18:21:24.695Z] 7a58f92a6ff2: Pushed [2023-06-12T18:21:24.695Z] 019a599c0fe2: Pushed [2023-06-12T18:21:24.695Z] fd1d48188587: Pushed [2023-06-12T18:21:30.039Z] 100ce1d68099: Pushed [2023-06-12T18:21:30.039Z] e591e9dcfdb189d130fee98849b2bbe259068cfa: digest: sha256:12bd711a02b29b9a7d20438a26b0a226b1a28a8a7196122f316b526f5fb81477 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:30.388Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:30.727Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-06-12T18:21:30.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:21:30.728Z] 7a58f92a6ff2: Preparing [2023-06-12T18:21:30.728Z] 019a599c0fe2: Preparing [2023-06-12T18:21:30.728Z] 100ce1d68099: Preparing [2023-06-12T18:21:30.728Z] fd1d48188587: Preparing [2023-06-12T18:21:30.728Z] 26cbea5cba74: Preparing [2023-06-12T18:21:30.728Z] 26cbea5cba74: Layer already exists [2023-06-12T18:21:30.728Z] 019a599c0fe2: Layer already exists [2023-06-12T18:21:30.728Z] 7a58f92a6ff2: Layer already exists [2023-06-12T18:21:30.728Z] 100ce1d68099: Layer already exists [2023-06-12T18:21:30.728Z] fd1d48188587: Layer already exists [2023-06-12T18:21:30.728Z] latest: digest: sha256:12bd711a02b29b9a7d20438a26b0a226b1a28a8a7196122f316b526f5fb81477 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:31.132Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:31.488Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.2 [2023-06-12T18:21:31.488Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:21:31.488Z] 7a58f92a6ff2: Preparing [2023-06-12T18:21:31.488Z] 019a599c0fe2: Preparing [2023-06-12T18:21:31.488Z] 100ce1d68099: Preparing [2023-06-12T18:21:31.488Z] fd1d48188587: Preparing [2023-06-12T18:21:31.488Z] 26cbea5cba74: Preparing [2023-06-12T18:21:31.488Z] 7a58f92a6ff2: Layer already exists [2023-06-12T18:21:31.488Z] 100ce1d68099: Layer already exists [2023-06-12T18:21:31.488Z] fd1d48188587: Layer already exists [2023-06-12T18:21:31.488Z] 26cbea5cba74: Layer already exists [2023-06-12T18:21:31.488Z] 019a599c0fe2: Layer already exists [2023-06-12T18:21:31.488Z] 3.1.0-dev.2: digest: sha256:12bd711a02b29b9a7d20438a26b0a226b1a28a8a7196122f316b526f5fb81477 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:31.861Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:32.219Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [2023-06-12T18:21:32.219Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:21:32.219Z] 7a58f92a6ff2: Preparing [2023-06-12T18:21:32.219Z] 019a599c0fe2: Preparing [2023-06-12T18:21:32.219Z] 100ce1d68099: Preparing [2023-06-12T18:21:32.219Z] fd1d48188587: Preparing [2023-06-12T18:21:32.219Z] 26cbea5cba74: Preparing [2023-06-12T18:21:32.219Z] 019a599c0fe2: Layer already exists [2023-06-12T18:21:32.219Z] 100ce1d68099: Layer already exists [2023-06-12T18:21:32.219Z] fd1d48188587: Layer already exists [2023-06-12T18:21:32.219Z] 7a58f92a6ff2: Layer already exists [2023-06-12T18:21:32.219Z] 26cbea5cba74: Layer already exists [2023-06-12T18:21:32.219Z] e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2: digest: sha256:12bd711a02b29b9a7d20438a26b0a226b1a28a8a7196122f316b526f5fb81477 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:32.582Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:32.933Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-06-12T18:21:32.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:21:32.933Z] 7a58f92a6ff2: Preparing [2023-06-12T18:21:32.933Z] 019a599c0fe2: Preparing [2023-06-12T18:21:32.933Z] 100ce1d68099: Preparing [2023-06-12T18:21:32.933Z] fd1d48188587: Preparing [2023-06-12T18:21:32.933Z] 26cbea5cba74: Preparing [2023-06-12T18:21:32.933Z] 26cbea5cba74: Layer already exists [2023-06-12T18:21:32.933Z] fd1d48188587: Layer already exists [2023-06-12T18:21:32.933Z] 7a58f92a6ff2: Layer already exists [2023-06-12T18:21:32.933Z] 100ce1d68099: Layer already exists [2023-06-12T18:21:32.933Z] 019a599c0fe2: Layer already exists [2023-06-12T18:21:32.933Z] main: digest: sha256:12bd711a02b29b9a7d20438a26b0a226b1a28a8a7196122f316b526f5fb81477 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:21:32.990Z] ===================================================== [Pipeline] echo [2023-06-12T18:21:33.000Z] taggedImages: [2023-06-12T18:21:33.000Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e591e9dcfdb189d130fee98849b2bbe259068cfa [2023-06-12T18:21:33.000Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-06-12T18:21:33.000Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.2 [2023-06-12T18:21:33.000Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:e591e9dcfdb189d130fee98849b2bbe259068cfa-3.1.0-dev.2 [2023-06-12T18:21:33.000Z] - 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-06-12T18:21:33.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:21:33.374Z] [2023-06-12T18:21:33.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:21:33.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:21:33.702Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T18:21:33.702Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T18:21:33.702Z] 04944245beec: Pulling fs layer [2023-06-12T18:21:33.702Z] 699f458cf7ca: Pulling fs layer [2023-06-12T18:21:33.702Z] 765212b225bb: Pulling fs layer [2023-06-12T18:21:33.702Z] f23df028b6ca: Pulling fs layer [2023-06-12T18:21:33.702Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T18:21:33.702Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T18:21:33.702Z] f23df028b6ca: Waiting [2023-06-12T18:21:33.702Z] 765212b225bb: Waiting [2023-06-12T18:21:33.702Z] d65c8cfc05b1: Waiting [2023-06-12T18:21:33.702Z] 2437ff75d9bd: Waiting [2023-06-12T18:21:33.968Z] 04944245beec: Verifying Checksum [2023-06-12T18:21:33.968Z] 04944245beec: Download complete [2023-06-12T18:21:33.968Z] 765212b225bb: Verifying Checksum [2023-06-12T18:21:33.968Z] 765212b225bb: Download complete [2023-06-12T18:21:33.968Z] f23df028b6ca: Verifying Checksum [2023-06-12T18:21:33.968Z] f23df028b6ca: Download complete [2023-06-12T18:21:33.968Z] d65c8cfc05b1: Verifying Checksum [2023-06-12T18:21:33.968Z] d65c8cfc05b1: Download complete [2023-06-12T18:21:33.968Z] 699f458cf7ca: Verifying Checksum [2023-06-12T18:21:33.968Z] 699f458cf7ca: Download complete [2023-06-12T18:21:34.554Z] 8998bd30e6a1: Verifying Checksum [2023-06-12T18:21:34.554Z] 8998bd30e6a1: Download complete [2023-06-12T18:21:36.500Z] 2437ff75d9bd: Verifying Checksum [2023-06-12T18:21:36.500Z] 2437ff75d9bd: Download complete [2023-06-12T18:21:38.445Z] 8998bd30e6a1: Pull complete [2023-06-12T18:21:41.029Z] 04944245beec: Pull complete [2023-06-12T18:21:42.442Z] 699f458cf7ca: Pull complete [2023-06-12T18:21:42.442Z] 765212b225bb: Pull complete [2023-06-12T18:21:43.404Z] f23df028b6ca: Pull complete [2023-06-12T18:21:43.404Z] d65c8cfc05b1: Pull complete [2023-06-12T18:21:58.400Z] 2437ff75d9bd: Pull complete [2023-06-12T18:21:58.400Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T18:21:58.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:21:58.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:21:58.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-18482 does not seem to be running inside a container [2023-06-12T18:21:58.658Z] $ 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/130 -v /w/workspace/device-mqtt-go/130:/w/workspace/device-mqtt-go/130:rw,z -v /w/workspace/device-mqtt-go/130@tmp:/w/workspace/device-mqtt-go/130@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-06-12T18:22:01.284Z] $ docker top c2161cecbb02395a0607b542af4ecf64e9ab6ad51c78c61c0de4ac6faae53ba8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:22:02.133Z] ---> job-cost.sh [2023-06-12T18:22:02.133Z] lf-activate-venv: SKIPPING [2023-06-12T18:22:02.133Z] INFO: No Stack... [2023-06-12T18:22:02.399Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T18:22:03.360Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:22:03.691Z] + cat /w/workspace/device-mqtt-go/130/archives/cost.csv [2023-06-12T18:22:03.691Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T18:22:03.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] [2023-06-12T18:22:03.773Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] did not exist. Created. [2023-06-12T18:22:03.773Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:22:04.421Z] /w/workspace/device-mqtt-go/130@tmp/durable-4022d301/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T18:22:05.067Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T18:22:05.085Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T18:22:05.135Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:22:05.141Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:22:05.162Z] $ docker stop --time=1 c2161cecbb02395a0607b542af4ecf64e9ab6ad51c78c61c0de4ac6faae53ba8 [2023-06-12T18:22:06.669Z] $ docker rm -f --volumes c2161cecbb02395a0607b542af4ecf64e9ab6ad51c78c61c0de4ac6faae53ba8 [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-06-12T18:22:07.061Z] provisioning config files... [2023-06-12T18:22:07.068Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12305122219411470548tmp [Pipeline] { [Pipeline] sh [2023-06-12T18:22:07.363Z] + set +x [2023-06-12T18:22:07.363Z] + curl -s https://codecov.io/bash [2023-06-12T18:22:07.363Z] + bash -s -- [2023-06-12T18:22:07.363Z] [2023-06-12T18:22:07.363Z] _____ _ [2023-06-12T18:22:07.363Z] / ____| | | [2023-06-12T18:22:07.363Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T18:22:07.363Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T18:22:07.363Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T18:22:07.363Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T18:22:07.363Z] Bash-1.0.6 [2023-06-12T18:22:07.363Z] [2023-06-12T18:22:07.363Z] [2023-06-12T18:22:07.363Z] ==> git version 2.25.1 found [2023-06-12T18:22:07.364Z] ==> 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-06-12T18:22:07.364Z] Release-Date: 2020-01-08 [2023-06-12T18:22:07.364Z] 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-06-12T18:22:07.364Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T18:22:07.364Z] ==> Jenkins CI detected. [2023-06-12T18:22:07.364Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-06-12T18:22:07.364Z] project root: . [2023-06-12T18:22:07.364Z] --> token set from env [2023-06-12T18:22:07.364Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T18:22:07.364Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T18:22:07.364Z] ==> Python coveragepy not found [2023-06-12T18:22:07.364Z] ==> Searching for coverage reports in: [2023-06-12T18:22:07.364Z] + . [2023-06-12T18:22:07.364Z] -> Found 1 reports [2023-06-12T18:22:07.364Z] ==> Detecting git/mercurial file structure [2023-06-12T18:22:07.364Z] ==> Reading reports [2023-06-12T18:22:07.364Z] + ./coverage.out bytes=18506 [2023-06-12T18:22:07.364Z] ==> Appending adjustments [2023-06-12T18:22:07.364Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T18:22:07.624Z] + Found adjustments [2023-06-12T18:22:07.625Z] ==> Gzipping contents [2023-06-12T18:22:07.625Z] 4.0K /tmp/codecov.bFKVYE.gz [2023-06-12T18:22:07.625Z] ==> Uploading reports [2023-06-12T18:22:07.625Z] url: https://codecov.io [2023-06-12T18:22:07.625Z] query: branch=main&commit=e591e9dcfdb189d130fee98849b2bbe259068cfa&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:22:07.625Z] -> Pinging Codecov [2023-06-12T18:22:07.625Z] 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=e591e9dcfdb189d130fee98849b2bbe259068cfa&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:22:07.885Z] -> Uploading to [2023-06-12T18:22:07.885Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/7D719EC7BBE17E464838252E33014C33/e591e9dcfdb189d130fee98849b2bbe259068cfa/94b387fd-9a27-4b25-bd27-137bad9e1cdd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T182207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ac69538deb2dc426696adb621986177a7826b82a0289059b60dafe87235e610 [2023-06-12T18:22:07.885Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:22:07.885Z] Dload Upload Total Spent Left Speed [2023-06-12T18:22:07.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17686 --:--:-- --:--:-- --:--:-- 17784 [2023-06-12T18:22:07.885Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] } [2023-06-12T18:22:07.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-06-12T18:22:08.073Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-06-12T18:22:08.085Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:08.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:22:08.383Z] [2023-06-12T18:22:08.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:08.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:22:08.691Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-06-12T18:22:08.691Z] df9b9388f04a: Pulling fs layer [2023-06-12T18:22:08.691Z] 52dc419b0ee2: Pulling fs layer [2023-06-12T18:22:08.691Z] 25bc292e5bac: Pulling fs layer [2023-06-12T18:22:08.691Z] 114826534d7a: Pulling fs layer [2023-06-12T18:22:08.691Z] 4657fd5d0bcf: Pulling fs layer [2023-06-12T18:22:08.691Z] 6ad1cebc031e: Pulling fs layer [2023-06-12T18:22:08.691Z] 8a3aa393b2d8: Pulling fs layer [2023-06-12T18:22:08.691Z] 114826534d7a: Waiting [2023-06-12T18:22:08.691Z] 4657fd5d0bcf: Waiting [2023-06-12T18:22:08.691Z] 6ad1cebc031e: Waiting [2023-06-12T18:22:08.691Z] 8a3aa393b2d8: Waiting [2023-06-12T18:22:08.691Z] 25bc292e5bac: Download complete [2023-06-12T18:22:08.691Z] 52dc419b0ee2: Verifying Checksum [2023-06-12T18:22:08.691Z] 52dc419b0ee2: Download complete [2023-06-12T18:22:08.691Z] 4657fd5d0bcf: Download complete [2023-06-12T18:22:08.691Z] df9b9388f04a: Verifying Checksum [2023-06-12T18:22:08.691Z] df9b9388f04a: Download complete [2023-06-12T18:22:08.951Z] 6ad1cebc031e: Verifying Checksum [2023-06-12T18:22:08.951Z] 6ad1cebc031e: Download complete [2023-06-12T18:22:08.951Z] df9b9388f04a: Pull complete [2023-06-12T18:22:08.951Z] 52dc419b0ee2: Pull complete [2023-06-12T18:22:09.210Z] 25bc292e5bac: Pull complete [2023-06-12T18:22:09.469Z] 114826534d7a: Verifying Checksum [2023-06-12T18:22:09.469Z] 114826534d7a: Download complete [2023-06-12T18:22:09.735Z] 8a3aa393b2d8: Verifying Checksum [2023-06-12T18:22:09.735Z] 8a3aa393b2d8: Download complete [2023-06-12T18:22:13.020Z] 114826534d7a: Pull complete [2023-06-12T18:22:13.020Z] 4657fd5d0bcf: Pull complete [2023-06-12T18:22:13.020Z] 6ad1cebc031e: Pull complete [2023-06-12T18:22:15.551Z] 8a3aa393b2d8: Pull complete [2023-06-12T18:22:15.551Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-06-12T18:22:15.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:22:15.551Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:22:15.628Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:22:15.664Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-06-12T18:22:18.073Z] $ docker top ca8fd4f7f7165474f19c8b4eaf5d59d6478ff2c50766cdf369a37bb7a75e737c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-06-12T18:22:18.141Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-06-12T18:22:18.419Z] + set -o pipefail [2023-06-12T18:22:18.419Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-06-12T18:22:25.038Z] [2023-06-12T18:22:25.038Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-06-12T18:22:25.038Z] [2023-06-12T18:22:25.038Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/1a9b325b-8089-4df7-81c2-d5a4168a45fc [2023-06-12T18:22:25.038Z] [2023-06-12T18:22:25.038Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-06-12T18:22:25.038Z] [2023-06-12T18:22:25.038Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-06-12T18:22:25.038Z] [2023-06-12T18:22:25.038Z] [2023-06-12T18:22:25.038Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-06-12T18:22:25.038Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-06-12T18:22:25.038Z] More details here: https://snyk.co/ue1NS [2023-06-12T18:22:25.038Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-06-12T18:22:25.039Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-06-12T18:22:25.055Z] $ docker stop --time=1 ca8fd4f7f7165474f19c8b4eaf5d59d6478ff2c50766cdf369a37bb7a75e737c [2023-06-12T18:22:27.349Z] $ docker rm -f --volumes ca8fd4f7f7165474f19c8b4eaf5d59d6478ff2c50766cdf369a37bb7a75e737c [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-06-12T18:22:28.053Z] + git log --format=format:%s -1 e591e9dcfdb189d130fee98849b2bbe259068cfa [Pipeline] sh [2023-06-12T18:22:28.351Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:22:28.351Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:28.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:22:28.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:22:28.724Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:22:28.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:22:29.193Z] $ docker top df9c50138719604eb50640d902c41b9afa83d0dae379ea62c78e4284708351ec -eo pid,comm [2023-06-12T18:22:29.240Z] 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-06-12T18:22:29.240Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:22:29.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:22:29.287Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:22:29.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:22:29.432Z] $ docker exec df9c50138719604eb50640d902c41b9afa83d0dae379ea62c78e4284708351ec ssh-agent [2023-06-12T18:22:29.541Z] SSH_AUTH_SOCK=/tmp/ssh-92LCNCx3aV5g/agent.33 [2023-06-12T18:22:29.541Z] SSH_AGENT_PID=39 [2023-06-12T18:22:29.547Z] Running ssh-add (command line suppressed) [2023-06-12T18:22:29.671Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17369229767907369134.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17369229767907369134.key) [2023-06-12T18:22:29.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:22:29.969Z] + git semver tag [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,152 [run_tag] DEBUG tag force:False [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,152 [check_head_tag] DEBUG check head tag [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,153 [execute] INFO git cat-file --batch-check [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,157 [execute] INFO git cat-file --batch [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,165 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,165 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,165 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:22:30.228Z] 2023-06-12 18:22:30,172 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:30.228Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:22:30.242Z] $ docker exec --env ******** --env ******** df9c50138719604eb50640d902c41b9afa83d0dae379ea62c78e4284708351ec ssh-agent -k [2023-06-12T18:22:30.341Z] unset SSH_AUTH_SOCK; [2023-06-12T18:22:30.342Z] unset SSH_AGENT_PID; [2023-06-12T18:22:30.342Z] echo Agent pid 39 killed; [2023-06-12T18:22:30.349Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:22:30.663Z] + git semver [Pipeline] } [2023-06-12T18:22:30.935Z] $ docker stop --time=1 df9c50138719604eb50640d902c41b9afa83d0dae379ea62c78e4284708351ec [2023-06-12T18:22:32.183Z] $ docker rm -f --volumes df9c50138719604eb50640d902c41b9afa83d0dae379ea62c78e4284708351ec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:32.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:22:32.587Z] [2023-06-12T18:22:32.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:32.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:22:32.894Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-06-12T18:22:32.894Z] ab5ef0e58194: Pulling fs layer [2023-06-12T18:22:32.894Z] 9712f1f96733: Pulling fs layer [2023-06-12T18:22:32.894Z] 63f879dbbcfc: Pulling fs layer [2023-06-12T18:22:32.894Z] 0d9ebad4ef96: Pulling fs layer [2023-06-12T18:22:32.894Z] e9a5061849ea: Pulling fs layer [2023-06-12T18:22:32.894Z] d747dcd14b5f: Pulling fs layer [2023-06-12T18:22:32.894Z] 2de7ff778b66: Pulling fs layer [2023-06-12T18:22:32.894Z] 0d9ebad4ef96: Waiting [2023-06-12T18:22:32.894Z] e9a5061849ea: Waiting [2023-06-12T18:22:32.894Z] d747dcd14b5f: Waiting [2023-06-12T18:22:32.894Z] 2de7ff778b66: Waiting [2023-06-12T18:22:32.894Z] 9712f1f96733: Verifying Checksum [2023-06-12T18:22:32.894Z] 9712f1f96733: Download complete [2023-06-12T18:22:33.155Z] 63f879dbbcfc: Verifying Checksum [2023-06-12T18:22:33.155Z] 63f879dbbcfc: Download complete [2023-06-12T18:22:33.414Z] e9a5061849ea: Verifying Checksum [2023-06-12T18:22:33.414Z] e9a5061849ea: Download complete [2023-06-12T18:22:33.414Z] 0d9ebad4ef96: Verifying Checksum [2023-06-12T18:22:33.414Z] 0d9ebad4ef96: Download complete [2023-06-12T18:22:33.414Z] d747dcd14b5f: Download complete [2023-06-12T18:22:33.414Z] ab5ef0e58194: Verifying Checksum [2023-06-12T18:22:33.414Z] ab5ef0e58194: Download complete [2023-06-12T18:22:33.672Z] 2de7ff778b66: Verifying Checksum [2023-06-12T18:22:33.672Z] 2de7ff778b66: Download complete [2023-06-12T18:22:36.202Z] ab5ef0e58194: Pull complete [2023-06-12T18:22:36.202Z] 9712f1f96733: Pull complete [2023-06-12T18:22:36.770Z] 63f879dbbcfc: Pull complete [2023-06-12T18:22:40.057Z] 0d9ebad4ef96: Pull complete [2023-06-12T18:22:40.626Z] e9a5061849ea: Pull complete [2023-06-12T18:22:40.626Z] d747dcd14b5f: Pull complete [2023-06-12T18:22:41.559Z] 2de7ff778b66: Pull complete [2023-06-12T18:22:41.559Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-06-12T18:22:41.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:22:41.559Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:22:41.649Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:22:41.682Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-06-12T18:22:44.289Z] $ docker top 213c842f13d659beafb7260f8b8ea008d0886faaa7f4070335959b9a6e7a14b8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:22:44.354Z] provisioning config files... [2023-06-12T18:22:44.361Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18378994594791473820tmp [2023-06-12T18:22:44.369Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8141265538895844893tmp [2023-06-12T18:22:44.377Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config536713908212372479tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:22:44.394Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:22:44.674Z] ---> sigul-configuration.sh [2023-06-12T18:22:44.674Z] gpg: directory `/root/.gnupg' created [2023-06-12T18:22:44.674Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-06-12T18:22:44.674Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-06-12T18:22:44.674Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-06-12T18:22:44.674Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-06-12T18:22:44.674Z] gpg: CAST5 encrypted data [2023-06-12T18:22:44.674Z] gpg: encrypted with 1 passphrase [2023-06-12T18:22:44.674Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-06-12T18:22:44.959Z] + mkdir /home/jenkins [2023-06-12T18:22:44.959Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-06-12T18:22:45.245Z] + 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-06-12T18:22:45.255Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:22:45.539Z] ---> sigul-install.sh [2023-06-12T18:22:45.539Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-06-12T18:22:45.827Z] + git tag --list [2023-06-12T18:22:45.827Z] 0.7.1 [2023-06-12T18:22:45.827Z] v1.0.0 [2023-06-12T18:22:45.827Z] v1.1.0 [2023-06-12T18:22:45.827Z] v1.1.1 [2023-06-12T18:22:45.827Z] v1.2.2 [2023-06-12T18:22:45.827Z] v1.3.0 [2023-06-12T18:22:45.827Z] v1.3.1 [2023-06-12T18:22:45.827Z] v2.0.0 [2023-06-12T18:22:45.827Z] v2.1.0 [2023-06-12T18:22:45.827Z] v2.1.1 [2023-06-12T18:22:45.827Z] v2.2.0 [2023-06-12T18:22:45.827Z] v2.3.0 [2023-06-12T18:22:45.827Z] v3.0 [2023-06-12T18:22:45.827Z] v3.0.0 [2023-06-12T18:22:45.827Z] v3.1.0-dev.1 [2023-06-12T18:22:45.827Z] v3.1.0-dev.2 [Pipeline] sh [2023-06-12T18:22:46.113Z] + lftools sign git-tag v3.1.0-dev.2 [2023-06-12T18:22:46.686Z] Signing Git tag with Sigul... [2023-06-12T18:22:46.686Z] Signing v3.1.0-dev.2 [Pipeline] echo [2023-06-12T18:22:46.954Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:22:47.236Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-06-12T18:22:47.243Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-06-12T18:22:47.267Z] $ docker stop --time=1 213c842f13d659beafb7260f8b8ea008d0886faaa7f4070335959b9a6e7a14b8 [2023-06-12T18:22:48.533Z] $ docker rm -f --volumes 213c842f13d659beafb7260f8b8ea008d0886faaa7f4070335959b9a6e7a14b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-06-12T18:22:48.948Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:22:48.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:49.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:22:49.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:22:49.320Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:22:49.354Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:22:49.708Z] $ docker top d6018093aa03cb07aa54fef6edf989d115a2339d3ab1c5d2a3a5026575aad10e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:22:49.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:22:49.797Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:22:49.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:22:49.903Z] $ docker exec d6018093aa03cb07aa54fef6edf989d115a2339d3ab1c5d2a3a5026575aad10e ssh-agent [2023-06-12T18:22:50.001Z] SSH_AUTH_SOCK=/tmp/ssh-gJ5133sKA5HL/agent.33 [2023-06-12T18:22:50.001Z] SSH_AGENT_PID=39 [2023-06-12T18:22:50.006Z] Running ssh-add (command line suppressed) [2023-06-12T18:22:50.115Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6738453624033917614.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6738453624033917614.key) [2023-06-12T18:22:50.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:22:50.420Z] + git semver bump pre [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,599 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,599 [bump_version] DEBUG bumped version:3.1.0-dev.3 [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,599 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,599 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,601 [execute] INFO git cat-file --batch-check [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,606 [execute] INFO git cat-file --batch [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:22:50.678Z] 2023-06-12 18:22:50,611 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:50.678Z] 3.1.0-dev.3 [Pipeline] } [2023-06-12T18:22:50.691Z] $ docker exec --env ******** --env ******** d6018093aa03cb07aa54fef6edf989d115a2339d3ab1c5d2a3a5026575aad10e ssh-agent -k [2023-06-12T18:22:50.801Z] unset SSH_AUTH_SOCK; [2023-06-12T18:22:50.801Z] unset SSH_AGENT_PID; [2023-06-12T18:22:50.801Z] echo Agent pid 39 killed; [2023-06-12T18:22:50.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:22:51.116Z] + git semver [Pipeline] } [2023-06-12T18:22:51.397Z] $ docker stop --time=1 d6018093aa03cb07aa54fef6edf989d115a2339d3ab1c5d2a3a5026575aad10e [2023-06-12T18:22:52.664Z] $ docker rm -f --volumes d6018093aa03cb07aa54fef6edf989d115a2339d3ab1c5d2a3a5026575aad10e [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:22:53.004Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:22:53.004Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:22:53.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:22:53.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:22:53.379Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:22:53.411Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:22:53.752Z] $ docker top df1905fbfbc3e14bdf2ba65884d74b887c61197e0d6c54d4a1520f974c1d658d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:22:53.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:22:53.839Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:22:53.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:22:53.956Z] $ docker exec df1905fbfbc3e14bdf2ba65884d74b887c61197e0d6c54d4a1520f974c1d658d ssh-agent [2023-06-12T18:22:54.055Z] SSH_AUTH_SOCK=/tmp/ssh-x4JV9xeTltys/agent.32 [2023-06-12T18:22:54.055Z] SSH_AGENT_PID=38 [2023-06-12T18:22:54.061Z] Running ssh-add (command line suppressed) [2023-06-12T18:22:54.176Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16710853489897331877.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16710853489897331877.key) [2023-06-12T18:22:54.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:22:54.472Z] + git semver push [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,676 [run_push] DEBUG push [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,677 [execute] INFO git cat-file --batch-check [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,681 [execute] INFO git rev-list 1a87ec81945961598f2f429b341fb4141a4810c9 -- [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,682 [execute] DEBUG Popen(['git', 'rev-list', '1a87ec81945961598f2f429b341fb4141a4810c9', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,691 [execute] INFO git fetch -v origin [2023-06-12T18:22:54.732Z] 2023-06-12 18:22:54,692 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-06-12T18:22:55.299Z] 2023-06-12 18:22:55,160 [run_push] DEBUG no remote changes detected [2023-06-12T18:22:55.299Z] 2023-06-12 18:22:55,161 [execute] INFO git push origin semver [2023-06-12T18:22:55.299Z] 2023-06-12 18:22:55,161 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:22:56.244Z] 2023-06-12 18:22:55,929 [run_push] DEBUG push all version tags [2023-06-12T18:22:56.244Z] 2023-06-12 18:22:55,929 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-06-12T18:22:56.244Z] 2023-06-12 18:22:55,930 [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-06-12T18:22:56.812Z] 2023-06-12 18:22:56,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:22:56.812Z] 3.1.0-dev.3 [Pipeline] } [2023-06-12T18:22:56.823Z] $ docker exec --env ******** --env ******** df1905fbfbc3e14bdf2ba65884d74b887c61197e0d6c54d4a1520f974c1d658d ssh-agent -k [2023-06-12T18:22:56.929Z] unset SSH_AUTH_SOCK; [2023-06-12T18:22:56.929Z] unset SSH_AGENT_PID; [2023-06-12T18:22:56.929Z] echo Agent pid 38 killed; [2023-06-12T18:22:56.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:22:57.237Z] + git semver [Pipeline] } [2023-06-12T18:22:57.515Z] $ docker stop --time=1 df1905fbfbc3e14bdf2ba65884d74b887c61197e0d6c54d4a1520f974c1d658d [2023-06-12T18:22:58.795Z] $ docker rm -f --volumes df1905fbfbc3e14bdf2ba65884d74b887c61197e0d6c54d4a1520f974c1d658d [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-06-12T18:22:59.337Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-06-12T18:22:59.337Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-06-12T18:22:59.337Z] total 16 [2023-06-12T18:22:59.337Z] drwxr-xr-x 3 root root 4096 Jun 12 18:11 . [2023-06-12T18:22:59.337Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:22 .. [2023-06-12T18:22:59.337Z] drwxr-xr-x 2 root root 4096 Jun 12 18:11 cost [2023-06-12T18:22:59.337Z] -rw-r--r-- 1 root root 86 Jun 12 18:11 cost.csv [2023-06-12T18:22:59.337Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-06-12T18:22:59.337Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-06-12T18:22:59.337Z] total 16 [2023-06-12T18:22:59.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:11 . [2023-06-12T18:22:59.337Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:22 .. [2023-06-12T18:22:59.337Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 18:11 cost [2023-06-12T18:22:59.337Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 12 18:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:22:59.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:23:00.493Z] ---> package-listing.sh [2023-06-12T18:23:00.493Z] ++ facter osfamily [2023-06-12T18:23:00.493Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T18:23:00.754Z] + OS_FAMILY=debian [2023-06-12T18:23:00.754Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-06-12T18:23:00.754Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T18:23:00.754Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T18:23:00.754Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T18:23:00.754Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T18:23:00.754Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-06-12T18:23:00.754Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T18:23:00.754Z] + case "${OS_FAMILY}" in [2023-06-12T18:23:00.754Z] + dpkg -l [2023-06-12T18:23:00.754Z] + grep '^ii' [2023-06-12T18:23:00.754Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T18:23:00.754Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T18:23:00.754Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T18:23:00.754Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-06-12T18:23:00.754Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-06-12T18:23:00.754Z] + 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-06-12T18:23:00.765Z] 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-06-12T18:23:01.043Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:23:01.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:23:01.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:23:01.780Z] prd-ubuntu20.04-docker-8c-8g-18480 does not seem to be running inside a container [2023-06-12T18:23:01.857Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T18:23:02.080Z] $ docker top 07f6fa803a81dc81665fde4c575d59a2c9ac25551f39773791f5a5f11925ac34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:23:02.423Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T18:23:02.710Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T18:23:02.997Z] + ls /var/log/sa-host [2023-06-12T18:23:02.998Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:23:03.145Z] provisioning config files... [2023-06-12T18:23:03.154Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1656918276016056386tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:23:03.165Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:23:03.449Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T18:23:03.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:23:03.787Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T18:23:03.797Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:23:04.082Z] ---> sudo-logs.sh [2023-06-12T18:23:04.083Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T18:23:04.120Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:23:04.407Z] ---> job-cost.sh [2023-06-12T18:23:04.407Z] lf-activate-venv: SKIPPING [2023-06-12T18:23:04.407Z] DEBUG: total: 0.2199999988079071 [2023-06-12T18:23:04.407Z] INFO: Retrieving Stack Cost... [2023-06-12T18:23:04.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:23:05.233Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T18:23:05.245Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:23:05.527Z] ---> logs-deploy.sh [2023-06-12T18:23:05.527Z] lf-activate-venv: SKIPPING [2023-06-12T18:23:05.527Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/130 [2023-06-12T18:23:05.527Z] INFO: archiving workspace using pattern(s): [2023-06-12T18:23:06.464Z] Archives upload complete. [2023-06-12T18:23:06.464Z] INFO: archiving logs to Nexus