Pull request #568 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00a762b027f9976ee14a031b4f6e34f99f525902+a5ec5e69222fbe1cabc57f6e226de7296c53eab0 (8b51170df1236b4be7b020bb54a001a22f1b25db) 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-ssh7016695215996061402.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-ssh8297587423939886812.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-568/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-568/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13397057146062177145.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-568/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11970261218262474166.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8982149979384659161.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-568/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-568/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10511734005721629907.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-9024 in /w/workspace/gexfoundry_device-mqtt-go_PR-568 [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-568 # 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 Merging remotes/origin/main commit a5ec5e69222fbe1cabc57f6e226de7296c53eab0 into PR head commit 00a762b027f9976ee14a031b4f6e34f99f525902 Merge succeeded, producing 00a762b027f9976ee14a031b4f6e34f99f525902 Checking out Revision 00a762b027f9976ee14a031b4f6e34f99f525902 (PR-568) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/568/head:refs/remotes/origin/PR-568 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00a762b027f9976ee14a031b4f6e34f99f525902 # 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 a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00a762b027f9976ee14a031b4f6e34f99f525902 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-19T01:59:13.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T01:59:13.986Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T01:59:14.109Z] ========================================================= [2023-04-19T01:59:14.109Z] EdgeX Global Pipelines Version Info [2023-04-19T01:59:14.109Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-19T01:59:14.880Z] ------------------- [2023-04-19T01:59:14.880Z] stable info: [2023-04-19T01:59:14.880Z] ------------------- [2023-04-19T01:59:14.880Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T01:59:14.880Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T01:59:14.880Z] Message: update stable to v1.0.248 [2023-04-19T01:59:15.457Z] ------------------- [2023-04-19T01:59:15.457Z] experimental info: [2023-04-19T01:59:15.457Z] ------------------- [2023-04-19T01:59:15.457Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T01:59:15.457Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T01:59:15.457Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T01:59:15.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-19T01:59:15.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-19T01:59:15.960Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T01:59:16.020Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T01:59:16.067Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T01:59:16.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T01:59:16.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T01:59:16.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-19T01:59:16.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T01:59:16.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T01:59:16.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T01:59:16.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-19T01:59:16.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T01:59:16.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T01:59:16.642Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T01:59:16.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T01:59:16.773Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T01:59:16.815Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T01:59:16.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T01:59:16.923Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T01:59:16.986Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-19T01:59:17.047Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-19T01:59:17.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-19T01:59:17.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-19T01:59:17.282Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-19T01:59:17.331Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T01:59:17.423Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T01:59:17.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-568 [Pipeline] echo [2023-04-19T01:59:17.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-568 [Pipeline] echo [2023-04-19T01:59:17.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-568 [Pipeline] echo [2023-04-19T01:59:17.640Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00a762b027f9976ee14a031b4f6e34f99f525902 [Pipeline] echo [2023-04-19T01:59:17.693Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00a762b [Pipeline] echo [2023-04-19T01:59:17.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T01:59:17.937Z] provisioning config files... [2023-04-19T01:59:17.952Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/config8324691083420413409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T01:59:18.371Z] ---> docker-login.sh [2023-04-19T01:59:18.371Z] nexus3.edgexfoundry.org:10001 [2023-04-19T01:59:18.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:18.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:18.631Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:18.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:18.631Z] [2023-04-19T01:59:18.631Z] Login Succeeded [2023-04-19T01:59:18.631Z] nexus3.edgexfoundry.org:10002 [2023-04-19T01:59:18.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:18.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:18.912Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:18.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:18.912Z] [2023-04-19T01:59:18.912Z] Login Succeeded [2023-04-19T01:59:18.912Z] nexus3.edgexfoundry.org:10003 [2023-04-19T01:59:18.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:18.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:18.912Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:18.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:18.912Z] [2023-04-19T01:59:18.912Z] Login Succeeded [2023-04-19T01:59:19.172Z] nexus3.edgexfoundry.org:10004 [2023-04-19T01:59:19.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:19.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:19.172Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:19.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:19.172Z] [2023-04-19T01:59:19.172Z] Login Succeeded [2023-04-19T01:59:19.172Z] docker.io [2023-04-19T01:59:19.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:19.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:19.435Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:19.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:19.435Z] [2023-04-19T01:59:19.435Z] Login Succeeded [2023-04-19T01:59:19.435Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T01:59:19.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-19T01:59:20.391Z] + git rev-list -1 --merges 00a762b027f9976ee14a031b4f6e34f99f525902~1..00a762b027f9976ee14a031b4f6e34f99f525902 [Pipeline] echo [2023-04-19T01:59:20.480Z] -----------> git rev-list -1 --merges 00a762b027f9976ee14a031b4f6e34f99f525902~1..00a762b027f9976ee14a031b4f6e34f99f525902 00a762b027f9976ee14a031b4f6e34f99f525902 [false] [Pipeline] sh [2023-04-19T01:59:20.820Z] + git log --format=format:%s -1 00a762b027f9976ee14a031b4f6e34f99f525902 [Pipeline] echo [2023-04-19T01:59:20.880Z] ========================================================= [2023-04-19T01:59:20.880Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T01:59:20.880Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T01:59:21.389Z] + git log --format=format:%s -1 00a762b027f9976ee14a031b4f6e34f99f525902 [Pipeline] echo [2023-04-19T01:59:21.434Z] [semverPrep] GIT_COMMIT: 00a762b027f9976ee14a031b4f6e34f99f525902, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-19T01:59:21.476Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-19T01:59:21.938Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T01:59:21.938Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T01:59:21.938Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T01:59:21.938Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T01:59:21.938Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-19T01:59:21.938Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-19T01:59:21.938Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T01:59:22.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T01:59:22.624Z] [2023-04-19T01:59:22.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T01:59:23.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T01:59:23.052Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T01:59:23.052Z] b85a868b505f: Pulling fs layer [2023-04-19T01:59:23.052Z] e2be974225ed: Pulling fs layer [2023-04-19T01:59:23.052Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T01:59:23.052Z] 988bab9f4d93: Pulling fs layer [2023-04-19T01:59:23.052Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T01:59:23.052Z] eaf3925da568: Pulling fs layer [2023-04-19T01:59:23.052Z] bab4dde63d76: Pulling fs layer [2023-04-19T01:59:23.052Z] bde34c3a00c8: Pulling fs layer [2023-04-19T01:59:23.052Z] b352a97aabf1: Pulling fs layer [2023-04-19T01:59:23.052Z] 4872d77fe225: Pulling fs layer [2023-04-19T01:59:23.052Z] 5851b861e8e6: Pulling fs layer [2023-04-19T01:59:23.052Z] eaf3925da568: Waiting [2023-04-19T01:59:23.052Z] bab4dde63d76: Waiting [2023-04-19T01:59:23.052Z] bde34c3a00c8: Waiting [2023-04-19T01:59:23.052Z] b352a97aabf1: Waiting [2023-04-19T01:59:23.052Z] 4872d77fe225: Waiting [2023-04-19T01:59:23.052Z] 5851b861e8e6: Waiting [2023-04-19T01:59:23.052Z] 1469e6f7b9e6: Waiting [2023-04-19T01:59:23.313Z] e2be974225ed: Verifying Checksum [2023-04-19T01:59:23.313Z] e2be974225ed: Download complete [2023-04-19T01:59:23.313Z] 988bab9f4d93: Download complete [2023-04-19T01:59:23.313Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T01:59:23.313Z] 339a4e72a1f5: Download complete [2023-04-19T01:59:23.313Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T01:59:23.313Z] 1469e6f7b9e6: Download complete [2023-04-19T01:59:23.571Z] eaf3925da568: Verifying Checksum [2023-04-19T01:59:23.571Z] eaf3925da568: Download complete [2023-04-19T01:59:23.571Z] bde34c3a00c8: Verifying Checksum [2023-04-19T01:59:23.571Z] bde34c3a00c8: Download complete [2023-04-19T01:59:23.571Z] b352a97aabf1: Verifying Checksum [2023-04-19T01:59:23.571Z] b352a97aabf1: Download complete [2023-04-19T01:59:23.571Z] 4872d77fe225: Verifying Checksum [2023-04-19T01:59:23.571Z] 4872d77fe225: Download complete [2023-04-19T01:59:23.571Z] 5851b861e8e6: Verifying Checksum [2023-04-19T01:59:23.571Z] 5851b861e8e6: Download complete [2023-04-19T01:59:23.839Z] b85a868b505f: Verifying Checksum [2023-04-19T01:59:23.839Z] b85a868b505f: Download complete [2023-04-19T01:59:24.124Z] bab4dde63d76: Verifying Checksum [2023-04-19T01:59:24.124Z] bab4dde63d76: Download complete [2023-04-19T01:59:25.063Z] b85a868b505f: Pull complete [2023-04-19T01:59:25.063Z] e2be974225ed: Pull complete [2023-04-19T01:59:25.642Z] 339a4e72a1f5: Pull complete [2023-04-19T01:59:25.642Z] 988bab9f4d93: Pull complete [2023-04-19T01:59:25.903Z] 1469e6f7b9e6: Pull complete [2023-04-19T01:59:25.903Z] eaf3925da568: Pull complete [2023-04-19T01:59:27.826Z] bab4dde63d76: Pull complete [2023-04-19T01:59:27.826Z] bde34c3a00c8: Pull complete [2023-04-19T01:59:28.105Z] b352a97aabf1: Pull complete [2023-04-19T01:59:28.105Z] 4872d77fe225: Pull complete [2023-04-19T01:59:28.105Z] 5851b861e8e6: Pull complete [2023-04-19T01:59:28.371Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T01:59:28.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T01:59:28.371Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T01:59:28.737Z] prd-ubuntu20.04-docker-8c-8g-9024 does not seem to be running inside a container [2023-04-19T01:59:28.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-568 -v /w/workspace/gexfoundry_device-mqtt-go_PR-568:/w/workspace/gexfoundry_device-mqtt-go_PR-568:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-19T01:59:30.071Z] $ docker top ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 -eo pid,comm [2023-04-19T01:59:30.128Z] 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-04-19T01:59:30.128Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T01:59:30.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T01:59:30.343Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T01:59:30.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T01:59:30.477Z] $ docker exec ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 ssh-agent [2023-04-19T01:59:30.577Z] SSH_AUTH_SOCK=/tmp/ssh-WpDB67G6AxSG/agent.32 [2023-04-19T01:59:30.577Z] SSH_AGENT_PID=38 [2023-04-19T01:59:30.587Z] Running ssh-add (command line suppressed) [2023-04-19T01:59:30.700Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/private_key_6867313059063620682.key (/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/private_key_6867313059063620682.key) [2023-04-19T01:59:30.720Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T01:59:31.084Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T01:59:31.117Z] $ docker exec --env ******** --env ******** ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 ssh-agent -k [2023-04-19T01:59:31.226Z] unset SSH_AUTH_SOCK; [2023-04-19T01:59:31.227Z] unset SSH_AGENT_PID; [2023-04-19T01:59:31.227Z] echo Agent pid 38 killed; [2023-04-19T01:59:31.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T01:59:31.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T01:59:31.348Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T01:59:31.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T01:59:31.482Z] $ docker exec ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 ssh-agent [2023-04-19T01:59:31.588Z] SSH_AUTH_SOCK=/tmp/ssh-8SwrMSEGlVC2/agent.70 [2023-04-19T01:59:31.588Z] SSH_AGENT_PID=76 [2023-04-19T01:59:31.593Z] Running ssh-add (command line suppressed) [2023-04-19T01:59:31.725Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/private_key_13413884132135562667.key (/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/private_key_13413884132135562667.key) [2023-04-19T01:59:31.756Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T01:59:32.113Z] + git semver init [2023-04-19T01:59:32.375Z] 2023-04-19 01:59:32,314 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T01:59:32.375Z] 2023-04-19 01:59:32,315 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver [2023-04-19T01:59:32.375Z] 2023-04-19 01:59:32,315 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver [2023-04-19T01:59:32.375Z] 2023-04-19 01:59:32,316 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-568, universal_newlines=False, shell=None, istream=None) [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,081 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-568/.git/info/exclude [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,082 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver/PR-568 with force:False [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,082 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver/PR-568 [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,087 [execute] INFO git cat-file --batch-check [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,097 [execute] INFO git cat-file --batch [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T01:59:33.329Z] 2023-04-19 01:59:33,103 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-568/.semver/PR-568 [2023-04-19T01:59:33.329Z] 0.0.0 [Pipeline] } [2023-04-19T01:59:33.375Z] $ docker exec --env ******** --env ******** ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 ssh-agent -k [2023-04-19T01:59:33.482Z] unset SSH_AUTH_SOCK; [2023-04-19T01:59:33.483Z] unset SSH_AGENT_PID; [2023-04-19T01:59:33.483Z] echo Agent pid 76 killed; [2023-04-19T01:59:33.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T01:59:34.031Z] + git semver [Pipeline] } [2023-04-19T01:59:34.353Z] $ docker stop --time=1 ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 [2023-04-19T01:59:35.681Z] $ docker rm -f --volumes ccbc603c94763bd1e97c6e6e2eac19010be6bde26e2858cbc191ddded36559d9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T01:59:36.145Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T01:59:36.649Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T01:59:36.770Z] [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-04-19T01:59:37.652Z] provisioning config files... [2023-04-19T01:59:37.671Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/config5794587430702099915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T01:59:38.097Z] ---> docker-login.sh [2023-04-19T01:59:38.097Z] nexus3.edgexfoundry.org:10001 [2023-04-19T01:59:38.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:38.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:38.097Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:38.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:38.097Z] [2023-04-19T01:59:38.097Z] Login Succeeded [2023-04-19T01:59:38.097Z] nexus3.edgexfoundry.org:10002 [2023-04-19T01:59:38.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:38.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:38.097Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:38.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:38.097Z] [2023-04-19T01:59:38.097Z] Login Succeeded [2023-04-19T01:59:38.097Z] nexus3.edgexfoundry.org:10003 [2023-04-19T01:59:38.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:38.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:38.430Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:38.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:38.430Z] [2023-04-19T01:59:38.430Z] Login Succeeded [2023-04-19T01:59:38.430Z] nexus3.edgexfoundry.org:10004 [2023-04-19T01:59:38.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:38.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:38.431Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:38.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:38.431Z] [2023-04-19T01:59:38.431Z] Login Succeeded [2023-04-19T01:59:38.431Z] docker.io [2023-04-19T01:59:38.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T01:59:38.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T01:59:38.728Z] Configure a credential helper to remove this warning. See [2023-04-19T01:59:38.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T01:59:38.728Z] [2023-04-19T01:59:38.728Z] Login Succeeded [2023-04-19T01:59:38.728Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T01:59:38.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T01:59:39.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T01:59:39.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T01:59:39.250Z] ========================================================= [2023-04-19T01:59:39.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T01:59:39.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T01:59:39.842Z] + 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-04-19T01:59:39.842Z] Sending build context to Docker daemon 6.461MB [2023-04-19T01:59:39.842Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T01:59:39.842Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T01:59:39.842Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T01:59:39.842Z] 63b65145d645: Pulling fs layer [2023-04-19T01:59:39.842Z] a2d21d5440eb: Pulling fs layer [2023-04-19T01:59:39.842Z] 935e6c44a52c: Pulling fs layer [2023-04-19T01:59:39.842Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T01:59:39.842Z] 30dea6a524f1: Pulling fs layer [2023-04-19T01:59:39.842Z] a2aff8979fd8: Pulling fs layer [2023-04-19T01:59:39.842Z] 6808be2612f2: Pulling fs layer [2023-04-19T01:59:39.842Z] f25807f1079a: Pulling fs layer [2023-04-19T01:59:39.842Z] 94cc34f8dd06: Waiting [2023-04-19T01:59:39.842Z] a2aff8979fd8: Waiting [2023-04-19T01:59:39.842Z] 6808be2612f2: Waiting [2023-04-19T01:59:39.842Z] f25807f1079a: Waiting [2023-04-19T01:59:39.842Z] 30dea6a524f1: Waiting [2023-04-19T01:59:39.842Z] a2d21d5440eb: Download complete [2023-04-19T01:59:39.842Z] 94cc34f8dd06: Verifying Checksum [2023-04-19T01:59:39.842Z] 94cc34f8dd06: Download complete [2023-04-19T01:59:40.107Z] 30dea6a524f1: Verifying Checksum [2023-04-19T01:59:40.107Z] 30dea6a524f1: Download complete [2023-04-19T01:59:40.107Z] 63b65145d645: Verifying Checksum [2023-04-19T01:59:40.107Z] 63b65145d645: Download complete [2023-04-19T01:59:40.107Z] a2aff8979fd8: Verifying Checksum [2023-04-19T01:59:40.107Z] a2aff8979fd8: Download complete [2023-04-19T01:59:40.107Z] 63b65145d645: Pull complete [2023-04-19T01:59:40.379Z] a2d21d5440eb: Pull complete [2023-04-19T01:59:41.359Z] f25807f1079a: Verifying Checksum [2023-04-19T01:59:41.359Z] f25807f1079a: Download complete [2023-04-19T01:59:41.359Z] 935e6c44a52c: Verifying Checksum [2023-04-19T01:59:41.359Z] 935e6c44a52c: Download complete [2023-04-19T01:59:41.635Z] 6808be2612f2: Verifying Checksum [2023-04-19T01:59:41.635Z] 6808be2612f2: Download complete [2023-04-19T01:59:44.982Z] 935e6c44a52c: Pull complete [2023-04-19T01:59:44.982Z] 94cc34f8dd06: Pull complete [2023-04-19T01:59:44.982Z] 30dea6a524f1: Pull complete [2023-04-19T01:59:44.982Z] a2aff8979fd8: Pull complete [2023-04-19T01:59:47.522Z] 6808be2612f2: Pull complete [2023-04-19T01:59:47.781Z] f25807f1079a: Pull complete [2023-04-19T01:59:47.781Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T01:59:47.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T01:59:48.050Z] ---> 3b553350e43f [2023-04-19T01:59:48.050Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T01:59:49.432Z] ---> Running in 762d3b4f6497 [2023-04-19T01:59:49.432Z] Removing intermediate container 762d3b4f6497 [2023-04-19T01:59:49.432Z] ---> bc80ca981e62 [2023-04-19T01:59:49.432Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T01:59:49.432Z] ---> Running in d3b46d3ef0fb [2023-04-19T01:59:49.711Z] Removing intermediate container d3b46d3ef0fb [2023-04-19T01:59:49.711Z] ---> 73764d89c9dc [2023-04-19T01:59:49.711Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T01:59:49.711Z] ---> Running in 2bcb85831cd8 [2023-04-19T01:59:49.711Z] Removing intermediate container 2bcb85831cd8 [2023-04-19T01:59:49.711Z] ---> 75989be5639c [2023-04-19T01:59:49.711Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T01:59:49.711Z] ---> Running in 2bf9291ebedf [2023-04-19T01:59:50.003Z] Removing intermediate container 2bf9291ebedf [2023-04-19T01:59:50.003Z] ---> a7e1b0184e96 [2023-04-19T01:59:50.003Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T01:59:50.003Z] ---> Running in 0021bd1ff127 [2023-04-19T01:59:50.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T01:59:50.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T01:59:50.520Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T01:59:50.520Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T01:59:50.520Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T01:59:50.796Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T01:59:50.796Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T01:59:50.796Z] OK: 269 MiB in 57 packages [2023-04-19T01:59:51.063Z] Removing intermediate container 0021bd1ff127 [2023-04-19T01:59:51.063Z] ---> 6e174d42e065 [2023-04-19T01:59:51.063Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-19T01:59:51.063Z] ---> Running in 6a2ed0cfe20a [2023-04-19T01:59:51.329Z] Removing intermediate container 6a2ed0cfe20a [2023-04-19T01:59:51.329Z] ---> 1a535a66d33b [2023-04-19T01:59:51.329Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T01:59:51.329Z] ---> ba1b3b76c36d [2023-04-19T01:59:51.329Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T01:59:51.329Z] ---> Running in a5523c619550 [2023-04-19T01:59:52.354Z] Still waiting to schedule task [2023-04-19T01:59:52.355Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9023’ [2023-04-19T02:00:30.174Z] Removing intermediate container a5523c619550 [2023-04-19T02:00:30.174Z] ---> ffcd4d8f35bf [2023-04-19T02:00:30.174Z] Step 11/12 : COPY . . [2023-04-19T02:00:30.174Z] ---> dd24f3f3001f [2023-04-19T02:00:30.174Z] Step 12/12 : RUN $MAKE [2023-04-19T02:00:30.174Z] ---> Running in 0290edfaf681 [2023-04-19T02:00:30.174Z] noop [2023-04-19T02:00:30.174Z] Removing intermediate container 0290edfaf681 [2023-04-19T02:00:30.174Z] ---> 85bdf1e12540 [2023-04-19T02:00:30.174Z] Successfully built 85bdf1e12540 [2023-04-19T02:00:30.174Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:00:30.864Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T02:00:30.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:00:31.110Z] prd-ubuntu20.04-docker-8c-8g-9024 does not seem to be running inside a container [2023-04-19T02:00:31.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-568 -v /w/workspace/gexfoundry_device-mqtt-go_PR-568:/w/workspace/gexfoundry_device-mqtt-go_PR-568:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-568@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 ******** ci-base-image-x86_64 cat [2023-04-19T02:00:31.564Z] $ docker top acda7a8ec3646a3db81d11b3351662b14862267813e8164913eddb25619d69d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:00:31.983Z] + go version [2023-04-19T02:00:31.983Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T02:00:32.027Z] $ docker stop --time=1 acda7a8ec3646a3db81d11b3351662b14862267813e8164913eddb25619d69d7 [2023-04-19T02:00:33.351Z] $ docker rm -f --volumes acda7a8ec3646a3db81d11b3351662b14862267813e8164913eddb25619d69d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:00:34.247Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T02:00:34.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:00:34.457Z] prd-ubuntu20.04-docker-8c-8g-9024 does not seem to be running inside a container [2023-04-19T02:00:34.501Z] $ 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-568 -v /w/workspace/gexfoundry_device-mqtt-go_PR-568:/w/workspace/gexfoundry_device-mqtt-go_PR-568:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-568@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 ******** ci-base-image-x86_64 cat [2023-04-19T02:00:34.898Z] $ docker top 469ab920ccc5dc8f0f8fe5b5c98b26b109cb69d36a6b6b941e4f639774189ffd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:00:35.292Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-568 [Pipeline] fileExists [Pipeline] sh [2023-04-19T02:00:35.721Z] + make test [2023-04-19T02:00:35.721Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T02:00:41.027Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-19T02:00:51.054Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-19T02:00:51.054Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-19T02:00:51.054Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.9% of statements [2023-04-19T02:00:57.785Z] go vet ./... [2023-04-19T02:01:01.982Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T02:01:01.982Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T02:01:01.982Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T02:01:02.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T02:01:02.066Z] $ docker stop --time=1 469ab920ccc5dc8f0f8fe5b5c98b26b109cb69d36a6b6b941e4f639774189ffd [2023-04-19T02:01:04.001Z] $ docker rm -f --volumes 469ab920ccc5dc8f0f8fe5b5c98b26b109cb69d36a6b6b941e4f639774189ffd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:01:04.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T02:01:04.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-19T02:01:06.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T02:01:06.427Z] + ls -al . [2023-04-19T02:01:06.427Z] total 180 [2023-04-19T02:01:06.427Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 02:00 . [2023-04-19T02:01:06.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 01:59 .. [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 01:59 .dockerignore [2023-04-19T02:01:06.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 01:59 .git [2023-04-19T02:01:06.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 01:59 .github [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 01:59 .gitignore [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 01:59 .golangci.yml [2023-04-19T02:01:06.427Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 01:59 .semver [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 19 01:59 Attribution.txt [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 19 01:59 CHANGELOG.md [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 19 01:59 Dockerfile [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 01:59 GOVERNANCE.md [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 01:59 Jenkinsfile [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 01:59 LICENSE [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 19 01:59 Makefile [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 01:59 OWNERS.md [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 19 01:59 README.md [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 01:59 VERSION [2023-04-19T02:01:06.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 01:59 bin [2023-04-19T02:01:06.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 01:59 cmd [2023-04-19T02:01:06.427Z] -rw-r--r-- 1 jenkins jenkins 18460 Apr 19 02:00 coverage.out [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 19 01:59 go.mod [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 01:59 go.sum [2023-04-19T02:01:06.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 01:59 internal [2023-04-19T02:01:06.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 01:59 mock [2023-04-19T02:01:06.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 01:59 snap [2023-04-19T02:01:06.427Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:01:06.949Z] + 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=00a762b027f9976ee14a031b4f6e34f99f525902 --label arch=amd64 --label version=0.0.0 . [2023-04-19T02:01:06.949Z] Sending build context to Docker daemon 6.48MB [2023-04-19T02:01:06.949Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:01:06.949Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-19T02:01:06.949Z] ---> 85bdf1e12540 [2023-04-19T02:01:06.949Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:01:06.949Z] ---> Running in f5fa378ff209 [2023-04-19T02:01:07.208Z] Removing intermediate container f5fa378ff209 [2023-04-19T02:01:07.208Z] ---> ea06f3896089 [2023-04-19T02:01:07.208Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:01:07.208Z] ---> Running in db01f918ab7d [2023-04-19T02:01:07.208Z] Removing intermediate container db01f918ab7d [2023-04-19T02:01:07.208Z] ---> 6c5d325e44fc [2023-04-19T02:01:07.208Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:01:07.208Z] ---> Running in 149c8da42541 [2023-04-19T02:01:07.467Z] Removing intermediate container 149c8da42541 [2023-04-19T02:01:07.467Z] ---> c2ca35c32a76 [2023-04-19T02:01:07.467Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:01:07.467Z] ---> Running in 1d394750ae42 [2023-04-19T02:01:07.467Z] Removing intermediate container 1d394750ae42 [2023-04-19T02:01:07.467Z] ---> 0fd26e2e2623 [2023-04-19T02:01:07.467Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:01:07.467Z] ---> Running in 3b7644d2d668 [2023-04-19T02:01:07.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:07.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:08.256Z] OK: 269 MiB in 57 packages [2023-04-19T02:01:08.518Z] Removing intermediate container 3b7644d2d668 [2023-04-19T02:01:08.518Z] ---> 822ea4ad4595 [2023-04-19T02:01:08.518Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-19T02:01:08.802Z] ---> Running in 40938b8e5bc0 [2023-04-19T02:01:08.802Z] Removing intermediate container 40938b8e5bc0 [2023-04-19T02:01:08.802Z] ---> 7b9096de911b [2023-04-19T02:01:08.802Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-19T02:01:08.802Z] ---> 0a156d3c1f54 [2023-04-19T02:01:08.802Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:01:09.078Z] ---> Running in 18469bd6f471 [2023-04-19T02:01:09.646Z] Removing intermediate container 18469bd6f471 [2023-04-19T02:01:09.646Z] ---> ed0eb8291991 [2023-04-19T02:01:09.646Z] Step 11/24 : COPY . . [2023-04-19T02:01:10.213Z] ---> fb34b61508a8 [2023-04-19T02:01:10.213Z] Step 12/24 : RUN $MAKE [2023-04-19T02:01:10.213Z] ---> Running in 8ac01bc39c61 [2023-04-19T02:01:10.476Z] 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-04-19T02:01:28.566Z] Removing intermediate container 8ac01bc39c61 [2023-04-19T02:01:28.566Z] ---> 8cad7d8f72ea [2023-04-19T02:01:28.566Z] Step 13/24 : FROM alpine:3.17 [2023-04-19T02:01:28.566Z] 3.17: Pulling from library/alpine [2023-04-19T02:01:28.566Z] f56be85fc22e: Pulling fs layer [2023-04-19T02:01:28.828Z] f56be85fc22e: Verifying Checksum [2023-04-19T02:01:28.828Z] f56be85fc22e: Download complete [2023-04-19T02:01:28.828Z] f56be85fc22e: Pull complete [2023-04-19T02:01:28.828Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T02:01:28.828Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T02:01:28.828Z] ---> 9ed4aefc74f6 [2023-04-19T02:01:28.828Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-19T02:01:29.088Z] ---> Running in 4dcc61696a7f [2023-04-19T02:01:29.088Z] Removing intermediate container 4dcc61696a7f [2023-04-19T02:01:29.088Z] ---> 70f04b2fb541 [2023-04-19T02:01:29.088Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-19T02:01:29.088Z] ---> Running in 3192f0dff7ff [2023-04-19T02:01:29.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:29.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:29.605Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T02:01:29.605Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:01:29.605Z] OK: 7 MiB in 16 packages [2023-04-19T02:01:30.177Z] Removing intermediate container 3192f0dff7ff [2023-04-19T02:01:30.177Z] ---> 3eb6490e41dd [2023-04-19T02:01:30.177Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-19T02:01:30.452Z] ---> 1ab2b0545105 [2023-04-19T02:01:30.452Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-19T02:01:30.721Z] ---> a05897465a6f [2023-04-19T02:01:30.722Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-19T02:01:30.722Z] ---> f5b8e82459f2 [2023-04-19T02:01:30.722Z] Step 19/24 : EXPOSE 59982 [2023-04-19T02:01:30.980Z] ---> Running in 966d1cdc2990 [2023-04-19T02:01:30.980Z] Removing intermediate container 966d1cdc2990 [2023-04-19T02:01:30.980Z] ---> b43af46c790b [2023-04-19T02:01:30.980Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-19T02:01:30.980Z] ---> Running in 54fc2f6d7ee6 [2023-04-19T02:01:30.980Z] Removing intermediate container 54fc2f6d7ee6 [2023-04-19T02:01:30.980Z] ---> 1a530b05e1cb [2023-04-19T02:01:30.980Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-19T02:01:31.251Z] ---> Running in 6aa158a0d9be [2023-04-19T02:01:31.251Z] Removing intermediate container 6aa158a0d9be [2023-04-19T02:01:31.251Z] ---> 61fa06c0bed9 [2023-04-19T02:01:31.251Z] Step 22/24 : LABEL arch=amd64 [2023-04-19T02:01:31.251Z] ---> Running in 695c6de1aa2d [2023-04-19T02:01:31.251Z] Removing intermediate container 695c6de1aa2d [2023-04-19T02:01:31.251Z] ---> 9fb90c5e3379 [2023-04-19T02:01:31.251Z] Step 23/24 : LABEL git_sha=00a762b027f9976ee14a031b4f6e34f99f525902 [2023-04-19T02:01:31.514Z] ---> Running in c70ad2cfb4d0 [2023-04-19T02:01:31.514Z] Removing intermediate container c70ad2cfb4d0 [2023-04-19T02:01:31.514Z] ---> 764bf14fe09c [2023-04-19T02:01:31.514Z] Step 24/24 : LABEL version=0.0.0 [2023-04-19T02:01:31.514Z] ---> Running in e947264b2aa8 [2023-04-19T02:01:31.514Z] Removing intermediate container e947264b2aa8 [2023-04-19T02:01:31.514Z] ---> ee20f955b088 [2023-04-19T02:01:31.514Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T02:01:31.514Z] Successfully built ee20f955b088 [2023-04-19T02:01:31.514Z] 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-04-19T02:01:32.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:01:32.769Z] [2023-04-19T02:01:32.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:01:33.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:01:33.186Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T02:01:33.186Z] 5eb5b503b376: Pulling fs layer [2023-04-19T02:01:33.186Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T02:01:33.186Z] ec43610c2a17: Pulling fs layer [2023-04-19T02:01:33.186Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T02:01:33.186Z] 33b1e0a273af: Pulling fs layer [2023-04-19T02:01:33.186Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T02:01:33.186Z] 2f39f015ded8: Pulling fs layer [2023-04-19T02:01:33.186Z] 33b1e0a273af: Waiting [2023-04-19T02:01:33.186Z] 3a2ae6a8a46f: Waiting [2023-04-19T02:01:33.186Z] 5d3b04190fa2: Waiting [2023-04-19T02:01:33.186Z] 2f39f015ded8: Waiting [2023-04-19T02:01:33.186Z] 5c69ac0246d0: Verifying Checksum [2023-04-19T02:01:33.186Z] 5c69ac0246d0: Download complete [2023-04-19T02:01:33.447Z] ec43610c2a17: Download complete [2023-04-19T02:01:33.447Z] 5d3b04190fa2: Download complete [2023-04-19T02:01:33.447Z] 33b1e0a273af: Verifying Checksum [2023-04-19T02:01:33.447Z] 33b1e0a273af: Download complete [2023-04-19T02:01:33.705Z] 5eb5b503b376: Verifying Checksum [2023-04-19T02:01:33.705Z] 5eb5b503b376: Download complete [2023-04-19T02:01:34.273Z] 2f39f015ded8: Download complete [2023-04-19T02:01:34.863Z] 5eb5b503b376: Pull complete [2023-04-19T02:01:34.863Z] 5c69ac0246d0: Pull complete [2023-04-19T02:01:35.428Z] ec43610c2a17: Pull complete [2023-04-19T02:01:35.428Z] 3a2ae6a8a46f: Pull complete [2023-04-19T02:01:35.698Z] 33b1e0a273af: Pull complete [2023-04-19T02:01:35.698Z] 5d3b04190fa2: Pull complete [2023-04-19T02:01:39.884Z] 2f39f015ded8: Pull complete [2023-04-19T02:01:39.884Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T02:01:39.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:01:39.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:01:40.192Z] prd-ubuntu20.04-docker-8c-8g-9024 does not seem to be running inside a container [2023-04-19T02:01:40.229Z] $ 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-568 -v /w/workspace/gexfoundry_device-mqtt-go_PR-568:/w/workspace/gexfoundry_device-mqtt-go_PR-568:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-568@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-19T02:01:41.888Z] $ docker top 3b2db5b8e7ee3ad6d5c7a2bc71788beb81184afaede0530df31db2395d40f01e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:01:42.426Z] ---> job-cost.sh [2023-04-19T02:01:42.427Z] lf-activate-venv: SKIPPING [2023-04-19T02:01:42.427Z] INFO: No Stack... [2023-04-19T02:01:42.690Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T02:01:43.258Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T02:01:43.586Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives/cost.csv [2023-04-19T02:01:43.586Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T02:01:43.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] [2023-04-19T02:01:43.641Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] did not exist. Created. [2023-04-19T02:01:43.641Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T02:01:44.045Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-19T02:01:44.109Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T02:01:44.134Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T02:01:44.270Z] $ docker stop --time=1 3b2db5b8e7ee3ad6d5c7a2bc71788beb81184afaede0530df31db2395d40f01e [2023-04-19T02:01:45.450Z] $ docker rm -f --volumes 3b2db5b8e7ee3ad6d5c7a2bc71788beb81184afaede0530df31db2395d40f01e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-19T02:02:28.531Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9026 in /w/workspace/gexfoundry_device-mqtt-go_PR-568 [Pipeline] { [Pipeline] ws [2023-04-19T02:02:28.592Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-19T02:02:28.676Z] Selected Git installation does not exist. Using Default [2023-04-19T02:02:28.676Z] The recommended git tool is: NONE [2023-04-19T02:02:34.709Z] using credential edgex-jenkins-ssh [2023-04-19T02:02:34.733Z] Cloning the remote Git repository [2023-04-19T02:02:34.818Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-19T02:02:34.929Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-19T02:02:35.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-19T02:02:35.114Z] > git --version # timeout=10 [2023-04-19T02:02:35.142Z] > git --version # 'git version 2.25.1' [2023-04-19T02:02:35.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T02:02:35.329Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T02:02:36.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-19T02:02:36.483Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T02:02:38.117Z] Merging remotes/origin/main commit a5ec5e69222fbe1cabc57f6e226de7296c53eab0 into PR head commit 00a762b027f9976ee14a031b4f6e34f99f525902 [2023-04-19T02:02:38.410Z] Merge succeeded, producing 00a762b027f9976ee14a031b4f6e34f99f525902 [2023-04-19T02:02:38.411Z] Checking out Revision 00a762b027f9976ee14a031b4f6e34f99f525902 (PR-568) [2023-04-19T02:02:37.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-19T02:02:37.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-19T02:02:37.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T02:02:37.586Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-19T02:02:38.145Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T02:02:38.229Z] > git checkout -f 00a762b027f9976ee14a031b4f6e34f99f525902 # timeout=10 [2023-04-19T02:02:38.318Z] > git remote # timeout=10 [2023-04-19T02:02:38.338Z] > git config --get remote.origin.url # timeout=10 [2023-04-19T02:02:38.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T02:02:38.377Z] > git merge a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 [2023-04-19T02:02:38.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-19T02:02:38.427Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T02:02:38.444Z] > git checkout -f 00a762b027f9976ee14a031b4f6e34f99f525902 # timeout=10 [2023-04-19T02:02:38.960Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-19T02:02:39.042Z] > git --version # timeout=10 [2023-04-19T02:02:39.057Z] > git --version # 'git version 2.25.1' [2023-04-19T02:02:39.081Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T02:02:40.181Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T02:02:40.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T02:02:40.181Z] Dload Upload Total Spent Left Speed [2023-04-19T02:02:40.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-04-19T02:02:40.957Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T02:02:41.327Z] + sudo tee /etc/docker/daemon.new [2023-04-19T02:02:41.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-19T02:02:41.327Z] { [2023-04-19T02:02:41.327Z] "registry-mirrors": [ [2023-04-19T02:02:41.327Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T02:02:41.327Z] ], [2023-04-19T02:02:41.327Z] "bip": "10.250.0.254/24", [2023-04-19T02:02:41.327Z] "hosts": [ [2023-04-19T02:02:41.327Z] "tcp://0.0.0.0:5555", [2023-04-19T02:02:41.327Z] "unix:///var/run/docker.sock" [2023-04-19T02:02:41.327Z] ], [2023-04-19T02:02:41.327Z] "mtu": 1458, [2023-04-19T02:02:41.327Z] "selinux-enabled": true, [2023-04-19T02:02:41.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T02:02:41.327Z] } [Pipeline] sh [2023-04-19T02:02:41.689Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T02:02:42.050Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T02:03:00.443Z] provisioning config files... [2023-04-19T02:03:00.470Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10751514546378468565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:03:00.871Z] ---> docker-login.sh [2023-04-19T02:03:00.871Z] nexus3.edgexfoundry.org:10001 [2023-04-19T02:03:01.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:03:01.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:03:01.467Z] Configure a credential helper to remove this warning. See [2023-04-19T02:03:01.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:03:01.467Z] [2023-04-19T02:03:01.467Z] Login Succeeded [2023-04-19T02:03:01.467Z] nexus3.edgexfoundry.org:10002 [2023-04-19T02:03:01.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:03:01.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:03:01.745Z] Configure a credential helper to remove this warning. See [2023-04-19T02:03:01.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:03:01.745Z] [2023-04-19T02:03:01.745Z] Login Succeeded [2023-04-19T02:03:01.745Z] nexus3.edgexfoundry.org:10003 [2023-04-19T02:03:02.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:03:02.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:03:02.290Z] Configure a credential helper to remove this warning. See [2023-04-19T02:03:02.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:03:02.290Z] [2023-04-19T02:03:02.290Z] Login Succeeded [2023-04-19T02:03:02.290Z] nexus3.edgexfoundry.org:10004 [2023-04-19T02:03:02.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:03:02.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:03:02.566Z] Configure a credential helper to remove this warning. See [2023-04-19T02:03:02.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:03:02.566Z] [2023-04-19T02:03:02.566Z] Login Succeeded [2023-04-19T02:03:02.566Z] docker.io [2023-04-19T02:03:02.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:03:03.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:03:03.104Z] Configure a credential helper to remove this warning. See [2023-04-19T02:03:03.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:03:03.104Z] [2023-04-19T02:03:03.104Z] Login Succeeded [2023-04-19T02:03:03.104Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T02:03:03.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T02:03:03.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:03:03.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:03:03.662Z] ========================================================= [2023-04-19T02:03:03.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T02:03:03.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:03:04.189Z] + 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-04-19T02:03:06.790Z] Sending build context to Docker daemon 3.342MB [2023-04-19T02:03:06.790Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:03:06.790Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T02:03:07.068Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T02:03:07.068Z] af6eaf76a39c: Pulling fs layer [2023-04-19T02:03:07.068Z] 55522c791124: Pulling fs layer [2023-04-19T02:03:07.068Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T02:03:07.068Z] 169dfbe0d373: Pulling fs layer [2023-04-19T02:03:07.068Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T02:03:07.068Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T02:03:07.068Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T02:03:07.068Z] e1ff8fa3b103: Waiting [2023-04-19T02:03:07.068Z] 52ebb69f0ebf: Waiting [2023-04-19T02:03:07.068Z] 5abe8eddf0d5: Waiting [2023-04-19T02:03:07.068Z] 169dfbe0d373: Waiting [2023-04-19T02:03:07.068Z] 55522c791124: Download complete [2023-04-19T02:03:07.068Z] 169dfbe0d373: Verifying Checksum [2023-04-19T02:03:07.068Z] 169dfbe0d373: Download complete [2023-04-19T02:03:07.068Z] e1ff8fa3b103: Download complete [2023-04-19T02:03:07.068Z] af6eaf76a39c: Verifying Checksum [2023-04-19T02:03:07.068Z] af6eaf76a39c: Download complete [2023-04-19T02:03:08.504Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T02:03:08.504Z] 5abe8eddf0d5: Download complete [2023-04-19T02:03:08.504Z] af6eaf76a39c: Pull complete [2023-04-19T02:03:08.796Z] 55522c791124: Pull complete [2023-04-19T02:03:09.918Z] 52ebb69f0ebf: Verifying Checksum [2023-04-19T02:03:09.918Z] 52ebb69f0ebf: Download complete [2023-04-19T02:03:09.918Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T02:03:09.918Z] ce5c4a1c91eb: Download complete [2023-04-19T02:03:22.252Z] ce5c4a1c91eb: Pull complete [2023-04-19T02:03:22.252Z] 169dfbe0d373: Pull complete [2023-04-19T02:03:22.252Z] e1ff8fa3b103: Pull complete [2023-04-19T02:03:27.611Z] 52ebb69f0ebf: Pull complete [2023-04-19T02:03:30.207Z] 5abe8eddf0d5: Pull complete [2023-04-19T02:03:30.207Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T02:03:30.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T02:03:30.207Z] ---> 6cb57ee374ae [2023-04-19T02:03:30.207Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:03:31.750Z] ---> Running in 68f713912df6 [2023-04-19T02:03:31.750Z] Removing intermediate container 68f713912df6 [2023-04-19T02:03:31.750Z] ---> 59e8486c2589 [2023-04-19T02:03:31.750Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:03:32.019Z] ---> Running in 3499d4b9346c [2023-04-19T02:03:32.289Z] Removing intermediate container 3499d4b9346c [2023-04-19T02:03:32.289Z] ---> 5b764023544f [2023-04-19T02:03:32.289Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:03:32.289Z] ---> Running in 35f848840d12 [2023-04-19T02:03:32.560Z] Removing intermediate container 35f848840d12 [2023-04-19T02:03:32.560Z] ---> b0a3a2023634 [2023-04-19T02:03:32.560Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:03:32.829Z] ---> Running in 5305f3a02fc5 [2023-04-19T02:03:33.098Z] Removing intermediate container 5305f3a02fc5 [2023-04-19T02:03:33.098Z] ---> 6d0fa40bffc3 [2023-04-19T02:03:33.098Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:03:33.098Z] ---> Running in 98c781544853 [2023-04-19T02:03:34.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T02:03:34.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T02:03:36.210Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T02:03:36.210Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T02:03:36.210Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T02:03:36.210Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T02:03:36.210Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:03:36.210Z] OK: 268 MiB in 57 packages [2023-04-19T02:03:37.190Z] Removing intermediate container 98c781544853 [2023-04-19T02:03:37.190Z] ---> 1317fec42cd7 [2023-04-19T02:03:37.190Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-19T02:03:37.458Z] ---> Running in c08a4411a834 [2023-04-19T02:03:37.726Z] Removing intermediate container c08a4411a834 [2023-04-19T02:03:37.726Z] ---> 38d39faae98d [2023-04-19T02:03:37.726Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T02:03:38.005Z] ---> bd8f031e4097 [2023-04-19T02:03:38.005Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:03:38.278Z] ---> Running in 150d3347df96 [2023-04-19T02:04:46.225Z] Removing intermediate container 150d3347df96 [2023-04-19T02:04:46.225Z] ---> 1e0aae2eec06 [2023-04-19T02:04:46.225Z] Step 11/12 : COPY . . [2023-04-19T02:04:46.225Z] ---> 24cdcd97a25e [2023-04-19T02:04:46.225Z] Step 12/12 : RUN $MAKE [2023-04-19T02:04:46.225Z] ---> Running in 794e95d63323 [2023-04-19T02:04:46.496Z] noop [2023-04-19T02:04:47.100Z] Removing intermediate container 794e95d63323 [2023-04-19T02:04:47.100Z] ---> 01a4728a4ddf [2023-04-19T02:04:47.368Z] Successfully built 01a4728a4ddf [2023-04-19T02:04:47.368Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:04:47.892Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T02:04:47.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:04:48.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-9026 does not seem to be running inside a container [2023-04-19T02:04:48.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2023-04-19T02:04:49.405Z] $ docker top 13ad556ba963bc5d12a42e0e2849f43cf65501f2e17b486fa707a77f4746d68b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:04:50.309Z] + go version [2023-04-19T02:04:50.309Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T02:04:50.379Z] $ docker stop --time=1 13ad556ba963bc5d12a42e0e2849f43cf65501f2e17b486fa707a77f4746d68b [2023-04-19T02:04:51.985Z] $ docker rm -f --volumes 13ad556ba963bc5d12a42e0e2849f43cf65501f2e17b486fa707a77f4746d68b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:04:53.005Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T02:04:53.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:04:53.268Z] prd-ubuntu20.04-docker-arm64-4c-16g-9026 does not seem to be running inside a container [2023-04-19T02:04:53.366Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2023-04-19T02:04:54.595Z] $ docker top ead7694d277512bf8081df631bd06f144a36af7467d1bfc4554309c1924b4e1a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:04:55.542Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-19T02:04:56.286Z] + make test [2023-04-19T02:04:56.286Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T02:05:35.289Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-19T02:07:42.027Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-19T02:07:42.027Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-19T02:07:42.027Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.9% of statements [2023-04-19T02:07:42.027Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-19T02:07:42.027Z] go vet ./... [2023-04-19T02:08:08.749Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T02:08:08.749Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T02:08:08.749Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T02:08:08.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T02:08:08.833Z] $ docker stop --time=1 ead7694d277512bf8081df631bd06f144a36af7467d1bfc4554309c1924b4e1a [2023-04-19T02:08:10.647Z] $ docker rm -f --volumes ead7694d277512bf8081df631bd06f144a36af7467d1bfc4554309c1924b4e1a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:08:11.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T02:08:11.859Z] Warning: overwriting stash ‘coverage-report’ [2023-04-19T02:08:12.326Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T02:08:12.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T02:08:13.325Z] + ls -al . [2023-04-19T02:08:13.325Z] total 176 [2023-04-19T02:08:13.325Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 02:04 . [2023-04-19T02:08:13.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:02 .. [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 02:02 .dockerignore [2023-04-19T02:08:13.325Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:02 .git [2023-04-19T02:08:13.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:02 .github [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 02:02 .gitignore [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 02:02 .golangci.yml [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 19 02:02 Attribution.txt [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 19 02:02 CHANGELOG.md [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 19 02:02 Dockerfile [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 02:02 GOVERNANCE.md [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:02 Jenkinsfile [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 02:02 LICENSE [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 19 02:02 Makefile [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 02:02 OWNERS.md [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 19 02:02 README.md [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 01:59 VERSION [2023-04-19T02:08:13.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:02 bin [2023-04-19T02:08:13.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:02 cmd [2023-04-19T02:08:13.325Z] -rw-r--r-- 1 jenkins jenkins 18460 Apr 19 02:07 coverage.out [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 19 02:02 go.mod [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 02:02 go.sum [2023-04-19T02:08:13.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:02 internal [2023-04-19T02:08:13.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:02 mock [2023-04-19T02:08:13.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:02 snap [2023-04-19T02:08:13.325Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:08:13.763Z] + 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=00a762b027f9976ee14a031b4f6e34f99f525902 --label arch=arm64 --label version=0.0.0 . [2023-04-19T02:08:14.030Z] Sending build context to Docker daemon 3.361MB [2023-04-19T02:08:14.030Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:08:14.030Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-19T02:08:14.030Z] ---> 01a4728a4ddf [2023-04-19T02:08:14.030Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:08:14.298Z] ---> Running in dd936accccca [2023-04-19T02:08:14.567Z] Removing intermediate container dd936accccca [2023-04-19T02:08:14.567Z] ---> aec4b5692a25 [2023-04-19T02:08:14.567Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:08:14.567Z] ---> Running in 3b0689dcb5f1 [2023-04-19T02:08:14.835Z] Removing intermediate container 3b0689dcb5f1 [2023-04-19T02:08:14.835Z] ---> d09deb32359b [2023-04-19T02:08:14.835Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:08:14.835Z] ---> Running in 3909efbfcb9f [2023-04-19T02:08:15.101Z] Removing intermediate container 3909efbfcb9f [2023-04-19T02:08:15.101Z] ---> 6fae825ddffc [2023-04-19T02:08:15.101Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:08:15.371Z] ---> Running in 5d2a442bad70 [2023-04-19T02:08:15.645Z] Removing intermediate container 5d2a442bad70 [2023-04-19T02:08:15.645Z] ---> 7300e836794e [2023-04-19T02:08:15.645Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:08:15.645Z] ---> Running in 4a3b7d9cf207 [2023-04-19T02:08:16.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T02:08:17.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T02:08:18.159Z] OK: 268 MiB in 57 packages [2023-04-19T02:08:19.116Z] Removing intermediate container 4a3b7d9cf207 [2023-04-19T02:08:19.116Z] ---> ea4326fcbf09 [2023-04-19T02:08:19.116Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-19T02:08:19.116Z] ---> Running in e89c0cd3758f [2023-04-19T02:08:19.383Z] Removing intermediate container e89c0cd3758f [2023-04-19T02:08:19.383Z] ---> 14d2729cff9d [2023-04-19T02:08:19.383Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-19T02:08:19.971Z] ---> 970ba34be46b [2023-04-19T02:08:19.971Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:08:19.971Z] ---> Running in 25346fbc4ddc [2023-04-19T02:08:22.553Z] Removing intermediate container 25346fbc4ddc [2023-04-19T02:08:22.553Z] ---> bdf81ba10194 [2023-04-19T02:08:22.553Z] Step 11/24 : COPY . . [2023-04-19T02:08:23.516Z] ---> f4125bb190af [2023-04-19T02:08:23.516Z] Step 12/24 : RUN $MAKE [2023-04-19T02:08:23.516Z] ---> Running in 49865c8cce41 [2023-04-19T02:08:24.478Z] 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-04-19T02:10:46.214Z] Removing intermediate container 49865c8cce41 [2023-04-19T02:10:46.214Z] ---> adc03ef22df5 [2023-04-19T02:10:46.214Z] Step 13/24 : FROM alpine:3.17 [2023-04-19T02:10:46.214Z] 3.17: Pulling from library/alpine [2023-04-19T02:10:46.214Z] c41833b44d91: Pulling fs layer [2023-04-19T02:10:46.214Z] c41833b44d91: Verifying Checksum [2023-04-19T02:10:46.214Z] c41833b44d91: Pull complete [2023-04-19T02:10:46.214Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T02:10:46.214Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T02:10:46.214Z] ---> 51e60588ff2c [2023-04-19T02:10:46.214Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-19T02:10:46.214Z] ---> Running in 96ab6c72ee15 [2023-04-19T02:10:46.214Z] Removing intermediate container 96ab6c72ee15 [2023-04-19T02:10:46.214Z] ---> 78c085f710b7 [2023-04-19T02:10:46.214Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-19T02:10:46.214Z] ---> Running in 66f47b895526 [2023-04-19T02:10:46.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T02:10:46.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T02:10:46.214Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T02:10:46.214Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:10:46.214Z] OK: 8 MiB in 16 packages [2023-04-19T02:10:46.214Z] Removing intermediate container 66f47b895526 [2023-04-19T02:10:46.214Z] ---> e1e85d34825e [2023-04-19T02:10:46.214Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-19T02:10:46.214Z] ---> 4361a4c9156b [2023-04-19T02:10:46.214Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-19T02:10:46.214Z] ---> 73475e64e507 [2023-04-19T02:10:46.214Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-19T02:10:46.214Z] ---> b36c4a2e8fde [2023-04-19T02:10:46.214Z] Step 19/24 : EXPOSE 59982 [2023-04-19T02:10:46.214Z] ---> Running in f825889be46b [2023-04-19T02:10:46.214Z] Removing intermediate container f825889be46b [2023-04-19T02:10:46.214Z] ---> 9d4e965e6a8e [2023-04-19T02:10:46.214Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-19T02:10:46.214Z] ---> Running in 40c6b91b123e [2023-04-19T02:10:46.214Z] Removing intermediate container 40c6b91b123e [2023-04-19T02:10:46.214Z] ---> 4b569598b540 [2023-04-19T02:10:46.214Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-19T02:10:46.214Z] ---> Running in fd6663fa55c9 [2023-04-19T02:10:46.214Z] Removing intermediate container fd6663fa55c9 [2023-04-19T02:10:46.214Z] ---> 574c8561b2fb [2023-04-19T02:10:46.214Z] Step 22/24 : LABEL arch=arm64 [2023-04-19T02:10:46.214Z] ---> Running in 64479fb8efed [2023-04-19T02:10:46.214Z] Removing intermediate container 64479fb8efed [2023-04-19T02:10:46.214Z] ---> 660fa671ef7c [2023-04-19T02:10:46.214Z] Step 23/24 : LABEL git_sha=00a762b027f9976ee14a031b4f6e34f99f525902 [2023-04-19T02:10:46.214Z] ---> Running in d4037e604cc1 [2023-04-19T02:10:46.214Z] Removing intermediate container d4037e604cc1 [2023-04-19T02:10:46.214Z] ---> fa347d648db2 [2023-04-19T02:10:46.214Z] Step 24/24 : LABEL version=0.0.0 [2023-04-19T02:10:46.214Z] ---> Running in 5036b54ae715 [2023-04-19T02:10:46.214Z] Removing intermediate container 5036b54ae715 [2023-04-19T02:10:46.214Z] ---> 6e50e1e44218 [2023-04-19T02:10:46.214Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T02:10:46.214Z] Successfully built 6e50e1e44218 [2023-04-19T02:10:46.214Z] 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-04-19T02:10:47.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T02:10:47.054Z] [2023-04-19T02:10:47.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:10:47.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T02:10:47.437Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T02:10:47.437Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T02:10:47.437Z] 04944245beec: Pulling fs layer [2023-04-19T02:10:47.437Z] 699f458cf7ca: Pulling fs layer [2023-04-19T02:10:47.437Z] 765212b225bb: Pulling fs layer [2023-04-19T02:10:47.437Z] f23df028b6ca: Pulling fs layer [2023-04-19T02:10:47.437Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T02:10:47.437Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T02:10:47.437Z] f23df028b6ca: Waiting [2023-04-19T02:10:47.438Z] d65c8cfc05b1: Waiting [2023-04-19T02:10:47.438Z] 2437ff75d9bd: Waiting [2023-04-19T02:10:47.438Z] 765212b225bb: Waiting [2023-04-19T02:10:47.703Z] 04944245beec: Verifying Checksum [2023-04-19T02:10:47.703Z] 04944245beec: Download complete [2023-04-19T02:10:47.703Z] 765212b225bb: Download complete [2023-04-19T02:10:47.703Z] f23df028b6ca: Download complete [2023-04-19T02:10:47.703Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T02:10:47.703Z] d65c8cfc05b1: Download complete [2023-04-19T02:10:47.703Z] 699f458cf7ca: Verifying Checksum [2023-04-19T02:10:47.703Z] 699f458cf7ca: Download complete [2023-04-19T02:10:48.368Z] 8998bd30e6a1: Verifying Checksum [2023-04-19T02:10:48.368Z] 8998bd30e6a1: Download complete [2023-04-19T02:10:50.348Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T02:10:50.348Z] 2437ff75d9bd: Download complete [2023-04-19T02:10:52.332Z] 8998bd30e6a1: Pull complete [2023-04-19T02:10:52.600Z] 04944245beec: Pull complete [2023-04-19T02:10:53.565Z] 699f458cf7ca: Pull complete [2023-04-19T02:10:53.833Z] 765212b225bb: Pull complete [2023-04-19T02:10:54.792Z] f23df028b6ca: Pull complete [2023-04-19T02:10:54.792Z] d65c8cfc05b1: Pull complete [2023-04-19T02:11:07.103Z] 2437ff75d9bd: Pull complete [2023-04-19T02:11:07.103Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T02:11:07.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T02:11:07.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:11:07.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-9026 does not seem to be running inside a container [2023-04-19T02:11:07.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-19T02:11:09.954Z] $ docker top 2ad2e5d48ed41687172d992c177936c68f2bd46a10bdb3e3e1a23d76956f10b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:10.496Z] ---> job-cost.sh [2023-04-19T02:11:10.766Z] lf-activate-venv: SKIPPING [2023-04-19T02:11:10.767Z] INFO: No Stack... [2023-04-19T02:11:11.032Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T02:11:11.986Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T02:11:12.341Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csvcut [2023-04-19T02:11:12.341Z] -d, -f6 [Pipeline] lock [2023-04-19T02:11:12.424Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] [2023-04-19T02:11:12.429Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] did not exist. Created. [2023-04-19T02:11:12.429Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T02:11:12.835Z] /w/workspace/device-mqtt-go/1@tmp/durable-ecb744ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-19T02:11:13.191Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T02:11:13.226Z] Warning: overwriting stash ‘stack-cost’ [2023-04-19T02:11:13.268Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T02:11:13.283Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-568-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T02:11:13.370Z] $ docker stop --time=1 2ad2e5d48ed41687172d992c177936c68f2bd46a10bdb3e3e1a23d76956f10b1 [2023-04-19T02:11:14.832Z] $ docker rm -f --volumes 2ad2e5d48ed41687172d992c177936c68f2bd46a10bdb3e3e1a23d76956f10b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-19T02:11:15.872Z] provisioning config files... [2023-04-19T02:11:15.881Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/config3718902804492107521tmp [Pipeline] { [Pipeline] sh [2023-04-19T02:11:16.230Z] + set +x [2023-04-19T02:11:16.230Z] + curl -s https://codecov.io/bash [2023-04-19T02:11:16.230Z] + bash -s -- [2023-04-19T02:11:16.230Z] [2023-04-19T02:11:16.230Z] _____ _ [2023-04-19T02:11:16.230Z] / ____| | | [2023-04-19T02:11:16.230Z] | | ___ __| | ___ ___ _____ __ [2023-04-19T02:11:16.230Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-19T02:11:16.230Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-19T02:11:16.230Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-19T02:11:16.230Z] Bash-1.0.6 [2023-04-19T02:11:16.230Z] [2023-04-19T02:11:16.230Z] [2023-04-19T02:11:16.230Z] ==> git version 2.25.1 found [2023-04-19T02:11:16.230Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-19T02:11:16.230Z] Release-Date: 2020-01-08 [2023-04-19T02:11:16.230Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-19T02:11:16.230Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-19T02:11:16.230Z] ==> Jenkins CI detected. [2023-04-19T02:11:16.230Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-568 [2023-04-19T02:11:16.230Z] project root: . [2023-04-19T02:11:16.230Z] --> token set from env [2023-04-19T02:11:16.230Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-19T02:11:16.230Z] ==> Running gcov in . (disable via -X gcov) [2023-04-19T02:11:16.230Z] ==> Python coveragepy not found [2023-04-19T02:11:16.230Z] ==> Searching for coverage reports in: [2023-04-19T02:11:16.230Z] + . [2023-04-19T02:11:16.230Z] -> Found 1 reports [2023-04-19T02:11:16.230Z] ==> Detecting git/mercurial file structure [2023-04-19T02:11:16.230Z] ==> Reading reports [2023-04-19T02:11:16.489Z] + ./coverage.out bytes=18460 [2023-04-19T02:11:16.489Z] ==> Appending adjustments [2023-04-19T02:11:16.489Z] https://docs.codecov.io/docs/fixing-reports [2023-04-19T02:11:16.489Z] + Found adjustments [2023-04-19T02:11:16.489Z] ==> Gzipping contents [2023-04-19T02:11:16.489Z] 4.0K /tmp/codecov.eRXNFk.gz [2023-04-19T02:11:16.489Z] ==> Uploading reports [2023-04-19T02:11:16.489Z] url: https://codecov.io [2023-04-19T02:11:16.489Z] query: branch=PR-568&commit=00a762b027f9976ee14a031b4f6e34f99f525902&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-568%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=568&job=&cmd_args= [2023-04-19T02:11:16.489Z] -> Pinging Codecov [2023-04-19T02:11:16.489Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-568&commit=00a762b027f9976ee14a031b4f6e34f99f525902&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-568%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=568&job=&cmd_args= [2023-04-19T02:11:16.489Z] -> Uploading to [2023-04-19T02:11:16.489Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-19/7D719EC7BBE17E464838252E33014C33/00a762b027f9976ee14a031b4f6e34f99f525902/80281b95-8ed8-44e4-9f48-97e2b34744ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T021116Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f756b96887ca20d2657ccecbfbf99d852a65e14ff84a9a62f1b6575243f96506 [2023-04-19T02:11:16.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T02:11:16.489Z] Dload Upload Total Spent Left Speed [2023-04-19T02:11:16.748Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13598 --:--:-- --:--:-- --:--:-- 13540 [2023-04-19T02:11:16.748Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/00a762b027f9976ee14a031b4f6e34f99f525902 [Pipeline] } [2023-04-19T02:11:16.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-19T02:11:18.500Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives ] [2023-04-19T02:11:18.500Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives [2023-04-19T02:11:18.500Z] total 16 [2023-04-19T02:11:18.500Z] drwxr-xr-x 3 root root 4096 Apr 19 02:01 . [2023-04-19T02:11:18.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:01 .. [2023-04-19T02:11:18.500Z] drwxr-xr-x 2 root root 4096 Apr 19 02:01 cost [2023-04-19T02:11:18.500Z] -rw-r--r-- 1 root root 86 Apr 19 02:01 cost.csv [2023-04-19T02:11:18.500Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives [2023-04-19T02:11:18.500Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives [2023-04-19T02:11:18.500Z] total 16 [2023-04-19T02:11:18.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:01 . [2023-04-19T02:11:18.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:01 .. [2023-04-19T02:11:18.500Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 02:01 cost [2023-04-19T02:11:18.500Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 19 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:18.816Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:19.706Z] ---> package-listing.sh [2023-04-19T02:11:19.706Z] ++ facter osfamily [2023-04-19T02:11:19.706Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T02:11:19.706Z] + OS_FAMILY=debian [2023-04-19T02:11:19.706Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-568 [2023-04-19T02:11:19.706Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T02:11:19.706Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T02:11:19.706Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T02:11:19.706Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T02:11:19.706Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-568 ']' [2023-04-19T02:11:19.706Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T02:11:19.706Z] + case "${OS_FAMILY}" in [2023-04-19T02:11:19.706Z] + grep '^ii' [2023-04-19T02:11:19.706Z] + dpkg -l [2023-04-19T02:11:19.975Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T02:11:19.975Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T02:11:19.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T02:11:19.975Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-568 ']' [2023-04-19T02:11:19.975Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives/ [2023-04-19T02:11:19.975Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-568/archives/ [Pipeline] echo [2023-04-19T02:11:20.008Z] 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-568/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-19T02:11:20.297Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:11:20.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:11:20.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:11:21.059Z] prd-ubuntu20.04-docker-8c-8g-9024 does not seem to be running inside a container [2023-04-19T02:11:21.103Z] $ 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-568/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-568 -v /w/workspace/gexfoundry_device-mqtt-go_PR-568:/w/workspace/gexfoundry_device-mqtt-go_PR-568:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-568@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-19T02:11:21.316Z] $ docker top a49672567ac38060f5e2a7292074cae3e2b1763db6e8199ef84394dbe7ad76a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:11:21.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T02:11:22.008Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T02:11:22.317Z] + ls /var/log/sa-host [2023-04-19T02:11:22.317Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T02:11:22.562Z] provisioning config files... [2023-04-19T02:11:22.569Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-568@tmp/config9208972335932012203tmp [Pipeline] { [Pipeline] echo [2023-04-19T02:11:22.625Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:22.938Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T02:11:22.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:23.353Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T02:11:23.394Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:23.700Z] ---> sudo-logs.sh [2023-04-19T02:11:23.701Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T02:11:23.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:24.099Z] ---> job-cost.sh [2023-04-19T02:11:24.099Z] lf-activate-venv: SKIPPING [2023-04-19T02:11:24.099Z] DEBUG: total: 0.2199999988079071 [2023-04-19T02:11:24.099Z] INFO: Retrieving Stack Cost... [2023-04-19T02:11:24.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T02:11:24.923Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T02:11:24.951Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:11:25.258Z] ---> logs-deploy.sh [2023-04-19T02:11:25.258Z] lf-activate-venv: SKIPPING [2023-04-19T02:11:25.258Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-568/1 [2023-04-19T02:11:25.258Z] INFO: archiving workspace using pattern(s): [2023-04-19T02:11:26.193Z] Archives upload complete. [2023-04-19T02:11:26.453Z] INFO: archiving logs to Nexus