Pull request #518 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from fabe3b572f304c25baf3d4e2e99fd9730328478e+d895e333ff01e63b6fe1f723ceb6cf1859de49f5 (c07db87e293779b0a59521331ba15c5c5273723f) 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-ssh1843398722043255240.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6556588475745784719.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-518/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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17490351907611624444.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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4569776475717377189.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3662583794231855078.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-518/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-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1663701071700014183.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-9404 in /w/workspace/gexfoundry_device-mqtt-go_PR-518 [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-518 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit fabe3b572f304c25baf3d4e2e99fd9730328478e Merge succeeded, producing fabe3b572f304c25baf3d4e2e99fd9730328478e Checking out Revision fabe3b572f304c25baf3d4e2e99fd9730328478e (PR-518) > git config core.sparsecheckout # timeout=10 > git checkout -f fabe3b572f304c25baf3d4e2e99fd9730328478e # 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 d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fabe3b572f304c25baf3d4e2e99fd9730328478e # timeout=10 Commit message: "refactor: consume device-sdk-go breaking changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T04:37:11.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T04:37:11.226Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T04:37:11.320Z] ========================================================= [2023-03-09T04:37:11.320Z] EdgeX Global Pipelines Version Info [2023-03-09T04:37:11.320Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:37:12.068Z] ------------------- [2023-03-09T04:37:12.068Z] stable info: [2023-03-09T04:37:12.068Z] ------------------- [2023-03-09T04:37:12.068Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T04:37:12.068Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T04:37:12.068Z] Message: update stable to v1.0.244 [2023-03-09T04:37:12.640Z] ------------------- [2023-03-09T04:37:12.640Z] experimental info: [2023-03-09T04:37:12.640Z] ------------------- [2023-03-09T04:37:12.641Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T04:37:12.641Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T04:37:12.641Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T04:37:12.934Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-09T04:37:12.981Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-09T04:37:13.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T04:37:13.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T04:37:13.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T04:37:13.137Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T04:37:13.179Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T04:37:13.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T04:37:13.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T04:37:13.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T04:37:13.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T04:37:13.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-09T04:37:13.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T04:37:13.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T04:37:13.500Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T04:37:13.544Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T04:37:13.591Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T04:37:13.631Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T04:37:13.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T04:37:13.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T04:37:13.748Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T04:37:13.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T04:37:13.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T04:37:13.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T04:37:13.910Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T04:37:13.956Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T04:37:13.999Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T04:37:14.041Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo [2023-03-09T04:37:14.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo [2023-03-09T04:37:14.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo [2023-03-09T04:37:14.162Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fabe3b572f304c25baf3d4e2e99fd9730328478e [Pipeline] echo [2023-03-09T04:37:14.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fabe3b5 [Pipeline] echo [2023-03-09T04:37:14.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T04:37:14.354Z] provisioning config files... [2023-03-09T04:37:14.368Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config1651604282947732629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:37:14.708Z] ---> docker-login.sh [2023-03-09T04:37:14.708Z] nexus3.edgexfoundry.org:10001 [2023-03-09T04:37:14.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:14.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:14.968Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:14.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:14.968Z] [2023-03-09T04:37:14.968Z] Login Succeeded [2023-03-09T04:37:14.968Z] nexus3.edgexfoundry.org:10002 [2023-03-09T04:37:15.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:15.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:15.226Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:15.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:15.226Z] [2023-03-09T04:37:15.226Z] Login Succeeded [2023-03-09T04:37:15.226Z] nexus3.edgexfoundry.org:10003 [2023-03-09T04:37:15.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:15.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:15.226Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:15.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:15.226Z] [2023-03-09T04:37:15.226Z] Login Succeeded [2023-03-09T04:37:15.226Z] nexus3.edgexfoundry.org:10004 [2023-03-09T04:37:15.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:15.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:15.484Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:15.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:15.484Z] [2023-03-09T04:37:15.484Z] Login Succeeded [2023-03-09T04:37:15.484Z] docker.io [2023-03-09T04:37:15.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:15.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:15.744Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:15.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:15.744Z] [2023-03-09T04:37:15.744Z] Login Succeeded [2023-03-09T04:37:15.744Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T04:37:15.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T04:37:16.417Z] + git rev-list -1 --merges fabe3b572f304c25baf3d4e2e99fd9730328478e~1..fabe3b572f304c25baf3d4e2e99fd9730328478e [Pipeline] echo [2023-03-09T04:37:16.481Z] -----------> git rev-list -1 --merges fabe3b572f304c25baf3d4e2e99fd9730328478e~1..fabe3b572f304c25baf3d4e2e99fd9730328478e fabe3b572f304c25baf3d4e2e99fd9730328478e [false] [Pipeline] sh [2023-03-09T04:37:16.789Z] + git log --format=format:%s -1 fabe3b572f304c25baf3d4e2e99fd9730328478e [Pipeline] echo [2023-03-09T04:37:16.822Z] ========================================================= [2023-03-09T04:37:16.822Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T04:37:16.822Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T04:37:17.243Z] + git log --format=format:%s -1 fabe3b572f304c25baf3d4e2e99fd9730328478e [Pipeline] echo [2023-03-09T04:37:17.274Z] [semverPrep] GIT_COMMIT: fabe3b572f304c25baf3d4e2e99fd9730328478e, Commit Message: refactor: consume device-sdk-go breaking changes [Pipeline] echo [2023-03-09T04:37:17.302Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T04:37:17.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T04:37:17.762Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T04:37:17.762Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T04:37:17.762Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T04:37:17.762Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T04:37:17.762Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T04:37:17.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:37:18.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T04:37:18.295Z] [2023-03-09T04:37:18.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:37:18.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T04:37:18.677Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T04:37:18.677Z] b85a868b505f: Pulling fs layer [2023-03-09T04:37:18.677Z] e2be974225ed: Pulling fs layer [2023-03-09T04:37:18.677Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T04:37:18.677Z] 988bab9f4d93: Pulling fs layer [2023-03-09T04:37:18.677Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T04:37:18.677Z] eaf3925da568: Pulling fs layer [2023-03-09T04:37:18.677Z] bab4dde63d76: Pulling fs layer [2023-03-09T04:37:18.677Z] bde34c3a00c8: Pulling fs layer [2023-03-09T04:37:18.677Z] b352a97aabf1: Pulling fs layer [2023-03-09T04:37:18.677Z] 4872d77fe225: Pulling fs layer [2023-03-09T04:37:18.677Z] 5851b861e8e6: Pulling fs layer [2023-03-09T04:37:18.677Z] 1469e6f7b9e6: Waiting [2023-03-09T04:37:18.677Z] eaf3925da568: Waiting [2023-03-09T04:37:18.677Z] bab4dde63d76: Waiting [2023-03-09T04:37:18.677Z] bde34c3a00c8: Waiting [2023-03-09T04:37:18.677Z] b352a97aabf1: Waiting [2023-03-09T04:37:18.677Z] 4872d77fe225: Waiting [2023-03-09T04:37:18.677Z] 5851b861e8e6: Waiting [2023-03-09T04:37:18.677Z] 988bab9f4d93: Waiting [2023-03-09T04:37:18.677Z] e2be974225ed: Download complete [2023-03-09T04:37:18.677Z] 988bab9f4d93: Verifying Checksum [2023-03-09T04:37:18.677Z] 988bab9f4d93: Download complete [2023-03-09T04:37:18.940Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T04:37:18.940Z] 339a4e72a1f5: Download complete [2023-03-09T04:37:18.940Z] eaf3925da568: Download complete [2023-03-09T04:37:18.940Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T04:37:18.940Z] 1469e6f7b9e6: Download complete [2023-03-09T04:37:18.940Z] bde34c3a00c8: Download complete [2023-03-09T04:37:18.940Z] b352a97aabf1: Download complete [2023-03-09T04:37:18.940Z] 4872d77fe225: Verifying Checksum [2023-03-09T04:37:18.940Z] 5851b861e8e6: Download complete [2023-03-09T04:37:19.200Z] b85a868b505f: Verifying Checksum [2023-03-09T04:37:19.200Z] b85a868b505f: Download complete [2023-03-09T04:37:19.460Z] bab4dde63d76: Verifying Checksum [2023-03-09T04:37:19.460Z] bab4dde63d76: Download complete [2023-03-09T04:37:20.396Z] b85a868b505f: Pull complete [2023-03-09T04:37:20.655Z] e2be974225ed: Pull complete [2023-03-09T04:37:21.222Z] 339a4e72a1f5: Pull complete [2023-03-09T04:37:21.222Z] 988bab9f4d93: Pull complete [2023-03-09T04:37:21.482Z] 1469e6f7b9e6: Pull complete [2023-03-09T04:37:21.482Z] eaf3925da568: Pull complete [2023-03-09T04:37:23.389Z] bab4dde63d76: Pull complete [2023-03-09T04:37:23.648Z] bde34c3a00c8: Pull complete [2023-03-09T04:37:23.648Z] b352a97aabf1: Pull complete [2023-03-09T04:37:23.907Z] 4872d77fe225: Pull complete [2023-03-09T04:37:23.907Z] 5851b861e8e6: Pull complete [2023-03-09T04:37:23.907Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T04:37:23.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T04:37:23.907Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:37:24.125Z] prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container [2023-03-09T04:37:24.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@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-devops/py-git-semver:0.1.4 cat [2023-03-09T04:37:25.609Z] $ docker top 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e -eo pid,comm [2023-03-09T04:37:25.663Z] 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-03-09T04:37:25.663Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T04:37:25.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T04:37:25.792Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T04:37:25.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T04:37:25.928Z] $ docker exec 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e ssh-agent [2023-03-09T04:37:26.056Z] SSH_AUTH_SOCK=/tmp/ssh-bbyA7YaWUS9B/agent.33 [2023-03-09T04:37:26.056Z] SSH_AGENT_PID=39 [2023-03-09T04:37:26.063Z] Running ssh-add (command line suppressed) [2023-03-09T04:37:26.173Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_9923612591400960744.key (/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_9923612591400960744.key) [2023-03-09T04:37:26.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T04:37:26.525Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T04:37:26.555Z] $ docker exec --env ******** --env ******** 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e ssh-agent -k [2023-03-09T04:37:26.656Z] unset SSH_AUTH_SOCK; [2023-03-09T04:37:26.656Z] unset SSH_AGENT_PID; [2023-03-09T04:37:26.656Z] echo Agent pid 39 killed; [2023-03-09T04:37:26.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T04:37:26.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T04:37:26.755Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T04:37:26.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T04:37:26.867Z] $ docker exec 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e ssh-agent [2023-03-09T04:37:26.978Z] SSH_AUTH_SOCK=/tmp/ssh-qYnddnYTHCL8/agent.72 [2023-03-09T04:37:26.978Z] SSH_AGENT_PID=78 [2023-03-09T04:37:26.983Z] Running ssh-add (command line suppressed) [2023-03-09T04:37:27.091Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_17595514160262051137.key (/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/private_key_17595514160262051137.key) [2023-03-09T04:37:27.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T04:37:27.427Z] + git semver init [2023-03-09T04:37:27.690Z] 2023-03-09 04:37:27,613 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T04:37:27.690Z] 2023-03-09 04:37:27,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver [2023-03-09T04:37:27.690Z] 2023-03-09 04:37:27,614 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver [2023-03-09T04:37:27.690Z] 2023-03-09 04:37:27,615 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518, universal_newlines=False, shell=None, istream=None) [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,419 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.git/info/exclude [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,420 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 with force:False [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,424 [execute] INFO git cat-file --batch-check [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,430 [execute] INFO git cat-file --batch [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T04:37:28.630Z] 2023-03-09 04:37:28,436 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-518/.semver/PR-518 [2023-03-09T04:37:28.630Z] 0.0.0 [Pipeline] } [2023-03-09T04:37:28.659Z] $ docker exec --env ******** --env ******** 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e ssh-agent -k [2023-03-09T04:37:28.805Z] unset SSH_AUTH_SOCK; [2023-03-09T04:37:28.806Z] unset SSH_AGENT_PID; [2023-03-09T04:37:28.806Z] echo Agent pid 78 killed; [2023-03-09T04:37:28.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T04:37:29.246Z] + git semver [Pipeline] } [2023-03-09T04:37:29.533Z] $ docker stop --time=1 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e [2023-03-09T04:37:30.901Z] $ docker rm -f --volumes 030c4ec09ce6c9c012028932339bd1478e0cee73e276fb20d9e35079bd77cc9e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T04:37:31.303Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T04:37:31.574Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T04:37:31.591Z] [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-03-09T04:37:32.189Z] provisioning config files... [2023-03-09T04:37:32.199Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config670339530149704646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:37:32.550Z] ---> docker-login.sh [2023-03-09T04:37:32.550Z] nexus3.edgexfoundry.org:10001 [2023-03-09T04:37:32.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:32.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:32.550Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:32.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:32.550Z] [2023-03-09T04:37:32.550Z] Login Succeeded [2023-03-09T04:37:32.550Z] nexus3.edgexfoundry.org:10002 [2023-03-09T04:37:32.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:32.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:32.550Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:32.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:32.550Z] [2023-03-09T04:37:32.550Z] Login Succeeded [2023-03-09T04:37:32.550Z] nexus3.edgexfoundry.org:10003 [2023-03-09T04:37:32.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:32.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:32.808Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:32.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:32.808Z] [2023-03-09T04:37:32.808Z] Login Succeeded [2023-03-09T04:37:32.808Z] nexus3.edgexfoundry.org:10004 [2023-03-09T04:37:32.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:32.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:32.808Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:32.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:32.809Z] [2023-03-09T04:37:32.809Z] Login Succeeded [2023-03-09T04:37:32.809Z] docker.io [2023-03-09T04:37:33.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:37:33.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:37:33.069Z] Configure a credential helper to remove this warning. See [2023-03-09T04:37:33.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:37:33.069Z] [2023-03-09T04:37:33.069Z] Login Succeeded [2023-03-09T04:37:33.069Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T04:37:33.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T04:37:33.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T04:37:33.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T04:37:33.341Z] ========================================================= [2023-03-09T04:37:33.341Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T04:37:33.341Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:37:33.807Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T04:37:33.807Z] Sending build context to Docker daemon 6.379MB [2023-03-09T04:37:33.807Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T04:37:33.807Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T04:37:33.807Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T04:37:33.807Z] 213ec9aee27d: Pulling fs layer [2023-03-09T04:37:33.807Z] 4583459ba037: Pulling fs layer [2023-03-09T04:37:33.807Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T04:37:33.807Z] 53926ce57604: Pulling fs layer [2023-03-09T04:37:33.807Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T04:37:33.807Z] 22ff95d597cd: Pulling fs layer [2023-03-09T04:37:33.807Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T04:37:33.807Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T04:37:33.807Z] a7acece74701: Pulling fs layer [2023-03-09T04:37:33.807Z] 53926ce57604: Waiting [2023-03-09T04:37:33.807Z] 21b2b0c7a3f4: Waiting [2023-03-09T04:37:33.807Z] 22ff95d597cd: Waiting [2023-03-09T04:37:33.807Z] 12d6caf4c0d1: Waiting [2023-03-09T04:37:33.807Z] 96b7cbca73a9: Waiting [2023-03-09T04:37:33.807Z] a7acece74701: Waiting [2023-03-09T04:37:33.807Z] 93c1e223e6f2: Verifying Checksum [2023-03-09T04:37:33.807Z] 93c1e223e6f2: Download complete [2023-03-09T04:37:33.807Z] 4583459ba037: Verifying Checksum [2023-03-09T04:37:33.807Z] 4583459ba037: Download complete [2023-03-09T04:37:34.069Z] 21b2b0c7a3f4: Download complete [2023-03-09T04:37:34.069Z] 22ff95d597cd: Verifying Checksum [2023-03-09T04:37:34.069Z] 213ec9aee27d: Verifying Checksum [2023-03-09T04:37:34.069Z] 213ec9aee27d: Download complete [2023-03-09T04:37:34.069Z] 12d6caf4c0d1: Download complete [2023-03-09T04:37:34.069Z] 213ec9aee27d: Pull complete [2023-03-09T04:37:34.339Z] 4583459ba037: Pull complete [2023-03-09T04:37:34.339Z] 93c1e223e6f2: Pull complete [2023-03-09T04:37:34.602Z] a7acece74701: Verifying Checksum [2023-03-09T04:37:34.602Z] a7acece74701: Download complete [2023-03-09T04:37:34.861Z] 96b7cbca73a9: Download complete [2023-03-09T04:37:34.861Z] 53926ce57604: Verifying Checksum [2023-03-09T04:37:34.861Z] 53926ce57604: Download complete [2023-03-09T04:37:39.050Z] 53926ce57604: Pull complete [2023-03-09T04:37:39.050Z] 21b2b0c7a3f4: Pull complete [2023-03-09T04:37:39.050Z] 22ff95d597cd: Pull complete [2023-03-09T04:37:39.309Z] 12d6caf4c0d1: Pull complete [2023-03-09T04:37:41.212Z] 96b7cbca73a9: Pull complete [2023-03-09T04:37:42.146Z] a7acece74701: Pull complete [2023-03-09T04:37:42.146Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T04:37:42.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T04:37:42.146Z] ---> db6d94c90886 [2023-03-09T04:37:42.146Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T04:37:44.050Z] ---> Running in bb53afc59cd7 [2023-03-09T04:37:44.050Z] Removing intermediate container bb53afc59cd7 [2023-03-09T04:37:44.050Z] ---> 147ec0659127 [2023-03-09T04:37:44.050Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T04:37:44.050Z] ---> Running in 431cc9aafc80 [2023-03-09T04:37:44.050Z] Removing intermediate container 431cc9aafc80 [2023-03-09T04:37:44.050Z] ---> d0e208d0d366 [2023-03-09T04:37:44.050Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T04:37:44.050Z] ---> Running in ed7b19bfba89 [2023-03-09T04:37:44.308Z] Removing intermediate container ed7b19bfba89 [2023-03-09T04:37:44.308Z] ---> cfaabae9eb4d [2023-03-09T04:37:44.308Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T04:37:44.308Z] ---> Running in 377a11e7fed8 [2023-03-09T04:37:44.308Z] Removing intermediate container 377a11e7fed8 [2023-03-09T04:37:44.308Z] ---> e76360a6e4c6 [2023-03-09T04:37:44.308Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T04:37:44.308Z] ---> Running in 9fdf1332a9a1 [2023-03-09T04:37:44.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T04:37:44.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T04:37:45.087Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T04:37:45.087Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T04:37:45.087Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T04:37:45.087Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T04:37:45.087Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T04:37:45.087Z] OK: 216 MiB in 55 packages [2023-03-09T04:37:45.657Z] Removing intermediate container 9fdf1332a9a1 [2023-03-09T04:37:45.658Z] ---> 0b15f6ce7ee6 [2023-03-09T04:37:45.658Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T04:37:45.658Z] ---> Running in d15782e727a7 [2023-03-09T04:37:45.917Z] Removing intermediate container d15782e727a7 [2023-03-09T04:37:45.917Z] ---> da53a5ecd776 [2023-03-09T04:37:45.917Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T04:37:45.917Z] ---> 4773dfffca9f [2023-03-09T04:37:45.917Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T04:37:45.917Z] ---> Running in f06d1851fafd [2023-03-09T04:37:47.009Z] Still waiting to schedule task [2023-03-09T04:37:47.010Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T04:38:08.091Z] Removing intermediate container f06d1851fafd [2023-03-09T04:38:08.092Z] ---> bdec284a9c6f [2023-03-09T04:38:08.092Z] Step 11/12 : COPY . . [2023-03-09T04:38:08.092Z] ---> f4322a420ccd [2023-03-09T04:38:08.092Z] Step 12/12 : RUN $MAKE [2023-03-09T04:38:08.092Z] ---> Running in 5577ae909d74 [2023-03-09T04:38:08.092Z] noop [2023-03-09T04:38:08.092Z] Removing intermediate container 5577ae909d74 [2023-03-09T04:38:08.092Z] ---> e3fa82fc70bb [2023-03-09T04:38:08.092Z] Successfully built e3fa82fc70bb [2023-03-09T04:38:08.092Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:38:08.528Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T04:38:08.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:38:08.669Z] prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container [2023-03-09T04:38:08.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T04:38:09.081Z] $ docker top bca7f1f0056fafd766f6cdf90620cf5f6d6f4dd2e3374f646587d840ed6ea3e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T04:38:09.471Z] + go version [2023-03-09T04:38:09.471Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T04:38:09.506Z] $ docker stop --time=1 bca7f1f0056fafd766f6cdf90620cf5f6d6f4dd2e3374f646587d840ed6ea3e8 [2023-03-09T04:38:10.860Z] $ docker rm -f --volumes bca7f1f0056fafd766f6cdf90620cf5f6d6f4dd2e3374f646587d840ed6ea3e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:38:11.563Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T04:38:11.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:38:11.702Z] prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container [2023-03-09T04:38:11.736Z] $ 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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T04:38:12.127Z] $ docker top 1786d12e5842bd7bd102068eccd315f21c822d47231604dffc079bad4c1612ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T04:38:12.525Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] fileExists [Pipeline] sh [2023-03-09T04:38:12.884Z] + make test [2023-03-09T04:38:12.884Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T04:38:13.143Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T04:38:23.116Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-09T04:38:23.116Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements [2023-03-09T04:38:23.116Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-09T04:38:29.687Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-09T04:38:29.688Z] go vet ./... [2023-03-09T04:38:32.973Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T04:38:32.973Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T04:38:32.973Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T04:38:33.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T04:38:33.045Z] $ docker stop --time=1 1786d12e5842bd7bd102068eccd315f21c822d47231604dffc079bad4c1612ad [2023-03-09T04:38:34.820Z] $ docker rm -f --volumes 1786d12e5842bd7bd102068eccd315f21c822d47231604dffc079bad4c1612ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T04:38:35.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T04:38:35.393Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T04:38:36.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T04:38:36.478Z] + ls -al . [2023-03-09T04:38:36.478Z] total 180 [2023-03-09T04:38:36.478Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 04:38 . [2023-03-09T04:38:36.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:37 .. [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 04:37 .dockerignore [2023-03-09T04:38:36.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 04:38 .git [2023-03-09T04:38:36.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:37 .github [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 04:37 .gitignore [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 04:37 .golangci.yml [2023-03-09T04:38:36.478Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 04:37 .semver [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 04:37 Attribution.txt [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 04:37 CHANGELOG.md [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 04:37 Dockerfile [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 04:37 GOVERNANCE.md [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 04:37 Jenkinsfile [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 04:37 LICENSE [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 04:37 Makefile [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 04:37 OWNERS.md [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 04:37 README.md [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 04:37 VERSION [2023-03-09T04:38:36.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:37 bin [2023-03-09T04:38:36.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:37 cmd [2023-03-09T04:38:36.478Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 9 04:38 coverage.out [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 9 04:37 go.mod [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 9 04:37 go.sum [2023-03-09T04:38:36.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:37 internal [2023-03-09T04:38:36.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:37 mock [2023-03-09T04:38:36.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:37 snap [2023-03-09T04:38:36.478Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 04:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:38:36.872Z] + 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=fabe3b572f304c25baf3d4e2e99fd9730328478e --label arch=amd64 --label version=0.0.0 . [2023-03-09T04:38:36.872Z] Sending build context to Docker daemon 6.398MB [2023-03-09T04:38:36.872Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T04:38:36.872Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T04:38:36.872Z] ---> e3fa82fc70bb [2023-03-09T04:38:36.872Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T04:38:36.872Z] ---> Running in c064eb35b71c [2023-03-09T04:38:37.131Z] Removing intermediate container c064eb35b71c [2023-03-09T04:38:37.131Z] ---> 92dff51ea2cc [2023-03-09T04:38:37.131Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T04:38:37.131Z] ---> Running in 9c982fe7118d [2023-03-09T04:38:37.131Z] Removing intermediate container 9c982fe7118d [2023-03-09T04:38:37.131Z] ---> 0fa0c231bf77 [2023-03-09T04:38:37.131Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T04:38:37.131Z] ---> Running in af16c5d13603 [2023-03-09T04:38:37.390Z] Removing intermediate container af16c5d13603 [2023-03-09T04:38:37.390Z] ---> 2f09f9f48471 [2023-03-09T04:38:37.390Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T04:38:37.390Z] ---> Running in 8d27fdf5cd91 [2023-03-09T04:38:37.390Z] Removing intermediate container 8d27fdf5cd91 [2023-03-09T04:38:37.390Z] ---> fc39cf0e992a [2023-03-09T04:38:37.390Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T04:38:37.390Z] ---> Running in eaa6a82a9c40 [2023-03-09T04:38:37.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T04:38:37.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T04:38:38.217Z] OK: 216 MiB in 55 packages [2023-03-09T04:38:38.784Z] Removing intermediate container eaa6a82a9c40 [2023-03-09T04:38:38.784Z] ---> e102c8a02d03 [2023-03-09T04:38:38.784Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-09T04:38:38.784Z] ---> Running in 0824c225cf71 [2023-03-09T04:38:38.784Z] Removing intermediate container 0824c225cf71 [2023-03-09T04:38:38.784Z] ---> 0dca7b1b86d2 [2023-03-09T04:38:38.784Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T04:38:38.784Z] ---> c3ace25123b5 [2023-03-09T04:38:38.784Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T04:38:39.043Z] ---> Running in 03276a74162a [2023-03-09T04:38:39.981Z] Removing intermediate container 03276a74162a [2023-03-09T04:38:39.981Z] ---> 74a851d215a7 [2023-03-09T04:38:39.981Z] Step 11/24 : COPY . . [2023-03-09T04:38:40.241Z] ---> 615606490b8b [2023-03-09T04:38:40.241Z] Step 12/24 : RUN $MAKE [2023-03-09T04:38:40.241Z] ---> Running in e7d96f4b4aa3 [2023-03-09T04:38:40.499Z] 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-03-09T04:38:58.575Z] Removing intermediate container e7d96f4b4aa3 [2023-03-09T04:38:58.575Z] ---> 501c6b43ed1e [2023-03-09T04:38:58.575Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T04:38:58.834Z] 3.16: Pulling from library/alpine [2023-03-09T04:38:58.834Z] ef5531b6e74e: Pulling fs layer [2023-03-09T04:38:59.143Z] ef5531b6e74e: Verifying Checksum [2023-03-09T04:38:59.143Z] ef5531b6e74e: Download complete [2023-03-09T04:38:59.143Z] ef5531b6e74e: Pull complete [2023-03-09T04:38:59.143Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T04:38:59.143Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T04:38:59.143Z] ---> dfd21b5a31f5 [2023-03-09T04:38:59.143Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-09T04:38:59.401Z] ---> Running in 1ac3574525e7 [2023-03-09T04:38:59.401Z] Removing intermediate container 1ac3574525e7 [2023-03-09T04:38:59.401Z] ---> 01add46c1cc1 [2023-03-09T04:38:59.401Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T04:38:59.401Z] ---> Running in 6e3504a0b880 [2023-03-09T04:38:59.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T04:38:59.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T04:39:00.179Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T04:39:00.179Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T04:39:00.179Z] OK: 6 MiB in 15 packages [2023-03-09T04:39:00.439Z] Removing intermediate container 6e3504a0b880 [2023-03-09T04:39:00.439Z] ---> 75a4cfd3ca97 [2023-03-09T04:39:00.439Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-09T04:39:01.005Z] ---> 910135432568 [2023-03-09T04:39:01.005Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-09T04:39:01.005Z] ---> 21d65107dc21 [2023-03-09T04:39:01.005Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-09T04:39:01.274Z] ---> fead4b3d5c5c [2023-03-09T04:39:01.274Z] Step 19/24 : EXPOSE 59982 [2023-03-09T04:39:01.274Z] ---> Running in 918d92f12047 [2023-03-09T04:39:01.533Z] Removing intermediate container 918d92f12047 [2023-03-09T04:39:01.533Z] ---> d53a64cb0a3c [2023-03-09T04:39:01.533Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-09T04:39:01.533Z] ---> Running in cadce4bcb741 [2023-03-09T04:39:01.533Z] Removing intermediate container cadce4bcb741 [2023-03-09T04:39:01.533Z] ---> 760b7b4fb8d5 [2023-03-09T04:39:01.533Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-09T04:39:01.533Z] ---> Running in ad5c2d062f1f [2023-03-09T04:39:01.791Z] Removing intermediate container ad5c2d062f1f [2023-03-09T04:39:01.791Z] ---> 6f0b5dbd1ad5 [2023-03-09T04:39:01.791Z] Step 22/24 : LABEL arch=amd64 [2023-03-09T04:39:01.791Z] ---> Running in 35ef637cc34f [2023-03-09T04:39:01.791Z] Removing intermediate container 35ef637cc34f [2023-03-09T04:39:01.791Z] ---> a053f5890a96 [2023-03-09T04:39:01.791Z] Step 23/24 : LABEL git_sha=fabe3b572f304c25baf3d4e2e99fd9730328478e [2023-03-09T04:39:01.791Z] ---> Running in 3bd308e724b3 [2023-03-09T04:39:02.050Z] Removing intermediate container 3bd308e724b3 [2023-03-09T04:39:02.050Z] ---> 1ee97126edc8 [2023-03-09T04:39:02.050Z] Step 24/24 : LABEL version=0.0.0 [2023-03-09T04:39:02.050Z] ---> Running in 934c058a7bd3 [2023-03-09T04:39:02.050Z] Removing intermediate container 934c058a7bd3 [2023-03-09T04:39:02.050Z] ---> eff6a5a6b5e9 [2023-03-09T04:39:02.050Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T04:39:02.050Z] Successfully built eff6a5a6b5e9 [2023-03-09T04:39:02.050Z] 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-03-09T04:39:02.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T04:39:02.896Z] [2023-03-09T04:39:02.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:39:03.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T04:39:03.274Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T04:39:03.274Z] 5eb5b503b376: Pulling fs layer [2023-03-09T04:39:03.274Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T04:39:03.274Z] ec43610c2a17: Pulling fs layer [2023-03-09T04:39:03.274Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T04:39:03.274Z] 33b1e0a273af: Pulling fs layer [2023-03-09T04:39:03.274Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T04:39:03.274Z] 2f39f015ded8: Pulling fs layer [2023-03-09T04:39:03.274Z] 5d3b04190fa2: Waiting [2023-03-09T04:39:03.274Z] 3a2ae6a8a46f: Waiting [2023-03-09T04:39:03.274Z] 33b1e0a273af: Waiting [2023-03-09T04:39:03.274Z] 2f39f015ded8: Waiting [2023-03-09T04:39:03.274Z] 5c69ac0246d0: Verifying Checksum [2023-03-09T04:39:03.274Z] 5c69ac0246d0: Download complete [2023-03-09T04:39:03.274Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-09T04:39:03.274Z] 3a2ae6a8a46f: Download complete [2023-03-09T04:39:03.274Z] 33b1e0a273af: Verifying Checksum [2023-03-09T04:39:03.274Z] 33b1e0a273af: Download complete [2023-03-09T04:39:03.532Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T04:39:03.532Z] 5d3b04190fa2: Download complete [2023-03-09T04:39:03.532Z] ec43610c2a17: Verifying Checksum [2023-03-09T04:39:03.532Z] ec43610c2a17: Download complete [2023-03-09T04:39:03.532Z] 5eb5b503b376: Verifying Checksum [2023-03-09T04:39:03.532Z] 5eb5b503b376: Download complete [2023-03-09T04:39:04.098Z] 2f39f015ded8: Verifying Checksum [2023-03-09T04:39:04.098Z] 2f39f015ded8: Download complete [2023-03-09T04:39:04.665Z] 5eb5b503b376: Pull complete [2023-03-09T04:39:04.924Z] 5c69ac0246d0: Pull complete [2023-03-09T04:39:05.184Z] ec43610c2a17: Pull complete [2023-03-09T04:39:05.444Z] 3a2ae6a8a46f: Pull complete [2023-03-09T04:39:05.444Z] 33b1e0a273af: Pull complete [2023-03-09T04:39:05.703Z] 5d3b04190fa2: Pull complete [2023-03-09T04:39:09.896Z] 2f39f015ded8: Pull complete [2023-03-09T04:39:09.896Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T04:39:09.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T04:39:09.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:39:10.117Z] prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container [2023-03-09T04:39:10.149Z] $ 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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T04:39:12.119Z] $ docker top 0efcb38182f68b3ce0151d9026b2d07ecce0c510abce368d49e530788b08802a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:39:12.582Z] ---> job-cost.sh [2023-03-09T04:39:12.582Z] lf-activate-venv: SKIPPING [2023-03-09T04:39:12.582Z] INFO: No Stack... [2023-03-09T04:39:12.842Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T04:39:13.410Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T04:39:13.725Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/cost.csv [2023-03-09T04:39:13.725Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T04:39:13.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] [2023-03-09T04:39:13.766Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] did not exist. Created. [2023-03-09T04:39:13.766Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T04:39:14.141Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T04:39:14.188Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T04:39:14.213Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T04:39:14.289Z] $ docker stop --time=1 0efcb38182f68b3ce0151d9026b2d07ecce0c510abce368d49e530788b08802a [2023-03-09T04:39:15.447Z] $ docker rm -f --volumes 0efcb38182f68b3ce0151d9026b2d07ecce0c510abce368d49e530788b08802a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T04:41:14.525Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9406 in /w/workspace/gexfoundry_device-mqtt-go_PR-518 [Pipeline] { [Pipeline] ws [2023-03-09T04:41:14.585Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-09T04:41:14.668Z] Selected Git installation does not exist. Using Default [2023-03-09T04:41:14.668Z] The recommended git tool is: NONE [2023-03-09T04:41:19.966Z] using credential edgex-jenkins-ssh [2023-03-09T04:41:20.020Z] Cloning the remote Git repository [2023-03-09T04:41:20.070Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T04:41:20.153Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-09T04:41:20.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T04:41:20.302Z] > git --version # timeout=10 [2023-03-09T04:41:20.322Z] > git --version # 'git version 2.25.1' [2023-03-09T04:41:20.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T04:41:20.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T04:41:21.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T04:41:21.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T04:41:23.008Z] Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit fabe3b572f304c25baf3d4e2e99fd9730328478e [2023-03-09T04:41:23.221Z] Merge succeeded, producing fabe3b572f304c25baf3d4e2e99fd9730328478e [2023-03-09T04:41:23.222Z] Checking out Revision fabe3b572f304c25baf3d4e2e99fd9730328478e (PR-518) [2023-03-09T04:41:22.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T04:41:22.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T04:41:22.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T04:41:22.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T04:41:23.030Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T04:41:23.049Z] > git checkout -f fabe3b572f304c25baf3d4e2e99fd9730328478e # timeout=10 [2023-03-09T04:41:23.131Z] > git remote # timeout=10 [2023-03-09T04:41:23.153Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T04:41:23.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T04:41:23.184Z] > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 [2023-03-09T04:41:23.208Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T04:41:23.232Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T04:41:23.246Z] > git checkout -f fabe3b572f304c25baf3d4e2e99fd9730328478e # timeout=10 [2023-03-09T04:41:26.726Z] Commit message: "refactor: consume device-sdk-go breaking changes" [2023-03-09T04:41:26.774Z] > git --version # timeout=10 [2023-03-09T04:41:26.788Z] > git --version # 'git version 2.25.1' [2023-03-09T04:41:26.799Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T04:41:27.842Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T04:41:27.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T04:41:27.842Z] Dload Upload Total Spent Left Speed [2023-03-09T04:41:27.842Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-03-09T04:41:28.566Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T04:41:28.908Z] + sudo tee /etc/docker/daemon.new [2023-03-09T04:41:28.909Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T04:41:28.909Z] { [2023-03-09T04:41:28.909Z] "registry-mirrors": [ [2023-03-09T04:41:28.909Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T04:41:28.909Z] ], [2023-03-09T04:41:28.909Z] "bip": "10.250.0.254/24", [2023-03-09T04:41:28.909Z] "hosts": [ [2023-03-09T04:41:28.909Z] "tcp://0.0.0.0:5555", [2023-03-09T04:41:28.909Z] "unix:///var/run/docker.sock" [2023-03-09T04:41:28.909Z] ], [2023-03-09T04:41:28.909Z] "mtu": 1458, [2023-03-09T04:41:28.909Z] "selinux-enabled": true, [2023-03-09T04:41:28.909Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T04:41:28.909Z] } [Pipeline] sh [2023-03-09T04:41:29.253Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T04:41:29.594Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T04:41:47.901Z] provisioning config files... [2023-03-09T04:41:47.927Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7166355757346944499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:41:48.318Z] ---> docker-login.sh [2023-03-09T04:41:48.318Z] nexus3.edgexfoundry.org:10001 [2023-03-09T04:41:48.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:41:48.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:41:48.868Z] Configure a credential helper to remove this warning. See [2023-03-09T04:41:48.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:41:48.868Z] [2023-03-09T04:41:48.868Z] Login Succeeded [2023-03-09T04:41:48.868Z] nexus3.edgexfoundry.org:10002 [2023-03-09T04:41:49.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:41:49.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:41:49.408Z] Configure a credential helper to remove this warning. See [2023-03-09T04:41:49.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:41:49.408Z] [2023-03-09T04:41:49.408Z] Login Succeeded [2023-03-09T04:41:49.408Z] nexus3.edgexfoundry.org:10003 [2023-03-09T04:41:49.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:41:49.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:41:49.680Z] Configure a credential helper to remove this warning. See [2023-03-09T04:41:49.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:41:49.680Z] [2023-03-09T04:41:49.680Z] Login Succeeded [2023-03-09T04:41:49.680Z] nexus3.edgexfoundry.org:10004 [2023-03-09T04:41:49.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:41:49.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:41:49.953Z] Configure a credential helper to remove this warning. See [2023-03-09T04:41:49.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:41:49.953Z] [2023-03-09T04:41:49.953Z] Login Succeeded [2023-03-09T04:41:49.953Z] docker.io [2023-03-09T04:41:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T04:41:50.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T04:41:50.493Z] Configure a credential helper to remove this warning. See [2023-03-09T04:41:50.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T04:41:50.493Z] [2023-03-09T04:41:50.493Z] Login Succeeded [2023-03-09T04:41:50.493Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T04:41:50.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T04:41:50.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T04:41:50.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T04:41:50.942Z] ========================================================= [2023-03-09T04:41:50.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T04:41:50.942Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:41:51.442Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T04:41:51.710Z] Sending build context to Docker daemon 3.337MB [2023-03-09T04:41:51.710Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T04:41:51.710Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T04:41:51.982Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T04:41:51.982Z] 9b18e9b68314: Pulling fs layer [2023-03-09T04:41:51.982Z] 35d82f9e3411: Pulling fs layer [2023-03-09T04:41:51.982Z] e16973657156: Pulling fs layer [2023-03-09T04:41:51.982Z] fc693d55d65f: Pulling fs layer [2023-03-09T04:41:51.982Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T04:41:51.982Z] dda99020689f: Pulling fs layer [2023-03-09T04:41:51.982Z] db1c61fa0a46: Pulling fs layer [2023-03-09T04:41:51.982Z] 891c053d2c06: Pulling fs layer [2023-03-09T04:41:51.982Z] fc693d55d65f: Waiting [2023-03-09T04:41:51.982Z] 7e9fc2657dce: Waiting [2023-03-09T04:41:51.982Z] dda99020689f: Waiting [2023-03-09T04:41:51.982Z] db1c61fa0a46: Waiting [2023-03-09T04:41:51.982Z] 891c053d2c06: Waiting [2023-03-09T04:41:51.982Z] e16973657156: Verifying Checksum [2023-03-09T04:41:51.982Z] e16973657156: Download complete [2023-03-09T04:41:51.982Z] 35d82f9e3411: Verifying Checksum [2023-03-09T04:41:51.982Z] 35d82f9e3411: Download complete [2023-03-09T04:41:51.982Z] 7e9fc2657dce: Verifying Checksum [2023-03-09T04:41:51.982Z] 7e9fc2657dce: Download complete [2023-03-09T04:41:51.982Z] dda99020689f: Download complete [2023-03-09T04:41:51.982Z] 9b18e9b68314: Verifying Checksum [2023-03-09T04:41:51.982Z] 9b18e9b68314: Download complete [2023-03-09T04:41:52.974Z] 9b18e9b68314: Pull complete [2023-03-09T04:41:53.245Z] 891c053d2c06: Verifying Checksum [2023-03-09T04:41:53.245Z] 891c053d2c06: Download complete [2023-03-09T04:41:53.543Z] 35d82f9e3411: Pull complete [2023-03-09T04:41:53.814Z] e16973657156: Pull complete [2023-03-09T04:41:54.403Z] db1c61fa0a46: Verifying Checksum [2023-03-09T04:41:54.403Z] db1c61fa0a46: Download complete [2023-03-09T04:41:54.992Z] fc693d55d65f: Verifying Checksum [2023-03-09T04:41:54.992Z] fc693d55d65f: Download complete [2023-03-09T04:42:07.932Z] fc693d55d65f: Pull complete [2023-03-09T04:42:07.932Z] 7e9fc2657dce: Pull complete [2023-03-09T04:42:07.932Z] dda99020689f: Pull complete [2023-03-09T04:42:13.280Z] db1c61fa0a46: Pull complete [2023-03-09T04:42:15.868Z] 891c053d2c06: Pull complete [2023-03-09T04:42:15.868Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T04:42:15.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T04:42:15.868Z] ---> f96f9c87975a [2023-03-09T04:42:15.868Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T04:42:17.283Z] ---> Running in bcc6f0555675 [2023-03-09T04:42:17.869Z] Removing intermediate container bcc6f0555675 [2023-03-09T04:42:17.869Z] ---> 520839ec0f07 [2023-03-09T04:42:17.869Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T04:42:17.869Z] ---> Running in 32259e41c3b1 [2023-03-09T04:42:18.137Z] Removing intermediate container 32259e41c3b1 [2023-03-09T04:42:18.137Z] ---> 22d0edb54e41 [2023-03-09T04:42:18.137Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T04:42:18.137Z] ---> Running in 966ae50c770b [2023-03-09T04:42:18.408Z] Removing intermediate container 966ae50c770b [2023-03-09T04:42:18.408Z] ---> 56b49bb779ee [2023-03-09T04:42:18.408Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T04:42:18.408Z] ---> Running in 704bad47f7d9 [2023-03-09T04:42:18.992Z] Removing intermediate container 704bad47f7d9 [2023-03-09T04:42:18.992Z] ---> ed52dcb084ed [2023-03-09T04:42:18.992Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T04:42:18.992Z] ---> Running in 391700adcef3 [2023-03-09T04:42:19.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T04:42:20.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T04:42:21.186Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T04:42:21.186Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T04:42:21.186Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T04:42:21.186Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T04:42:21.186Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T04:42:21.186Z] OK: 226 MiB in 55 packages [2023-03-09T04:42:22.597Z] Removing intermediate container 391700adcef3 [2023-03-09T04:42:22.597Z] ---> d8b886ac4eeb [2023-03-09T04:42:22.597Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T04:42:22.597Z] ---> Running in 34f03d73d9eb [2023-03-09T04:42:22.597Z] Removing intermediate container 34f03d73d9eb [2023-03-09T04:42:22.597Z] ---> 032ed2fbf3c8 [2023-03-09T04:42:22.597Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T04:42:23.183Z] ---> 43c6490b3914 [2023-03-09T04:42:23.183Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T04:42:23.183Z] ---> Running in 2b658fd8135d [2023-03-09T04:43:31.061Z] Removing intermediate container 2b658fd8135d [2023-03-09T04:43:31.061Z] ---> 2b6710bb4aa4 [2023-03-09T04:43:31.061Z] Step 11/12 : COPY . . [2023-03-09T04:43:31.061Z] ---> 220d2a2eb4e3 [2023-03-09T04:43:31.061Z] Step 12/12 : RUN $MAKE [2023-03-09T04:43:31.061Z] ---> Running in 4f9d923345f3 [2023-03-09T04:43:31.061Z] noop [2023-03-09T04:43:31.061Z] Removing intermediate container 4f9d923345f3 [2023-03-09T04:43:31.061Z] ---> 4072d7018cd8 [2023-03-09T04:43:31.061Z] Successfully built 4072d7018cd8 [2023-03-09T04:43:31.061Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:43:31.628Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T04:43:31.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:43:31.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-9406 does not seem to be running inside a container [2023-03-09T04:43:31.948Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T04:43:33.175Z] $ docker top 65be3e78e0205ddb1f793dceb91bdeaa1bef125053fe701227e2e18f13a3bb2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T04:43:34.040Z] + go version [2023-03-09T04:43:34.040Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T04:43:34.079Z] $ docker stop --time=1 65be3e78e0205ddb1f793dceb91bdeaa1bef125053fe701227e2e18f13a3bb2f [2023-03-09T04:43:35.691Z] $ docker rm -f --volumes 65be3e78e0205ddb1f793dceb91bdeaa1bef125053fe701227e2e18f13a3bb2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:43:36.536Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T04:43:36.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:43:36.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-9406 does not seem to be running inside a container [2023-03-09T04:43:36.859Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T04:43:38.004Z] $ docker top e94393e9d2296afd0f9565b574325b0aa28b5dca69ccc8af04a4bc7446004b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T04:43:38.540Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-09T04:43:38.927Z] + make test [2023-03-09T04:43:39.195Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T04:43:40.606Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T04:45:02.250Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-09T04:45:02.250Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.2% of statements [2023-03-09T04:45:02.250Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-09T04:45:02.250Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T04:45:02.250Z] go vet ./... [2023-03-09T04:45:20.470Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T04:45:20.470Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T04:45:20.470Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T04:45:20.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T04:45:20.803Z] $ docker stop --time=1 e94393e9d2296afd0f9565b574325b0aa28b5dca69ccc8af04a4bc7446004b14 [2023-03-09T04:45:22.535Z] $ docker rm -f --volumes e94393e9d2296afd0f9565b574325b0aa28b5dca69ccc8af04a4bc7446004b14 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T04:45:23.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T04:45:23.509Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T04:45:24.078Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T04:45:24.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T04:45:25.121Z] + ls -al . [2023-03-09T04:45:25.121Z] total 176 [2023-03-09T04:45:25.121Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 04:43 . [2023-03-09T04:45:25.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:41 .. [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 04:41 .dockerignore [2023-03-09T04:45:25.121Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 04:41 .git [2023-03-09T04:45:25.121Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:41 .github [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 04:41 .gitignore [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 04:41 .golangci.yml [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 04:41 Attribution.txt [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 04:41 CHANGELOG.md [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 04:41 Dockerfile [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 04:41 GOVERNANCE.md [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 04:41 Jenkinsfile [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 04:41 LICENSE [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 04:41 Makefile [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 04:41 OWNERS.md [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 04:41 README.md [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 04:37 VERSION [2023-03-09T04:45:25.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:41 bin [2023-03-09T04:45:25.121Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:41 cmd [2023-03-09T04:45:25.121Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 9 04:44 coverage.out [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 9 04:41 go.mod [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 9 04:41 go.sum [2023-03-09T04:45:25.121Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 04:41 internal [2023-03-09T04:45:25.121Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 04:41 mock [2023-03-09T04:45:25.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 04:41 snap [2023-03-09T04:45:25.121Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 04:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:45:25.558Z] + 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=fabe3b572f304c25baf3d4e2e99fd9730328478e --label arch=arm64 --label version=0.0.0 . [2023-03-09T04:45:25.844Z] Sending build context to Docker daemon 3.356MB [2023-03-09T04:45:25.844Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T04:45:25.844Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T04:45:25.844Z] ---> 4072d7018cd8 [2023-03-09T04:45:25.844Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T04:45:26.119Z] ---> Running in 549f29363a65 [2023-03-09T04:45:26.387Z] Removing intermediate container 549f29363a65 [2023-03-09T04:45:26.387Z] ---> 9f9d16e4ad15 [2023-03-09T04:45:26.387Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T04:45:26.387Z] ---> Running in a9ad7f3e0048 [2023-03-09T04:45:26.656Z] Removing intermediate container a9ad7f3e0048 [2023-03-09T04:45:26.656Z] ---> e761fea6cd9d [2023-03-09T04:45:26.656Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T04:45:26.933Z] ---> Running in 2646b6c9d165 [2023-03-09T04:45:27.204Z] Removing intermediate container 2646b6c9d165 [2023-03-09T04:45:27.204Z] ---> 5ee269cc8965 [2023-03-09T04:45:27.204Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T04:45:27.204Z] ---> Running in e147ce2b92d7 [2023-03-09T04:45:27.478Z] Removing intermediate container e147ce2b92d7 [2023-03-09T04:45:27.478Z] ---> f2edd5e05e9a [2023-03-09T04:45:27.478Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T04:45:27.478Z] ---> Running in b42f3f4b8153 [2023-03-09T04:45:28.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T04:45:28.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T04:45:29.682Z] OK: 226 MiB in 55 packages [2023-03-09T04:45:31.641Z] Removing intermediate container b42f3f4b8153 [2023-03-09T04:45:31.641Z] ---> d6a5ac942a38 [2023-03-09T04:45:31.641Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-09T04:45:31.641Z] ---> Running in 577ad88b0151 [2023-03-09T04:45:31.641Z] Removing intermediate container 577ad88b0151 [2023-03-09T04:45:31.641Z] ---> 9b71ad5992bd [2023-03-09T04:45:31.641Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T04:45:32.229Z] ---> 98341e694d0e [2023-03-09T04:45:32.229Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T04:45:32.229Z] ---> Running in 68003c0ff89b [2023-03-09T04:45:35.585Z] Removing intermediate container 68003c0ff89b [2023-03-09T04:45:35.585Z] ---> 1f9353e3102c [2023-03-09T04:45:35.585Z] Step 11/24 : COPY . . [2023-03-09T04:45:36.191Z] ---> ba3f1aabc9fe [2023-03-09T04:45:36.191Z] Step 12/24 : RUN $MAKE [2023-03-09T04:45:36.191Z] ---> Running in 1c1aba5d14c7 [2023-03-09T04:45:37.160Z] 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-03-09T04:47:58.892Z] Removing intermediate container 1c1aba5d14c7 [2023-03-09T04:47:58.892Z] ---> 32a5a3174535 [2023-03-09T04:47:58.892Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T04:47:58.892Z] 3.16: Pulling from library/alpine [2023-03-09T04:47:58.892Z] 3760b48202b3: Pulling fs layer [2023-03-09T04:47:58.892Z] 3760b48202b3: Verifying Checksum [2023-03-09T04:47:58.892Z] 3760b48202b3: Download complete [2023-03-09T04:47:58.892Z] 3760b48202b3: Pull complete [2023-03-09T04:47:58.892Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T04:47:58.892Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T04:47:58.892Z] ---> 4c81e5bf8899 [2023-03-09T04:47:58.892Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-09T04:47:58.892Z] ---> Running in ba61ee69a961 [2023-03-09T04:47:58.892Z] Removing intermediate container ba61ee69a961 [2023-03-09T04:47:58.892Z] ---> adcd9bcfd69d [2023-03-09T04:47:58.892Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T04:47:58.892Z] ---> Running in 1531b0dd6643 [2023-03-09T04:47:58.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T04:47:58.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T04:47:58.892Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T04:47:58.892Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T04:47:58.892Z] OK: 5 MiB in 15 packages [2023-03-09T04:47:58.892Z] Removing intermediate container 1531b0dd6643 [2023-03-09T04:47:58.892Z] ---> 733e58846744 [2023-03-09T04:47:58.892Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-09T04:47:59.479Z] ---> b7e27511cdac [2023-03-09T04:47:59.479Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-09T04:48:00.062Z] ---> 5aa16b915a5a [2023-03-09T04:48:00.062Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-09T04:48:00.644Z] ---> 15a9ddb6b6bc [2023-03-09T04:48:00.644Z] Step 19/24 : EXPOSE 59982 [2023-03-09T04:48:00.644Z] ---> Running in 8cce6783e837 [2023-03-09T04:48:00.912Z] Removing intermediate container 8cce6783e837 [2023-03-09T04:48:00.912Z] ---> 9b037b5326dc [2023-03-09T04:48:00.912Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-09T04:48:00.912Z] ---> Running in 9e3f135bd7c9 [2023-03-09T04:48:01.179Z] Removing intermediate container 9e3f135bd7c9 [2023-03-09T04:48:01.179Z] ---> 5007956973a9 [2023-03-09T04:48:01.179Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-09T04:48:01.445Z] ---> Running in 093dc72e1bcf [2023-03-09T04:48:01.712Z] Removing intermediate container 093dc72e1bcf [2023-03-09T04:48:01.712Z] ---> 11a6f6222903 [2023-03-09T04:48:01.712Z] Step 22/24 : LABEL arch=arm64 [2023-03-09T04:48:01.712Z] ---> Running in 282c97a76847 [2023-03-09T04:48:01.979Z] Removing intermediate container 282c97a76847 [2023-03-09T04:48:01.979Z] ---> 99c33cd6ff20 [2023-03-09T04:48:01.979Z] Step 23/24 : LABEL git_sha=fabe3b572f304c25baf3d4e2e99fd9730328478e [2023-03-09T04:48:01.979Z] ---> Running in 0b1514e3e15f [2023-03-09T04:48:02.257Z] Removing intermediate container 0b1514e3e15f [2023-03-09T04:48:02.257Z] ---> ca0cf2b924c7 [2023-03-09T04:48:02.257Z] Step 24/24 : LABEL version=0.0.0 [2023-03-09T04:48:02.257Z] ---> Running in 67d2df3b9962 [2023-03-09T04:48:02.523Z] Removing intermediate container 67d2df3b9962 [2023-03-09T04:48:02.523Z] ---> 0711fa8126ae [2023-03-09T04:48:02.523Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T04:48:02.790Z] Successfully built 0711fa8126ae [2023-03-09T04:48:02.791Z] 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-03-09T04:48:03.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T04:48:03.583Z] [2023-03-09T04:48:03.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:48:03.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T04:48:03.984Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T04:48:03.984Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T04:48:03.984Z] 04944245beec: Pulling fs layer [2023-03-09T04:48:03.984Z] 699f458cf7ca: Pulling fs layer [2023-03-09T04:48:03.984Z] 765212b225bb: Pulling fs layer [2023-03-09T04:48:03.984Z] f23df028b6ca: Pulling fs layer [2023-03-09T04:48:03.984Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T04:48:03.984Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T04:48:03.984Z] f23df028b6ca: Waiting [2023-03-09T04:48:03.984Z] d65c8cfc05b1: Waiting [2023-03-09T04:48:03.984Z] 2437ff75d9bd: Waiting [2023-03-09T04:48:03.984Z] 765212b225bb: Waiting [2023-03-09T04:48:04.251Z] 04944245beec: Verifying Checksum [2023-03-09T04:48:04.251Z] 04944245beec: Download complete [2023-03-09T04:48:04.251Z] 765212b225bb: Verifying Checksum [2023-03-09T04:48:04.251Z] 765212b225bb: Download complete [2023-03-09T04:48:04.251Z] f23df028b6ca: Verifying Checksum [2023-03-09T04:48:04.251Z] f23df028b6ca: Download complete [2023-03-09T04:48:04.251Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T04:48:04.251Z] d65c8cfc05b1: Download complete [2023-03-09T04:48:04.523Z] 699f458cf7ca: Verifying Checksum [2023-03-09T04:48:04.523Z] 699f458cf7ca: Download complete [2023-03-09T04:48:04.792Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T04:48:04.792Z] 8998bd30e6a1: Download complete [2023-03-09T04:48:06.737Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T04:48:06.737Z] 2437ff75d9bd: Download complete [2023-03-09T04:48:08.677Z] 8998bd30e6a1: Pull complete [2023-03-09T04:48:08.944Z] 04944245beec: Pull complete [2023-03-09T04:48:10.352Z] 699f458cf7ca: Pull complete [2023-03-09T04:48:10.352Z] 765212b225bb: Pull complete [2023-03-09T04:48:11.311Z] f23df028b6ca: Pull complete [2023-03-09T04:48:11.311Z] d65c8cfc05b1: Pull complete [2023-03-09T04:48:26.306Z] 2437ff75d9bd: Pull complete [2023-03-09T04:48:26.306Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T04:48:26.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T04:48:26.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:48:26.597Z] prd-ubuntu20.04-docker-arm64-4c-16g-9406 does not seem to be running inside a container [2023-03-09T04:48:26.653Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-09T04:48:29.254Z] $ docker top 91019787bb37ef67401c940374c4989443fb55a8a08de19bd91b53df9043ba87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:30.151Z] ---> job-cost.sh [2023-03-09T04:48:30.151Z] lf-activate-venv: SKIPPING [2023-03-09T04:48:30.151Z] INFO: No Stack... [2023-03-09T04:48:30.417Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T04:48:31.376Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T04:48:32.042Z] + + cut -d, -f6 [2023-03-09T04:48:32.042Z] cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-03-09T04:48:32.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] [2023-03-09T04:48:32.107Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] did not exist. Created. [2023-03-09T04:48:32.107Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T04:48:32.515Z] /w/workspace/device-mqtt-go/1@tmp/durable-6db77978/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T04:48:33.453Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T04:48:33.496Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T04:48:33.537Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T04:48:33.552Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T04:48:33.631Z] $ docker stop --time=1 91019787bb37ef67401c940374c4989443fb55a8a08de19bd91b53df9043ba87 [2023-03-09T04:48:35.146Z] $ docker rm -f --volumes 91019787bb37ef67401c940374c4989443fb55a8a08de19bd91b53df9043ba87 [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-03-09T04:48:36.145Z] provisioning config files... [2023-03-09T04:48:36.153Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config15486968396340924699tmp [Pipeline] { [Pipeline] sh [2023-03-09T04:48:36.481Z] + set +x [2023-03-09T04:48:36.481Z] + curl -s https://codecov.io/bash+ [2023-03-09T04:48:36.481Z] bash -s -- [2023-03-09T04:48:36.481Z] [2023-03-09T04:48:36.481Z] _____ _ [2023-03-09T04:48:36.481Z] / ____| | | [2023-03-09T04:48:36.481Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T04:48:36.481Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T04:48:36.481Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T04:48:36.481Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T04:48:36.481Z] Bash-1.0.6 [2023-03-09T04:48:36.481Z] [2023-03-09T04:48:36.481Z] [2023-03-09T04:48:36.481Z] ==> git version 2.25.1 found [2023-03-09T04:48:36.481Z] ==> 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-03-09T04:48:36.481Z] Release-Date: 2020-01-08 [2023-03-09T04:48:36.481Z] 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-03-09T04:48:36.481Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T04:48:36.481Z] ==> Jenkins CI detected. [2023-03-09T04:48:36.481Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-518 [2023-03-09T04:48:36.481Z] project root: . [2023-03-09T04:48:36.481Z] --> token set from env [2023-03-09T04:48:36.481Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T04:48:36.481Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T04:48:36.481Z] ==> Python coveragepy not found [2023-03-09T04:48:36.481Z] ==> Searching for coverage reports in: [2023-03-09T04:48:36.481Z] + . [2023-03-09T04:48:36.481Z] -> Found 1 reports [2023-03-09T04:48:36.481Z] ==> Detecting git/mercurial file structure [2023-03-09T04:48:36.481Z] ==> Reading reports [2023-03-09T04:48:36.481Z] + ./coverage.out bytes=18047 [2023-03-09T04:48:36.481Z] ==> Appending adjustments [2023-03-09T04:48:36.481Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T04:48:36.740Z] + Found adjustments [2023-03-09T04:48:36.740Z] ==> Gzipping contents [2023-03-09T04:48:36.740Z] 4.0K /tmp/codecov.U4iKEz.gz [2023-03-09T04:48:36.740Z] ==> Uploading reports [2023-03-09T04:48:36.740Z] url: https://codecov.io [2023-03-09T04:48:36.740Z] query: branch=PR-518&commit=fabe3b572f304c25baf3d4e2e99fd9730328478e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-518%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=518&job=&cmd_args= [2023-03-09T04:48:36.740Z] -> Pinging Codecov [2023-03-09T04:48:36.740Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-518&commit=fabe3b572f304c25baf3d4e2e99fd9730328478e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-518%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=518&job=&cmd_args= [2023-03-09T04:48:36.740Z] -> Uploading to [2023-03-09T04:48:36.740Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-09/7D719EC7BBE17E464838252E33014C33/fabe3b572f304c25baf3d4e2e99fd9730328478e/924e29ad-a0f7-4ea8-b099-42a17f91fc8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T044836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82b5cd49049318579a12605b7c03ad9319e3d1bdc1945473c71e418d21a52e38 [2023-03-09T04:48:36.740Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T04:48:36.740Z] Dload Upload Total Spent Left Speed [2023-03-09T04:48:37.258Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3160 0 0 100 3160 0 14234 --:--:-- --:--:-- --:--:-- 14170 100 3160 0 0 100 3160 0 11532 --:--:-- --:--:-- --:--:-- 11490 [2023-03-09T04:48:37.258Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fabe3b572f304c25baf3d4e2e99fd9730328478e [Pipeline] } [2023-03-09T04:48:37.288Z] 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-03-09T04:48:39.027Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives ] [2023-03-09T04:48:39.027Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives [2023-03-09T04:48:39.027Z] total 16 [2023-03-09T04:48:39.027Z] drwxr-xr-x 3 root root 4096 Mar 9 04:39 . [2023-03-09T04:48:39.027Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 04:39 .. [2023-03-09T04:48:39.027Z] drwxr-xr-x 2 root root 4096 Mar 9 04:39 cost [2023-03-09T04:48:39.027Z] -rw-r--r-- 1 root root 86 Mar 9 04:39 cost.csv [2023-03-09T04:48:39.027Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives [2023-03-09T04:48:39.027Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives [2023-03-09T04:48:39.027Z] total 16 [2023-03-09T04:48:39.027Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 04:39 . [2023-03-09T04:48:39.027Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 04:39 .. [2023-03-09T04:48:39.027Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 04:39 cost [2023-03-09T04:48:39.027Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 9 04:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:39.345Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:40.232Z] ---> package-listing.sh [2023-03-09T04:48:40.232Z] ++ facter osfamily [2023-03-09T04:48:40.232Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T04:48:40.492Z] + OS_FAMILY=debian [2023-03-09T04:48:40.492Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-518 [2023-03-09T04:48:40.492Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T04:48:40.492Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T04:48:40.492Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T04:48:40.492Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T04:48:40.492Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-518 ']' [2023-03-09T04:48:40.492Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T04:48:40.492Z] + case "${OS_FAMILY}" in [2023-03-09T04:48:40.492Z] + dpkg -l [2023-03-09T04:48:40.492Z] + grep '^ii' [2023-03-09T04:48:40.492Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T04:48:40.492Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T04:48:40.492Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T04:48:40.492Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-518 ']' [2023-03-09T04:48:40.492Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/ [2023-03-09T04:48:40.492Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-518/archives/ [Pipeline] echo [2023-03-09T04:48:40.528Z] 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T04:48:40.816Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T04:48:41.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T04:48:41.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T04:48:41.568Z] prd-ubuntu20.04-docker-8c-8g-9404 does not seem to be running inside a container [2023-03-09T04:48:41.601Z] $ 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-518/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-518 -v /w/workspace/gexfoundry_device-mqtt-go_PR-518:/w/workspace/gexfoundry_device-mqtt-go_PR-518:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T04:48:41.840Z] $ docker top 9b1ceaadba6f3925447dc223e6325200eee4fff684135044cf4e07e432e5e3ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T04:48:42.227Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T04:48:42.538Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T04:48:42.846Z] + ls /var/log/sa-host [2023-03-09T04:48:42.846Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T04:48:43.053Z] provisioning config files... [2023-03-09T04:48:43.062Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-518@tmp/config3802004648548625980tmp [Pipeline] { [Pipeline] echo [2023-03-09T04:48:43.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:43.425Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T04:48:43.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:43.855Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T04:48:43.888Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:44.211Z] ---> sudo-logs.sh [2023-03-09T04:48:44.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T04:48:44.296Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:44.604Z] ---> job-cost.sh [2023-03-09T04:48:44.604Z] lf-activate-venv: SKIPPING [2023-03-09T04:48:44.604Z] DEBUG: total: 0.2199999988079071 [2023-03-09T04:48:44.604Z] INFO: Retrieving Stack Cost... [2023-03-09T04:48:44.863Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T04:48:45.431Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T04:48:45.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T04:48:45.775Z] ---> logs-deploy.sh [2023-03-09T04:48:45.775Z] lf-activate-venv: SKIPPING [2023-03-09T04:48:45.775Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-518/1 [2023-03-09T04:48:45.775Z] INFO: archiving workspace using pattern(s): [2023-03-09T04:48:46.713Z] Archives upload complete. [2023-03-09T04:48:46.713Z] INFO: archiving logs to Nexus