Pull request #527 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 lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from acf7416be20c4c48d49128496e0ddc5545f86c01+61add75b1ef191377c59afa20b8ba92f4dc8af4b (8669e1b71800643d87b580a177ab9b4a054bc56a) 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-ssh18084058178853743498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4582875500833887590.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-527/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-527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5719312143476148227.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-527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16600874777562386376.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh5314053203231811525.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-527/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-527/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17969875904128467612.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-269’ is offline Running on prd-ubuntu20.04-docker-8c-8g-270 in /w/workspace/gexfoundry_device-mqtt-go_PR-527 [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-527 # 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 Merging remotes/origin/main commit 61add75b1ef191377c59afa20b8ba92f4dc8af4b into PR head commit acf7416be20c4c48d49128496e0ddc5545f86c01 > 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/527/head:refs/remotes/origin/PR-527 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acf7416be20c4c48d49128496e0ddc5545f86c01 # 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 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing acf7416be20c4c48d49128496e0ddc5545f86c01 Checking out Revision acf7416be20c4c48d49128496e0ddc5545f86c01 (PR-527) > git config core.sparsecheckout # timeout=10 > git checkout -f acf7416be20c4c48d49128496e0ddc5545f86c01 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T21:34:25.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T21:34:25.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T21:34:25.694Z] ========================================================= [2023-03-14T21:34:25.694Z] EdgeX Global Pipelines Version Info [2023-03-14T21:34:25.694Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:34:26.426Z] ------------------- [2023-03-14T21:34:26.426Z] stable info: [2023-03-14T21:34:26.426Z] ------------------- [2023-03-14T21:34:26.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T21:34:26.426Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T21:34:26.426Z] Message: update stable to v1.0.245 [2023-03-14T21:34:26.995Z] ------------------- [2023-03-14T21:34:26.995Z] experimental info: [2023-03-14T21:34:26.995Z] ------------------- [2023-03-14T21:34:26.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T21:34:26.995Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-14T21:34:26.995Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T21:34:27.295Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-14T21:34:27.336Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-14T21:34:27.378Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T21:34:27.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T21:34:27.458Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T21:34:27.496Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T21:34:27.535Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T21:34:27.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T21:34:27.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T21:34:27.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T21:34:27.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T21:34:27.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-14T21:34:27.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T21:34:27.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T21:34:27.872Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T21:34:27.909Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T21:34:27.954Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T21:34:27.993Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T21:34:28.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T21:34:28.076Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T21:34:28.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T21:34:28.160Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T21:34:28.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T21:34:28.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T21:34:28.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T21:34:28.322Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T21:34:28.361Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T21:34:28.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-527 [Pipeline] echo [2023-03-14T21:34:28.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-527 [Pipeline] echo [2023-03-14T21:34:28.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-527 [Pipeline] echo [2023-03-14T21:34:28.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acf7416be20c4c48d49128496e0ddc5545f86c01 [Pipeline] echo [2023-03-14T21:34:28.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acf7416 [Pipeline] echo [2023-03-14T21:34:28.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:34:28.718Z] provisioning config files... [2023-03-14T21:34:28.733Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/config13411512970097657498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:34:29.073Z] ---> docker-login.sh [2023-03-14T21:34:29.073Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:34:29.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:29.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:29.334Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:29.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:29.334Z] [2023-03-14T21:34:29.334Z] Login Succeeded [2023-03-14T21:34:29.334Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:34:29.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:29.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:29.594Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:29.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:29.594Z] [2023-03-14T21:34:29.594Z] Login Succeeded [2023-03-14T21:34:29.594Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:34:29.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:29.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:29.594Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:29.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:29.594Z] [2023-03-14T21:34:29.594Z] Login Succeeded [2023-03-14T21:34:29.594Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:34:29.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:29.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:29.854Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:29.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:29.854Z] [2023-03-14T21:34:29.854Z] Login Succeeded [2023-03-14T21:34:29.854Z] docker.io [2023-03-14T21:34:29.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:30.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:30.117Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:30.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:30.117Z] [2023-03-14T21:34:30.117Z] Login Succeeded [2023-03-14T21:34:30.117Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:34:30.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T21:34:30.784Z] + git rev-list -1 --merges acf7416be20c4c48d49128496e0ddc5545f86c01~1..acf7416be20c4c48d49128496e0ddc5545f86c01 [Pipeline] echo [2023-03-14T21:34:30.855Z] -----------> git rev-list -1 --merges acf7416be20c4c48d49128496e0ddc5545f86c01~1..acf7416be20c4c48d49128496e0ddc5545f86c01 acf7416be20c4c48d49128496e0ddc5545f86c01 [false] [Pipeline] sh [2023-03-14T21:34:31.165Z] + git log --format=format:%s -1 acf7416be20c4c48d49128496e0ddc5545f86c01 [Pipeline] echo [2023-03-14T21:34:31.200Z] ========================================================= [2023-03-14T21:34:31.200Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T21:34:31.200Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:34:31.612Z] + git log --format=format:%s -1 acf7416be20c4c48d49128496e0ddc5545f86c01 [Pipeline] echo [2023-03-14T21:34:31.647Z] [semverPrep] GIT_COMMIT: acf7416be20c4c48d49128496e0ddc5545f86c01, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T21:34:31.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T21:34:32.058Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T21:34:32.058Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T21:34:32.058Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T21:34:32.058Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T21:34:32.058Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T21:34:32.058Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T21:34:32.058Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:34:32.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:34:32.533Z] [2023-03-14T21:34:32.533Z] 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-14T21:34:32.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:34:32.899Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T21:34:32.899Z] b85a868b505f: Pulling fs layer [2023-03-14T21:34:32.899Z] e2be974225ed: Pulling fs layer [2023-03-14T21:34:32.899Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T21:34:32.899Z] 988bab9f4d93: Pulling fs layer [2023-03-14T21:34:32.899Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T21:34:32.899Z] eaf3925da568: Pulling fs layer [2023-03-14T21:34:32.899Z] bab4dde63d76: Pulling fs layer [2023-03-14T21:34:32.899Z] bde34c3a00c8: Pulling fs layer [2023-03-14T21:34:32.899Z] b352a97aabf1: Pulling fs layer [2023-03-14T21:34:32.899Z] 4872d77fe225: Pulling fs layer [2023-03-14T21:34:32.899Z] 5851b861e8e6: Pulling fs layer [2023-03-14T21:34:32.899Z] bde34c3a00c8: Waiting [2023-03-14T21:34:32.899Z] bab4dde63d76: Waiting [2023-03-14T21:34:32.899Z] b352a97aabf1: Waiting [2023-03-14T21:34:32.899Z] 988bab9f4d93: Waiting [2023-03-14T21:34:32.899Z] 4872d77fe225: Waiting [2023-03-14T21:34:32.899Z] eaf3925da568: Waiting [2023-03-14T21:34:32.899Z] 1469e6f7b9e6: Waiting [2023-03-14T21:34:32.899Z] e2be974225ed: Verifying Checksum [2023-03-14T21:34:32.899Z] e2be974225ed: Download complete [2023-03-14T21:34:32.899Z] 988bab9f4d93: Download complete [2023-03-14T21:34:33.159Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T21:34:33.159Z] 1469e6f7b9e6: Download complete [2023-03-14T21:34:33.159Z] eaf3925da568: Verifying Checksum [2023-03-14T21:34:33.159Z] eaf3925da568: Download complete [2023-03-14T21:34:33.159Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T21:34:33.159Z] 339a4e72a1f5: Download complete [2023-03-14T21:34:33.159Z] bde34c3a00c8: Verifying Checksum [2023-03-14T21:34:33.159Z] bde34c3a00c8: Download complete [2023-03-14T21:34:33.159Z] b352a97aabf1: Download complete [2023-03-14T21:34:33.159Z] 4872d77fe225: Verifying Checksum [2023-03-14T21:34:33.159Z] 4872d77fe225: Download complete [2023-03-14T21:34:33.159Z] 5851b861e8e6: Verifying Checksum [2023-03-14T21:34:33.159Z] 5851b861e8e6: Download complete [2023-03-14T21:34:33.159Z] b85a868b505f: Verifying Checksum [2023-03-14T21:34:33.159Z] b85a868b505f: Download complete [2023-03-14T21:34:33.418Z] bab4dde63d76: Verifying Checksum [2023-03-14T21:34:33.418Z] bab4dde63d76: Download complete [2023-03-14T21:34:34.370Z] b85a868b505f: Pull complete [2023-03-14T21:34:34.645Z] e2be974225ed: Pull complete [2023-03-14T21:34:35.218Z] 339a4e72a1f5: Pull complete [2023-03-14T21:34:35.218Z] 988bab9f4d93: Pull complete [2023-03-14T21:34:35.478Z] 1469e6f7b9e6: Pull complete [2023-03-14T21:34:35.478Z] eaf3925da568: Pull complete [2023-03-14T21:34:37.401Z] bab4dde63d76: Pull complete [2023-03-14T21:34:37.401Z] bde34c3a00c8: Pull complete [2023-03-14T21:34:37.662Z] b352a97aabf1: Pull complete [2023-03-14T21:34:37.662Z] 4872d77fe225: Pull complete [2023-03-14T21:34:37.662Z] 5851b861e8e6: Pull complete [2023-03-14T21:34:37.662Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T21:34:37.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T21:34:37.662Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:34:37.899Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2023-03-14T21:34:37.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-527 -v /w/workspace/gexfoundry_device-mqtt-go_PR-527:/w/workspace/gexfoundry_device-mqtt-go_PR-527:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-527@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-14T21:34:40.306Z] $ docker top bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 -eo pid,comm [2023-03-14T21:34:40.369Z] 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-14T21:34:40.369Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T21:34:40.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:34:40.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:34:40.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:34:40.603Z] $ docker exec bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 ssh-agent [2023-03-14T21:34:40.722Z] SSH_AUTH_SOCK=/tmp/ssh-FMOgV7Q22cNS/agent.32 [2023-03-14T21:34:40.722Z] SSH_AGENT_PID=38 [2023-03-14T21:34:40.731Z] Running ssh-add (command line suppressed) [2023-03-14T21:34:40.806Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/private_key_10815115476587400545.key (/w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/private_key_10815115476587400545.key) [2023-03-14T21:34:40.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:34:41.156Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T21:34:41.171Z] $ docker exec --env ******** --env ******** bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 ssh-agent -k [2023-03-14T21:34:41.263Z] unset SSH_AUTH_SOCK; [2023-03-14T21:34:41.264Z] unset SSH_AGENT_PID; [2023-03-14T21:34:41.264Z] echo Agent pid 38 killed; [2023-03-14T21:34:41.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T21:34:41.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T21:34:41.372Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T21:34:41.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T21:34:41.470Z] $ docker exec bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 ssh-agent [2023-03-14T21:34:41.580Z] SSH_AUTH_SOCK=/tmp/ssh-9uZk3r3PH5f5/agent.70 [2023-03-14T21:34:41.580Z] SSH_AGENT_PID=76 [2023-03-14T21:34:41.587Z] Running ssh-add (command line suppressed) [2023-03-14T21:34:41.676Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/private_key_14043655899524354849.key (/w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/private_key_14043655899524354849.key) [2023-03-14T21:34:41.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T21:34:42.032Z] + git semver init [2023-03-14T21:34:42.293Z] 2023-03-14 21:34:42,197 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T21:34:42.293Z] 2023-03-14 21:34:42,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver [2023-03-14T21:34:42.293Z] 2023-03-14 21:34:42,198 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver [2023-03-14T21:34:42.293Z] 2023-03-14 21:34:42,198 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-527, universal_newlines=False, shell=None, istream=None) [2023-03-14T21:34:43.231Z] 2023-03-14 21:34:43,006 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-527/.git/info/exclude [2023-03-14T21:34:43.231Z] 2023-03-14 21:34:43,007 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver/PR-527 with force:False [2023-03-14T21:34:43.231Z] 2023-03-14 21:34:43,007 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver/PR-527 [2023-03-14T21:34:43.231Z] 2023-03-14 21:34:43,011 [execute] INFO git cat-file --batch-check [2023-03-14T21:34:43.231Z] 2023-03-14 21:34:43,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T21:34:43.231Z] 2023-03-14 21:34:43,017 [execute] INFO git cat-file --batch [2023-03-14T21:34:43.232Z] 2023-03-14 21:34:43,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T21:34:43.232Z] 2023-03-14 21:34:43,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-527/.semver/PR-527 [2023-03-14T21:34:43.232Z] 0.0.0 [Pipeline] } [2023-03-14T21:34:43.255Z] $ docker exec --env ******** --env ******** bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 ssh-agent -k [2023-03-14T21:34:43.351Z] unset SSH_AUTH_SOCK; [2023-03-14T21:34:43.352Z] unset SSH_AGENT_PID; [2023-03-14T21:34:43.352Z] echo Agent pid 76 killed; [2023-03-14T21:34:43.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T21:34:43.800Z] + git semver [Pipeline] } [2023-03-14T21:34:44.077Z] $ docker stop --time=1 bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 [2023-03-14T21:34:45.373Z] $ docker rm -f --volumes bdc47f1bc60ac2f34d46bf0ebe87b6a4449cd6718864c7f3f9ff0fb4176e68d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:34:45.801Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T21:34:46.067Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T21:34:46.089Z] [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-14T21:34:46.657Z] provisioning config files... [2023-03-14T21:34:46.666Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/config13677698760957262059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:34:47.012Z] ---> docker-login.sh [2023-03-14T21:34:47.012Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:34:47.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:47.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:47.012Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:47.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:47.012Z] [2023-03-14T21:34:47.012Z] Login Succeeded [2023-03-14T21:34:47.012Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:34:47.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:47.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:47.012Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:47.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:47.012Z] [2023-03-14T21:34:47.012Z] Login Succeeded [2023-03-14T21:34:47.012Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:34:47.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:47.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:47.271Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:47.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:47.271Z] [2023-03-14T21:34:47.271Z] Login Succeeded [2023-03-14T21:34:47.271Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:34:47.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:47.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:47.271Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:47.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:47.271Z] [2023-03-14T21:34:47.271Z] Login Succeeded [2023-03-14T21:34:47.271Z] docker.io [2023-03-14T21:34:47.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:34:47.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:34:47.530Z] Configure a credential helper to remove this warning. See [2023-03-14T21:34:47.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:34:47.530Z] [2023-03-14T21:34:47.530Z] Login Succeeded [2023-03-14T21:34:47.530Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:34:47.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T21:34:47.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:34:47.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:34:47.799Z] ========================================================= [2023-03-14T21:34:47.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T21:34:47.799Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:34:48.261Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T21:34:48.261Z] Sending build context to Docker daemon 6.379MB [2023-03-14T21:34:48.261Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:34:48.261Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T21:34:48.261Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T21:34:48.261Z] 63b65145d645: Pulling fs layer [2023-03-14T21:34:48.261Z] a2d21d5440eb: Pulling fs layer [2023-03-14T21:34:48.261Z] 935e6c44a52c: Pulling fs layer [2023-03-14T21:34:48.261Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T21:34:48.261Z] 30dea6a524f1: Pulling fs layer [2023-03-14T21:34:48.261Z] a2aff8979fd8: Pulling fs layer [2023-03-14T21:34:48.261Z] 6808be2612f2: Pulling fs layer [2023-03-14T21:34:48.261Z] f25807f1079a: Pulling fs layer [2023-03-14T21:34:48.261Z] 94cc34f8dd06: Waiting [2023-03-14T21:34:48.261Z] 30dea6a524f1: Waiting [2023-03-14T21:34:48.261Z] a2aff8979fd8: Waiting [2023-03-14T21:34:48.261Z] 6808be2612f2: Waiting [2023-03-14T21:34:48.261Z] f25807f1079a: Waiting [2023-03-14T21:34:48.261Z] a2d21d5440eb: Verifying Checksum [2023-03-14T21:34:48.261Z] a2d21d5440eb: Download complete [2023-03-14T21:34:48.527Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T21:34:48.527Z] 94cc34f8dd06: Download complete [2023-03-14T21:34:48.527Z] 30dea6a524f1: Download complete [2023-03-14T21:34:48.527Z] 63b65145d645: Verifying Checksum [2023-03-14T21:34:48.527Z] 63b65145d645: Download complete [2023-03-14T21:34:48.527Z] a2aff8979fd8: Verifying Checksum [2023-03-14T21:34:48.527Z] a2aff8979fd8: Download complete [2023-03-14T21:34:48.790Z] 63b65145d645: Pull complete [2023-03-14T21:34:48.790Z] a2d21d5440eb: Pull complete [2023-03-14T21:34:49.052Z] f25807f1079a: Verifying Checksum [2023-03-14T21:34:49.052Z] f25807f1079a: Download complete [2023-03-14T21:34:49.052Z] 935e6c44a52c: Verifying Checksum [2023-03-14T21:34:49.052Z] 935e6c44a52c: Download complete [2023-03-14T21:34:49.311Z] 6808be2612f2: Verifying Checksum [2023-03-14T21:34:49.311Z] 6808be2612f2: Download complete [2023-03-14T21:34:52.602Z] 935e6c44a52c: Pull complete [2023-03-14T21:34:52.603Z] 94cc34f8dd06: Pull complete [2023-03-14T21:34:52.603Z] 30dea6a524f1: Pull complete [2023-03-14T21:34:52.603Z] a2aff8979fd8: Pull complete [2023-03-14T21:34:54.513Z] 6808be2612f2: Pull complete [2023-03-14T21:34:55.446Z] f25807f1079a: Pull complete [2023-03-14T21:34:55.446Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T21:34:55.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T21:34:55.446Z] ---> 3b553350e43f [2023-03-14T21:34:55.446Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:34:58.746Z] ---> Running in 4c5e5eca6ec7 [2023-03-14T21:34:58.746Z] Removing intermediate container 4c5e5eca6ec7 [2023-03-14T21:34:58.746Z] ---> 6b883e7f977c [2023-03-14T21:34:58.746Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:34:58.746Z] ---> Running in 22c0193f564e [2023-03-14T21:34:58.746Z] Removing intermediate container 22c0193f564e [2023-03-14T21:34:58.746Z] ---> 3f42393261ed [2023-03-14T21:34:58.746Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T21:34:58.746Z] ---> Running in 6c03d02812ac [2023-03-14T21:34:58.746Z] Removing intermediate container 6c03d02812ac [2023-03-14T21:34:58.746Z] ---> 8fe7f3e90169 [2023-03-14T21:34:58.746Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T21:34:58.746Z] ---> Running in 6c99dce7946c [2023-03-14T21:34:59.005Z] Removing intermediate container 6c99dce7946c [2023-03-14T21:34:59.005Z] ---> dae2a2fc8b5c [2023-03-14T21:34:59.005Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:34:59.005Z] ---> Running in bf0a853f3eec [2023-03-14T21:34:59.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T21:34:59.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T21:34:59.785Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T21:34:59.785Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T21:34:59.785Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T21:34:59.785Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T21:34:59.785Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:34:59.785Z] OK: 269 MiB in 57 packages [2023-03-14T21:35:00.351Z] Removing intermediate container bf0a853f3eec [2023-03-14T21:35:00.351Z] ---> c7fbb93266c2 [2023-03-14T21:35:00.351Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-14T21:35:00.351Z] ---> Running in 1a40d171905a [2023-03-14T21:35:00.351Z] Removing intermediate container 1a40d171905a [2023-03-14T21:35:00.351Z] ---> e2110e043144 [2023-03-14T21:35:00.351Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T21:35:00.351Z] ---> 4baf74174f09 [2023-03-14T21:35:00.351Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:35:00.351Z] ---> Running in 74dddaeb2aaf [2023-03-14T21:35:01.489Z] Still waiting to schedule task [2023-03-14T21:35:01.490Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-267’ is offline [2023-03-14T21:35:26.930Z] Removing intermediate container 74dddaeb2aaf [2023-03-14T21:35:26.931Z] ---> a7119d398827 [2023-03-14T21:35:26.931Z] Step 11/12 : COPY . . [2023-03-14T21:35:26.931Z] ---> 08b016cd6572 [2023-03-14T21:35:26.931Z] Step 12/12 : RUN $MAKE [2023-03-14T21:35:26.931Z] ---> Running in 404e51ac23d8 [2023-03-14T21:35:26.931Z] noop [2023-03-14T21:35:26.931Z] Removing intermediate container 404e51ac23d8 [2023-03-14T21:35:26.931Z] ---> 46e1f57e4914 [2023-03-14T21:35:26.931Z] Successfully built 46e1f57e4914 [2023-03-14T21:35:26.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:35:27.381Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T21:35:27.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:35:27.533Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2023-03-14T21:35:27.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-527 -v /w/workspace/gexfoundry_device-mqtt-go_PR-527:/w/workspace/gexfoundry_device-mqtt-go_PR-527:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-527@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-14T21:35:27.892Z] $ docker top 335847f19e488a221790abc103e2d386b5e01a2c47af6ecd2599f3756a08878f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:35:28.276Z] + go version [2023-03-14T21:35:28.276Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T21:35:28.310Z] $ docker stop --time=1 335847f19e488a221790abc103e2d386b5e01a2c47af6ecd2599f3756a08878f [2023-03-14T21:35:29.570Z] $ docker rm -f --volumes 335847f19e488a221790abc103e2d386b5e01a2c47af6ecd2599f3756a08878f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:35:30.262Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T21:35:30.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:35:30.412Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2023-03-14T21:35:30.442Z] $ 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-527 -v /w/workspace/gexfoundry_device-mqtt-go_PR-527:/w/workspace/gexfoundry_device-mqtt-go_PR-527:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-527@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-14T21:35:30.753Z] $ docker top cd25506c7a5774a9df416a32fb03988f639d1d319dada5d36fed1a1923e67448 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:35:31.131Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-527 [Pipeline] fileExists [Pipeline] sh [2023-03-14T21:35:31.491Z] + make test [2023-03-14T21:35:31.491Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T21:35:36.758Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-14T21:35:46.726Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-14T21:35:46.726Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-14T21:35:46.726Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.2% of statements [2023-03-14T21:35:53.278Z] go vet ./... [2023-03-14T21:35:56.556Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T21:35:56.556Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T21:35:56.556Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T21:35:56.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T21:35:56.634Z] $ docker stop --time=1 cd25506c7a5774a9df416a32fb03988f639d1d319dada5d36fed1a1923e67448 [2023-03-14T21:35:59.415Z] $ docker rm -f --volumes cd25506c7a5774a9df416a32fb03988f639d1d319dada5d36fed1a1923e67448 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:35:59.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T21:36:00.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T21:36:00.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T21:36:01.025Z] + ls -al . [2023-03-14T21:36:01.025Z] total 180 [2023-03-14T21:36:01.025Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 21:35 . [2023-03-14T21:36:01.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:34 .. [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 21:34 .dockerignore [2023-03-14T21:36:01.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:34 .git [2023-03-14T21:36:01.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:34 .github [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 21:34 .gitignore [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:34 .golangci.yml [2023-03-14T21:36:01.025Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 21:34 .semver [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 14 21:34 Attribution.txt [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 14 21:34 CHANGELOG.md [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 14 21:34 Dockerfile [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:34 GOVERNANCE.md [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 21:34 Jenkinsfile [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:34 LICENSE [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 14 21:34 Makefile [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 21:34 OWNERS.md [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 14 21:34 README.md [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 21:34 VERSION [2023-03-14T21:36:01.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:34 bin [2023-03-14T21:36:01.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:34 cmd [2023-03-14T21:36:01.025Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 14 21:35 coverage.out [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 14 21:34 go.mod [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 21:34 go.sum [2023-03-14T21:36:01.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:34 internal [2023-03-14T21:36:01.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:34 mock [2023-03-14T21:36:01.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:34 snap [2023-03-14T21:36:01.025Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 14 21:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:36:01.478Z] + 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=acf7416be20c4c48d49128496e0ddc5545f86c01 --label arch=amd64 --label version=0.0.0 . [2023-03-14T21:36:01.478Z] Sending build context to Docker daemon 6.398MB [2023-03-14T21:36:01.479Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:36:01.479Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-14T21:36:01.479Z] ---> 46e1f57e4914 [2023-03-14T21:36:01.479Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:36:01.479Z] ---> Running in 61c9df5e229c [2023-03-14T21:36:01.737Z] Removing intermediate container 61c9df5e229c [2023-03-14T21:36:01.737Z] ---> 3e10cab396ca [2023-03-14T21:36:01.737Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:36:01.737Z] ---> Running in 3268e405bd44 [2023-03-14T21:36:01.737Z] Removing intermediate container 3268e405bd44 [2023-03-14T21:36:01.737Z] ---> f07f56f906f4 [2023-03-14T21:36:01.737Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T21:36:01.737Z] ---> Running in 66ce988fcec7 [2023-03-14T21:36:01.737Z] Removing intermediate container 66ce988fcec7 [2023-03-14T21:36:01.737Z] ---> 712f1ba95c9f [2023-03-14T21:36:01.737Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T21:36:01.737Z] ---> Running in e77ba5ef179f [2023-03-14T21:36:01.996Z] Removing intermediate container e77ba5ef179f [2023-03-14T21:36:01.996Z] ---> e2013ab1c84e [2023-03-14T21:36:01.996Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:36:01.996Z] ---> Running in a9a950a4089b [2023-03-14T21:36:02.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T21:36:02.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T21:36:02.512Z] OK: 269 MiB in 57 packages [2023-03-14T21:36:02.771Z] Removing intermediate container a9a950a4089b [2023-03-14T21:36:02.771Z] ---> 6e3fd306928c [2023-03-14T21:36:02.771Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-14T21:36:02.771Z] ---> Running in 450c9e799bbe [2023-03-14T21:36:03.029Z] Removing intermediate container 450c9e799bbe [2023-03-14T21:36:03.029Z] ---> 4698f05e857e [2023-03-14T21:36:03.029Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-14T21:36:03.029Z] ---> 828fc8851d92 [2023-03-14T21:36:03.029Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:36:03.029Z] ---> Running in 4f6edc208ad9 [2023-03-14T21:36:04.096Z] Removing intermediate container 4f6edc208ad9 [2023-03-14T21:36:04.096Z] ---> 77c93cf26abb [2023-03-14T21:36:04.096Z] Step 11/24 : COPY . . [2023-03-14T21:36:04.355Z] ---> 63984498d3ef [2023-03-14T21:36:04.355Z] Step 12/24 : RUN $MAKE [2023-03-14T21:36:04.355Z] ---> Running in ad305e8aa58a [2023-03-14T21:36:04.613Z] 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-14T21:36:22.677Z] Removing intermediate container ad305e8aa58a [2023-03-14T21:36:22.677Z] ---> ecc147a95886 [2023-03-14T21:36:22.677Z] Step 13/24 : FROM alpine:3.17 [2023-03-14T21:36:22.677Z] 3.17: Pulling from library/alpine [2023-03-14T21:36:22.677Z] 63b65145d645: Already exists [2023-03-14T21:36:22.677Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T21:36:22.677Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T21:36:22.677Z] ---> b2aa39c304c2 [2023-03-14T21:36:22.677Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-14T21:36:22.935Z] ---> Running in b40f60f97cd4 [2023-03-14T21:36:22.935Z] Removing intermediate container b40f60f97cd4 [2023-03-14T21:36:22.935Z] ---> fed6c013fc5a [2023-03-14T21:36:22.935Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-14T21:36:22.935Z] ---> Running in 1a36001e7374 [2023-03-14T21:36:23.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T21:36:23.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T21:36:23.452Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T21:36:23.452Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:36:23.452Z] OK: 7 MiB in 16 packages [2023-03-14T21:36:23.710Z] Removing intermediate container 1a36001e7374 [2023-03-14T21:36:23.710Z] ---> 2cb33a1c29be [2023-03-14T21:36:23.710Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-14T21:36:24.662Z] ---> 02a0f3b69235 [2023-03-14T21:36:24.662Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-14T21:36:24.662Z] ---> 451aef9f660d [2023-03-14T21:36:24.662Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-14T21:36:24.662Z] ---> 59504dd5b689 [2023-03-14T21:36:24.662Z] Step 19/24 : EXPOSE 59982 [2023-03-14T21:36:24.662Z] ---> Running in 33b09cdaae2a [2023-03-14T21:36:24.920Z] Removing intermediate container 33b09cdaae2a [2023-03-14T21:36:24.920Z] ---> 81f897e04f77 [2023-03-14T21:36:24.920Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-14T21:36:24.920Z] ---> Running in 88695b7ec44b [2023-03-14T21:36:24.920Z] Removing intermediate container 88695b7ec44b [2023-03-14T21:36:24.920Z] ---> a932ca921a90 [2023-03-14T21:36:24.920Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T21:36:24.920Z] ---> Running in 12d9bc6fec12 [2023-03-14T21:36:24.920Z] Removing intermediate container 12d9bc6fec12 [2023-03-14T21:36:24.920Z] ---> 78cd7b474c3e [2023-03-14T21:36:24.920Z] Step 22/24 : LABEL arch=amd64 [2023-03-14T21:36:24.920Z] ---> Running in cef28e6c027d [2023-03-14T21:36:25.179Z] Removing intermediate container cef28e6c027d [2023-03-14T21:36:25.179Z] ---> afd88bf3971f [2023-03-14T21:36:25.179Z] Step 23/24 : LABEL git_sha=acf7416be20c4c48d49128496e0ddc5545f86c01 [2023-03-14T21:36:25.179Z] ---> Running in dfd1c30fd0c4 [2023-03-14T21:36:25.179Z] Removing intermediate container dfd1c30fd0c4 [2023-03-14T21:36:25.179Z] ---> 047e996432b2 [2023-03-14T21:36:25.179Z] Step 24/24 : LABEL version=0.0.0 [2023-03-14T21:36:25.179Z] ---> Running in fa704e446691 [2023-03-14T21:36:25.179Z] Removing intermediate container fa704e446691 [2023-03-14T21:36:25.179Z] ---> 569a1fc7be28 [2023-03-14T21:36:25.179Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T21:36:25.179Z] Successfully built 569a1fc7be28 [2023-03-14T21:36:25.179Z] 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-14T21:36:26.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:36:26.079Z] [2023-03-14T21:36:26.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:36:26.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:36:26.466Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T21:36:26.467Z] 5eb5b503b376: Pulling fs layer [2023-03-14T21:36:26.467Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T21:36:26.467Z] ec43610c2a17: Pulling fs layer [2023-03-14T21:36:26.467Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T21:36:26.467Z] 33b1e0a273af: Pulling fs layer [2023-03-14T21:36:26.467Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T21:36:26.467Z] 2f39f015ded8: Pulling fs layer [2023-03-14T21:36:26.467Z] 5d3b04190fa2: Waiting [2023-03-14T21:36:26.467Z] 3a2ae6a8a46f: Waiting [2023-03-14T21:36:26.467Z] 33b1e0a273af: Waiting [2023-03-14T21:36:26.467Z] 2f39f015ded8: Waiting [2023-03-14T21:36:26.467Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T21:36:26.467Z] 5c69ac0246d0: Download complete [2023-03-14T21:36:26.467Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T21:36:26.467Z] 3a2ae6a8a46f: Download complete [2023-03-14T21:36:26.467Z] ec43610c2a17: Verifying Checksum [2023-03-14T21:36:26.467Z] ec43610c2a17: Download complete [2023-03-14T21:36:26.725Z] 5d3b04190fa2: Download complete [2023-03-14T21:36:26.725Z] 33b1e0a273af: Verifying Checksum [2023-03-14T21:36:26.725Z] 33b1e0a273af: Download complete [2023-03-14T21:36:26.725Z] 5eb5b503b376: Verifying Checksum [2023-03-14T21:36:26.725Z] 5eb5b503b376: Download complete [2023-03-14T21:36:27.292Z] 2f39f015ded8: Download complete [2023-03-14T21:36:27.857Z] 5eb5b503b376: Pull complete [2023-03-14T21:36:27.857Z] 5c69ac0246d0: Pull complete [2023-03-14T21:36:28.423Z] ec43610c2a17: Pull complete [2023-03-14T21:36:28.423Z] 3a2ae6a8a46f: Pull complete [2023-03-14T21:36:28.682Z] 33b1e0a273af: Pull complete [2023-03-14T21:36:28.682Z] 5d3b04190fa2: Pull complete [2023-03-14T21:36:32.862Z] 2f39f015ded8: Pull complete [2023-03-14T21:36:32.862Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T21:36:32.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:36:32.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:36:33.086Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2023-03-14T21:36:33.115Z] $ 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-527 -v /w/workspace/gexfoundry_device-mqtt-go_PR-527:/w/workspace/gexfoundry_device-mqtt-go_PR-527:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-527@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-14T21:36:36.124Z] $ docker top f72577cdca93bb211efd199e726d1c53db580fb8a02b52a52372dddf9fdb8a7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:36:36.573Z] ---> job-cost.sh [2023-03-14T21:36:36.573Z] lf-activate-venv: SKIPPING [2023-03-14T21:36:36.573Z] INFO: No Stack... [2023-03-14T21:36:36.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T21:36:37.090Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T21:36:37.655Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives/cost.csv [2023-03-14T21:36:37.655Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T21:36:37.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] [2023-03-14T21:36:37.702Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] did not exist. Created. [2023-03-14T21:36:37.703Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T21:36:38.092Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T21:36:38.141Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T21:36:38.166Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T21:36:38.238Z] $ docker stop --time=1 f72577cdca93bb211efd199e726d1c53db580fb8a02b52a52372dddf9fdb8a7e [2023-03-14T21:36:39.399Z] $ docker rm -f --volumes f72577cdca93bb211efd199e726d1c53db580fb8a02b52a52372dddf9fdb8a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T21:36:54.335Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-271 in /w/workspace/gexfoundry_device-mqtt-go_PR-527 [Pipeline] { [Pipeline] ws [2023-03-14T21:36:54.395Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T21:36:54.485Z] Selected Git installation does not exist. Using Default [2023-03-14T21:36:54.486Z] The recommended git tool is: NONE [2023-03-14T21:37:05.060Z] using credential edgex-jenkins-ssh [2023-03-14T21:37:05.079Z] Cloning the remote Git repository [2023-03-14T21:37:05.211Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-14T21:37:05.329Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-14T21:37:05.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-14T21:37:05.616Z] > git --version # timeout=10 [2023-03-14T21:37:05.653Z] > git --version # 'git version 2.25.1' [2023-03-14T21:37:05.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T21:37:05.897Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T21:37:07.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-14T21:37:07.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T21:37:08.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-14T21:37:08.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-14T21:37:08.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T21:37:08.263Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/527/head:refs/remotes/origin/PR-527 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T21:37:08.855Z] Merging remotes/origin/main commit 61add75b1ef191377c59afa20b8ba92f4dc8af4b into PR head commit acf7416be20c4c48d49128496e0ddc5545f86c01 [2023-03-14T21:37:09.148Z] Merge succeeded, producing acf7416be20c4c48d49128496e0ddc5545f86c01 [2023-03-14T21:37:09.148Z] Checking out Revision acf7416be20c4c48d49128496e0ddc5545f86c01 (PR-527) [2023-03-14T21:37:08.873Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T21:37:08.954Z] > git checkout -f acf7416be20c4c48d49128496e0ddc5545f86c01 # timeout=10 [2023-03-14T21:37:09.041Z] > git remote # timeout=10 [2023-03-14T21:37:09.062Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T21:37:09.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T21:37:09.102Z] > git merge 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 [2023-03-14T21:37:09.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T21:37:09.154Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T21:37:09.169Z] > git checkout -f acf7416be20c4c48d49128496e0ddc5545f86c01 # timeout=10 [2023-03-14T21:37:12.651Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [2023-03-14T21:37:12.701Z] > git --version # timeout=10 [2023-03-14T21:37:12.712Z] > git --version # 'git version 2.25.1' [2023-03-14T21:37:12.727Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:37:13.788Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T21:37:13.788Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:37:13.788Z] Dload Upload Total Spent Left Speed [2023-03-14T21:37:13.788Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-03-14T21:37:14.529Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T21:37:14.875Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T21:37:14.875Z] + sudo tee /etc/docker/daemon.new [2023-03-14T21:37:14.875Z] { [2023-03-14T21:37:14.875Z] "registry-mirrors": [ [2023-03-14T21:37:14.875Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T21:37:14.875Z] ], [2023-03-14T21:37:14.875Z] "bip": "10.250.0.254/24", [2023-03-14T21:37:14.875Z] "hosts": [ [2023-03-14T21:37:14.875Z] "tcp://0.0.0.0:5555", [2023-03-14T21:37:14.875Z] "unix:///var/run/docker.sock" [2023-03-14T21:37:14.875Z] ], [2023-03-14T21:37:14.875Z] "mtu": 1458, [2023-03-14T21:37:14.875Z] "selinux-enabled": true, [2023-03-14T21:37:14.875Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T21:37:14.875Z] } [Pipeline] sh [2023-03-14T21:37:15.220Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T21:37:15.571Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:37:33.911Z] provisioning config files... [2023-03-14T21:37:33.939Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7653278830396708953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:37:34.330Z] ---> docker-login.sh [2023-03-14T21:37:34.330Z] nexus3.edgexfoundry.org:10001 [2023-03-14T21:37:34.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:37:34.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:37:34.920Z] Configure a credential helper to remove this warning. See [2023-03-14T21:37:34.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:37:34.920Z] [2023-03-14T21:37:34.920Z] Login Succeeded [2023-03-14T21:37:34.920Z] nexus3.edgexfoundry.org:10002 [2023-03-14T21:37:35.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:37:35.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:37:35.189Z] Configure a credential helper to remove this warning. See [2023-03-14T21:37:35.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:37:35.189Z] [2023-03-14T21:37:35.189Z] Login Succeeded [2023-03-14T21:37:35.189Z] nexus3.edgexfoundry.org:10003 [2023-03-14T21:37:35.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:37:35.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:37:35.730Z] Configure a credential helper to remove this warning. See [2023-03-14T21:37:35.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:37:35.730Z] [2023-03-14T21:37:35.730Z] Login Succeeded [2023-03-14T21:37:35.730Z] nexus3.edgexfoundry.org:10004 [2023-03-14T21:37:36.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:37:36.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:37:36.002Z] Configure a credential helper to remove this warning. See [2023-03-14T21:37:36.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:37:36.002Z] [2023-03-14T21:37:36.002Z] Login Succeeded [2023-03-14T21:37:36.002Z] docker.io [2023-03-14T21:37:36.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T21:37:36.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T21:37:36.538Z] Configure a credential helper to remove this warning. See [2023-03-14T21:37:36.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T21:37:36.538Z] [2023-03-14T21:37:36.538Z] Login Succeeded [2023-03-14T21:37:36.538Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T21:37:36.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T21:37:36.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:37:37.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T21:37:37.058Z] ========================================================= [2023-03-14T21:37:37.058Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T21:37:37.058Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:37:37.641Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T21:37:37.910Z] Sending build context to Docker daemon 3.315MB [2023-03-14T21:37:37.910Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:37:37.910Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T21:37:38.178Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T21:37:38.178Z] af6eaf76a39c: Pulling fs layer [2023-03-14T21:37:38.178Z] 55522c791124: Pulling fs layer [2023-03-14T21:37:38.178Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T21:37:38.178Z] 169dfbe0d373: Pulling fs layer [2023-03-14T21:37:38.178Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T21:37:38.178Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T21:37:38.178Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T21:37:38.178Z] 169dfbe0d373: Waiting [2023-03-14T21:37:38.178Z] e1ff8fa3b103: Waiting [2023-03-14T21:37:38.178Z] 52ebb69f0ebf: Waiting [2023-03-14T21:37:38.178Z] 5abe8eddf0d5: Waiting [2023-03-14T21:37:38.178Z] 55522c791124: Download complete [2023-03-14T21:37:38.178Z] 169dfbe0d373: Verifying Checksum [2023-03-14T21:37:38.178Z] 169dfbe0d373: Download complete [2023-03-14T21:37:38.178Z] e1ff8fa3b103: Download complete [2023-03-14T21:37:38.178Z] af6eaf76a39c: Verifying Checksum [2023-03-14T21:37:38.178Z] af6eaf76a39c: Download complete [2023-03-14T21:37:39.616Z] af6eaf76a39c: Pull complete [2023-03-14T21:37:39.616Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T21:37:39.616Z] 5abe8eddf0d5: Download complete [2023-03-14T21:37:40.210Z] 55522c791124: Pull complete [2023-03-14T21:37:41.179Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T21:37:41.179Z] ce5c4a1c91eb: Download complete [2023-03-14T21:37:41.179Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T21:37:41.179Z] 52ebb69f0ebf: Download complete [2023-03-14T21:37:53.518Z] ce5c4a1c91eb: Pull complete [2023-03-14T21:37:53.518Z] 169dfbe0d373: Pull complete [2023-03-14T21:37:53.518Z] e1ff8fa3b103: Pull complete [2023-03-14T21:37:58.878Z] 52ebb69f0ebf: Pull complete [2023-03-14T21:37:59.854Z] 5abe8eddf0d5: Pull complete [2023-03-14T21:37:59.854Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T21:37:59.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T21:37:59.854Z] ---> 6cb57ee374ae [2023-03-14T21:37:59.854Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:38:01.282Z] ---> Running in 251aedb27b29 [2023-03-14T21:38:01.282Z] Removing intermediate container 251aedb27b29 [2023-03-14T21:38:01.282Z] ---> 173f322393d3 [2023-03-14T21:38:01.282Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:38:01.282Z] ---> Running in cf35c61ef428 [2023-03-14T21:38:01.562Z] Removing intermediate container cf35c61ef428 [2023-03-14T21:38:01.562Z] ---> 7394b2dbda71 [2023-03-14T21:38:01.562Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T21:38:01.830Z] ---> Running in d62b8b1ad5cd [2023-03-14T21:38:02.097Z] Removing intermediate container d62b8b1ad5cd [2023-03-14T21:38:02.097Z] ---> 8c07608c2682 [2023-03-14T21:38:02.097Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T21:38:02.097Z] ---> Running in fcf7cb857761 [2023-03-14T21:38:02.367Z] Removing intermediate container fcf7cb857761 [2023-03-14T21:38:02.367Z] ---> 02d90a633192 [2023-03-14T21:38:02.367Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:38:02.367Z] ---> Running in 72405c022a77 [2023-03-14T21:38:03.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:38:04.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:38:05.006Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T21:38:05.006Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T21:38:05.006Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T21:38:05.275Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T21:38:05.275Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:38:05.275Z] OK: 268 MiB in 57 packages [2023-03-14T21:38:06.237Z] Removing intermediate container 72405c022a77 [2023-03-14T21:38:06.237Z] ---> b6d7199aaa20 [2023-03-14T21:38:06.237Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-14T21:38:06.237Z] ---> Running in 9292f94cc435 [2023-03-14T21:38:06.506Z] Removing intermediate container 9292f94cc435 [2023-03-14T21:38:06.506Z] ---> 8234fe219df8 [2023-03-14T21:38:06.506Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T21:38:07.090Z] ---> 74a457578a5d [2023-03-14T21:38:07.090Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:38:07.090Z] ---> Running in 4219ed51b0f1 [2023-03-14T21:39:14.979Z] Removing intermediate container 4219ed51b0f1 [2023-03-14T21:39:14.979Z] ---> b5b00d736660 [2023-03-14T21:39:14.979Z] Step 11/12 : COPY . . [2023-03-14T21:39:14.979Z] ---> 301e08b195cb [2023-03-14T21:39:14.979Z] Step 12/12 : RUN $MAKE [2023-03-14T21:39:14.979Z] ---> Running in b28d66edb2e6 [2023-03-14T21:39:14.979Z] noop [2023-03-14T21:39:14.979Z] Removing intermediate container b28d66edb2e6 [2023-03-14T21:39:14.979Z] ---> 6b03d21191bc [2023-03-14T21:39:14.979Z] Successfully built 6b03d21191bc [2023-03-14T21:39:14.979Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:39:15.452Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:39:15.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:39:15.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-271 does not seem to be running inside a container [2023-03-14T21:39:15.785Z] $ 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-14T21:39:16.964Z] $ docker top bb71dc8473324b1c62919a54cc416c750498347d11b22274a1090410703ca32a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:39:17.851Z] + go version [2023-03-14T21:39:17.851Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T21:39:17.886Z] $ docker stop --time=1 bb71dc8473324b1c62919a54cc416c750498347d11b22274a1090410703ca32a [2023-03-14T21:39:19.546Z] $ docker rm -f --volumes bb71dc8473324b1c62919a54cc416c750498347d11b22274a1090410703ca32a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:39:20.382Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T21:39:20.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:39:20.655Z] prd-ubuntu20.04-docker-arm64-4c-16g-271 does not seem to be running inside a container [2023-03-14T21:39:20.725Z] $ 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-14T21:39:21.960Z] $ docker top ebc0b9fab39419db441a68a2e590466479752b57146a57ff547f9c48c8c482b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:39:22.837Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T21:39:23.223Z] + make test [2023-03-14T21:39:23.492Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T21:39:55.745Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-14T21:41:47.487Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-14T21:41:47.487Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-14T21:41:47.487Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 22.2% of statements [2023-03-14T21:41:47.487Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T21:41:47.487Z] go vet ./... [2023-03-14T21:42:09.566Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T21:42:09.566Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T21:42:09.566Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T21:42:09.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T21:42:09.630Z] $ docker stop --time=1 ebc0b9fab39419db441a68a2e590466479752b57146a57ff547f9c48c8c482b9 [2023-03-14T21:42:12.342Z] $ docker rm -f --volumes ebc0b9fab39419db441a68a2e590466479752b57146a57ff547f9c48c8c482b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T21:42:13.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T21:42:13.563Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T21:42:14.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T21:42:14.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T21:42:14.961Z] + ls -al . [2023-03-14T21:42:14.961Z] total 176 [2023-03-14T21:42:14.961Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 21:39 . [2023-03-14T21:42:14.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:37 .. [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 21:37 .dockerignore [2023-03-14T21:42:14.961Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:37 .git [2023-03-14T21:42:14.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:37 .github [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 21:37 .gitignore [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:37 .golangci.yml [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 14 21:37 Attribution.txt [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 14 21:37 CHANGELOG.md [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 14 21:37 Dockerfile [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:37 GOVERNANCE.md [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 21:37 Jenkinsfile [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:37 LICENSE [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 14 21:37 Makefile [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 21:37 OWNERS.md [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 14 21:37 README.md [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 21:34 VERSION [2023-03-14T21:42:14.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:37 bin [2023-03-14T21:42:14.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:37 cmd [2023-03-14T21:42:14.961Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 14 21:41 coverage.out [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 14 21:37 go.mod [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 21:37 go.sum [2023-03-14T21:42:14.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:37 internal [2023-03-14T21:42:14.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:37 mock [2023-03-14T21:42:14.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:37 snap [2023-03-14T21:42:14.961Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 14 21:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:42:15.485Z] + 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=acf7416be20c4c48d49128496e0ddc5545f86c01 --label arch=arm64 --label version=0.0.0 . [2023-03-14T21:42:15.836Z] Sending build context to Docker daemon 3.334MB [2023-03-14T21:42:15.836Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T21:42:15.836Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-14T21:42:15.836Z] ---> 6b03d21191bc [2023-03-14T21:42:15.836Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-14T21:42:16.116Z] ---> Running in f8d1c994607a [2023-03-14T21:42:16.393Z] Removing intermediate container f8d1c994607a [2023-03-14T21:42:16.393Z] ---> 951d289a2658 [2023-03-14T21:42:16.393Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T21:42:16.393Z] ---> Running in bcb0129f6d97 [2023-03-14T21:42:16.668Z] Removing intermediate container bcb0129f6d97 [2023-03-14T21:42:16.668Z] ---> 14c8ffd32611 [2023-03-14T21:42:16.668Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T21:42:16.962Z] ---> Running in 727269ff9ca3 [2023-03-14T21:42:17.240Z] Removing intermediate container 727269ff9ca3 [2023-03-14T21:42:17.240Z] ---> 7dc09565b0a2 [2023-03-14T21:42:17.240Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T21:42:17.240Z] ---> Running in f011fbe95001 [2023-03-14T21:42:17.531Z] Removing intermediate container f011fbe95001 [2023-03-14T21:42:17.531Z] ---> 1072aa328117 [2023-03-14T21:42:17.531Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T21:42:17.531Z] ---> Running in 4e52ec99267e [2023-03-14T21:42:18.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:42:19.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:42:20.545Z] OK: 268 MiB in 57 packages [2023-03-14T21:42:21.138Z] Removing intermediate container 4e52ec99267e [2023-03-14T21:42:21.138Z] ---> 12e96d65cbae [2023-03-14T21:42:21.138Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-14T21:42:21.138Z] ---> Running in 7db2a5fef598 [2023-03-14T21:42:21.410Z] Removing intermediate container 7db2a5fef598 [2023-03-14T21:42:21.410Z] ---> 016b1ef7ddc8 [2023-03-14T21:42:21.410Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-14T21:42:22.003Z] ---> cba8850e670d [2023-03-14T21:42:22.003Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T21:42:22.003Z] ---> Running in 38fec533f060 [2023-03-14T21:42:26.275Z] Removing intermediate container 38fec533f060 [2023-03-14T21:42:26.275Z] ---> 16620c029967 [2023-03-14T21:42:26.275Z] Step 11/24 : COPY . . [2023-03-14T21:42:26.866Z] ---> 4ca6d40d9c11 [2023-03-14T21:42:26.866Z] Step 12/24 : RUN $MAKE [2023-03-14T21:42:26.866Z] ---> Running in 870300fcb5bc [2023-03-14T21:42:27.853Z] 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-14T21:44:49.605Z] Removing intermediate container 870300fcb5bc [2023-03-14T21:44:49.605Z] ---> 4703c086d0df [2023-03-14T21:44:49.605Z] Step 13/24 : FROM alpine:3.17 [2023-03-14T21:44:49.605Z] 3.17: Pulling from library/alpine [2023-03-14T21:44:49.605Z] af6eaf76a39c: Already exists [2023-03-14T21:44:49.605Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T21:44:49.605Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T21:44:49.605Z] ---> d74e625d9115 [2023-03-14T21:44:49.605Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-14T21:44:49.605Z] ---> Running in 8f73ac89b3ce [2023-03-14T21:44:49.605Z] Removing intermediate container 8f73ac89b3ce [2023-03-14T21:44:49.605Z] ---> 37124c56e7c7 [2023-03-14T21:44:49.605Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-14T21:44:49.605Z] ---> Running in 5f93f5916e07 [2023-03-14T21:44:49.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T21:44:49.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T21:44:49.605Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-14T21:44:49.605Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T21:44:49.605Z] OK: 8 MiB in 16 packages [2023-03-14T21:44:49.605Z] Removing intermediate container 5f93f5916e07 [2023-03-14T21:44:49.605Z] ---> ba0adb6e0ecf [2023-03-14T21:44:49.605Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-14T21:44:49.605Z] ---> 65b51d3460b1 [2023-03-14T21:44:49.605Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-14T21:44:49.605Z] ---> b6f9e906d247 [2023-03-14T21:44:49.605Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-14T21:44:49.605Z] ---> 6e890d22a780 [2023-03-14T21:44:49.605Z] Step 19/24 : EXPOSE 59982 [2023-03-14T21:44:49.605Z] ---> Running in 9a7de3011d8e [2023-03-14T21:44:49.605Z] Removing intermediate container 9a7de3011d8e [2023-03-14T21:44:49.605Z] ---> 021f3d7ca834 [2023-03-14T21:44:49.605Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-14T21:44:49.605Z] ---> Running in cdff0f3ac188 [2023-03-14T21:44:49.605Z] Removing intermediate container cdff0f3ac188 [2023-03-14T21:44:49.605Z] ---> f9ebdc798307 [2023-03-14T21:44:49.605Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T21:44:49.605Z] ---> Running in 049dfca27199 [2023-03-14T21:44:49.605Z] Removing intermediate container 049dfca27199 [2023-03-14T21:44:49.605Z] ---> d86b545a9601 [2023-03-14T21:44:49.605Z] Step 22/24 : LABEL arch=arm64 [2023-03-14T21:44:49.605Z] ---> Running in 3944a04b51cb [2023-03-14T21:44:49.605Z] Removing intermediate container 3944a04b51cb [2023-03-14T21:44:49.605Z] ---> 02c7625cecfb [2023-03-14T21:44:49.605Z] Step 23/24 : LABEL git_sha=acf7416be20c4c48d49128496e0ddc5545f86c01 [2023-03-14T21:44:49.605Z] ---> Running in 3e7c31fb7407 [2023-03-14T21:44:49.605Z] Removing intermediate container 3e7c31fb7407 [2023-03-14T21:44:49.605Z] ---> a318084bdbb3 [2023-03-14T21:44:49.605Z] Step 24/24 : LABEL version=0.0.0 [2023-03-14T21:44:49.605Z] ---> Running in 61509cc36927 [2023-03-14T21:44:49.605Z] Removing intermediate container 61509cc36927 [2023-03-14T21:44:49.605Z] ---> bfce8e9bfba4 [2023-03-14T21:44:49.605Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T21:44:49.605Z] Successfully built bfce8e9bfba4 [2023-03-14T21:44:49.605Z] 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-14T21:44:50.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:44:50.384Z] [2023-03-14T21:44:50.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:44:50.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:44:50.782Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T21:44:50.782Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T21:44:50.782Z] 04944245beec: Pulling fs layer [2023-03-14T21:44:50.782Z] 699f458cf7ca: Pulling fs layer [2023-03-14T21:44:50.782Z] 765212b225bb: Pulling fs layer [2023-03-14T21:44:50.782Z] f23df028b6ca: Pulling fs layer [2023-03-14T21:44:50.782Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T21:44:50.782Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T21:44:50.782Z] 765212b225bb: Waiting [2023-03-14T21:44:50.782Z] d65c8cfc05b1: Waiting [2023-03-14T21:44:50.782Z] f23df028b6ca: Waiting [2023-03-14T21:44:50.782Z] 2437ff75d9bd: Waiting [2023-03-14T21:44:51.049Z] 04944245beec: Verifying Checksum [2023-03-14T21:44:51.049Z] 04944245beec: Download complete [2023-03-14T21:44:51.049Z] 765212b225bb: Verifying Checksum [2023-03-14T21:44:51.049Z] 765212b225bb: Download complete [2023-03-14T21:44:51.049Z] f23df028b6ca: Verifying Checksum [2023-03-14T21:44:51.049Z] f23df028b6ca: Download complete [2023-03-14T21:44:51.049Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T21:44:51.049Z] d65c8cfc05b1: Download complete [2023-03-14T21:44:51.049Z] 699f458cf7ca: Verifying Checksum [2023-03-14T21:44:51.049Z] 699f458cf7ca: Download complete [2023-03-14T21:44:51.631Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T21:44:51.631Z] 8998bd30e6a1: Download complete [2023-03-14T21:44:53.573Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T21:44:53.573Z] 2437ff75d9bd: Download complete [2023-03-14T21:44:54.983Z] 8998bd30e6a1: Pull complete [2023-03-14T21:44:55.569Z] 04944245beec: Pull complete [2023-03-14T21:44:56.526Z] 699f458cf7ca: Pull complete [2023-03-14T21:44:56.793Z] 765212b225bb: Pull complete [2023-03-14T21:44:57.752Z] f23df028b6ca: Pull complete [2023-03-14T21:44:57.752Z] d65c8cfc05b1: Pull complete [2023-03-14T21:45:10.045Z] 2437ff75d9bd: Pull complete [2023-03-14T21:45:10.045Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T21:45:10.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T21:45:10.045Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:45:10.367Z] prd-ubuntu20.04-docker-arm64-4c-16g-271 does not seem to be running inside a container [2023-03-14T21:45:10.433Z] $ 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-14T21:45:13.073Z] $ docker top 03ba56481452fb6953fe70a1b617a6fe23e8a9dda259f17142386baea089c9d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:13.667Z] ---> job-cost.sh [2023-03-14T21:45:13.936Z] lf-activate-venv: SKIPPING [2023-03-14T21:45:13.936Z] INFO: No Stack... [2023-03-14T21:45:14.522Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T21:45:15.101Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T21:45:15.441Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-14T21:45:15.713Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T21:45:15.812Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] [2023-03-14T21:45:15.820Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] did not exist. Created. [2023-03-14T21:45:15.820Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T21:45:16.546Z] /w/workspace/device-mqtt-go/1@tmp/durable-81dd8fb5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T21:45:16.907Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T21:45:16.942Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T21:45:16.992Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T21:45:17.009Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-527-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T21:45:17.085Z] $ docker stop --time=1 03ba56481452fb6953fe70a1b617a6fe23e8a9dda259f17142386baea089c9d2 [2023-03-14T21:45:18.638Z] $ docker rm -f --volumes 03ba56481452fb6953fe70a1b617a6fe23e8a9dda259f17142386baea089c9d2 [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-14T21:45:19.773Z] provisioning config files... [2023-03-14T21:45:19.780Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/config9968746832887089637tmp [Pipeline] { [Pipeline] sh [2023-03-14T21:45:20.124Z] + set +x [2023-03-14T21:45:20.124Z] + curl -s https://codecov.io/bash [2023-03-14T21:45:20.124Z] + bash -s -- [2023-03-14T21:45:20.124Z] [2023-03-14T21:45:20.124Z] _____ _ [2023-03-14T21:45:20.124Z] / ____| | | [2023-03-14T21:45:20.124Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T21:45:20.124Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T21:45:20.124Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T21:45:20.124Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T21:45:20.124Z] Bash-1.0.6 [2023-03-14T21:45:20.124Z] [2023-03-14T21:45:20.124Z] [2023-03-14T21:45:20.124Z] ==> git version 2.25.1 found [2023-03-14T21:45:20.124Z] ==> 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-14T21:45:20.124Z] Release-Date: 2020-01-08 [2023-03-14T21:45:20.124Z] 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-14T21:45:20.124Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T21:45:20.124Z] ==> Jenkins CI detected. [2023-03-14T21:45:20.124Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-527 [2023-03-14T21:45:20.124Z] project root: . [2023-03-14T21:45:20.124Z] --> token set from env [2023-03-14T21:45:20.124Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T21:45:20.124Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T21:45:20.124Z] ==> Python coveragepy not found [2023-03-14T21:45:20.124Z] ==> Searching for coverage reports in: [2023-03-14T21:45:20.124Z] + . [2023-03-14T21:45:20.124Z] -> Found 1 reports [2023-03-14T21:45:20.124Z] ==> Detecting git/mercurial file structure [2023-03-14T21:45:20.124Z] ==> Reading reports [2023-03-14T21:45:20.124Z] + ./coverage.out bytes=18047 [2023-03-14T21:45:20.124Z] ==> Appending adjustments [2023-03-14T21:45:20.124Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T21:45:20.384Z] + Found adjustments [2023-03-14T21:45:20.384Z] ==> Gzipping contents [2023-03-14T21:45:20.384Z] 4.0K /tmp/codecov.kjhmnp.gz [2023-03-14T21:45:20.384Z] ==> Uploading reports [2023-03-14T21:45:20.384Z] url: https://codecov.io [2023-03-14T21:45:20.384Z] query: branch=PR-527&commit=acf7416be20c4c48d49128496e0ddc5545f86c01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-527%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=527&job=&cmd_args= [2023-03-14T21:45:20.384Z] -> Pinging Codecov [2023-03-14T21:45:20.384Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-527&commit=acf7416be20c4c48d49128496e0ddc5545f86c01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-527%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=527&job=&cmd_args= [2023-03-14T21:45:20.384Z] -> Uploading to [2023-03-14T21:45:20.384Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7D719EC7BBE17E464838252E33014C33/acf7416be20c4c48d49128496e0ddc5545f86c01/92d5b590-1257-49e1-8a7d-81cb317a868f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T214520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ff66035e2b2cabb79cfedb342b455a9beb9101b2f0f74a813a6ccbb5334654d [2023-03-14T21:45:20.644Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T21:45:20.644Z] Dload Upload Total Spent Left Speed [2023-03-14T21:45:20.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 15512 --:--:-- --:--:-- --:--:-- 15436 100 3149 0 0 100 3149 0 12111 --:--:-- --:--:-- --:--:-- 12065 [2023-03-14T21:45:20.903Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/acf7416be20c4c48d49128496e0ddc5545f86c01 [Pipeline] } [2023-03-14T21:45:20.934Z] 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-14T21:45:22.707Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives ] [2023-03-14T21:45:22.707Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives [2023-03-14T21:45:22.707Z] total 16 [2023-03-14T21:45:22.707Z] drwxr-xr-x 3 root root 4096 Mar 14 21:36 . [2023-03-14T21:45:22.707Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 21:36 .. [2023-03-14T21:45:22.707Z] drwxr-xr-x 2 root root 4096 Mar 14 21:36 cost [2023-03-14T21:45:22.707Z] -rw-r--r-- 1 root root 86 Mar 14 21:36 cost.csv [2023-03-14T21:45:22.707Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives [2023-03-14T21:45:22.707Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives [2023-03-14T21:45:22.707Z] total 16 [2023-03-14T21:45:22.707Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 21:36 . [2023-03-14T21:45:22.707Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 21:36 .. [2023-03-14T21:45:22.707Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 21:36 cost [2023-03-14T21:45:22.707Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 21:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:23.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:23.914Z] ---> package-listing.sh [2023-03-14T21:45:23.914Z] ++ facter osfamily [2023-03-14T21:45:23.914Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T21:45:24.173Z] + OS_FAMILY=debian [2023-03-14T21:45:24.173Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-527 [2023-03-14T21:45:24.173Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T21:45:24.173Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T21:45:24.173Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T21:45:24.173Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T21:45:24.173Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-527 ']' [2023-03-14T21:45:24.173Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T21:45:24.173Z] + case "${OS_FAMILY}" in [2023-03-14T21:45:24.173Z] + dpkg -l [2023-03-14T21:45:24.173Z] + grep '^ii' [2023-03-14T21:45:24.173Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T21:45:24.173Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T21:45:24.173Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T21:45:24.173Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-527 ']' [2023-03-14T21:45:24.173Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives/ [2023-03-14T21:45:24.173Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-527/archives/ [Pipeline] echo [2023-03-14T21:45:24.207Z] 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-527/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T21:45:24.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T21:45:25.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T21:45:25.110Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T21:45:25.242Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2023-03-14T21:45:25.277Z] $ 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-527/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-527 -v /w/workspace/gexfoundry_device-mqtt-go_PR-527:/w/workspace/gexfoundry_device-mqtt-go_PR-527:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-527@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-14T21:45:25.450Z] $ docker top 550f34f2e67efebdd21cc8412ae4d5a26ebc0db24bc7cebdc4b1c93053118fb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T21:45:25.829Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T21:45:26.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T21:45:26.437Z] + ls /var/log/sa-host [2023-03-14T21:45:26.437Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T21:45:26.652Z] provisioning config files... [2023-03-14T21:45:26.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-527@tmp/config1990877303577023109tmp [Pipeline] { [Pipeline] echo [2023-03-14T21:45:26.712Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:27.022Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T21:45:27.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:27.461Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T21:45:27.491Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:27.801Z] ---> sudo-logs.sh [2023-03-14T21:45:27.801Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T21:45:27.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:28.190Z] ---> job-cost.sh [2023-03-14T21:45:28.190Z] lf-activate-venv: SKIPPING [2023-03-14T21:45:28.190Z] DEBUG: total: 0.2199999988079071 [2023-03-14T21:45:28.190Z] INFO: Retrieving Stack Cost... [2023-03-14T21:45:28.756Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T21:45:29.016Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T21:45:29.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T21:45:29.365Z] ---> logs-deploy.sh [2023-03-14T21:45:29.365Z] lf-activate-venv: SKIPPING [2023-03-14T21:45:29.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-527/1 [2023-03-14T21:45:29.365Z] INFO: archiving workspace using pattern(s): [2023-03-14T21:45:30.300Z] Archives upload complete. [2023-03-14T21:45:30.300Z] INFO: archiving logs to Nexus