Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from daa77f607dde25a5e4d859eb1b1c744bffed4e03 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-ssh344258510950236735.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11575726887992959843.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7617260136157485396.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9850499744914310649.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-ssh4688617546521061263.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8120 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision daa77f607dde25a5e4d859eb1b1c744bffed4e03 (main) Commit message: "Merge pull request #630 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" > git config core.sparsecheckout # timeout=10 > git checkout -f daa77f607dde25a5e4d859eb1b1c744bffed4e03 # timeout=10 > git rev-list --no-walk a45594980a96898910fec3459b41ad85d89a4405 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-28T06:48:58.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-28T06:48:58.663Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-28T06:48:58.677Z] ========================================================= [2023-09-28T06:48:58.677Z] EdgeX Global Pipelines Version Info [2023-09-28T06:48:58.677Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:00.253Z] ------------------- [2023-09-28T06:49:00.253Z] stable info: [2023-09-28T06:49:00.253Z] ------------------- [2023-09-28T06:49:00.253Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-28T06:49:00.253Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T06:49:00.253Z] Message: update stable to v1.0.254 [2023-09-28T06:49:00.822Z] ------------------- [2023-09-28T06:49:00.822Z] experimental info: [2023-09-28T06:49:00.822Z] ------------------- [2023-09-28T06:49:00.822Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-28T06:49:00.822Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T06:49:00.822Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-28T06:49:00.959Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-28T06:49:00.969Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-28T06:49:00.981Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-28T06:49:00.993Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-28T06:49:01.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-28T06:49:01.016Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-28T06:49:01.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-28T06:49:01.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-28T06:49:01.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-28T06:49:01.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-28T06:49:01.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-28T06:49:01.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-28T06:49:01.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-28T06:49:01.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-28T06:49:01.144Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T06:49:01.160Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T06:49:01.174Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T06:49:01.186Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T06:49:01.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-28T06:49:01.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-28T06:49:01.229Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-28T06:49:01.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-28T06:49:01.263Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-28T06:49:01.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-28T06:49:01.286Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-28T06:49:01.300Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-28T06:49:01.314Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-28T06:49:01.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-28T06:49:01.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-28T06:49:01.350Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-28T06:49:01.362Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] echo [2023-09-28T06:49:01.374Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daa77f6 [Pipeline] echo [2023-09-28T06:49:01.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:49:01.424Z] provisioning config files... [2023-09-28T06:49:01.437Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5575371520815079158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:01.735Z] ---> docker-login.sh [2023-09-28T06:49:01.735Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:49:04.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:04.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:04.298Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:04.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:04.298Z] [2023-09-28T06:49:04.298Z] Login Succeeded [2023-09-28T06:49:04.298Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:49:04.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:04.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:04.298Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:04.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:04.298Z] [2023-09-28T06:49:04.298Z] Login Succeeded [2023-09-28T06:49:04.298Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:49:04.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:04.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:04.298Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:04.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:04.298Z] [2023-09-28T06:49:04.298Z] Login Succeeded [2023-09-28T06:49:04.298Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:49:04.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:04.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:04.558Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:04.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:04.558Z] [2023-09-28T06:49:04.558Z] Login Succeeded [2023-09-28T06:49:04.558Z] docker.io [2023-09-28T06:49:04.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:04.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:04.817Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:04.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:04.817Z] [2023-09-28T06:49:04.817Z] Login Succeeded [2023-09-28T06:49:04.817Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:49:04.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-28T06:49:05.193Z] + git rev-list -1 --merges daa77f607dde25a5e4d859eb1b1c744bffed4e03~1..daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] echo [2023-09-28T06:49:05.261Z] -----------> git rev-list -1 --merges daa77f607dde25a5e4d859eb1b1c744bffed4e03~1..daa77f607dde25a5e4d859eb1b1c744bffed4e03 daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:49:05.261Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03 [false] [Pipeline] sh [2023-09-28T06:49:05.592Z] + git log --format=format:%s -1 daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] echo [2023-09-28T06:49:05.608Z] ========================================================= [2023-09-28T06:49:05.609Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T06:49:05.609Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:49:05.948Z] + git log --format=format:%s -1 daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] echo [2023-09-28T06:49:05.958Z] [semverPrep] GIT_COMMIT: daa77f607dde25a5e4d859eb1b1c744bffed4e03, Commit Message: Merge pull request #630 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32 [Pipeline] echo [2023-09-28T06:49:05.968Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-28T06:49:06.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:49:06.311Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-28T06:49:06.311Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-28T06:49:06.311Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-28T06:49:06.311Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-28T06:49:06.311Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-28T06:49:06.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:06.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:49:06.649Z] [2023-09-28T06:49:06.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:06.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:49:06.943Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-28T06:49:06.943Z] b85a868b505f: Pulling fs layer [2023-09-28T06:49:06.943Z] e2be974225ed: Pulling fs layer [2023-09-28T06:49:06.943Z] 339a4e72a1f5: Pulling fs layer [2023-09-28T06:49:06.943Z] 988bab9f4d93: Pulling fs layer [2023-09-28T06:49:06.943Z] 1469e6f7b9e6: Pulling fs layer [2023-09-28T06:49:06.943Z] eaf3925da568: Pulling fs layer [2023-09-28T06:49:06.943Z] 988bab9f4d93: Waiting [2023-09-28T06:49:06.943Z] 1469e6f7b9e6: Waiting [2023-09-28T06:49:06.943Z] bab4dde63d76: Pulling fs layer [2023-09-28T06:49:06.943Z] bde34c3a00c8: Pulling fs layer [2023-09-28T06:49:06.943Z] eaf3925da568: Waiting [2023-09-28T06:49:06.943Z] bab4dde63d76: Waiting [2023-09-28T06:49:06.943Z] b352a97aabf1: Pulling fs layer [2023-09-28T06:49:06.943Z] bde34c3a00c8: Waiting [2023-09-28T06:49:06.943Z] 4872d77fe225: Pulling fs layer [2023-09-28T06:49:06.943Z] 5851b861e8e6: Pulling fs layer [2023-09-28T06:49:06.943Z] b352a97aabf1: Waiting [2023-09-28T06:49:06.943Z] 4872d77fe225: Waiting [2023-09-28T06:49:06.943Z] e2be974225ed: Download complete [2023-09-28T06:49:06.943Z] 988bab9f4d93: Verifying Checksum [2023-09-28T06:49:06.943Z] 988bab9f4d93: Download complete [2023-09-28T06:49:06.943Z] 1469e6f7b9e6: Verifying Checksum [2023-09-28T06:49:06.943Z] 1469e6f7b9e6: Download complete [2023-09-28T06:49:07.202Z] eaf3925da568: Verifying Checksum [2023-09-28T06:49:07.202Z] eaf3925da568: Download complete [2023-09-28T06:49:07.202Z] 339a4e72a1f5: Verifying Checksum [2023-09-28T06:49:07.202Z] 339a4e72a1f5: Download complete [2023-09-28T06:49:07.202Z] bde34c3a00c8: Download complete [2023-09-28T06:49:07.202Z] b352a97aabf1: Verifying Checksum [2023-09-28T06:49:07.202Z] b352a97aabf1: Download complete [2023-09-28T06:49:07.202Z] 4872d77fe225: Verifying Checksum [2023-09-28T06:49:07.202Z] 4872d77fe225: Download complete [2023-09-28T06:49:07.202Z] 5851b861e8e6: Verifying Checksum [2023-09-28T06:49:07.202Z] 5851b861e8e6: Download complete [2023-09-28T06:49:07.202Z] b85a868b505f: Verifying Checksum [2023-09-28T06:49:07.202Z] b85a868b505f: Download complete [2023-09-28T06:49:07.459Z] bab4dde63d76: Verifying Checksum [2023-09-28T06:49:08.395Z] b85a868b505f: Pull complete [2023-09-28T06:49:08.653Z] e2be974225ed: Pull complete [2023-09-28T06:49:09.219Z] 339a4e72a1f5: Pull complete [2023-09-28T06:49:09.219Z] 988bab9f4d93: Pull complete [2023-09-28T06:49:09.478Z] 1469e6f7b9e6: Pull complete [2023-09-28T06:49:10.044Z] eaf3925da568: Pull complete [2023-09-28T06:49:11.945Z] bab4dde63d76: Pull complete [2023-09-28T06:49:11.945Z] bde34c3a00c8: Pull complete [2023-09-28T06:49:12.205Z] b352a97aabf1: Pull complete [2023-09-28T06:49:12.464Z] 4872d77fe225: Pull complete [2023-09-28T06:49:12.464Z] 5851b861e8e6: Pull complete [2023-09-28T06:49:12.464Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-28T06:49:12.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:49:12.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:49:12.580Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:49:12.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:49:17.203Z] $ docker top efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 -eo pid,comm [2023-09-28T06:49:17.252Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:49:17.252Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:49:17.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:49:17.284Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:49:17.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:49:17.405Z] $ docker exec efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 ssh-agent [2023-09-28T06:49:17.508Z] SSH_AUTH_SOCK=/tmp/ssh-nlCHRLPN8U4X/agent.32 [2023-09-28T06:49:17.508Z] SSH_AGENT_PID=38 [2023-09-28T06:49:17.514Z] Running ssh-add (command line suppressed) [2023-09-28T06:49:17.616Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17702075171265665766.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17702075171265665766.key) [2023-09-28T06:49:17.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:49:17.909Z] + git tag --points-at HEAD [Pipeline] } [2023-09-28T06:49:17.930Z] $ docker exec --env ******** --env ******** efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 ssh-agent -k [2023-09-28T06:49:18.032Z] unset SSH_AUTH_SOCK; [2023-09-28T06:49:18.033Z] unset SSH_AGENT_PID; [2023-09-28T06:49:18.033Z] echo Agent pid 38 killed; [2023-09-28T06:49:18.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-28T06:49:18.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:49:18.061Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:49:18.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:49:18.186Z] $ docker exec efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 ssh-agent [2023-09-28T06:49:18.303Z] SSH_AUTH_SOCK=/tmp/ssh-EcEI5BMh0YWX/agent.70 [2023-09-28T06:49:18.303Z] SSH_AGENT_PID=76 [2023-09-28T06:49:18.308Z] Running ssh-add (command line suppressed) [2023-09-28T06:49:18.420Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16624062724330067222.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16624062724330067222.key) [2023-09-28T06:49:18.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:49:18.714Z] + git semver init [2023-09-28T06:49:18.973Z] 2023-09-28 06:49:18,915 [run_init] DEBUG init version:0.0.0 force:False [2023-09-28T06:49:18.973Z] 2023-09-28 06:49:18,916 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-28T06:49:18.973Z] 2023-09-28 06:49:18,916 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-28T06:49:18.973Z] 2023-09-28 06:49:18,917 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:49:19.910Z] 2023-09-28 06:49:19,820 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-09-28T06:49:19.910Z] 2023-09-28 06:49:19,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-09-28T06:49:19.910Z] 2023-09-28 06:49:19,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:49:19.910Z] 2023-09-28 06:49:19,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:49:19.910Z] 3.1.0-dev.15 [Pipeline] } [2023-09-28T06:49:19.922Z] $ docker exec --env ******** --env ******** efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 ssh-agent -k [2023-09-28T06:49:20.021Z] unset SSH_AUTH_SOCK; [2023-09-28T06:49:20.022Z] unset SSH_AGENT_PID; [2023-09-28T06:49:20.022Z] echo Agent pid 76 killed; [2023-09-28T06:49:20.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:49:20.329Z] + git semver [Pipeline] } [2023-09-28T06:49:20.601Z] $ docker stop --time=1 efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 [2023-09-28T06:49:22.342Z] $ docker rm -f --volumes efee16ffde8abc395fb2d97ac23b6127fcc8c0c957caf98a0049220004ea5229 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:49:22.737Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-28T06:49:22.984Z] Stashed 1 file(s) [Pipeline] echo [2023-09-28T06:49:22.986Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:49:23.129Z] provisioning config files... [2023-09-28T06:49:23.138Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4003791550326574057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:49:23.442Z] ---> docker-login.sh [2023-09-28T06:49:23.442Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:49:23.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:23.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:23.442Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:23.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:23.442Z] [2023-09-28T06:49:23.442Z] Login Succeeded [2023-09-28T06:49:23.442Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:49:23.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:23.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:23.442Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:23.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:23.442Z] [2023-09-28T06:49:23.442Z] Login Succeeded [2023-09-28T06:49:23.442Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:49:23.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:23.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:23.702Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:23.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:23.702Z] [2023-09-28T06:49:23.702Z] Login Succeeded [2023-09-28T06:49:23.702Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:49:23.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:23.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:23.702Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:23.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:23.702Z] [2023-09-28T06:49:23.702Z] Login Succeeded [2023-09-28T06:49:23.702Z] docker.io [2023-09-28T06:49:23.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:49:24.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:49:24.268Z] Configure a credential helper to remove this warning. See [2023-09-28T06:49:24.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:49:24.268Z] [2023-09-28T06:49:24.268Z] Login Succeeded [2023-09-28T06:49:24.268Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:49:24.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T06:49:24.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:49:24.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:49:24.351Z] ========================================================= [2023-09-28T06:49:24.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-28T06:49:24.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:49:24.679Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T06:49:24.679Z] Sending build context to Docker daemon 6.508MB [2023-09-28T06:49:24.679Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:49:24.679Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-28T06:49:24.679Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-28T06:49:24.679Z] 7264a8db6415: Pulling fs layer [2023-09-28T06:49:24.679Z] c4d48a809fc2: Pulling fs layer [2023-09-28T06:49:24.679Z] 4f1c88b9dad5: Pulling fs layer [2023-09-28T06:49:24.679Z] ad3a456e5733: Pulling fs layer [2023-09-28T06:49:24.679Z] ad3a456e5733: Waiting [2023-09-28T06:49:24.679Z] 33e27b845d1e: Pulling fs layer [2023-09-28T06:49:24.679Z] c68163c4e522: Pulling fs layer [2023-09-28T06:49:24.679Z] 50da416c3ac9: Pulling fs layer [2023-09-28T06:49:24.679Z] 33e27b845d1e: Waiting [2023-09-28T06:49:24.679Z] c68163c4e522: Waiting [2023-09-28T06:49:24.679Z] 23d2d4c4bb30: Pulling fs layer [2023-09-28T06:49:24.679Z] 50da416c3ac9: Waiting [2023-09-28T06:49:24.679Z] 23d2d4c4bb30: Waiting [2023-09-28T06:49:24.679Z] c4d48a809fc2: Download complete [2023-09-28T06:49:24.939Z] ad3a456e5733: Verifying Checksum [2023-09-28T06:49:24.939Z] ad3a456e5733: Download complete [2023-09-28T06:49:24.939Z] 7264a8db6415: Download complete [2023-09-28T06:49:24.939Z] c68163c4e522: Verifying Checksum [2023-09-28T06:49:24.939Z] c68163c4e522: Download complete [2023-09-28T06:49:25.209Z] 7264a8db6415: Pull complete [2023-09-28T06:49:25.209Z] 23d2d4c4bb30: Verifying Checksum [2023-09-28T06:49:25.209Z] 23d2d4c4bb30: Download complete [2023-09-28T06:49:25.209Z] c4d48a809fc2: Pull complete [2023-09-28T06:49:25.209Z] 4f1c88b9dad5: Verifying Checksum [2023-09-28T06:49:25.209Z] 4f1c88b9dad5: Download complete [2023-09-28T06:49:25.773Z] 50da416c3ac9: Verifying Checksum [2023-09-28T06:49:25.773Z] 50da416c3ac9: Download complete [2023-09-28T06:49:28.302Z] 4f1c88b9dad5: Pull complete [2023-09-28T06:49:28.302Z] ad3a456e5733: Pull complete [2023-09-28T06:49:28.302Z] 33e27b845d1e: Pull complete [2023-09-28T06:49:28.559Z] c68163c4e522: Pull complete [2023-09-28T06:49:31.089Z] 50da416c3ac9: Pull complete [2023-09-28T06:49:31.089Z] 23d2d4c4bb30: Pull complete [2023-09-28T06:49:31.089Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-28T06:49:31.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-28T06:49:31.089Z] ---> 0786185ac409 [2023-09-28T06:49:31.089Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:49:38.085Z] Still waiting to schedule task [2023-09-28T06:49:38.085Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-28T06:49:39.207Z] ---> Running in 546b60220d11 [2023-09-28T06:49:39.207Z] Removing intermediate container 546b60220d11 [2023-09-28T06:49:39.207Z] ---> e37f7d849d35 [2023-09-28T06:49:39.207Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:49:39.207Z] ---> Running in cd808d184e44 [2023-09-28T06:49:39.207Z] Removing intermediate container cd808d184e44 [2023-09-28T06:49:39.207Z] ---> f35e0eafb2ae [2023-09-28T06:49:39.207Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T06:49:39.207Z] ---> Running in f9d3f126b07d [2023-09-28T06:49:39.207Z] Removing intermediate container f9d3f126b07d [2023-09-28T06:49:39.207Z] ---> 458d42dece8a [2023-09-28T06:49:39.207Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:49:39.207Z] ---> Running in 20dc70ff2774 [2023-09-28T06:49:39.207Z] Removing intermediate container 20dc70ff2774 [2023-09-28T06:49:39.207Z] ---> 9132279698ca [2023-09-28T06:49:39.207Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:49:39.207Z] ---> Running in 04382402ba10 [2023-09-28T06:49:39.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:49:39.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:49:39.207Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T06:49:39.207Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-28T06:49:39.207Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T06:49:39.207Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T06:49:39.207Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:49:39.207Z] OK: 268 MiB in 56 packages [2023-09-28T06:49:39.773Z] Removing intermediate container 04382402ba10 [2023-09-28T06:49:39.773Z] ---> 508ff27eb479 [2023-09-28T06:49:39.773Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-28T06:49:39.773Z] ---> Running in b9578c4b6fdd [2023-09-28T06:49:39.773Z] Removing intermediate container b9578c4b6fdd [2023-09-28T06:49:39.773Z] ---> 1e05d98fdedf [2023-09-28T06:49:39.773Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-28T06:49:40.032Z] ---> f7b423c77869 [2023-09-28T06:49:40.032Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:49:40.032Z] ---> Running in a737b0cbb67f [2023-09-28T06:50:47.729Z] Removing intermediate container a737b0cbb67f [2023-09-28T06:50:47.729Z] ---> 2315f9e476f8 [2023-09-28T06:50:47.729Z] Step 11/12 : COPY . . [2023-09-28T06:50:47.729Z] ---> 17cf70df69c8 [2023-09-28T06:50:47.729Z] Step 12/12 : RUN $MAKE [2023-09-28T06:50:47.729Z] ---> Running in b5d3033ceb19 [2023-09-28T06:50:47.729Z] noop [2023-09-28T06:50:47.729Z] Removing intermediate container b5d3033ceb19 [2023-09-28T06:50:47.729Z] ---> 7bf5a9bd7d4a [2023-09-28T06:50:47.729Z] Successfully built 7bf5a9bd7d4a [2023-09-28T06:50:47.729Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:50:48.037Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T06:50:48.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:50:48.105Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:50:48.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-28T06:50:50.816Z] $ docker top 37e68ebebaf7324ebe566b2e99a19f32c837dcec684a6670012ecef2e6d4d34c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:50:51.159Z] + go version [2023-09-28T06:50:51.159Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-28T06:50:51.171Z] $ docker stop --time=1 37e68ebebaf7324ebe566b2e99a19f32c837dcec684a6670012ecef2e6d4d34c [2023-09-28T06:50:54.234Z] $ docker rm -f --volumes 37e68ebebaf7324ebe566b2e99a19f32c837dcec684a6670012ecef2e6d4d34c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:50:54.917Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T06:50:54.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:50:54.987Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:50:55.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-28T06:50:58.058Z] $ docker top 53f53bdeef267ce587e4e1bb278606070d600f8797941153c1ec50b2fb9ca342 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:50:58.407Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-28T06:50:58.698Z] + make test [2023-09-28T06:50:58.698Z] go test ./... -coverprofile=coverage.out ./... [2023-09-28T06:51:06.125Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8121 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-09-28T06:51:06.139Z] Running in /w/workspace/device-mqtt-go/143 [Pipeline] { [Pipeline] checkout [2023-09-28T06:51:06.170Z] The recommended git tool is: git [2023-09-28T06:51:11.310Z] using credential edgex-jenkins-ssh [2023-09-28T06:51:11.330Z] Cloning the remote Git repository [2023-09-28T06:51:11.374Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-28T06:51:11.468Z] > git init /w/workspace/device-mqtt-go/143 # timeout=10 [2023-09-28T06:51:11.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-28T06:51:11.612Z] > git --version # timeout=10 [2023-09-28T06:51:11.635Z] > git --version # 'git version 2.25.1' [2023-09-28T06:51:11.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T06:51:11.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T06:51:16.794Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-28T06:51:17.622Z] Avoid second fetch [2023-09-28T06:51:17.623Z] Checking out Revision daa77f607dde25a5e4d859eb1b1c744bffed4e03 (main) [2023-09-28T06:51:16.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-28T06:51:16.789Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T06:51:17.637Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T06:51:17.703Z] > git checkout -f daa77f607dde25a5e4d859eb1b1c744bffed4e03 # timeout=10 [2023-09-28T06:51:18.174Z] Commit message: "Merge pull request #630 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.32" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:51:19.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-28T06:51:19.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:51:19.046Z] Dload Upload Total Spent Left Speed [2023-09-28T06:51:19.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2023-09-28T06:51:19.664Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-28T06:51:19.993Z] + sudo tee /etc/docker/daemon.new [2023-09-28T06:51:19.993Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-28T06:51:19.993Z] { [2023-09-28T06:51:19.993Z] "registry-mirrors": [ [2023-09-28T06:51:19.993Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-28T06:51:19.993Z] ], [2023-09-28T06:51:19.993Z] "bip": "10.250.0.254/24", [2023-09-28T06:51:19.993Z] "hosts": [ [2023-09-28T06:51:19.993Z] "tcp://0.0.0.0:5555", [2023-09-28T06:51:19.993Z] "unix:///var/run/docker.sock" [2023-09-28T06:51:19.993Z] ], [2023-09-28T06:51:19.993Z] "mtu": 1458, [2023-09-28T06:51:19.993Z] "selinux-enabled": true, [2023-09-28T06:51:19.993Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-28T06:51:19.993Z] } [Pipeline] sh [2023-09-28T06:51:20.326Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-28T06:51:20.664Z] + sudo service docker restart [2023-09-28T06:51:24.937Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-28T06:51:24.937Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-28T06:51:24.937Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements [2023-09-28T06:51:31.521Z] go vet ./... [2023-09-28T06:51:34.062Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T06:51:34.062Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T06:51:34.062Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T06:51:34.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T06:51:34.092Z] $ docker stop --time=1 53f53bdeef267ce587e4e1bb278606070d600f8797941153c1ec50b2fb9ca342 [2023-09-28T06:51:44.367Z] $ docker rm -f --volumes 53f53bdeef267ce587e4e1bb278606070d600f8797941153c1ec50b2fb9ca342 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:51:44.736Z] provisioning config files... [2023-09-28T06:51:44.762Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/143@tmp/config5132810012471916787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:51:44.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T06:51:45.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-09-28T06:51:45.111Z] ---> docker-login.sh [2023-09-28T06:51:45.111Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2023-09-28T06:51:45.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:51:45.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T06:51:45.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:51:45.648Z] Configure a credential helper to remove this warning. See [2023-09-28T06:51:45.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:51:45.648Z] [2023-09-28T06:51:45.648Z] Login Succeeded [2023-09-28T06:51:45.648Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:51:45.887Z] + ls -al . [2023-09-28T06:51:45.887Z] total 188 [2023-09-28T06:51:45.887Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 06:51 . [2023-09-28T06:51:45.887Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:48 .. [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 06:48 .dockerignore [2023-09-28T06:51:45.887Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:51 .git [2023-09-28T06:51:45.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:48 .github [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 28 06:48 .gitignore [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 06:48 .golangci.yml [2023-09-28T06:51:45.887Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:49 .semver [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 28 06:48 Attribution.txt [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 28 06:48 CHANGELOG.md [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 28 06:48 Dockerfile [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:48 GOVERNANCE.md [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 06:48 Jenkinsfile [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 06:48 LICENSE [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 28 06:48 Makefile [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 28 06:48 OWNERS.md [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 28 06:48 README.md [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 06:49 VERSION [2023-09-28T06:51:45.887Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:48 bin [2023-09-28T06:51:45.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:48 cmd [2023-09-28T06:51:45.887Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 28 06:51 coverage.out [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 28 06:48 go.mod [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 28 06:48 go.sum [2023-09-28T06:51:45.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:48 internal [2023-09-28T06:51:45.887Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:48 mock [2023-09-28T06:51:45.887Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:48 snap [2023-09-28T06:51:45.887Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 28 06:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:51:45.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:51:46.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:51:46.188Z] Configure a credential helper to remove this warning. See [2023-09-28T06:51:46.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:51:46.188Z] [2023-09-28T06:51:46.188Z] Login Succeeded [2023-09-28T06:51:46.188Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:51:46.194Z] + 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=daa77f607dde25a5e4d859eb1b1c744bffed4e03 --label arch=amd64 --label version=3.1.0-dev.15 . [2023-09-28T06:51:46.194Z] Sending build context to Docker daemon 6.527MB [2023-09-28T06:51:46.194Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:51:46.194Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-28T06:51:46.194Z] ---> 7bf5a9bd7d4a [2023-09-28T06:51:46.194Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:51:46.453Z] ---> Running in 93c677364c74 [2023-09-28T06:51:46.453Z] Removing intermediate container 93c677364c74 [2023-09-28T06:51:46.453Z] ---> c97449937aaa [2023-09-28T06:51:46.453Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:51:46.453Z] ---> Running in 37c058c23bc8 [2023-09-28T06:51:46.453Z] Removing intermediate container 37c058c23bc8 [2023-09-28T06:51:46.453Z] ---> ffebbd009bf4 [2023-09-28T06:51:46.453Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T06:51:46.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:51:46.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:51:46.463Z] Configure a credential helper to remove this warning. See [2023-09-28T06:51:46.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:51:46.463Z] [2023-09-28T06:51:46.463Z] Login Succeeded [2023-09-28T06:51:46.463Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:51:46.712Z] ---> Running in a90ae2690cf1 [2023-09-28T06:51:46.712Z] Removing intermediate container a90ae2690cf1 [2023-09-28T06:51:46.712Z] ---> bd75b1a354fc [2023-09-28T06:51:46.712Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:51:46.712Z] ---> Running in 7c8b6aeab47f [2023-09-28T06:51:46.712Z] Removing intermediate container 7c8b6aeab47f [2023-09-28T06:51:46.712Z] ---> da98ec4257d9 [2023-09-28T06:51:46.712Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:51:46.712Z] ---> Running in e7ef41b5be29 [2023-09-28T06:51:46.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:51:46.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:51:46.731Z] Configure a credential helper to remove this warning. See [2023-09-28T06:51:46.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:51:46.731Z] [2023-09-28T06:51:46.731Z] Login Succeeded [2023-09-28T06:51:46.731Z] docker.io [2023-09-28T06:51:47.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:51:47.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:51:47.271Z] Configure a credential helper to remove this warning. See [2023-09-28T06:51:47.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:51:47.271Z] [2023-09-28T06:51:47.271Z] Login Succeeded [2023-09-28T06:51:47.271Z] ---> docker-login.sh ends [2023-09-28T06:51:47.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:51:47.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] } [2023-09-28T06:51:47.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T06:51:47.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-09-28T06:51:47.538Z] OK: 268 MiB in 56 packages [Pipeline] echo [2023-09-28T06:51:47.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:51:47.556Z] ========================================================= [2023-09-28T06:51:47.556Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-28T06:51:47.556Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:51:47.898Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-28T06:51:48.108Z] Removing intermediate container e7ef41b5be29 [2023-09-28T06:51:48.108Z] ---> 8149fb6f5d0e [2023-09-28T06:51:48.108Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-28T06:51:48.108Z] ---> Running in f37b14e15746 [2023-09-28T06:51:48.166Z] Sending build context to Docker daemon 3.356MB [2023-09-28T06:51:48.166Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:51:48.166Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-28T06:51:48.368Z] Removing intermediate container f37b14e15746 [2023-09-28T06:51:48.368Z] ---> 2f6a8ffa2d84 [2023-09-28T06:51:48.368Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-28T06:51:48.368Z] ---> 14e277c2544a [2023-09-28T06:51:48.368Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:51:48.368Z] ---> Running in a631459d2e56 [2023-09-28T06:51:48.437Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-28T06:51:48.437Z] 9fda8d8052c6: Pulling fs layer [2023-09-28T06:51:48.437Z] 5d54e960e981: Pulling fs layer [2023-09-28T06:51:48.437Z] c4a7e357bf2a: Pulling fs layer [2023-09-28T06:51:48.437Z] f0e02332f6b5: Pulling fs layer [2023-09-28T06:51:48.437Z] cefa15bbcfad: Pulling fs layer [2023-09-28T06:51:48.437Z] 17808c966233: Pulling fs layer [2023-09-28T06:51:48.437Z] f4c1fc716caa: Pulling fs layer [2023-09-28T06:51:48.437Z] cefa15bbcfad: Waiting [2023-09-28T06:51:48.437Z] f0e02332f6b5: Waiting [2023-09-28T06:51:48.437Z] 17808c966233: Waiting [2023-09-28T06:51:48.437Z] f4c1fc716caa: Waiting [2023-09-28T06:51:48.437Z] 5d54e960e981: Verifying Checksum [2023-09-28T06:51:48.437Z] 5d54e960e981: Download complete [2023-09-28T06:51:48.437Z] f0e02332f6b5: Download complete [2023-09-28T06:51:48.437Z] cefa15bbcfad: Verifying Checksum [2023-09-28T06:51:48.437Z] cefa15bbcfad: Download complete [2023-09-28T06:51:48.437Z] 9fda8d8052c6: Download complete [2023-09-28T06:51:48.940Z] Removing intermediate container a631459d2e56 [2023-09-28T06:51:48.940Z] ---> fb1fc91e7140 [2023-09-28T06:51:48.940Z] Step 11/24 : COPY . . [2023-09-28T06:51:49.027Z] f4c1fc716caa: Verifying Checksum [2023-09-28T06:51:49.027Z] f4c1fc716caa: Download complete [2023-09-28T06:51:49.299Z] 9fda8d8052c6: Pull complete [2023-09-28T06:51:49.509Z] ---> 2cecd6f7286b [2023-09-28T06:51:49.509Z] Step 12/24 : RUN $MAKE [2023-09-28T06:51:49.509Z] ---> Running in bc43698bffe0 [2023-09-28T06:51:49.766Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-28T06:51:49.894Z] 5d54e960e981: Pull complete [2023-09-28T06:51:50.169Z] c4a7e357bf2a: Verifying Checksum [2023-09-28T06:51:50.169Z] c4a7e357bf2a: Download complete [2023-09-28T06:51:51.140Z] 17808c966233: Verifying Checksum [2023-09-28T06:51:51.140Z] 17808c966233: Download complete [2023-09-28T06:52:01.246Z] c4a7e357bf2a: Pull complete [2023-09-28T06:52:01.246Z] f0e02332f6b5: Pull complete [2023-09-28T06:52:01.513Z] cefa15bbcfad: Pull complete [2023-09-28T06:52:08.186Z] 17808c966233: Pull complete [2023-09-28T06:52:10.788Z] f4c1fc716caa: Pull complete [2023-09-28T06:52:10.788Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-28T06:52:10.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-28T06:52:10.788Z] ---> ea914061e18c [2023-09-28T06:52:10.788Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:52:11.709Z] Removing intermediate container bc43698bffe0 [2023-09-28T06:52:11.709Z] ---> faca0c9690d9 [2023-09-28T06:52:11.709Z] Step 13/24 : FROM alpine:3.18 [2023-09-28T06:52:11.709Z] 3.18: Pulling from library/alpine [2023-09-28T06:52:11.709Z] 7264a8db6415: Already exists [2023-09-28T06:52:11.709Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T06:52:11.709Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T06:52:11.709Z] ---> 7e01a0d0a1dc [2023-09-28T06:52:11.709Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-28T06:52:11.709Z] ---> Running in 344dfebbeca2 [2023-09-28T06:52:11.709Z] Removing intermediate container 344dfebbeca2 [2023-09-28T06:52:11.709Z] ---> 04913638d10a [2023-09-28T06:52:11.709Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-28T06:52:11.709Z] ---> Running in 687efec4b616 [2023-09-28T06:52:11.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-28T06:52:11.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-28T06:52:12.209Z] ---> Running in de5ae5957adc [2023-09-28T06:52:12.227Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T06:52:12.227Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:52:12.227Z] OK: 7 MiB in 16 packages [2023-09-28T06:52:12.481Z] Removing intermediate container de5ae5957adc [2023-09-28T06:52:12.481Z] ---> 646e862d38a8 [2023-09-28T06:52:12.481Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:52:12.484Z] Removing intermediate container 687efec4b616 [2023-09-28T06:52:12.484Z] ---> 6ceb723eb87c [2023-09-28T06:52:12.484Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-28T06:52:12.750Z] ---> Running in bd377508239a [2023-09-28T06:52:13.017Z] Removing intermediate container bd377508239a [2023-09-28T06:52:13.017Z] ---> d47bfd76a1cf [2023-09-28T06:52:13.017Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T06:52:13.017Z] ---> Running in 07be508ca909 [2023-09-28T06:52:13.287Z] Removing intermediate container 07be508ca909 [2023-09-28T06:52:13.287Z] ---> ebb6c1f45584 [2023-09-28T06:52:13.287Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:52:13.288Z] ---> Running in 6c33ee0a7f52 [2023-09-28T06:52:13.556Z] Removing intermediate container 6c33ee0a7f52 [2023-09-28T06:52:13.556Z] ---> d07386315c11 [2023-09-28T06:52:13.556Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:52:13.824Z] ---> Running in 8404c1de60ca [2023-09-28T06:52:14.204Z] ---> ca7de211a8e2 [2023-09-28T06:52:14.204Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-28T06:52:14.204Z] ---> 36ea303df93f [2023-09-28T06:52:14.204Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-28T06:52:14.204Z] ---> f044e6fb9e04 [2023-09-28T06:52:14.204Z] Step 19/24 : EXPOSE 59982 [2023-09-28T06:52:14.204Z] ---> Running in 00e289c2c637 [2023-09-28T06:52:14.204Z] Removing intermediate container 00e289c2c637 [2023-09-28T06:52:14.204Z] ---> 3bcd66d7151f [2023-09-28T06:52:14.204Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-28T06:52:14.204Z] ---> Running in f8dae6199fdd [2023-09-28T06:52:14.463Z] Removing intermediate container f8dae6199fdd [2023-09-28T06:52:14.463Z] ---> 6b66c259b3d2 [2023-09-28T06:52:14.463Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-28T06:52:14.463Z] ---> Running in 8a96eac673bf [2023-09-28T06:52:14.463Z] Removing intermediate container 8a96eac673bf [2023-09-28T06:52:14.463Z] ---> d6ef11e2a17a [2023-09-28T06:52:14.463Z] Step 22/24 : LABEL arch=amd64 [2023-09-28T06:52:14.463Z] ---> Running in 52b1bd7f8a18 [2023-09-28T06:52:14.463Z] Removing intermediate container 52b1bd7f8a18 [2023-09-28T06:52:14.463Z] ---> df493257ed28 [2023-09-28T06:52:14.463Z] Step 23/24 : LABEL git_sha=daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:52:14.463Z] ---> Running in c68544650508 [2023-09-28T06:52:14.721Z] Removing intermediate container c68544650508 [2023-09-28T06:52:14.721Z] ---> 822c330a8285 [2023-09-28T06:52:14.721Z] Step 24/24 : LABEL version=3.1.0-dev.15 [2023-09-28T06:52:14.721Z] ---> Running in 20edb4e49716 [2023-09-28T06:52:14.721Z] Removing intermediate container 20edb4e49716 [2023-09-28T06:52:14.721Z] ---> a40866427cd9 [2023-09-28T06:52:14.721Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T06:52:14.721Z] Successfully built a40866427cd9 [2023-09-28T06:52:14.721Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-09-28T06:52:14.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:52:14.839Z] provisioning config files... [2023-09-28T06:52:14.884Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12690601557573271081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:52:15.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:52:15.287Z] ---> docker-login.sh [2023-09-28T06:52:15.287Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:52:15.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:52:15.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:52:15.287Z] Configure a credential helper to remove this warning. See [2023-09-28T06:52:15.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:52:15.287Z] [2023-09-28T06:52:15.287Z] Login Succeeded [2023-09-28T06:52:15.287Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:52:15.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:52:15.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:52:15.287Z] Configure a credential helper to remove this warning. See [2023-09-28T06:52:15.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:52:15.287Z] [2023-09-28T06:52:15.287Z] Login Succeeded [2023-09-28T06:52:15.287Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:52:15.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:52:15.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:52:15.549Z] Configure a credential helper to remove this warning. See [2023-09-28T06:52:15.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:52:15.549Z] [2023-09-28T06:52:15.549Z] Login Succeeded [2023-09-28T06:52:15.549Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:52:15.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:52:15.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:52:15.549Z] Configure a credential helper to remove this warning. See [2023-09-28T06:52:15.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:52:15.549Z] [2023-09-28T06:52:15.549Z] Login Succeeded [2023-09-28T06:52:15.549Z] docker.io [2023-09-28T06:52:15.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:52:15.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:52:15.825Z] Configure a credential helper to remove this warning. See [2023-09-28T06:52:15.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:52:15.825Z] [2023-09-28T06:52:15.825Z] Login Succeeded [2023-09-28T06:52:15.825Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:52:15.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:52:15.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:52:15.877Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-09-28T06:52:15.877Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:52:15.877Z] latest [2023-09-28T06:52:15.877Z] 3.1.0-dev.15 [2023-09-28T06:52:15.877Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [2023-09-28T06:52:15.877Z] main [2023-09-28T06:52:15.877Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:16.225Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:16.526Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:52:16.526Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-28T06:52:16.526Z] af21d947d595: Preparing [2023-09-28T06:52:16.526Z] 51d701d7d0ef: Preparing [2023-09-28T06:52:16.526Z] decd8604b136: Preparing [2023-09-28T06:52:16.526Z] 74447230be8b: Preparing [2023-09-28T06:52:16.526Z] 4693057ce236: Preparing [2023-09-28T06:52:16.526Z] 4693057ce236: Layer already exists [2023-09-28T06:52:16.526Z] 74447230be8b: Pushed [2023-09-28T06:52:16.526Z] 51d701d7d0ef: Pushed [2023-09-28T06:52:16.526Z] af21d947d595: Pushed [2023-09-28T06:52:16.600Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-28T06:52:16.600Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-28T06:52:16.600Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-28T06:52:16.600Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-28T06:52:16.600Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:52:16.600Z] OK: 270 MiB in 56 packages [2023-09-28T06:52:17.562Z] Removing intermediate container 8404c1de60ca [2023-09-28T06:52:17.562Z] ---> 5efb58601b44 [2023-09-28T06:52:17.562Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-28T06:52:17.562Z] ---> Running in b6a053fb7a4b [2023-09-28T06:52:17.831Z] Removing intermediate container b6a053fb7a4b [2023-09-28T06:52:17.831Z] ---> dab5278f3cd2 [2023-09-28T06:52:17.831Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-28T06:52:18.415Z] ---> 574f5c441874 [2023-09-28T06:52:18.415Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:52:18.415Z] ---> Running in b90f4ec4248b [2023-09-28T06:52:19.055Z] decd8604b136: Pushed [2023-09-28T06:52:19.055Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03: digest: sha256:c88250de1c1829ac9ed69b05e1b6c1e4f007c0e6e83587fad424af73c837d578 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:19.371Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:19.677Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-28T06:52:19.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-28T06:52:19.677Z] af21d947d595: Preparing [2023-09-28T06:52:19.677Z] 51d701d7d0ef: Preparing [2023-09-28T06:52:19.677Z] decd8604b136: Preparing [2023-09-28T06:52:19.677Z] 74447230be8b: Preparing [2023-09-28T06:52:19.677Z] 4693057ce236: Preparing [2023-09-28T06:52:19.677Z] 4693057ce236: Layer already exists [2023-09-28T06:52:19.677Z] decd8604b136: Layer already exists [2023-09-28T06:52:19.677Z] 74447230be8b: Layer already exists [2023-09-28T06:52:19.677Z] af21d947d595: Layer already exists [2023-09-28T06:52:19.677Z] 51d701d7d0ef: Layer already exists [2023-09-28T06:52:19.677Z] latest: digest: sha256:c88250de1c1829ac9ed69b05e1b6c1e4f007c0e6e83587fad424af73c837d578 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:19.992Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:20.297Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.15 [2023-09-28T06:52:20.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-28T06:52:20.297Z] af21d947d595: Preparing [2023-09-28T06:52:20.297Z] 51d701d7d0ef: Preparing [2023-09-28T06:52:20.297Z] decd8604b136: Preparing [2023-09-28T06:52:20.297Z] 74447230be8b: Preparing [2023-09-28T06:52:20.297Z] 4693057ce236: Preparing [2023-09-28T06:52:20.297Z] 74447230be8b: Layer already exists [2023-09-28T06:52:20.297Z] 51d701d7d0ef: Layer already exists [2023-09-28T06:52:20.297Z] decd8604b136: Layer already exists [2023-09-28T06:52:20.297Z] af21d947d595: Layer already exists [2023-09-28T06:52:20.297Z] 4693057ce236: Layer already exists [2023-09-28T06:52:20.297Z] 3.1.0-dev.15: digest: sha256:c88250de1c1829ac9ed69b05e1b6c1e4f007c0e6e83587fad424af73c837d578 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:20.603Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:20.907Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [2023-09-28T06:52:20.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-28T06:52:20.907Z] af21d947d595: Preparing [2023-09-28T06:52:20.907Z] 51d701d7d0ef: Preparing [2023-09-28T06:52:20.907Z] decd8604b136: Preparing [2023-09-28T06:52:20.907Z] 74447230be8b: Preparing [2023-09-28T06:52:20.907Z] 4693057ce236: Preparing [2023-09-28T06:52:20.907Z] 74447230be8b: Layer already exists [2023-09-28T06:52:20.907Z] 51d701d7d0ef: Layer already exists [2023-09-28T06:52:20.907Z] decd8604b136: Layer already exists [2023-09-28T06:52:20.907Z] 4693057ce236: Layer already exists [2023-09-28T06:52:20.907Z] af21d947d595: Layer already exists [2023-09-28T06:52:20.907Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15: digest: sha256:c88250de1c1829ac9ed69b05e1b6c1e4f007c0e6e83587fad424af73c837d578 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:21.212Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:21.511Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-09-28T06:52:21.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-28T06:52:21.511Z] af21d947d595: Preparing [2023-09-28T06:52:21.511Z] 51d701d7d0ef: Preparing [2023-09-28T06:52:21.511Z] decd8604b136: Preparing [2023-09-28T06:52:21.511Z] 74447230be8b: Preparing [2023-09-28T06:52:21.511Z] 4693057ce236: Preparing [2023-09-28T06:52:21.511Z] 4693057ce236: Layer already exists [2023-09-28T06:52:21.511Z] 74447230be8b: Layer already exists [2023-09-28T06:52:21.511Z] 51d701d7d0ef: Layer already exists [2023-09-28T06:52:21.511Z] af21d947d595: Layer already exists [2023-09-28T06:52:21.511Z] decd8604b136: Layer already exists [2023-09-28T06:52:21.511Z] main: digest: sha256:c88250de1c1829ac9ed69b05e1b6c1e4f007c0e6e83587fad424af73c837d578 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:52:21.548Z] ===================================================== [Pipeline] echo [2023-09-28T06:52:21.554Z] taggedImages: [2023-09-28T06:52:21.554Z] - nexus3.edgexfoundry.org:10004/device-mqtt:daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:52:21.554Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-28T06:52:21.554Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.15 [2023-09-28T06:52:21.554Z] - nexus3.edgexfoundry.org:10004/device-mqtt:daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [2023-09-28T06:52:21.554Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:21.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:52:21.915Z] [2023-09-28T06:52:21.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:52:22.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:52:22.209Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-28T06:52:22.209Z] 5eb5b503b376: Pulling fs layer [2023-09-28T06:52:22.209Z] 5c69ac0246d0: Pulling fs layer [2023-09-28T06:52:22.209Z] ec43610c2a17: Pulling fs layer [2023-09-28T06:52:22.209Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-28T06:52:22.209Z] 33b1e0a273af: Pulling fs layer [2023-09-28T06:52:22.209Z] 5d3b04190fa2: Pulling fs layer [2023-09-28T06:52:22.209Z] 2f39f015ded8: Pulling fs layer [2023-09-28T06:52:22.209Z] 3a2ae6a8a46f: Waiting [2023-09-28T06:52:22.209Z] 33b1e0a273af: Waiting [2023-09-28T06:52:22.209Z] 5d3b04190fa2: Waiting [2023-09-28T06:52:22.209Z] 2f39f015ded8: Waiting [2023-09-28T06:52:22.209Z] 5c69ac0246d0: Verifying Checksum [2023-09-28T06:52:22.209Z] 5c69ac0246d0: Download complete [2023-09-28T06:52:22.209Z] 3a2ae6a8a46f: Download complete [2023-09-28T06:52:22.209Z] 33b1e0a273af: Verifying Checksum [2023-09-28T06:52:22.209Z] 33b1e0a273af: Download complete [2023-09-28T06:52:22.209Z] ec43610c2a17: Verifying Checksum [2023-09-28T06:52:22.209Z] ec43610c2a17: Download complete [2023-09-28T06:52:22.209Z] 5d3b04190fa2: Verifying Checksum [2023-09-28T06:52:22.209Z] 5d3b04190fa2: Download complete [2023-09-28T06:52:22.470Z] 5eb5b503b376: Verifying Checksum [2023-09-28T06:52:22.470Z] 5eb5b503b376: Download complete [2023-09-28T06:52:23.036Z] 2f39f015ded8: Download complete [2023-09-28T06:52:23.600Z] 5eb5b503b376: Pull complete [2023-09-28T06:52:23.600Z] 5c69ac0246d0: Pull complete [2023-09-28T06:52:24.166Z] ec43610c2a17: Pull complete [2023-09-28T06:52:24.166Z] 3a2ae6a8a46f: Pull complete [2023-09-28T06:52:24.166Z] 33b1e0a273af: Pull complete [2023-09-28T06:52:24.424Z] 5d3b04190fa2: Pull complete [2023-09-28T06:52:28.607Z] 2f39f015ded8: Pull complete [2023-09-28T06:52:28.607Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-28T06:52:28.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:52:28.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:52:28.684Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:52:28.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-28T06:52:34.686Z] $ docker top fa31ff3eede53b8826341dfaa2a0deaab7d6ba568a1039bfe45c863efd53c79f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:52:35.070Z] ---> job-cost.sh [2023-09-28T06:52:35.070Z] lf-activate-venv: SKIPPING [2023-09-28T06:52:35.070Z] INFO: No Stack... [2023-09-28T06:52:35.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T06:52:35.898Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T06:52:36.185Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-09-28T06:52:36.185Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T06:52:36.199Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] [2023-09-28T06:52:36.205Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] did not exist. Created. [2023-09-28T06:52:36.205Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:52:36.506Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-28T06:52:36.538Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T06:52:36.546Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T06:52:36.569Z] $ docker stop --time=1 fa31ff3eede53b8826341dfaa2a0deaab7d6ba568a1039bfe45c863efd53c79f [2023-09-28T06:52:37.709Z] $ docker rm -f --volumes fa31ff3eede53b8826341dfaa2a0deaab7d6ba568a1039bfe45c863efd53c79f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-28T06:53:26.302Z] Removing intermediate container b90f4ec4248b [2023-09-28T06:53:26.302Z] ---> 4774e77223af [2023-09-28T06:53:26.302Z] Step 11/12 : COPY . . [2023-09-28T06:53:27.263Z] ---> df18f5760c9d [2023-09-28T06:53:27.263Z] Step 12/12 : RUN $MAKE [2023-09-28T06:53:27.263Z] ---> Running in 17645e8be523 [2023-09-28T06:53:28.226Z] noop [2023-09-28T06:53:30.805Z] Removing intermediate container 17645e8be523 [2023-09-28T06:53:30.805Z] ---> 06c7a2ff5e59 [2023-09-28T06:53:30.805Z] Successfully built 06c7a2ff5e59 [2023-09-28T06:53:30.805Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:53:31.154Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T06:53:31.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:53:31.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-8121 does not seem to be running inside a container [2023-09-28T06:53:31.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/143 -v /w/workspace/device-mqtt-go/143:/w/workspace/device-mqtt-go/143:rw,z -v /w/workspace/device-mqtt-go/143@tmp:/w/workspace/device-mqtt-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-28T06:53:32.592Z] $ docker top 997626abd5e40d0ebd25e4a92b137e4cd85e1b413d591d9313a5da754bdf444e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:53:33.424Z] + go version [2023-09-28T06:53:33.424Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-28T06:53:33.440Z] $ docker stop --time=1 997626abd5e40d0ebd25e4a92b137e4cd85e1b413d591d9313a5da754bdf444e [2023-09-28T06:53:35.028Z] $ docker rm -f --volumes 997626abd5e40d0ebd25e4a92b137e4cd85e1b413d591d9313a5da754bdf444e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:53:35.586Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T06:53:35.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:53:35.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-8121 does not seem to be running inside a container [2023-09-28T06:53:35.828Z] $ 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/143 -v /w/workspace/device-mqtt-go/143:/w/workspace/device-mqtt-go/143:rw,z -v /w/workspace/device-mqtt-go/143@tmp:/w/workspace/device-mqtt-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-28T06:53:36.941Z] $ docker top 03f038135b0f2227bd0dc085c69e6a2c60907c27d5be6c41af9cf9446cbf533c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:53:37.453Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/143 [Pipeline] fileExists [Pipeline] sh [2023-09-28T06:53:38.367Z] + make test [2023-09-28T06:53:38.367Z] go test ./... -coverprofile=coverage.out ./... [2023-09-28T06:53:42.730Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-28T06:55:19.449Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-28T06:55:19.449Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-28T06:55:19.449Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.060s coverage: 22.8% of statements [2023-09-28T06:55:19.449Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-28T06:55:19.449Z] go vet ./... [2023-09-28T06:55:46.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-28T06:55:46.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-28T06:55:46.162Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-28T06:55:46.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-28T06:55:46.187Z] $ docker stop --time=1 03f038135b0f2227bd0dc085c69e6a2c60907c27d5be6c41af9cf9446cbf533c [2023-09-28T06:55:48.266Z] $ docker rm -f --volumes 03f038135b0f2227bd0dc085c69e6a2c60907c27d5be6c41af9cf9446cbf533c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:55:49.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-28T06:55:49.508Z] Warning: overwriting stash ‘coverage-report’ [2023-09-28T06:55:50.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T06:55:50.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T06:55:50.795Z] + ls -al . [2023-09-28T06:55:50.795Z] total 184 [2023-09-28T06:55:50.795Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 06:53 . [2023-09-28T06:55:50.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:51 .. [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 06:51 .dockerignore [2023-09-28T06:55:50.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 06:51 .git [2023-09-28T06:55:50.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:51 .github [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 28 06:51 .gitignore [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 06:51 .golangci.yml [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 28 06:51 Attribution.txt [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 28 06:51 CHANGELOG.md [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 28 06:51 Dockerfile [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 06:51 GOVERNANCE.md [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 06:51 Jenkinsfile [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 06:51 LICENSE [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 28 06:51 Makefile [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 28 06:51 OWNERS.md [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 28 06:51 README.md [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 06:49 VERSION [2023-09-28T06:55:50.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:51 bin [2023-09-28T06:55:50.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:51 cmd [2023-09-28T06:55:50.795Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 28 06:55 coverage.out [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 28 06:51 go.mod [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 28 06:51 go.sum [2023-09-28T06:55:50.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 06:51 internal [2023-09-28T06:55:50.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 06:51 mock [2023-09-28T06:55:50.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 06:51 snap [2023-09-28T06:55:50.795Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 28 06:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:55:51.140Z] + 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=daa77f607dde25a5e4d859eb1b1c744bffed4e03 --label arch=arm64 --label version=3.1.0-dev.15 . [2023-09-28T06:55:51.411Z] Sending build context to Docker daemon 3.376MB [2023-09-28T06:55:51.679Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-28T06:55:51.679Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-28T06:55:51.679Z] ---> 06c7a2ff5e59 [2023-09-28T06:55:51.679Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-28T06:55:51.679Z] ---> Running in d3a8b9828385 [2023-09-28T06:55:51.947Z] Removing intermediate container d3a8b9828385 [2023-09-28T06:55:51.947Z] ---> 33d1e8ad1ee8 [2023-09-28T06:55:51.947Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-28T06:55:51.947Z] ---> Running in a609361e5d6c [2023-09-28T06:55:52.536Z] Removing intermediate container a609361e5d6c [2023-09-28T06:55:52.536Z] ---> 60ba6ab8c840 [2023-09-28T06:55:52.536Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-28T06:55:52.536Z] ---> Running in fd45663368bf [2023-09-28T06:55:52.804Z] Removing intermediate container fd45663368bf [2023-09-28T06:55:52.804Z] ---> fef5084c9763 [2023-09-28T06:55:52.804Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-28T06:55:52.804Z] ---> Running in 24e03d44baf9 [2023-09-28T06:55:53.079Z] Removing intermediate container 24e03d44baf9 [2023-09-28T06:55:53.079Z] ---> 2330196ddad7 [2023-09-28T06:55:53.079Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-28T06:55:53.355Z] ---> Running in a8cbeedc47ac [2023-09-28T06:55:55.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:55:55.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:55:57.158Z] OK: 270 MiB in 56 packages [2023-09-28T06:55:58.122Z] Removing intermediate container a8cbeedc47ac [2023-09-28T06:55:58.122Z] ---> 6f158f6c1114 [2023-09-28T06:55:58.122Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-28T06:55:58.122Z] ---> Running in 37d03804fe4f [2023-09-28T06:55:58.392Z] Removing intermediate container 37d03804fe4f [2023-09-28T06:55:58.392Z] ---> 73210e9abcd6 [2023-09-28T06:55:58.392Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-28T06:56:00.337Z] ---> 755018d43820 [2023-09-28T06:56:00.337Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-28T06:56:00.337Z] ---> Running in 06c8a6307766 [2023-09-28T06:56:03.680Z] Removing intermediate container 06c8a6307766 [2023-09-28T06:56:03.680Z] ---> 1b9d9f205a0a [2023-09-28T06:56:03.680Z] Step 11/24 : COPY . . [2023-09-28T06:56:04.264Z] ---> 548dc613c325 [2023-09-28T06:56:04.264Z] Step 12/24 : RUN $MAKE [2023-09-28T06:56:04.264Z] ---> Running in f8476b6ee57f [2023-09-28T06:56:05.227Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-28T06:57:56.905Z] Removing intermediate container f8476b6ee57f [2023-09-28T06:57:56.905Z] ---> 96864a0a6b68 [2023-09-28T06:57:56.905Z] Step 13/24 : FROM alpine:3.18 [2023-09-28T06:57:56.905Z] 3.18: Pulling from library/alpine [2023-09-28T06:57:56.905Z] 9fda8d8052c6: Already exists [2023-09-28T06:57:56.905Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-28T06:57:56.905Z] Status: Downloaded newer image for alpine:3.18 [2023-09-28T06:57:56.905Z] ---> f6648c04cd6c [2023-09-28T06:57:56.905Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-28T06:57:56.905Z] ---> Running in 072abed54bed [2023-09-28T06:57:56.905Z] Removing intermediate container 072abed54bed [2023-09-28T06:57:56.905Z] ---> 19efc31990c9 [2023-09-28T06:57:56.905Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-28T06:57:56.905Z] ---> Running in 6ca6cd3289ad [2023-09-28T06:57:56.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-28T06:57:56.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-28T06:57:56.905Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-28T06:57:56.905Z] Executing busybox-1.36.1-r2.trigger [2023-09-28T06:57:56.905Z] OK: 8 MiB in 16 packages [2023-09-28T06:57:56.905Z] Removing intermediate container 6ca6cd3289ad [2023-09-28T06:57:56.905Z] ---> fdc4c18fe3d7 [2023-09-28T06:57:56.905Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-28T06:57:56.905Z] ---> 3311d2803c15 [2023-09-28T06:57:56.905Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-28T06:57:56.905Z] ---> 6c7f9f6956fc [2023-09-28T06:57:56.905Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-28T06:57:56.905Z] ---> 06ef2f1fb5af [2023-09-28T06:57:56.905Z] Step 19/24 : EXPOSE 59982 [2023-09-28T06:57:56.905Z] ---> Running in e1fca85961df [2023-09-28T06:57:56.905Z] Removing intermediate container e1fca85961df [2023-09-28T06:57:56.905Z] ---> 35e0b0869bfd [2023-09-28T06:57:56.905Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-28T06:57:56.905Z] ---> Running in 65cb13751639 [2023-09-28T06:57:57.240Z] Removing intermediate container 65cb13751639 [2023-09-28T06:57:57.240Z] ---> 7b0c7204b4e8 [2023-09-28T06:57:57.240Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-28T06:57:57.240Z] ---> Running in bef1d5b27477 [2023-09-28T06:57:57.532Z] Removing intermediate container bef1d5b27477 [2023-09-28T06:57:57.532Z] ---> 360ee7475a69 [2023-09-28T06:57:57.532Z] Step 22/24 : LABEL arch=arm64 [2023-09-28T06:57:57.532Z] ---> Running in 0848d2ea1f2f [2023-09-28T06:57:57.806Z] Removing intermediate container 0848d2ea1f2f [2023-09-28T06:57:57.806Z] ---> 75c2af94dc84 [2023-09-28T06:57:57.806Z] Step 23/24 : LABEL git_sha=daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:57:57.806Z] ---> Running in 9103452d3708 [2023-09-28T06:57:58.083Z] Removing intermediate container 9103452d3708 [2023-09-28T06:57:58.083Z] ---> a76d30e6316b [2023-09-28T06:57:58.083Z] Step 24/24 : LABEL version=3.1.0-dev.15 [2023-09-28T06:57:58.083Z] ---> Running in fd520f2041fd [2023-09-28T06:57:58.354Z] Removing intermediate container fd520f2041fd [2023-09-28T06:57:58.354Z] ---> e7e916bcc9c2 [2023-09-28T06:57:58.354Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-28T06:57:58.354Z] Successfully built e7e916bcc9c2 [2023-09-28T06:57:58.354Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:57:58.450Z] provisioning config files... [2023-09-28T06:57:58.470Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/143@tmp/config7281415275497402063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:57:58.832Z] ---> docker-login.sh [2023-09-28T06:57:58.832Z] nexus3.edgexfoundry.org:10001 [2023-09-28T06:57:58.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:57:59.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:57:59.102Z] Configure a credential helper to remove this warning. See [2023-09-28T06:57:59.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:57:59.102Z] [2023-09-28T06:57:59.102Z] Login Succeeded [2023-09-28T06:57:59.102Z] nexus3.edgexfoundry.org:10002 [2023-09-28T06:57:59.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:57:59.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:57:59.367Z] Configure a credential helper to remove this warning. See [2023-09-28T06:57:59.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:57:59.367Z] [2023-09-28T06:57:59.367Z] Login Succeeded [2023-09-28T06:57:59.367Z] nexus3.edgexfoundry.org:10003 [2023-09-28T06:57:59.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:57:59.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:57:59.634Z] Configure a credential helper to remove this warning. See [2023-09-28T06:57:59.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:57:59.634Z] [2023-09-28T06:57:59.634Z] Login Succeeded [2023-09-28T06:57:59.634Z] nexus3.edgexfoundry.org:10004 [2023-09-28T06:57:59.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:58:00.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:58:00.166Z] Configure a credential helper to remove this warning. See [2023-09-28T06:58:00.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:58:00.166Z] [2023-09-28T06:58:00.166Z] Login Succeeded [2023-09-28T06:58:00.166Z] docker.io [2023-09-28T06:58:00.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T06:58:00.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T06:58:00.748Z] Configure a credential helper to remove this warning. See [2023-09-28T06:58:00.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T06:58:00.748Z] [2023-09-28T06:58:00.748Z] Login Succeeded [2023-09-28T06:58:00.748Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T06:58:00.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:58:00.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T06:58:00.802Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-09-28T06:58:00.802Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:58:00.802Z] latest [2023-09-28T06:58:00.802Z] 3.1.0-dev.15 [2023-09-28T06:58:00.802Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [2023-09-28T06:58:00.802Z] main [2023-09-28T06:58:00.802Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:01.139Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:01.480Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:58:01.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-28T06:58:01.480Z] 3263d9d8cb26: Preparing [2023-09-28T06:58:01.480Z] d620db68dc89: Preparing [2023-09-28T06:58:01.480Z] 8323c6222cf5: Preparing [2023-09-28T06:58:01.480Z] 313d79247dcb: Preparing [2023-09-28T06:58:01.480Z] b2191e2be29d: Preparing [2023-09-28T06:58:01.480Z] b2191e2be29d: Layer already exists [2023-09-28T06:58:01.747Z] 3263d9d8cb26: Pushed [2023-09-28T06:58:01.747Z] 313d79247dcb: Pushed [2023-09-28T06:58:01.747Z] d620db68dc89: Pushed [2023-09-28T06:58:08.506Z] 8323c6222cf5: Pushed [2023-09-28T06:58:08.506Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03: digest: sha256:fe3afe7fe99e015680da75f0b24b9b9bb693a1b39692e8b06fbdd16de10d41e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:08.869Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:09.204Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-28T06:58:09.204Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-28T06:58:09.204Z] 3263d9d8cb26: Preparing [2023-09-28T06:58:09.204Z] d620db68dc89: Preparing [2023-09-28T06:58:09.204Z] 8323c6222cf5: Preparing [2023-09-28T06:58:09.204Z] 313d79247dcb: Preparing [2023-09-28T06:58:09.204Z] b2191e2be29d: Preparing [2023-09-28T06:58:09.204Z] d620db68dc89: Layer already exists [2023-09-28T06:58:09.204Z] b2191e2be29d: Layer already exists [2023-09-28T06:58:09.204Z] 8323c6222cf5: Layer already exists [2023-09-28T06:58:09.204Z] 313d79247dcb: Layer already exists [2023-09-28T06:58:09.204Z] 3263d9d8cb26: Layer already exists [2023-09-28T06:58:09.204Z] latest: digest: sha256:fe3afe7fe99e015680da75f0b24b9b9bb693a1b39692e8b06fbdd16de10d41e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:09.544Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:09.878Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.15 [2023-09-28T06:58:09.878Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-28T06:58:09.878Z] 3263d9d8cb26: Preparing [2023-09-28T06:58:09.878Z] d620db68dc89: Preparing [2023-09-28T06:58:09.878Z] 8323c6222cf5: Preparing [2023-09-28T06:58:09.878Z] 313d79247dcb: Preparing [2023-09-28T06:58:09.878Z] b2191e2be29d: Preparing [2023-09-28T06:58:09.878Z] 8323c6222cf5: Layer already exists [2023-09-28T06:58:09.878Z] b2191e2be29d: Layer already exists [2023-09-28T06:58:09.878Z] 313d79247dcb: Layer already exists [2023-09-28T06:58:09.878Z] d620db68dc89: Layer already exists [2023-09-28T06:58:09.878Z] 3263d9d8cb26: Layer already exists [2023-09-28T06:58:09.878Z] 3.1.0-dev.15: digest: sha256:fe3afe7fe99e015680da75f0b24b9b9bb693a1b39692e8b06fbdd16de10d41e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:10.219Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:10.557Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [2023-09-28T06:58:10.557Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-28T06:58:10.557Z] 3263d9d8cb26: Preparing [2023-09-28T06:58:10.557Z] d620db68dc89: Preparing [2023-09-28T06:58:10.557Z] 8323c6222cf5: Preparing [2023-09-28T06:58:10.557Z] 313d79247dcb: Preparing [2023-09-28T06:58:10.557Z] b2191e2be29d: Preparing [2023-09-28T06:58:10.557Z] 3263d9d8cb26: Layer already exists [2023-09-28T06:58:10.557Z] d620db68dc89: Layer already exists [2023-09-28T06:58:10.557Z] 313d79247dcb: Layer already exists [2023-09-28T06:58:10.557Z] 8323c6222cf5: Layer already exists [2023-09-28T06:58:10.557Z] b2191e2be29d: Layer already exists [2023-09-28T06:58:10.557Z] daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15: digest: sha256:fe3afe7fe99e015680da75f0b24b9b9bb693a1b39692e8b06fbdd16de10d41e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:10.901Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:11.231Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-09-28T06:58:11.231Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-28T06:58:11.231Z] 3263d9d8cb26: Preparing [2023-09-28T06:58:11.231Z] d620db68dc89: Preparing [2023-09-28T06:58:11.231Z] 8323c6222cf5: Preparing [2023-09-28T06:58:11.231Z] 313d79247dcb: Preparing [2023-09-28T06:58:11.232Z] b2191e2be29d: Preparing [2023-09-28T06:58:11.232Z] 8323c6222cf5: Layer already exists [2023-09-28T06:58:11.232Z] d620db68dc89: Layer already exists [2023-09-28T06:58:11.232Z] 3263d9d8cb26: Layer already exists [2023-09-28T06:58:11.232Z] 313d79247dcb: Layer already exists [2023-09-28T06:58:11.232Z] b2191e2be29d: Layer already exists [2023-09-28T06:58:11.232Z] main: digest: sha256:fe3afe7fe99e015680da75f0b24b9b9bb693a1b39692e8b06fbdd16de10d41e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-28T06:58:11.291Z] ===================================================== [Pipeline] echo [2023-09-28T06:58:11.301Z] taggedImages: [2023-09-28T06:58:11.301Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daa77f607dde25a5e4d859eb1b1c744bffed4e03 [2023-09-28T06:58:11.301Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-28T06:58:11.301Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.15 [2023-09-28T06:58:11.301Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daa77f607dde25a5e4d859eb1b1c744bffed4e03-3.1.0-dev.15 [2023-09-28T06:58:11.301Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:11.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:58:11.646Z] [2023-09-28T06:58:11.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:11.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:58:11.976Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-28T06:58:11.976Z] 8998bd30e6a1: Pulling fs layer [2023-09-28T06:58:11.976Z] 04944245beec: Pulling fs layer [2023-09-28T06:58:11.976Z] 699f458cf7ca: Pulling fs layer [2023-09-28T06:58:11.976Z] 765212b225bb: Pulling fs layer [2023-09-28T06:58:11.976Z] f23df028b6ca: Pulling fs layer [2023-09-28T06:58:11.976Z] d65c8cfc05b1: Pulling fs layer [2023-09-28T06:58:11.976Z] 2437ff75d9bd: Pulling fs layer [2023-09-28T06:58:11.976Z] 765212b225bb: Waiting [2023-09-28T06:58:11.976Z] f23df028b6ca: Waiting [2023-09-28T06:58:11.976Z] 2437ff75d9bd: Waiting [2023-09-28T06:58:11.976Z] d65c8cfc05b1: Waiting [2023-09-28T06:58:12.244Z] 04944245beec: Verifying Checksum [2023-09-28T06:58:12.244Z] 04944245beec: Download complete [2023-09-28T06:58:12.244Z] 765212b225bb: Download complete [2023-09-28T06:58:12.244Z] f23df028b6ca: Verifying Checksum [2023-09-28T06:58:12.244Z] f23df028b6ca: Download complete [2023-09-28T06:58:12.244Z] d65c8cfc05b1: Verifying Checksum [2023-09-28T06:58:12.244Z] d65c8cfc05b1: Download complete [2023-09-28T06:58:12.244Z] 699f458cf7ca: Verifying Checksum [2023-09-28T06:58:12.244Z] 699f458cf7ca: Download complete [2023-09-28T06:58:12.830Z] 8998bd30e6a1: Verifying Checksum [2023-09-28T06:58:12.830Z] 8998bd30e6a1: Download complete [2023-09-28T06:58:14.772Z] 2437ff75d9bd: Verifying Checksum [2023-09-28T06:58:14.772Z] 2437ff75d9bd: Download complete [2023-09-28T06:58:16.726Z] 8998bd30e6a1: Pull complete [2023-09-28T06:58:16.991Z] 04944245beec: Pull complete [2023-09-28T06:58:18.396Z] 699f458cf7ca: Pull complete [2023-09-28T06:58:18.396Z] 765212b225bb: Pull complete [2023-09-28T06:58:19.353Z] f23df028b6ca: Pull complete [2023-09-28T06:58:19.353Z] d65c8cfc05b1: Pull complete [2023-09-28T06:58:34.337Z] 2437ff75d9bd: Pull complete [2023-09-28T06:58:34.337Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-28T06:58:34.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T06:58:34.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:58:34.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-8121 does not seem to be running inside a container [2023-09-28T06:58:34.570Z] $ 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/143 -v /w/workspace/device-mqtt-go/143:/w/workspace/device-mqtt-go/143:rw,z -v /w/workspace/device-mqtt-go/143@tmp:/w/workspace/device-mqtt-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-28T06:58:36.969Z] $ docker top fc0c584899c5498007b660330d8cf336454a6cb690b03d356f331393558bc7c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:58:37.801Z] ---> job-cost.sh [2023-09-28T06:58:37.801Z] lf-activate-venv: SKIPPING [2023-09-28T06:58:37.801Z] INFO: No Stack... [2023-09-28T06:58:38.380Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-28T06:58:39.331Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T06:58:39.645Z] + cat /w/workspace/device-mqtt-go/143/archives/cost.csv [2023-09-28T06:58:39.645Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T06:58:39.681Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] [2023-09-28T06:58:39.687Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] did not exist. Created. [2023-09-28T06:58:39.687Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:58:40.018Z] /w/workspace/device-mqtt-go/143@tmp/durable-b950d7f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-28T06:58:40.350Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-28T06:58:40.369Z] Warning: overwriting stash ‘stack-cost’ [2023-09-28T06:58:40.420Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T06:58:40.433Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T06:58:40.441Z] $ docker stop --time=1 fc0c584899c5498007b660330d8cf336454a6cb690b03d356f331393558bc7c2 [2023-09-28T06:58:41.923Z] $ docker rm -f --volumes fc0c584899c5498007b660330d8cf336454a6cb690b03d356f331393558bc7c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-28T06:58:42.393Z] provisioning config files... [2023-09-28T06:58:42.399Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7129246096462609632tmp [Pipeline] { [Pipeline] sh [2023-09-28T06:58:42.691Z] + set +x [2023-09-28T06:58:42.691Z] + bash -s -- [2023-09-28T06:58:42.691Z] + curl -s https://codecov.io/bash [2023-09-28T06:58:42.691Z] [2023-09-28T06:58:42.691Z] _____ _ [2023-09-28T06:58:42.691Z] / ____| | | [2023-09-28T06:58:42.691Z] | | ___ __| | ___ ___ _____ __ [2023-09-28T06:58:42.691Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-28T06:58:42.691Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-28T06:58:42.691Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-28T06:58:42.691Z] Bash-1.0.6 [2023-09-28T06:58:42.691Z] [2023-09-28T06:58:42.691Z] [2023-09-28T06:58:42.691Z] ==> git version 2.25.1 found [2023-09-28T06:58:42.691Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-28T06:58:42.691Z] Release-Date: 2020-01-08 [2023-09-28T06:58:42.691Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-28T06:58:42.691Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-28T06:58:42.691Z] ==> Jenkins CI detected. [2023-09-28T06:58:42.691Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-28T06:58:42.691Z] project root: . [2023-09-28T06:58:42.691Z] --> token set from env [2023-09-28T06:58:42.691Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-28T06:58:42.691Z] ==> Running gcov in . (disable via -X gcov) [2023-09-28T06:58:42.691Z] ==> Python coveragepy not found [2023-09-28T06:58:42.691Z] ==> Searching for coverage reports in: [2023-09-28T06:58:42.691Z] + . [2023-09-28T06:58:42.691Z] -> Found 1 reports [2023-09-28T06:58:42.691Z] ==> Detecting git/mercurial file structure [2023-09-28T06:58:42.691Z] ==> Reading reports [2023-09-28T06:58:42.951Z] + ./coverage.out bytes=18506 [2023-09-28T06:58:42.951Z] ==> Appending adjustments [2023-09-28T06:58:42.951Z] https://docs.codecov.io/docs/fixing-reports [2023-09-28T06:58:42.951Z] + Found adjustments [2023-09-28T06:58:42.951Z] ==> Gzipping contents [2023-09-28T06:58:42.951Z] 4.0K /tmp/codecov.ufPfYy.gz [2023-09-28T06:58:42.951Z] ==> Uploading reports [2023-09-28T06:58:42.951Z] url: https://codecov.io [2023-09-28T06:58:42.951Z] query: branch=main&commit=daa77f607dde25a5e4d859eb1b1c744bffed4e03&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T06:58:42.951Z] -> Pinging Codecov [2023-09-28T06:58:42.951Z] 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=daa77f607dde25a5e4d859eb1b1c744bffed4e03&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-28T06:58:42.951Z] -> Uploading to [2023-09-28T06:58:42.951Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-28/7D719EC7BBE17E464838252E33014C33/daa77f607dde25a5e4d859eb1b1c744bffed4e03/78608e65-837b-416f-802d-4c6d257708a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T065842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=216a9fa2b3a19ea952b242c9da8bca886ae754c4e49430e71667c9b04d96a765 [2023-09-28T06:58:42.951Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T06:58:42.951Z] Dload Upload Total Spent Left Speed [2023-09-28T06:58:43.210Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 11374 --:--:-- --:--:-- --:--:-- 11374 [2023-09-28T06:58:43.469Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] } [2023-09-28T06:58:43.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-28T06:58:43.589Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-28T06:58:43.601Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:43.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:58:43.905Z] [2023-09-28T06:58:43.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:58:44.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:58:44.202Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-28T06:58:44.202Z] df9b9388f04a: Pulling fs layer [2023-09-28T06:58:44.202Z] 52dc419b0ee2: Pulling fs layer [2023-09-28T06:58:44.202Z] 25bc292e5bac: Pulling fs layer [2023-09-28T06:58:44.202Z] 114826534d7a: Pulling fs layer [2023-09-28T06:58:44.202Z] 4657fd5d0bcf: Pulling fs layer [2023-09-28T06:58:44.202Z] 6ad1cebc031e: Pulling fs layer [2023-09-28T06:58:44.202Z] 8a3aa393b2d8: Pulling fs layer [2023-09-28T06:58:44.202Z] 4657fd5d0bcf: Waiting [2023-09-28T06:58:44.202Z] 6ad1cebc031e: Waiting [2023-09-28T06:58:44.202Z] 8a3aa393b2d8: Waiting [2023-09-28T06:58:44.202Z] 114826534d7a: Waiting [2023-09-28T06:58:44.202Z] 25bc292e5bac: Verifying Checksum [2023-09-28T06:58:44.202Z] 25bc292e5bac: Download complete [2023-09-28T06:58:44.202Z] 52dc419b0ee2: Download complete [2023-09-28T06:58:44.202Z] 4657fd5d0bcf: Verifying Checksum [2023-09-28T06:58:44.202Z] 4657fd5d0bcf: Download complete [2023-09-28T06:58:44.202Z] df9b9388f04a: Download complete [2023-09-28T06:58:44.460Z] df9b9388f04a: Pull complete [2023-09-28T06:58:44.460Z] 6ad1cebc031e: Verifying Checksum [2023-09-28T06:58:44.460Z] 6ad1cebc031e: Download complete [2023-09-28T06:58:44.460Z] 52dc419b0ee2: Pull complete [2023-09-28T06:58:44.460Z] 25bc292e5bac: Pull complete [2023-09-28T06:58:45.027Z] 114826534d7a: Verifying Checksum [2023-09-28T06:58:45.027Z] 114826534d7a: Download complete [2023-09-28T06:58:45.027Z] 8a3aa393b2d8: Verifying Checksum [2023-09-28T06:58:45.027Z] 8a3aa393b2d8: Download complete [2023-09-28T06:58:48.315Z] 114826534d7a: Pull complete [2023-09-28T06:58:48.315Z] 4657fd5d0bcf: Pull complete [2023-09-28T06:58:48.574Z] 6ad1cebc031e: Pull complete [2023-09-28T06:58:51.098Z] 8a3aa393b2d8: Pull complete [2023-09-28T06:58:51.098Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-28T06:58:51.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-28T06:58:51.098Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:58:51.172Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:58:51.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-28T06:58:56.870Z] $ docker top da10ed899e5b9fa63de8ce89b3686d99226e7c6b504047163d3723bcdf7b7eb6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-28T06:58:56.930Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-09-28T06:58:57.207Z] + set -o pipefail [2023-09-28T06:58:57.207Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-09-28T06:59:05.328Z] [2023-09-28T06:59:05.328Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-09-28T06:59:05.328Z] [2023-09-28T06:59:05.328Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/b1e8ab33-477c-418c-b2e0-6359944f82bf [2023-09-28T06:59:05.328Z] [2023-09-28T06:59:05.328Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-28T06:59:05.328Z] [2023-09-28T06:59:05.328Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-28T06:59:05.328Z] [2023-09-28T06:59:05.328Z] [2023-09-28T06:59:05.328Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-28T06:59:05.328Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-28T06:59:05.328Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-28T06:59:05.344Z] $ docker stop --time=1 da10ed899e5b9fa63de8ce89b3686d99226e7c6b504047163d3723bcdf7b7eb6 [2023-09-28T06:59:09.859Z] $ docker rm -f --volumes da10ed899e5b9fa63de8ce89b3686d99226e7c6b504047163d3723bcdf7b7eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T06:59:10.549Z] + git log --format=format:%s -1 daa77f607dde25a5e4d859eb1b1c744bffed4e03 [Pipeline] sh [2023-09-28T06:59:10.839Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:59:10.839Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:59:11.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:59:11.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:59:11.219Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:59:11.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:59:11.714Z] $ docker top 6626d67de5ac0ed1591d686025db4d96b64e95da54680ca60a4b61ca0d7ee7b3 -eo pid,comm [2023-09-28T06:59:11.754Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:59:11.754Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:59:11.796Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:59:11.796Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:59:11.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:59:11.895Z] $ docker exec 6626d67de5ac0ed1591d686025db4d96b64e95da54680ca60a4b61ca0d7ee7b3 ssh-agent [2023-09-28T06:59:12.007Z] SSH_AUTH_SOCK=/tmp/ssh-OzA7hNo6PnW6/agent.32 [2023-09-28T06:59:12.007Z] SSH_AGENT_PID=39 [2023-09-28T06:59:12.011Z] Running ssh-add (command line suppressed) [2023-09-28T06:59:12.109Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13288507560228609225.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13288507560228609225.key) [2023-09-28T06:59:12.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:59:12.405Z] + git semver tag [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,567 [run_tag] DEBUG tag force:False [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,568 [check_head_tag] DEBUG check head tag [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,568 [execute] INFO git cat-file --batch-check [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,572 [execute] INFO git cat-file --batch [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,584 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,584 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,584 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:59:12.664Z] 2023-09-28 06:59:12,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:12.664Z] 3.1.0-dev.15 [Pipeline] } [2023-09-28T06:59:12.677Z] $ docker exec --env ******** --env ******** 6626d67de5ac0ed1591d686025db4d96b64e95da54680ca60a4b61ca0d7ee7b3 ssh-agent -k [2023-09-28T06:59:12.761Z] unset SSH_AUTH_SOCK; [2023-09-28T06:59:12.761Z] unset SSH_AGENT_PID; [2023-09-28T06:59:12.761Z] echo Agent pid 39 killed; [2023-09-28T06:59:12.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:59:13.079Z] + git semver [Pipeline] } [2023-09-28T06:59:13.350Z] $ docker stop --time=1 6626d67de5ac0ed1591d686025db4d96b64e95da54680ca60a4b61ca0d7ee7b3 [2023-09-28T06:59:14.644Z] $ docker rm -f --volumes 6626d67de5ac0ed1591d686025db4d96b64e95da54680ca60a4b61ca0d7ee7b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:59:15.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:59:15.287Z] [2023-09-28T06:59:15.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:59:15.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:59:15.589Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-28T06:59:15.589Z] ab5ef0e58194: Pulling fs layer [2023-09-28T06:59:15.589Z] 9712f1f96733: Pulling fs layer [2023-09-28T06:59:15.589Z] 63f879dbbcfc: Pulling fs layer [2023-09-28T06:59:15.589Z] 0d9ebad4ef96: Pulling fs layer [2023-09-28T06:59:15.589Z] e9a5061849ea: Pulling fs layer [2023-09-28T06:59:15.589Z] d747dcd14b5f: Pulling fs layer [2023-09-28T06:59:15.589Z] 2de7ff778b66: Pulling fs layer [2023-09-28T06:59:15.589Z] 0d9ebad4ef96: Waiting [2023-09-28T06:59:15.589Z] e9a5061849ea: Waiting [2023-09-28T06:59:15.589Z] d747dcd14b5f: Waiting [2023-09-28T06:59:15.589Z] 2de7ff778b66: Waiting [2023-09-28T06:59:15.589Z] 9712f1f96733: Verifying Checksum [2023-09-28T06:59:15.589Z] 9712f1f96733: Download complete [2023-09-28T06:59:15.849Z] 63f879dbbcfc: Verifying Checksum [2023-09-28T06:59:15.849Z] 63f879dbbcfc: Download complete [2023-09-28T06:59:16.108Z] e9a5061849ea: Verifying Checksum [2023-09-28T06:59:16.108Z] e9a5061849ea: Download complete [2023-09-28T06:59:16.108Z] 0d9ebad4ef96: Verifying Checksum [2023-09-28T06:59:16.108Z] 0d9ebad4ef96: Download complete [2023-09-28T06:59:16.108Z] d747dcd14b5f: Download complete [2023-09-28T06:59:16.108Z] ab5ef0e58194: Verifying Checksum [2023-09-28T06:59:16.108Z] ab5ef0e58194: Download complete [2023-09-28T06:59:16.108Z] 2de7ff778b66: Verifying Checksum [2023-09-28T06:59:16.108Z] 2de7ff778b66: Download complete [2023-09-28T06:59:18.638Z] ab5ef0e58194: Pull complete [2023-09-28T06:59:18.897Z] 9712f1f96733: Pull complete [2023-09-28T06:59:19.464Z] 63f879dbbcfc: Pull complete [2023-09-28T06:59:23.648Z] 0d9ebad4ef96: Pull complete [2023-09-28T06:59:23.648Z] e9a5061849ea: Pull complete [2023-09-28T06:59:23.648Z] d747dcd14b5f: Pull complete [2023-09-28T06:59:24.582Z] 2de7ff778b66: Pull complete [2023-09-28T06:59:24.582Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-28T06:59:24.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-28T06:59:24.582Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:59:24.659Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:59:24.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-28T06:59:31.162Z] $ docker top eed44f2301f33910691443533431a29924931c28b74ee2751f16914b9cb633e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:59:31.229Z] provisioning config files... [2023-09-28T06:59:31.235Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15865504207129583139tmp [2023-09-28T06:59:31.245Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18057078034628479510tmp [2023-09-28T06:59:31.255Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9650424851501048468tmp [Pipeline] { [Pipeline] echo [2023-09-28T06:59:31.272Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:31.554Z] ---> sigul-configuration.sh [2023-09-28T06:59:31.554Z] gpg: directory `/root/.gnupg' created [2023-09-28T06:59:31.554Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-28T06:59:31.554Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-28T06:59:31.554Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-28T06:59:31.554Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-28T06:59:31.554Z] gpg: CAST5 encrypted data [2023-09-28T06:59:31.554Z] gpg: encrypted with 1 passphrase [2023-09-28T06:59:31.554Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-28T06:59:31.838Z] + mkdir /home/jenkins [2023-09-28T06:59:31.838Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-28T06:59:32.122Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-28T06:59:32.131Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:32.414Z] ---> sigul-install.sh [2023-09-28T06:59:32.414Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-28T06:59:32.697Z] + git tag --list [2023-09-28T06:59:32.697Z] 0.7.1 [2023-09-28T06:59:32.697Z] v1.0.0 [2023-09-28T06:59:32.697Z] v1.1.0 [2023-09-28T06:59:32.697Z] v1.1.1 [2023-09-28T06:59:32.697Z] v1.2.2 [2023-09-28T06:59:32.697Z] v1.3.0 [2023-09-28T06:59:32.697Z] v1.3.1 [2023-09-28T06:59:32.697Z] v2.0.0 [2023-09-28T06:59:32.697Z] v2.1.0 [2023-09-28T06:59:32.697Z] v2.1.1 [2023-09-28T06:59:32.697Z] v2.2.0 [2023-09-28T06:59:32.697Z] v2.3.0 [2023-09-28T06:59:32.697Z] v3.0 [2023-09-28T06:59:32.697Z] v3.0.0 [2023-09-28T06:59:32.697Z] v3.1.0-dev.1 [2023-09-28T06:59:32.697Z] v3.1.0-dev.10 [2023-09-28T06:59:32.697Z] v3.1.0-dev.11 [2023-09-28T06:59:32.697Z] v3.1.0-dev.12 [2023-09-28T06:59:32.697Z] v3.1.0-dev.13 [2023-09-28T06:59:32.697Z] v3.1.0-dev.14 [2023-09-28T06:59:32.697Z] v3.1.0-dev.15 [2023-09-28T06:59:32.697Z] v3.1.0-dev.2 [2023-09-28T06:59:32.697Z] v3.1.0-dev.3 [2023-09-28T06:59:32.697Z] v3.1.0-dev.4 [2023-09-28T06:59:32.697Z] v3.1.0-dev.5 [2023-09-28T06:59:32.697Z] v3.1.0-dev.6 [2023-09-28T06:59:32.697Z] v3.1.0-dev.7 [2023-09-28T06:59:32.697Z] v3.1.0-dev.8 [2023-09-28T06:59:32.697Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-28T06:59:32.987Z] + lftools sign git-tag v3.1.0-dev.15 [2023-09-28T06:59:33.554Z] Signing Git tag with Sigul... [2023-09-28T06:59:33.554Z] Signing v3.1.0-dev.15 [Pipeline] echo [2023-09-28T06:59:33.820Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:34.104Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-28T06:59:34.112Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-28T06:59:34.131Z] $ docker stop --time=1 eed44f2301f33910691443533431a29924931c28b74ee2751f16914b9cb633e7 [2023-09-28T06:59:35.448Z] $ docker rm -f --volumes eed44f2301f33910691443533431a29924931c28b74ee2751f16914b9cb633e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-28T06:59:35.853Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:59:35.853Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:59:36.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:59:36.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:59:36.229Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:59:36.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:59:36.572Z] $ docker top 8afc268e11379d06382f94c3e7dcfc4f310b755bfb501c8be23bece186cfb732 -eo pid,comm [2023-09-28T06:59:36.613Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:59:36.613Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:59:36.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:59:36.652Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:59:36.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:59:36.768Z] $ docker exec 8afc268e11379d06382f94c3e7dcfc4f310b755bfb501c8be23bece186cfb732 ssh-agent [2023-09-28T06:59:36.869Z] SSH_AUTH_SOCK=/tmp/ssh-NlQahLeWL5n4/agent.32 [2023-09-28T06:59:36.869Z] SSH_AGENT_PID=38 [2023-09-28T06:59:36.875Z] Running ssh-add (command line suppressed) [2023-09-28T06:59:36.981Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4939199508313170389.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4939199508313170389.key) [2023-09-28T06:59:36.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:59:37.278Z] + git semver bump pre [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,465 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,465 [bump_version] DEBUG bumped version:3.1.0-dev.16 [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,465 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,465 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,465 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,467 [execute] INFO git cat-file --batch-check [2023-09-28T06:59:37.537Z] 2023-09-28 06:59:37,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:59:37.538Z] 2023-09-28 06:59:37,471 [execute] INFO git cat-file --batch [2023-09-28T06:59:37.538Z] 2023-09-28 06:59:37,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:59:37.538Z] 2023-09-28 06:59:37,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:37.538Z] 3.1.0-dev.16 [Pipeline] } [2023-09-28T06:59:37.548Z] $ docker exec --env ******** --env ******** 8afc268e11379d06382f94c3e7dcfc4f310b755bfb501c8be23bece186cfb732 ssh-agent -k [2023-09-28T06:59:37.640Z] unset SSH_AUTH_SOCK; [2023-09-28T06:59:37.641Z] unset SSH_AGENT_PID; [2023-09-28T06:59:37.641Z] echo Agent pid 38 killed; [2023-09-28T06:59:37.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:59:37.944Z] + git semver [Pipeline] } [2023-09-28T06:59:38.216Z] $ docker stop --time=1 8afc268e11379d06382f94c3e7dcfc4f310b755bfb501c8be23bece186cfb732 [2023-09-28T06:59:39.503Z] $ docker rm -f --volumes 8afc268e11379d06382f94c3e7dcfc4f310b755bfb501c8be23bece186cfb732 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T06:59:39.833Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T06:59:39.833Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:59:40.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T06:59:40.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:59:40.199Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:59:40.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T06:59:40.538Z] $ docker top 53a587f989020cf9d46993b48181e5447ada08ee82c708d151d8f4c8322593be -eo pid,comm [2023-09-28T06:59:40.583Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T06:59:40.583Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T06:59:40.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T06:59:40.623Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T06:59:40.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T06:59:40.722Z] $ docker exec 53a587f989020cf9d46993b48181e5447ada08ee82c708d151d8f4c8322593be ssh-agent [2023-09-28T06:59:40.832Z] SSH_AUTH_SOCK=/tmp/ssh-zVTq0QtpCj18/agent.33 [2023-09-28T06:59:40.832Z] SSH_AGENT_PID=39 [2023-09-28T06:59:40.837Z] Running ssh-add (command line suppressed) [2023-09-28T06:59:40.952Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6163731821344563423.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6163731821344563423.key) [2023-09-28T06:59:40.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T06:59:41.249Z] + git semver push [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,402 [run_push] DEBUG push [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,403 [execute] INFO git cat-file --batch-check [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,407 [execute] INFO git rev-list 548d704b34ad99fc1fcb91b3135f872d2170479d -- [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,408 [execute] DEBUG Popen(['git', 'rev-list', '548d704b34ad99fc1fcb91b3135f872d2170479d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,413 [execute] INFO git fetch -v origin [2023-09-28T06:59:41.588Z] 2023-09-28 06:59:41,413 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-28T06:59:42.239Z] 2023-09-28 06:59:41,947 [run_push] DEBUG no remote changes detected [2023-09-28T06:59:42.239Z] 2023-09-28 06:59:41,947 [execute] INFO git push origin semver [2023-09-28T06:59:42.239Z] 2023-09-28 06:59:41,948 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:59:42.836Z] 2023-09-28 06:59:42,727 [run_push] DEBUG push all version tags [2023-09-28T06:59:42.836Z] 2023-09-28 06:59:42,728 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-28T06:59:42.836Z] 2023-09-28 06:59:42,728 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-28T06:59:43.775Z] 2023-09-28 06:59:43,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-28T06:59:43.775Z] 3.1.0-dev.16 [Pipeline] } [2023-09-28T06:59:43.786Z] $ docker exec --env ******** --env ******** 53a587f989020cf9d46993b48181e5447ada08ee82c708d151d8f4c8322593be ssh-agent -k [2023-09-28T06:59:43.891Z] unset SSH_AUTH_SOCK; [2023-09-28T06:59:43.892Z] unset SSH_AGENT_PID; [2023-09-28T06:59:43.892Z] echo Agent pid 39 killed; [2023-09-28T06:59:43.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T06:59:44.199Z] + git semver [Pipeline] } [2023-09-28T06:59:44.473Z] $ docker stop --time=1 53a587f989020cf9d46993b48181e5447ada08ee82c708d151d8f4c8322593be [2023-09-28T06:59:45.733Z] $ docker rm -f --volumes 53a587f989020cf9d46993b48181e5447ada08ee82c708d151d8f4c8322593be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-28T06:59:46.267Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-09-28T06:59:46.267Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-28T06:59:46.267Z] total 16 [2023-09-28T06:59:46.267Z] drwxr-xr-x 3 root root 4096 Sep 28 06:52 . [2023-09-28T06:59:46.267Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 06:59 .. [2023-09-28T06:59:46.267Z] drwxr-xr-x 2 root root 4096 Sep 28 06:52 cost [2023-09-28T06:59:46.267Z] -rw-r--r-- 1 root root 86 Sep 28 06:52 cost.csv [2023-09-28T06:59:46.267Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-28T06:59:46.267Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-28T06:59:46.267Z] total 16 [2023-09-28T06:59:46.267Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 06:52 . [2023-09-28T06:59:46.267Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 06:59 .. [2023-09-28T06:59:46.267Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 06:52 cost [2023-09-28T06:59:46.267Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 28 06:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:46.557Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:47.414Z] ---> package-listing.sh [2023-09-28T06:59:47.414Z] ++ facter osfamily [2023-09-28T06:59:47.414Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-28T06:59:47.673Z] + OS_FAMILY=debian [2023-09-28T06:59:47.673Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-28T06:59:47.673Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-28T06:59:47.673Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-28T06:59:47.673Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-28T06:59:47.673Z] + PACKAGES=/tmp/packages_start.txt [2023-09-28T06:59:47.673Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-28T06:59:47.673Z] + PACKAGES=/tmp/packages_end.txt [2023-09-28T06:59:47.673Z] + case "${OS_FAMILY}" in [2023-09-28T06:59:47.673Z] + dpkg -l [2023-09-28T06:59:47.673Z] + grep '^ii' [2023-09-28T06:59:47.673Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-28T06:59:47.673Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-28T06:59:47.673Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-28T06:59:47.673Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-28T06:59:47.673Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-09-28T06:59:47.673Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-09-28T06:59:47.682Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-28T06:59:47.958Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T06:59:48.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T06:59:48.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T06:59:48.586Z] prd-ubuntu20.04-docker-8c-8g-8120 does not seem to be running inside a container [2023-09-28T06:59:48.615Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-28T06:59:48.798Z] $ docker top ab1e654081f642c894669a32e16e8eb1e01dbb1f83e68a6321d8db91a525c6fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T06:59:49.131Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-28T06:59:49.416Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-28T06:59:49.699Z] + ls /var/log/sa-host [2023-09-28T06:59:49.699Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T06:59:49.771Z] provisioning config files... [2023-09-28T06:59:49.780Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8251448899405712609tmp [Pipeline] { [Pipeline] echo [2023-09-28T06:59:49.792Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:50.074Z] ---> create-netrc.sh [Pipeline] } [2023-09-28T06:59:50.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:50.400Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-28T06:59:50.409Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:50.691Z] ---> sudo-logs.sh [2023-09-28T06:59:50.691Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-28T06:59:50.711Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:50.988Z] ---> job-cost.sh [2023-09-28T06:59:50.988Z] lf-activate-venv: SKIPPING [2023-09-28T06:59:50.988Z] DEBUG: total: 0.2199999988079071 [2023-09-28T06:59:50.988Z] INFO: Retrieving Stack Cost... [2023-09-28T06:59:51.246Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T06:59:51.814Z] INFO: Archiving Costs [Pipeline] echo [2023-09-28T06:59:51.825Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T06:59:52.105Z] ---> logs-deploy.sh [2023-09-28T06:59:52.106Z] lf-activate-venv: SKIPPING [2023-09-28T06:59:52.106Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/143 [2023-09-28T06:59:52.106Z] INFO: archiving workspace using pattern(s): [2023-09-28T06:59:53.042Z] Archives upload complete. [2023-09-28T06:59:53.042Z] INFO: archiving logs to Nexus