Pull request #586 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 294c6def2b0b795a6d478a2cc5574578b861ffe8+44db128f908bb002eba25d15c491b9a779a086c0 (82fd5547a1c296dd4b72f39e0b6d3bce84d40d42) 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-ssh8715196076921712841.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh13303701888400794395.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/PR-586/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/PR-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh149314699385502030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3323543975120284115.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/PR-586/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/PR-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17786233357265789241.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12267 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-586 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 294c6def2b0b795a6d478a2cc5574578b861ffe8 Merge succeeded, producing 294c6def2b0b795a6d478a2cc5574578b861ffe8 Checking out Revision 294c6def2b0b795a6d478a2cc5574578b861ffe8 (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 Commit message: "feat!: Handle receiving multiple readings in the async payload" First time build. Skipping changelog. > git rev-list --no-walk e96628314143562fb5b0ac16d7f75239289947dd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-02T00:15:56.711Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-02T00:15:56.769Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-02T00:15:56.781Z] ========================================================= [2023-05-02T00:15:56.781Z] EdgeX Global Pipelines Version Info [2023-05-02T00:15:56.781Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:15:57.485Z] ------------------- [2023-05-02T00:15:57.485Z] stable info: [2023-05-02T00:15:57.485Z] ------------------- [2023-05-02T00:15:57.485Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-02T00:15:57.485Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-02T00:15:57.485Z] Message: update stable to v1.0.248 [2023-05-02T00:15:58.057Z] ------------------- [2023-05-02T00:15:58.057Z] experimental info: [2023-05-02T00:15:58.057Z] ------------------- [2023-05-02T00:15:58.057Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-02T00:15:58.057Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-02T00:15:58.057Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-02T00:15:58.239Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-05-02T00:15:58.253Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-05-02T00:15:58.269Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-02T00:15:58.285Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-02T00:15:58.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-02T00:15:58.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-02T00:15:58.322Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-02T00:15:58.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-02T00:15:58.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-02T00:15:58.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-02T00:15:58.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-02T00:15:58.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-05-02T00:15:58.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-02T00:15:58.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-02T00:15:58.424Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T00:15:58.435Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-02T00:15:58.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T00:15:58.461Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-02T00:15:58.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-02T00:15:58.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-02T00:15:58.500Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-02T00:15:58.512Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-02T00:15:58.526Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-02T00:15:58.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-02T00:15:58.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-02T00:15:58.578Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-02T00:15:58.595Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-02T00:15:58.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo [2023-05-02T00:15:58.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo [2023-05-02T00:15:58.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo [2023-05-02T00:15:58.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo [2023-05-02T00:15:58.656Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 294c6de [Pipeline] echo [2023-05-02T00:15:58.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T00:15:58.712Z] provisioning config files... [2023-05-02T00:15:58.727Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config12875225748494237378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:15:59.027Z] ---> docker-login.sh [2023-05-02T00:15:59.027Z] nexus3.edgexfoundry.org:10001 [2023-05-02T00:15:59.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:15:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:15:59.287Z] Configure a credential helper to remove this warning. See [2023-05-02T00:15:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:15:59.287Z] [2023-05-02T00:15:59.287Z] Login Succeeded [2023-05-02T00:15:59.287Z] nexus3.edgexfoundry.org:10002 [2023-05-02T00:15:59.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:15:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:15:59.287Z] Configure a credential helper to remove this warning. See [2023-05-02T00:15:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:15:59.287Z] [2023-05-02T00:15:59.287Z] Login Succeeded [2023-05-02T00:15:59.287Z] nexus3.edgexfoundry.org:10003 [2023-05-02T00:15:59.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:15:59.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:15:59.548Z] Configure a credential helper to remove this warning. See [2023-05-02T00:15:59.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:15:59.548Z] [2023-05-02T00:15:59.548Z] Login Succeeded [2023-05-02T00:15:59.548Z] nexus3.edgexfoundry.org:10004 [2023-05-02T00:15:59.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:15:59.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:15:59.548Z] Configure a credential helper to remove this warning. See [2023-05-02T00:15:59.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:15:59.548Z] [2023-05-02T00:15:59.548Z] Login Succeeded [2023-05-02T00:15:59.548Z] docker.io [2023-05-02T00:15:59.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:15:59.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:15:59.809Z] Configure a credential helper to remove this warning. See [2023-05-02T00:15:59.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:15:59.809Z] [2023-05-02T00:15:59.809Z] Login Succeeded [2023-05-02T00:15:59.809Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T00:15:59.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-02T00:16:00.194Z] + git rev-list -1 --merges 294c6def2b0b795a6d478a2cc5574578b861ffe8~1..294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo [2023-05-02T00:16:00.244Z] -----------> git rev-list -1 --merges 294c6def2b0b795a6d478a2cc5574578b861ffe8~1..294c6def2b0b795a6d478a2cc5574578b861ffe8 294c6def2b0b795a6d478a2cc5574578b861ffe8 [false] [Pipeline] sh [2023-05-02T00:16:00.531Z] + git log --format=format:%s -1 294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo [2023-05-02T00:16:00.545Z] ========================================================= [2023-05-02T00:16:00.545Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-02T00:16:00.545Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T00:16:00.867Z] + git log --format=format:%s -1 294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo [2023-05-02T00:16:00.879Z] [semverPrep] GIT_COMMIT: 294c6def2b0b795a6d478a2cc5574578b861ffe8, Commit Message: feat!: Handle receiving multiple readings in the async payload [Pipeline] echo [2023-05-02T00:16:00.887Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-02T00:16:01.249Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-02T00:16:01.249Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-02T00:16:01.249Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-02T00:16:01.249Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-02T00:16:01.250Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-02T00:16:01.250Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-02T00:16:01.250Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:16:01.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T00:16:01.663Z] [2023-05-02T00:16:01.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:16:01.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T00:16:01.964Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-02T00:16:01.964Z] b85a868b505f: Pulling fs layer [2023-05-02T00:16:01.964Z] e2be974225ed: Pulling fs layer [2023-05-02T00:16:01.964Z] 339a4e72a1f5: Pulling fs layer [2023-05-02T00:16:01.964Z] 988bab9f4d93: Pulling fs layer [2023-05-02T00:16:01.964Z] 1469e6f7b9e6: Pulling fs layer [2023-05-02T00:16:01.964Z] eaf3925da568: Pulling fs layer [2023-05-02T00:16:01.964Z] bab4dde63d76: Pulling fs layer [2023-05-02T00:16:01.964Z] bde34c3a00c8: Pulling fs layer [2023-05-02T00:16:01.964Z] b352a97aabf1: Pulling fs layer [2023-05-02T00:16:01.964Z] 4872d77fe225: Pulling fs layer [2023-05-02T00:16:01.964Z] 5851b861e8e6: Pulling fs layer [2023-05-02T00:16:01.964Z] 988bab9f4d93: Waiting [2023-05-02T00:16:01.964Z] 1469e6f7b9e6: Waiting [2023-05-02T00:16:01.964Z] bde34c3a00c8: Waiting [2023-05-02T00:16:01.964Z] bab4dde63d76: Waiting [2023-05-02T00:16:01.964Z] b352a97aabf1: Waiting [2023-05-02T00:16:01.964Z] 4872d77fe225: Waiting [2023-05-02T00:16:01.964Z] eaf3925da568: Waiting [2023-05-02T00:16:01.964Z] 5851b861e8e6: Waiting [2023-05-02T00:16:01.964Z] e2be974225ed: Verifying Checksum [2023-05-02T00:16:01.964Z] e2be974225ed: Download complete [2023-05-02T00:16:01.964Z] 988bab9f4d93: Verifying Checksum [2023-05-02T00:16:01.964Z] 988bab9f4d93: Download complete [2023-05-02T00:16:01.964Z] 1469e6f7b9e6: Verifying Checksum [2023-05-02T00:16:01.964Z] 1469e6f7b9e6: Download complete [2023-05-02T00:16:01.964Z] 339a4e72a1f5: Verifying Checksum [2023-05-02T00:16:01.964Z] 339a4e72a1f5: Download complete [2023-05-02T00:16:02.223Z] eaf3925da568: Verifying Checksum [2023-05-02T00:16:02.223Z] eaf3925da568: Download complete [2023-05-02T00:16:02.223Z] bde34c3a00c8: Download complete [2023-05-02T00:16:02.223Z] b352a97aabf1: Verifying Checksum [2023-05-02T00:16:02.223Z] b352a97aabf1: Download complete [2023-05-02T00:16:02.223Z] 4872d77fe225: Download complete [2023-05-02T00:16:02.223Z] 5851b861e8e6: Verifying Checksum [2023-05-02T00:16:02.223Z] 5851b861e8e6: Download complete [2023-05-02T00:16:02.223Z] b85a868b505f: Download complete [2023-05-02T00:16:02.483Z] bab4dde63d76: Verifying Checksum [2023-05-02T00:16:02.483Z] bab4dde63d76: Download complete [2023-05-02T00:16:03.421Z] b85a868b505f: Pull complete [2023-05-02T00:16:03.682Z] e2be974225ed: Pull complete [2023-05-02T00:16:03.941Z] 339a4e72a1f5: Pull complete [2023-05-02T00:16:04.200Z] 988bab9f4d93: Pull complete [2023-05-02T00:16:04.459Z] 1469e6f7b9e6: Pull complete [2023-05-02T00:16:04.459Z] eaf3925da568: Pull complete [2023-05-02T00:16:06.438Z] bab4dde63d76: Pull complete [2023-05-02T00:16:06.438Z] bde34c3a00c8: Pull complete [2023-05-02T00:16:06.438Z] b352a97aabf1: Pull complete [2023-05-02T00:16:06.438Z] 4872d77fe225: Pull complete [2023-05-02T00:16:06.698Z] 5851b861e8e6: Pull complete [2023-05-02T00:16:06.698Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-02T00:16:06.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-02T00:16:06.698Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:16:06.803Z] prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container [2023-05-02T00:16:06.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-02T00:16:10.030Z] $ docker top 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 -eo pid,comm [2023-05-02T00:16:10.079Z] 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-05-02T00:16:10.079Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-02T00:16:10.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T00:16:10.119Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T00:16:10.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T00:16:10.233Z] $ docker exec 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent [2023-05-02T00:16:10.354Z] SSH_AUTH_SOCK=/tmp/ssh-5sc8L6RzhKxi/agent.32 [2023-05-02T00:16:10.354Z] SSH_AGENT_PID=38 [2023-05-02T00:16:10.360Z] Running ssh-add (command line suppressed) [2023-05-02T00:16:10.469Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4887163375185814921.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4887163375185814921.key) [2023-05-02T00:16:10.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T00:16:10.766Z] + git tag --points-at HEAD [Pipeline] } [2023-05-02T00:16:10.780Z] $ docker exec --env ******** --env ******** 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent -k [2023-05-02T00:16:10.878Z] unset SSH_AUTH_SOCK; [2023-05-02T00:16:10.878Z] unset SSH_AGENT_PID; [2023-05-02T00:16:10.878Z] echo Agent pid 38 killed; [2023-05-02T00:16:10.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-02T00:16:10.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-02T00:16:10.905Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-02T00:16:11.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-02T00:16:11.019Z] $ docker exec 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent [2023-05-02T00:16:11.121Z] SSH_AUTH_SOCK=/tmp/ssh-x7qCt4L0gsMf/agent.70 [2023-05-02T00:16:11.121Z] SSH_AGENT_PID=76 [2023-05-02T00:16:11.126Z] Running ssh-add (command line suppressed) [2023-05-02T00:16:11.235Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4128798370794826316.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4128798370794826316.key) [2023-05-02T00:16:11.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-02T00:16:11.532Z] + git semver init [2023-05-02T00:16:11.791Z] 2023-05-02 00:16:11,718 [run_init] DEBUG init version:0.0.0 force:False [2023-05-02T00:16:11.791Z] 2023-05-02 00:16:11,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver [2023-05-02T00:16:11.791Z] 2023-05-02 00:16:11,719 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver [2023-05-02T00:16:11.791Z] 2023-05-02 00:16:11,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586, universal_newlines=False, shell=None, istream=None) [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,516 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.git/info/exclude [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 with force:False [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,517 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,521 [execute] INFO git cat-file --batch-check [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,527 [execute] INFO git cat-file --batch [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) [2023-05-02T00:16:12.736Z] 2023-05-02 00:16:12,532 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 [2023-05-02T00:16:12.736Z] 0.0.0 [Pipeline] } [2023-05-02T00:16:12.751Z] $ docker exec --env ******** --env ******** 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent -k [2023-05-02T00:16:12.864Z] unset SSH_AUTH_SOCK; [2023-05-02T00:16:12.865Z] unset SSH_AGENT_PID; [2023-05-02T00:16:12.865Z] echo Agent pid 76 killed; [2023-05-02T00:16:12.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-02T00:16:13.187Z] + git semver [Pipeline] } [2023-05-02T00:16:13.465Z] $ docker stop --time=1 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 [2023-05-02T00:16:15.006Z] $ docker rm -f --volumes 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T00:16:15.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-02T00:16:15.645Z] Stashed 1 file(s) [Pipeline] echo [2023-05-02T00:16:15.649Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-05-02T00:16:15.864Z] provisioning config files... [2023-05-02T00:16:15.872Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config9493918451021517370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:16:16.168Z] ---> docker-login.sh [2023-05-02T00:16:16.168Z] nexus3.edgexfoundry.org:10001 [2023-05-02T00:16:16.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:16:16.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:16:16.168Z] Configure a credential helper to remove this warning. See [2023-05-02T00:16:16.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:16:16.168Z] [2023-05-02T00:16:16.168Z] Login Succeeded [2023-05-02T00:16:16.168Z] nexus3.edgexfoundry.org:10002 [2023-05-02T00:16:16.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:16:16.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:16:16.168Z] Configure a credential helper to remove this warning. See [2023-05-02T00:16:16.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:16:16.168Z] [2023-05-02T00:16:16.168Z] Login Succeeded [2023-05-02T00:16:16.168Z] nexus3.edgexfoundry.org:10003 [2023-05-02T00:16:16.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:16:16.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:16:16.429Z] Configure a credential helper to remove this warning. See [2023-05-02T00:16:16.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:16:16.429Z] [2023-05-02T00:16:16.429Z] Login Succeeded [2023-05-02T00:16:16.429Z] nexus3.edgexfoundry.org:10004 [2023-05-02T00:16:16.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:16:16.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:16:16.429Z] Configure a credential helper to remove this warning. See [2023-05-02T00:16:16.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:16:16.429Z] [2023-05-02T00:16:16.429Z] Login Succeeded [2023-05-02T00:16:16.429Z] docker.io [2023-05-02T00:16:16.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:16:16.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:16:16.688Z] Configure a credential helper to remove this warning. See [2023-05-02T00:16:16.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:16:16.688Z] [2023-05-02T00:16:16.688Z] Login Succeeded [2023-05-02T00:16:16.688Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T00:16:16.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T00:16:16.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T00:16:16.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T00:16:16.797Z] ========================================================= [2023-05-02T00:16:16.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-02T00:16:16.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:16:17.110Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-02T00:16:17.110Z] Sending build context to Docker daemon 6.5MB [2023-05-02T00:16:17.110Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T00:16:17.110Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-02T00:16:17.110Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-02T00:16:17.110Z] f56be85fc22e: Pulling fs layer [2023-05-02T00:16:17.110Z] 85791d961cd3: Pulling fs layer [2023-05-02T00:16:17.110Z] d694b5ae8c79: Pulling fs layer [2023-05-02T00:16:17.110Z] 9f32a84ed3da: Pulling fs layer [2023-05-02T00:16:17.110Z] 4d19c01a9841: Pulling fs layer [2023-05-02T00:16:17.110Z] 9325e15d5711: Pulling fs layer [2023-05-02T00:16:17.111Z] 556b6ee489ea: Pulling fs layer [2023-05-02T00:16:17.111Z] c5a4b2cf53e6: Pulling fs layer [2023-05-02T00:16:17.111Z] 4d19c01a9841: Waiting [2023-05-02T00:16:17.111Z] 556b6ee489ea: Waiting [2023-05-02T00:16:17.111Z] 9325e15d5711: Waiting [2023-05-02T00:16:17.111Z] c5a4b2cf53e6: Waiting [2023-05-02T00:16:17.111Z] 9f32a84ed3da: Waiting [2023-05-02T00:16:17.111Z] 85791d961cd3: Download complete [2023-05-02T00:16:17.111Z] 9f32a84ed3da: Download complete [2023-05-02T00:16:17.111Z] 4d19c01a9841: Download complete [2023-05-02T00:16:17.370Z] f56be85fc22e: Verifying Checksum [2023-05-02T00:16:17.370Z] f56be85fc22e: Download complete [2023-05-02T00:16:17.370Z] 9325e15d5711: Verifying Checksum [2023-05-02T00:16:17.370Z] 9325e15d5711: Download complete [2023-05-02T00:16:17.370Z] f56be85fc22e: Pull complete [2023-05-02T00:16:17.634Z] 85791d961cd3: Pull complete [2023-05-02T00:16:17.894Z] c5a4b2cf53e6: Verifying Checksum [2023-05-02T00:16:17.894Z] c5a4b2cf53e6: Download complete [2023-05-02T00:16:17.894Z] d694b5ae8c79: Verifying Checksum [2023-05-02T00:16:17.894Z] d694b5ae8c79: Download complete [2023-05-02T00:16:18.152Z] 556b6ee489ea: Verifying Checksum [2023-05-02T00:16:18.153Z] 556b6ee489ea: Download complete [2023-05-02T00:16:21.439Z] d694b5ae8c79: Pull complete [2023-05-02T00:16:21.439Z] 9f32a84ed3da: Pull complete [2023-05-02T00:16:21.439Z] 4d19c01a9841: Pull complete [2023-05-02T00:16:21.439Z] 9325e15d5711: Pull complete [2023-05-02T00:16:23.975Z] 556b6ee489ea: Pull complete [2023-05-02T00:16:24.911Z] c5a4b2cf53e6: Pull complete [2023-05-02T00:16:24.911Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-02T00:16:24.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-02T00:16:24.911Z] ---> c4be618373d6 [2023-05-02T00:16:24.911Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-02T00:16:30.820Z] Still waiting to schedule task [2023-05-02T00:16:30.821Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12263’ [2023-05-02T00:16:31.484Z] ---> Running in 8c4a890497c2 [2023-05-02T00:16:31.485Z] Removing intermediate container 8c4a890497c2 [2023-05-02T00:16:31.485Z] ---> 6eec82da7107 [2023-05-02T00:16:31.485Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T00:16:31.485Z] ---> Running in 3a77fc1eb739 [2023-05-02T00:16:31.485Z] Removing intermediate container 3a77fc1eb739 [2023-05-02T00:16:31.485Z] ---> ce12cad8c654 [2023-05-02T00:16:31.485Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-02T00:16:31.485Z] ---> Running in cf32d7b76988 [2023-05-02T00:16:31.485Z] Removing intermediate container cf32d7b76988 [2023-05-02T00:16:31.485Z] ---> 70192343e49c [2023-05-02T00:16:31.485Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T00:16:31.485Z] ---> Running in 71f8feebeb92 [2023-05-02T00:16:31.485Z] Removing intermediate container 71f8feebeb92 [2023-05-02T00:16:31.485Z] ---> 8a742a4d30f9 [2023-05-02T00:16:31.485Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T00:16:31.485Z] ---> Running in 2d5939e475ee [2023-05-02T00:16:31.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T00:16:31.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T00:16:31.485Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-02T00:16:31.485Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-02T00:16:31.485Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-02T00:16:31.744Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-02T00:16:31.744Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T00:16:31.744Z] OK: 269 MiB in 57 packages [2023-05-02T00:16:32.311Z] Removing intermediate container 2d5939e475ee [2023-05-02T00:16:32.311Z] ---> 744a6220c9ba [2023-05-02T00:16:32.311Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-05-02T00:16:32.311Z] ---> Running in 68ad2316e079 [2023-05-02T00:16:32.311Z] Removing intermediate container 68ad2316e079 [2023-05-02T00:16:32.311Z] ---> ffc8bd7914a5 [2023-05-02T00:16:32.311Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-02T00:16:32.311Z] ---> 316c62ddd801 [2023-05-02T00:16:32.311Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T00:16:32.311Z] ---> Running in 8fea43c2c507 [2023-05-02T00:17:11.100Z] Removing intermediate container 8fea43c2c507 [2023-05-02T00:17:11.100Z] ---> c8e5a9de80d6 [2023-05-02T00:17:11.100Z] Step 11/12 : COPY . . [2023-05-02T00:17:11.100Z] ---> c975575f8da4 [2023-05-02T00:17:11.100Z] Step 12/12 : RUN $MAKE [2023-05-02T00:17:11.100Z] ---> Running in 24bd390070af [2023-05-02T00:17:11.100Z] noop [2023-05-02T00:17:11.100Z] Removing intermediate container 24bd390070af [2023-05-02T00:17:11.100Z] ---> c8f8439ee3e3 [2023-05-02T00:17:11.100Z] Successfully built c8f8439ee3e3 [2023-05-02T00:17:11.100Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:17:11.409Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T00:17:11.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:17:11.476Z] prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container [2023-05-02T00:17:11.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-02T00:17:11.861Z] $ docker top c04c5a92051da79ccb11722e7d86a341145f98f1167c68865313f40f23d5f6a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T00:17:12.210Z] + go version [2023-05-02T00:17:12.210Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-02T00:17:12.225Z] $ docker stop --time=1 c04c5a92051da79ccb11722e7d86a341145f98f1167c68865313f40f23d5f6a5 [2023-05-02T00:17:13.517Z] $ docker rm -f --volumes c04c5a92051da79ccb11722e7d86a341145f98f1167c68865313f40f23d5f6a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:17:13.933Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-02T00:17:13.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:17:14.038Z] prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container [2023-05-02T00:17:14.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-02T00:17:14.410Z] $ docker top 27d4e8b0f2f8c4f39995ea53ff7fad57cf0e8fcbe9aa7ff5e4dadd528a296ffe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T00:17:14.749Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] fileExists [Pipeline] sh [2023-05-02T00:17:15.062Z] + make test [2023-05-02T00:17:15.062Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T00:17:20.330Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-05-02T00:17:30.295Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-05-02T00:17:30.295Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-05-02T00:17:30.295Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements [2023-05-02T00:17:35.556Z] go vet ./... [2023-05-02T00:17:39.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-02T00:17:39.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-02T00:17:39.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-02T00:17:39.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-02T00:17:39.767Z] $ docker stop --time=1 27d4e8b0f2f8c4f39995ea53ff7fad57cf0e8fcbe9aa7ff5e4dadd528a296ffe [2023-05-02T00:17:43.181Z] $ docker rm -f --volumes 27d4e8b0f2f8c4f39995ea53ff7fad57cf0e8fcbe9aa7ff5e4dadd528a296ffe [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T00:17:43.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-02T00:17:43.683Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-02T00:17:44.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-02T00:17:44.472Z] + ls -al . [2023-05-02T00:17:44.472Z] total 180 [2023-05-02T00:17:44.472Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 00:17 . [2023-05-02T00:17:44.472Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:15 .. [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 140 May 2 00:15 .dockerignore [2023-05-02T00:17:44.472Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 00:16 .git [2023-05-02T00:17:44.472Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:15 .github [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 329 May 2 00:15 .gitignore [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 00:15 .golangci.yml [2023-05-02T00:17:44.472Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 00:16 .semver [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 9417 May 2 00:15 Attribution.txt [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 13162 May 2 00:15 CHANGELOG.md [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 1689 May 2 00:15 Dockerfile [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 00:15 GOVERNANCE.md [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 678 May 2 00:15 Jenkinsfile [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 00:15 LICENSE [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 1732 May 2 00:15 Makefile [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 620 May 2 00:15 OWNERS.md [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 3165 May 2 00:15 README.md [2023-05-02T00:17:44.472Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 00:16 VERSION [2023-05-02T00:17:44.472Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:15 bin [2023-05-02T00:17:44.472Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:15 cmd [2023-05-02T00:17:44.473Z] -rw-r--r-- 1 jenkins jenkins 18144 May 2 00:17 coverage.out [2023-05-02T00:17:44.473Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 2 00:15 go.mod [2023-05-02T00:17:44.473Z] -rw-rw-r-- 1 jenkins jenkins 31443 May 2 00:15 go.sum [2023-05-02T00:17:44.473Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:15 internal [2023-05-02T00:17:44.473Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:15 mock [2023-05-02T00:17:44.473Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:15 snap [2023-05-02T00:17:44.473Z] -rw-rw-r-- 1 jenkins jenkins 227 May 2 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:17:44.773Z] + 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=294c6def2b0b795a6d478a2cc5574578b861ffe8 --label arch=amd64 --label version=0.0.0 . [2023-05-02T00:17:44.773Z] Sending build context to Docker daemon 6.519MB [2023-05-02T00:17:44.773Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T00:17:44.773Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-02T00:17:44.773Z] ---> c8f8439ee3e3 [2023-05-02T00:17:44.773Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-02T00:17:45.032Z] ---> Running in cff76a43ce43 [2023-05-02T00:17:45.032Z] Removing intermediate container cff76a43ce43 [2023-05-02T00:17:45.032Z] ---> 948ae49da03c [2023-05-02T00:17:45.032Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T00:17:45.032Z] ---> Running in ee466fdf7825 [2023-05-02T00:17:45.032Z] Removing intermediate container ee466fdf7825 [2023-05-02T00:17:45.032Z] ---> f65e384f4b5b [2023-05-02T00:17:45.032Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-02T00:17:45.032Z] ---> Running in b6a027b4b55a [2023-05-02T00:17:45.291Z] Removing intermediate container b6a027b4b55a [2023-05-02T00:17:45.291Z] ---> 028ac2271583 [2023-05-02T00:17:45.291Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T00:17:45.291Z] ---> Running in 37eccaebf26b [2023-05-02T00:17:45.291Z] Removing intermediate container 37eccaebf26b [2023-05-02T00:17:45.292Z] ---> 63786a6b6b38 [2023-05-02T00:17:45.292Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T00:17:45.292Z] ---> Running in 258422b613a2 [2023-05-02T00:17:45.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T00:17:45.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T00:17:46.069Z] OK: 269 MiB in 57 packages [2023-05-02T00:17:46.331Z] Removing intermediate container 258422b613a2 [2023-05-02T00:17:46.331Z] ---> aa86132d6daa [2023-05-02T00:17:46.331Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-05-02T00:17:46.331Z] ---> Running in 185dd50d68f8 [2023-05-02T00:17:46.589Z] Removing intermediate container 185dd50d68f8 [2023-05-02T00:17:46.589Z] ---> 4a8dfed326d8 [2023-05-02T00:17:46.589Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-02T00:17:46.589Z] ---> 7b420f136b2e [2023-05-02T00:17:46.589Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T00:17:46.589Z] ---> Running in 964ca2f3ded2 [2023-05-02T00:17:47.522Z] Removing intermediate container 964ca2f3ded2 [2023-05-02T00:17:47.522Z] ---> 4d02c8d7f739 [2023-05-02T00:17:47.522Z] Step 11/24 : COPY . . [2023-05-02T00:17:47.780Z] ---> 8d81509f2f11 [2023-05-02T00:17:47.780Z] Step 12/24 : RUN $MAKE [2023-05-02T00:17:47.780Z] ---> Running in c210175187ac [2023-05-02T00:17:48.038Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-05-02T00:18:09.984Z] Removing intermediate container c210175187ac [2023-05-02T00:18:09.984Z] ---> fe5da8f0d664 [2023-05-02T00:18:09.984Z] Step 13/24 : FROM alpine:3.17 [2023-05-02T00:18:09.984Z] 3.17: Pulling from library/alpine [2023-05-02T00:18:09.984Z] f56be85fc22e: Already exists [2023-05-02T00:18:09.984Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-02T00:18:09.984Z] Status: Downloaded newer image for alpine:3.17 [2023-05-02T00:18:09.984Z] ---> 9ed4aefc74f6 [2023-05-02T00:18:09.984Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-05-02T00:18:09.984Z] ---> Running in e93dc53d6de2 [2023-05-02T00:18:09.984Z] Removing intermediate container e93dc53d6de2 [2023-05-02T00:18:09.984Z] ---> 7916d609c5e1 [2023-05-02T00:18:09.984Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-05-02T00:18:09.984Z] ---> Running in e8d1d27b5500 [2023-05-02T00:18:10.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-02T00:18:10.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-02T00:18:10.500Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-02T00:18:10.500Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T00:18:10.500Z] OK: 7 MiB in 16 packages [2023-05-02T00:18:10.759Z] Removing intermediate container e8d1d27b5500 [2023-05-02T00:18:10.760Z] ---> 49c4f56ba2c6 [2023-05-02T00:18:10.760Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-05-02T00:18:11.697Z] ---> 5f67bdd1540b [2023-05-02T00:18:11.697Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-05-02T00:18:11.697Z] ---> 3ab06b8472ad [2023-05-02T00:18:11.697Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-05-02T00:18:11.697Z] ---> 159968756db8 [2023-05-02T00:18:11.697Z] Step 19/24 : EXPOSE 59982 [2023-05-02T00:18:11.697Z] ---> Running in 0f444f7528e0 [2023-05-02T00:18:11.956Z] Removing intermediate container 0f444f7528e0 [2023-05-02T00:18:11.956Z] ---> 81d46901ab72 [2023-05-02T00:18:11.956Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-05-02T00:18:11.956Z] ---> Running in 4f4de9c7de3f [2023-05-02T00:18:11.956Z] Removing intermediate container 4f4de9c7de3f [2023-05-02T00:18:11.956Z] ---> 3101a588d4b3 [2023-05-02T00:18:11.956Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-02T00:18:11.956Z] ---> Running in 3f25a2a185ba [2023-05-02T00:18:11.956Z] Removing intermediate container 3f25a2a185ba [2023-05-02T00:18:11.956Z] ---> d1e642af3c8a [2023-05-02T00:18:11.956Z] Step 22/24 : LABEL arch=amd64 [2023-05-02T00:18:12.215Z] ---> Running in 28a56e9e752c [2023-05-02T00:18:12.215Z] Removing intermediate container 28a56e9e752c [2023-05-02T00:18:12.215Z] ---> ea36f5401bb9 [2023-05-02T00:18:12.215Z] Step 23/24 : LABEL git_sha=294c6def2b0b795a6d478a2cc5574578b861ffe8 [2023-05-02T00:18:12.215Z] ---> Running in bb4d0782a5f5 [2023-05-02T00:18:12.215Z] Removing intermediate container bb4d0782a5f5 [2023-05-02T00:18:12.215Z] ---> f6d700a38487 [2023-05-02T00:18:12.215Z] Step 24/24 : LABEL version=0.0.0 [2023-05-02T00:18:12.215Z] ---> Running in 47895ad36495 [2023-05-02T00:18:12.474Z] Removing intermediate container 47895ad36495 [2023-05-02T00:18:12.474Z] ---> 3cec6e24be3b [2023-05-02T00:18:12.474Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-02T00:18:12.474Z] Successfully built 3cec6e24be3b [2023-05-02T00:18:12.474Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-05-02T00:18:12.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T00:18:12.947Z] [2023-05-02T00:18:12.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:18:13.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T00:18:13.240Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-02T00:18:13.240Z] 5eb5b503b376: Pulling fs layer [2023-05-02T00:18:13.240Z] 5c69ac0246d0: Pulling fs layer [2023-05-02T00:18:13.240Z] ec43610c2a17: Pulling fs layer [2023-05-02T00:18:13.240Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-02T00:18:13.240Z] 33b1e0a273af: Pulling fs layer [2023-05-02T00:18:13.240Z] 5d3b04190fa2: Pulling fs layer [2023-05-02T00:18:13.240Z] 2f39f015ded8: Pulling fs layer [2023-05-02T00:18:13.240Z] 3a2ae6a8a46f: Waiting [2023-05-02T00:18:13.240Z] 33b1e0a273af: Waiting [2023-05-02T00:18:13.240Z] 2f39f015ded8: Waiting [2023-05-02T00:18:13.240Z] 5d3b04190fa2: Waiting [2023-05-02T00:18:13.240Z] 5c69ac0246d0: Download complete [2023-05-02T00:18:13.240Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-02T00:18:13.240Z] 3a2ae6a8a46f: Download complete [2023-05-02T00:18:13.240Z] 33b1e0a273af: Verifying Checksum [2023-05-02T00:18:13.240Z] 33b1e0a273af: Download complete [2023-05-02T00:18:13.240Z] 5d3b04190fa2: Verifying Checksum [2023-05-02T00:18:13.240Z] 5d3b04190fa2: Download complete [2023-05-02T00:18:13.240Z] ec43610c2a17: Verifying Checksum [2023-05-02T00:18:13.240Z] ec43610c2a17: Download complete [2023-05-02T00:18:13.499Z] 5eb5b503b376: Verifying Checksum [2023-05-02T00:18:13.499Z] 5eb5b503b376: Download complete [2023-05-02T00:18:14.064Z] 2f39f015ded8: Download complete [2023-05-02T00:18:14.631Z] 5eb5b503b376: Pull complete [2023-05-02T00:18:14.631Z] 5c69ac0246d0: Pull complete [2023-05-02T00:18:15.199Z] ec43610c2a17: Pull complete [2023-05-02T00:18:15.766Z] 3a2ae6a8a46f: Pull complete [2023-05-02T00:18:16.024Z] 33b1e0a273af: Pull complete [2023-05-02T00:18:16.024Z] 5d3b04190fa2: Pull complete [2023-05-02T00:18:20.211Z] 2f39f015ded8: Pull complete [2023-05-02T00:18:20.211Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-02T00:18:20.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T00:18:20.211Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:18:20.285Z] prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container [2023-05-02T00:18:20.328Z] $ 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/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-02T00:18:28.018Z] $ docker top d6cbeeeca0b95c88eb54d175b9d85c6afb7af022f9443e0807f0b586f8f10c82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:18:28.378Z] ---> job-cost.sh [2023-05-02T00:18:28.378Z] lf-activate-venv: SKIPPING [2023-05-02T00:18:28.378Z] INFO: No Stack... [2023-05-02T00:18:28.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T00:18:28.898Z] INFO: Archiving Costs [Pipeline] sh [2023-05-02T00:18:29.187Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/cost.csv [2023-05-02T00:18:29.187Z] + cut -d, -f6 [Pipeline] lock [2023-05-02T00:18:29.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] [2023-05-02T00:18:29.218Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] did not exist. Created. [2023-05-02T00:18:29.219Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-02T00:18:29.522Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-02T00:18:29.550Z] Stashed 1 file(s) [Pipeline] } [2023-05-02T00:18:29.556Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-02T00:18:29.575Z] $ docker stop --time=1 d6cbeeeca0b95c88eb54d175b9d85c6afb7af022f9443e0807f0b586f8f10c82 [2023-05-02T00:18:30.731Z] $ docker rm -f --volumes d6cbeeeca0b95c88eb54d175b9d85c6afb7af022f9443e0807f0b586f8f10c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-02T00:19:19.685Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12270 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] { [Pipeline] ws [2023-05-02T00:19:19.701Z] Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout [2023-05-02T00:19:19.764Z] Selected Git installation does not exist. Using Default [2023-05-02T00:19:19.764Z] The recommended git tool is: NONE [2023-05-02T00:19:27.379Z] using credential edgex-jenkins-ssh [2023-05-02T00:19:27.409Z] Cloning the remote Git repository [2023-05-02T00:19:27.492Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-05-02T00:19:27.648Z] > git init /w/workspace/device-mqtt-go/6 # timeout=10 [2023-05-02T00:19:27.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-05-02T00:19:27.862Z] > git --version # timeout=10 [2023-05-02T00:19:27.890Z] > git --version # 'git version 2.25.1' [2023-05-02T00:19:27.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T00:19:28.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T00:19:29.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-05-02T00:19:29.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-02T00:19:31.472Z] Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 294c6def2b0b795a6d478a2cc5574578b861ffe8 [2023-05-02T00:19:30.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-05-02T00:19:30.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-05-02T00:19:30.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T00:19:30.844Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-02T00:19:31.502Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T00:19:31.850Z] Merge succeeded, producing 294c6def2b0b795a6d478a2cc5574578b861ffe8 [2023-05-02T00:19:31.850Z] Checking out Revision 294c6def2b0b795a6d478a2cc5574578b861ffe8 (PR-586) [2023-05-02T00:19:31.599Z] > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 [2023-05-02T00:19:31.709Z] > git remote # timeout=10 [2023-05-02T00:19:31.734Z] > git config --get remote.origin.url # timeout=10 [2023-05-02T00:19:31.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-02T00:19:31.779Z] > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 [2023-05-02T00:19:31.825Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-02T00:19:31.862Z] > git config core.sparsecheckout # timeout=10 [2023-05-02T00:19:31.880Z] > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 [2023-05-02T00:19:35.552Z] Commit message: "feat!: Handle receiving multiple readings in the async payload" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T00:19:36.477Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-02T00:19:36.477Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-02T00:19:36.477Z] Dload Upload Total Spent Left Speed [2023-05-02T00:19:36.477Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-05-02T00:19:37.405Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-02T00:19:37.753Z] + sudo tee /etc/docker/daemon.new [2023-05-02T00:19:37.754Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-02T00:19:37.754Z] { [2023-05-02T00:19:37.754Z] "registry-mirrors": [ [2023-05-02T00:19:37.754Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-02T00:19:37.754Z] ], [2023-05-02T00:19:37.754Z] "bip": "10.250.0.254/24", [2023-05-02T00:19:37.754Z] "hosts": [ [2023-05-02T00:19:37.754Z] "tcp://0.0.0.0:5555", [2023-05-02T00:19:37.754Z] "unix:///var/run/docker.sock" [2023-05-02T00:19:37.754Z] ], [2023-05-02T00:19:37.754Z] "mtu": 1458, [2023-05-02T00:19:37.754Z] "selinux-enabled": true, [2023-05-02T00:19:37.754Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-02T00:19:37.754Z] } [Pipeline] sh [2023-05-02T00:19:38.114Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-02T00:19:38.463Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T00:19:56.821Z] provisioning config files... [2023-05-02T00:19:56.870Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config13413549721390659872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:19:57.268Z] ---> docker-login.sh [2023-05-02T00:19:57.268Z] nexus3.edgexfoundry.org:10001 [2023-05-02T00:19:57.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:19:58.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:19:58.155Z] Configure a credential helper to remove this warning. See [2023-05-02T00:19:58.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:19:58.155Z] [2023-05-02T00:19:58.155Z] Login Succeeded [2023-05-02T00:19:58.155Z] nexus3.edgexfoundry.org:10002 [2023-05-02T00:19:58.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:19:58.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:19:58.430Z] Configure a credential helper to remove this warning. See [2023-05-02T00:19:58.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:19:58.430Z] [2023-05-02T00:19:58.430Z] Login Succeeded [2023-05-02T00:19:58.430Z] nexus3.edgexfoundry.org:10003 [2023-05-02T00:19:58.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:19:58.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:19:58.991Z] Configure a credential helper to remove this warning. See [2023-05-02T00:19:58.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:19:58.991Z] [2023-05-02T00:19:58.991Z] Login Succeeded [2023-05-02T00:19:58.991Z] nexus3.edgexfoundry.org:10004 [2023-05-02T00:19:59.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:19:59.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:19:59.544Z] Configure a credential helper to remove this warning. See [2023-05-02T00:19:59.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:19:59.544Z] [2023-05-02T00:19:59.544Z] Login Succeeded [2023-05-02T00:19:59.544Z] docker.io [2023-05-02T00:19:59.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-02T00:20:00.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-02T00:20:00.101Z] Configure a credential helper to remove this warning. See [2023-05-02T00:20:00.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-02T00:20:00.101Z] [2023-05-02T00:20:00.101Z] Login Succeeded [2023-05-02T00:20:00.101Z] ---> docker-login.sh ends [Pipeline] } [2023-05-02T00:20:00.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-02T00:20:00.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T00:20:00.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-02T00:20:00.535Z] ========================================================= [2023-05-02T00:20:00.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-02T00:20:00.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:20:00.926Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-02T00:20:01.219Z] Sending build context to Docker daemon 3.389MB [2023-05-02T00:20:01.496Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T00:20:01.496Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-02T00:20:01.780Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-02T00:20:01.780Z] c41833b44d91: Pulling fs layer [2023-05-02T00:20:01.780Z] ed15518f5707: Pulling fs layer [2023-05-02T00:20:01.780Z] feae8fd75edb: Pulling fs layer [2023-05-02T00:20:01.780Z] 242c74f7c9fa: Pulling fs layer [2023-05-02T00:20:01.780Z] 3cdef696dda3: Pulling fs layer [2023-05-02T00:20:01.780Z] 2ced38df9373: Pulling fs layer [2023-05-02T00:20:01.780Z] 58f1dce35555: Pulling fs layer [2023-05-02T00:20:01.780Z] 3cdef696dda3: Waiting [2023-05-02T00:20:01.780Z] 2ced38df9373: Waiting [2023-05-02T00:20:01.780Z] 242c74f7c9fa: Waiting [2023-05-02T00:20:01.780Z] 58f1dce35555: Waiting [2023-05-02T00:20:01.780Z] ed15518f5707: Verifying Checksum [2023-05-02T00:20:01.780Z] ed15518f5707: Download complete [2023-05-02T00:20:01.780Z] 242c74f7c9fa: Verifying Checksum [2023-05-02T00:20:01.780Z] 242c74f7c9fa: Download complete [2023-05-02T00:20:01.780Z] 3cdef696dda3: Verifying Checksum [2023-05-02T00:20:01.780Z] 3cdef696dda3: Download complete [2023-05-02T00:20:01.780Z] c41833b44d91: Verifying Checksum [2023-05-02T00:20:01.780Z] c41833b44d91: Download complete [2023-05-02T00:20:02.791Z] c41833b44d91: Pull complete [2023-05-02T00:20:03.395Z] 58f1dce35555: Verifying Checksum [2023-05-02T00:20:03.395Z] 58f1dce35555: Download complete [2023-05-02T00:20:03.676Z] ed15518f5707: Pull complete [2023-05-02T00:20:04.669Z] feae8fd75edb: Verifying Checksum [2023-05-02T00:20:04.669Z] feae8fd75edb: Download complete [2023-05-02T00:20:04.669Z] 2ced38df9373: Verifying Checksum [2023-05-02T00:20:04.669Z] 2ced38df9373: Download complete [2023-05-02T00:20:17.107Z] feae8fd75edb: Pull complete [2023-05-02T00:20:17.107Z] 242c74f7c9fa: Pull complete [2023-05-02T00:20:17.107Z] 3cdef696dda3: Pull complete [2023-05-02T00:20:23.837Z] 2ced38df9373: Pull complete [2023-05-02T00:20:25.815Z] 58f1dce35555: Pull complete [2023-05-02T00:20:25.815Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-02T00:20:25.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-02T00:20:25.815Z] ---> fadd8f120f05 [2023-05-02T00:20:25.815Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-02T00:20:27.796Z] ---> Running in fe09fa64c513 [2023-05-02T00:20:28.070Z] Removing intermediate container fe09fa64c513 [2023-05-02T00:20:28.070Z] ---> d10b3764c6d3 [2023-05-02T00:20:28.070Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T00:20:28.347Z] ---> Running in e490f233f66c [2023-05-02T00:20:28.621Z] Removing intermediate container e490f233f66c [2023-05-02T00:20:28.621Z] ---> ff19bd67bb1f [2023-05-02T00:20:28.621Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-02T00:20:28.621Z] ---> Running in c875ffe21c5c [2023-05-02T00:20:29.215Z] Removing intermediate container c875ffe21c5c [2023-05-02T00:20:29.215Z] ---> 8f3af010f08e [2023-05-02T00:20:29.215Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T00:20:29.215Z] ---> Running in a98db5578a89 [2023-05-02T00:20:29.487Z] Removing intermediate container a98db5578a89 [2023-05-02T00:20:29.487Z] ---> 782d33cd1127 [2023-05-02T00:20:29.487Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T00:20:29.773Z] ---> Running in f653dbcead63 [2023-05-02T00:20:31.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T00:20:31.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T00:20:33.045Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-02T00:20:33.045Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-02T00:20:33.045Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-02T00:20:33.315Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-02T00:20:33.315Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T00:20:33.315Z] OK: 268 MiB in 57 packages [2023-05-02T00:20:34.757Z] Removing intermediate container f653dbcead63 [2023-05-02T00:20:34.757Z] ---> c7c5c7764c61 [2023-05-02T00:20:34.757Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-05-02T00:20:34.757Z] ---> Running in 4934f4269411 [2023-05-02T00:20:35.031Z] Removing intermediate container 4934f4269411 [2023-05-02T00:20:35.031Z] ---> 017f5ad9f8be [2023-05-02T00:20:35.031Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-02T00:20:35.623Z] ---> 7e986cf36c59 [2023-05-02T00:20:35.623Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T00:20:35.895Z] ---> Running in c56691fa7f05 [2023-05-02T00:21:43.951Z] Removing intermediate container c56691fa7f05 [2023-05-02T00:21:43.951Z] ---> 4f1e95cb8435 [2023-05-02T00:21:43.951Z] Step 11/12 : COPY . . [2023-05-02T00:21:43.951Z] ---> 94c8c899bbef [2023-05-02T00:21:43.951Z] Step 12/12 : RUN $MAKE [2023-05-02T00:21:43.951Z] ---> Running in 220317ca72bc [2023-05-02T00:21:43.951Z] noop [2023-05-02T00:21:44.929Z] Removing intermediate container 220317ca72bc [2023-05-02T00:21:44.929Z] ---> 784e9af4d3bd [2023-05-02T00:21:44.929Z] Successfully built 784e9af4d3bd [2023-05-02T00:21:44.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:21:45.293Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T00:21:45.293Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:21:45.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-12270 does not seem to be running inside a container [2023-05-02T00:21:45.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-02T00:21:47.075Z] $ docker top e786d268dce3924cec2e7bc205fbeb91200900ec627818d2fbb826148663e10a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T00:21:47.969Z] + go version [2023-05-02T00:21:47.969Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-02T00:21:48.007Z] $ docker stop --time=1 e786d268dce3924cec2e7bc205fbeb91200900ec627818d2fbb826148663e10a [2023-05-02T00:21:49.733Z] $ docker rm -f --volumes e786d268dce3924cec2e7bc205fbeb91200900ec627818d2fbb826148663e10a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:21:50.302Z] + docker inspect -f . ci-base-image-arm64 [2023-05-02T00:21:50.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:21:50.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-12270 does not seem to be running inside a container [2023-05-02T00:21:50.628Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-02T00:21:52.068Z] $ docker top 315a6b551030300abd0ae77ff3b4cc2dd70eabcd15cf82988e7b5086876f1b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T00:21:52.987Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh [2023-05-02T00:21:53.670Z] + make test [2023-05-02T00:21:53.670Z] go test ./... -coverprofile=coverage.out ./... [2023-05-02T00:22:42.034Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-05-02T00:25:18.987Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-05-02T00:25:18.987Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-05-02T00:25:18.987Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 23.1% of statements [2023-05-02T00:25:18.987Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-02T00:25:18.987Z] go vet ./... [2023-05-02T00:25:45.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-02T00:25:45.742Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-02T00:25:45.742Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-02T00:25:45.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-02T00:25:45.794Z] $ docker stop --time=1 315a6b551030300abd0ae77ff3b4cc2dd70eabcd15cf82988e7b5086876f1b36 [2023-05-02T00:25:47.738Z] $ docker rm -f --volumes 315a6b551030300abd0ae77ff3b4cc2dd70eabcd15cf82988e7b5086876f1b36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-02T00:25:49.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-02T00:25:49.058Z] Warning: overwriting stash ‘coverage-report’ [2023-05-02T00:25:49.824Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-02T00:25:50.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-02T00:25:50.589Z] + ls -al . [2023-05-02T00:25:50.589Z] total 176 [2023-05-02T00:25:50.589Z] drwxrwxr-x 9 jenkins jenkins 4096 May 2 00:21 . [2023-05-02T00:25:50.589Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:19 .. [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 140 May 2 00:19 .dockerignore [2023-05-02T00:25:50.589Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 00:19 .git [2023-05-02T00:25:50.589Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:19 .github [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 329 May 2 00:19 .gitignore [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 00:19 .golangci.yml [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 9417 May 2 00:19 Attribution.txt [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 13162 May 2 00:19 CHANGELOG.md [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 1689 May 2 00:19 Dockerfile [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 00:19 GOVERNANCE.md [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 678 May 2 00:19 Jenkinsfile [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 00:19 LICENSE [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 1732 May 2 00:19 Makefile [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 620 May 2 00:19 OWNERS.md [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 3165 May 2 00:19 README.md [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 00:16 VERSION [2023-05-02T00:25:50.589Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:19 bin [2023-05-02T00:25:50.589Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:19 cmd [2023-05-02T00:25:50.589Z] -rw-r--r-- 1 jenkins jenkins 18144 May 2 00:25 coverage.out [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 2 00:19 go.mod [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 31443 May 2 00:19 go.sum [2023-05-02T00:25:50.589Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:19 internal [2023-05-02T00:25:50.589Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:19 mock [2023-05-02T00:25:50.589Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:19 snap [2023-05-02T00:25:50.589Z] -rw-rw-r-- 1 jenkins jenkins 227 May 2 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:25:50.994Z] + 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=294c6def2b0b795a6d478a2cc5574578b861ffe8 --label arch=arm64 --label version=0.0.0 . [2023-05-02T00:25:51.279Z] Sending build context to Docker daemon 3.408MB [2023-05-02T00:25:51.279Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-02T00:25:51.279Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-02T00:25:51.279Z] ---> 784e9af4d3bd [2023-05-02T00:25:51.279Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-02T00:25:51.559Z] ---> Running in 6d137b522169 [2023-05-02T00:25:51.839Z] Removing intermediate container 6d137b522169 [2023-05-02T00:25:51.839Z] ---> 000f103467d4 [2023-05-02T00:25:51.839Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-02T00:25:51.839Z] ---> Running in 892b017fe005 [2023-05-02T00:25:52.127Z] Removing intermediate container 892b017fe005 [2023-05-02T00:25:52.399Z] ---> 315ebd85d477 [2023-05-02T00:25:52.399Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-02T00:25:52.399Z] ---> Running in 181a8d292f62 [2023-05-02T00:25:52.679Z] Removing intermediate container 181a8d292f62 [2023-05-02T00:25:52.679Z] ---> c3f31053361a [2023-05-02T00:25:52.679Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-02T00:25:52.679Z] ---> Running in 58892501ceb7 [2023-05-02T00:25:53.274Z] Removing intermediate container 58892501ceb7 [2023-05-02T00:25:53.274Z] ---> 51179f7ee83b [2023-05-02T00:25:53.274Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-02T00:25:53.274Z] ---> Running in 844911c24298 [2023-05-02T00:25:54.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T00:25:55.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T00:25:56.654Z] OK: 268 MiB in 57 packages [2023-05-02T00:25:57.632Z] Removing intermediate container 844911c24298 [2023-05-02T00:25:57.632Z] ---> 3070faba4cfb [2023-05-02T00:25:57.632Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-05-02T00:25:57.632Z] ---> Running in c9ece4a5b247 [2023-05-02T00:25:57.907Z] Removing intermediate container c9ece4a5b247 [2023-05-02T00:25:57.907Z] ---> f98d0fcf020b [2023-05-02T00:25:57.907Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-02T00:25:58.512Z] ---> b6cf05fec53d [2023-05-02T00:25:58.512Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-02T00:25:58.512Z] ---> Running in db593315d929 [2023-05-02T00:26:01.123Z] Removing intermediate container db593315d929 [2023-05-02T00:26:01.123Z] ---> 0025c8e7767d [2023-05-02T00:26:01.123Z] Step 11/24 : COPY . . [2023-05-02T00:26:02.568Z] ---> 7fe138bd504f [2023-05-02T00:26:02.568Z] Step 12/24 : RUN $MAKE [2023-05-02T00:26:02.568Z] ---> Running in f98d03831626 [2023-05-02T00:26:03.538Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-05-02T00:28:40.328Z] Removing intermediate container f98d03831626 [2023-05-02T00:28:40.328Z] ---> 9baad2a1972a [2023-05-02T00:28:40.328Z] Step 13/24 : FROM alpine:3.17 [2023-05-02T00:28:40.328Z] 3.17: Pulling from library/alpine [2023-05-02T00:28:40.328Z] c41833b44d91: Already exists [2023-05-02T00:28:40.328Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-02T00:28:40.328Z] Status: Downloaded newer image for alpine:3.17 [2023-05-02T00:28:40.328Z] ---> 51e60588ff2c [2023-05-02T00:28:40.328Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-05-02T00:28:40.328Z] ---> Running in 5ea5902ca675 [2023-05-02T00:28:40.328Z] Removing intermediate container 5ea5902ca675 [2023-05-02T00:28:40.328Z] ---> e987af536207 [2023-05-02T00:28:40.328Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-05-02T00:28:40.328Z] ---> Running in fb79f1d54082 [2023-05-02T00:28:40.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-02T00:28:40.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-02T00:28:40.328Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-02T00:28:40.328Z] Executing busybox-1.35.0-r29.trigger [2023-05-02T00:28:40.328Z] OK: 8 MiB in 16 packages [2023-05-02T00:28:40.328Z] Removing intermediate container fb79f1d54082 [2023-05-02T00:28:40.328Z] ---> 2cf9d0f0f3cd [2023-05-02T00:28:40.328Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-05-02T00:28:40.328Z] ---> fa73ec08f142 [2023-05-02T00:28:40.328Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-05-02T00:28:40.328Z] ---> c95222aacb11 [2023-05-02T00:28:40.328Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-05-02T00:28:40.328Z] ---> 1e0b27209b8e [2023-05-02T00:28:40.328Z] Step 19/24 : EXPOSE 59982 [2023-05-02T00:28:41.293Z] ---> Running in 25e9b554f327 [2023-05-02T00:28:41.562Z] Removing intermediate container 25e9b554f327 [2023-05-02T00:28:41.562Z] ---> 73757a53df44 [2023-05-02T00:28:41.562Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-05-02T00:28:41.562Z] ---> Running in 5dcdc95afe8f [2023-05-02T00:28:42.151Z] Removing intermediate container 5dcdc95afe8f [2023-05-02T00:28:42.151Z] ---> 60a278f093cf [2023-05-02T00:28:42.151Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-02T00:28:42.151Z] ---> Running in c6eb1a290299 [2023-05-02T00:28:42.421Z] Removing intermediate container c6eb1a290299 [2023-05-02T00:28:42.421Z] ---> 9214a47a782b [2023-05-02T00:28:42.421Z] Step 22/24 : LABEL arch=arm64 [2023-05-02T00:28:42.421Z] ---> Running in dfea2e04b3ad [2023-05-02T00:28:42.702Z] Removing intermediate container dfea2e04b3ad [2023-05-02T00:28:42.702Z] ---> 5c96f1a6b58c [2023-05-02T00:28:42.702Z] Step 23/24 : LABEL git_sha=294c6def2b0b795a6d478a2cc5574578b861ffe8 [2023-05-02T00:28:42.972Z] ---> Running in 7f0bcc4b1916 [2023-05-02T00:28:43.240Z] Removing intermediate container 7f0bcc4b1916 [2023-05-02T00:28:43.240Z] ---> effc2c100190 [2023-05-02T00:28:43.240Z] Step 24/24 : LABEL version=0.0.0 [2023-05-02T00:28:43.240Z] ---> Running in 43635b24d943 [2023-05-02T00:28:43.828Z] Removing intermediate container 43635b24d943 [2023-05-02T00:28:43.828Z] ---> fe8785c2b47d [2023-05-02T00:28:43.828Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-02T00:28:43.828Z] Successfully built fe8785c2b47d [2023-05-02T00:28:43.828Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:28:44.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T00:28:44.289Z] [2023-05-02T00:28:44.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:28:44.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-02T00:28:59.647Z] Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-02T00:28:59.786Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-05-02T00:29:00.509Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives ] [2023-05-02T00:29:00.509Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives [2023-05-02T00:29:00.509Z] total 16 [2023-05-02T00:29:00.509Z] drwxr-xr-x 3 root root 4096 May 2 00:18 . [2023-05-02T00:29:00.509Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 00:18 .. [2023-05-02T00:29:00.509Z] drwxr-xr-x 2 root root 4096 May 2 00:18 cost [2023-05-02T00:29:00.509Z] -rw-r--r-- 1 root root 86 May 2 00:18 cost.csv [2023-05-02T00:29:00.509Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives [2023-05-02T00:29:00.509Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives [2023-05-02T00:29:00.509Z] total 16 [2023-05-02T00:29:00.509Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 00:18 . [2023-05-02T00:29:00.509Z] drwxrwxr-x 11 jenkins jenkins 4096 May 2 00:18 .. [2023-05-02T00:29:00.509Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 00:18 cost [2023-05-02T00:29:00.509Z] -rw-r--r-- 1 jenkins jenkins 86 May 2 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:00.799Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:01.648Z] ---> package-listing.sh [2023-05-02T00:29:01.648Z] ++ facter osfamily [2023-05-02T00:29:01.648Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-02T00:29:01.908Z] + OS_FAMILY=debian [2023-05-02T00:29:01.908Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-586 [2023-05-02T00:29:01.908Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-02T00:29:01.908Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-02T00:29:01.908Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-02T00:29:01.908Z] + PACKAGES=/tmp/packages_start.txt [2023-05-02T00:29:01.908Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' [2023-05-02T00:29:01.908Z] + PACKAGES=/tmp/packages_end.txt [2023-05-02T00:29:01.908Z] + case "${OS_FAMILY}" in [2023-05-02T00:29:01.908Z] + dpkg -l [2023-05-02T00:29:01.908Z] + grep '^ii' [2023-05-02T00:29:01.908Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-02T00:29:01.908Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-02T00:29:01.908Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-02T00:29:01.908Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' [2023-05-02T00:29:01.908Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ [2023-05-02T00:29:01.908Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ [Pipeline] echo [2023-05-02T00:29:01.918Z] 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/gexfoundry_device-mqtt-go_PR-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-02T00:29:02.191Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-02T00:29:02.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-02T00:29:02.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-02T00:29:02.819Z] prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container [2023-05-02T00:29:02.848Z] $ 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/gexfoundry_device-mqtt-go_PR-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-02T00:29:03.031Z] $ docker top f1d0a6a7ee98690b1e754b8ab8c9d0dd1c049659fd898766e2851f6fa4571132 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-02T00:29:03.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-02T00:29:03.653Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-02T00:29:03.937Z] + ls /var/log/sa-host [2023-05-02T00:29:03.937Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-02T00:29:04.089Z] provisioning config files... [2023-05-02T00:29:04.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config11160408665875659384tmp [Pipeline] { [Pipeline] echo [2023-05-02T00:29:04.112Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:04.395Z] ---> create-netrc.sh [Pipeline] } [2023-05-02T00:29:04.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:04.754Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-02T00:29:04.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:05.044Z] ---> sudo-logs.sh [2023-05-02T00:29:05.045Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-02T00:29:05.080Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:05.364Z] ---> job-cost.sh [2023-05-02T00:29:05.365Z] lf-activate-venv: SKIPPING [2023-05-02T00:29:05.365Z] DEBUG: total: 0.2199999988079071 [2023-05-02T00:29:05.365Z] INFO: Retrieving Stack Cost... [2023-05-02T00:29:05.624Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-02T00:29:06.193Z] INFO: Archiving Costs [Pipeline] echo [2023-05-02T00:29:06.203Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-02T00:29:06.485Z] ---> logs-deploy.sh [2023-05-02T00:29:06.485Z] lf-activate-venv: SKIPPING [2023-05-02T00:29:06.485Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-586/6 [2023-05-02T00:29:06.485Z] INFO: archiving workspace using pattern(s): [2023-05-02T00:29:07.420Z] Archives upload complete. [2023-05-02T00:29:07.420Z] INFO: archiving logs to Nexus