Pull request #525 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db0ca016d9d7e4adc04484fef343996d4654bed5+14341be0e00f90cb93f09a8fe34181eba0d3b045 (5cfef24ef59f3e825e9126d801e40d211acdac0e) 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-ssh4667695310695173852.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-ssh12996746256222125140.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-525/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-525/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9676923506557012511.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-525/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7296277891513566803.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-ssh17795522618203170263.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-525/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-525/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15038207566124448844.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-36 in /w/workspace/gexfoundry_device-mqtt-go_PR-525 [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-525 # 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 14341be0e00f90cb93f09a8fe34181eba0d3b045 into PR head commit db0ca016d9d7e4adc04484fef343996d4654bed5 > 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/525/head:refs/remotes/origin/PR-525 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db0ca016d9d7e4adc04484fef343996d4654bed5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing db0ca016d9d7e4adc04484fef343996d4654bed5 Checking out Revision db0ca016d9d7e4adc04484fef343996d4654bed5 (PR-525) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 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-14T01:59:32.513Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T01:59:32.678Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T01:59:32.772Z] ========================================================= [2023-03-14T01:59:32.772Z] EdgeX Global Pipelines Version Info [2023-03-14T01:59:32.772Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db0ca016d9d7e4adc04484fef343996d4654bed5 # timeout=10 [2023-03-14T01:59:33.530Z] ------------------- [2023-03-14T01:59:33.530Z] stable info: [2023-03-14T01:59:33.530Z] ------------------- [2023-03-14T01:59:33.530Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T01:59:33.530Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T01:59:33.530Z] Message: update stable to v1.0.245 [2023-03-14T01:59:34.100Z] ------------------- [2023-03-14T01:59:34.100Z] experimental info: [2023-03-14T01:59:34.100Z] ------------------- [2023-03-14T01:59:34.100Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T01:59:34.100Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T01:59:34.100Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T01:59:34.404Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-14T01:59:34.445Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-14T01:59:34.482Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T01:59:34.518Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T01:59:34.555Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T01:59:34.592Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T01:59:34.630Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T01:59:34.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-14T01:59:34.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T01:59:34.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T01:59:34.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T01:59:34.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-14T01:59:34.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T01:59:34.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T01:59:34.935Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T01:59:34.974Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T01:59:35.014Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T01:59:35.066Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T01:59:35.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T01:59:35.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T01:59:35.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-14T01:59:35.235Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-14T01:59:35.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T01:59:35.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T01:59:35.357Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T01:59:35.396Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T01:59:35.435Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T01:59:35.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-525 [Pipeline] echo [2023-03-14T01:59:35.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-525 [Pipeline] echo [2023-03-14T01:59:35.566Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-525 [Pipeline] echo [2023-03-14T01:59:35.611Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db0ca016d9d7e4adc04484fef343996d4654bed5 [Pipeline] echo [2023-03-14T01:59:35.659Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db0ca01 [Pipeline] echo [2023-03-14T01:59:35.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T01:59:35.808Z] provisioning config files... [2023-03-14T01:59:35.828Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/config12959448795686454323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T01:59:36.169Z] ---> docker-login.sh [2023-03-14T01:59:36.169Z] nexus3.edgexfoundry.org:10001 [2023-03-14T01:59:36.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:36.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:36.430Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:36.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:36.430Z] [2023-03-14T01:59:36.430Z] Login Succeeded [2023-03-14T01:59:36.430Z] nexus3.edgexfoundry.org:10002 [2023-03-14T01:59:36.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:36.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:36.689Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:36.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:36.689Z] [2023-03-14T01:59:36.689Z] Login Succeeded [2023-03-14T01:59:36.689Z] nexus3.edgexfoundry.org:10003 [2023-03-14T01:59:36.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:36.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:36.689Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:36.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:36.689Z] [2023-03-14T01:59:36.689Z] Login Succeeded [2023-03-14T01:59:36.689Z] nexus3.edgexfoundry.org:10004 [2023-03-14T01:59:36.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:36.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:36.950Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:36.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:36.950Z] [2023-03-14T01:59:36.950Z] Login Succeeded [2023-03-14T01:59:36.950Z] docker.io [2023-03-14T01:59:36.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:37.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:37.212Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:37.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:37.212Z] [2023-03-14T01:59:37.212Z] Login Succeeded [2023-03-14T01:59:37.212Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T01:59:37.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T01:59:37.849Z] + git rev-list -1 --merges db0ca016d9d7e4adc04484fef343996d4654bed5~1..db0ca016d9d7e4adc04484fef343996d4654bed5 [Pipeline] echo [2023-03-14T01:59:37.911Z] -----------> git rev-list -1 --merges db0ca016d9d7e4adc04484fef343996d4654bed5~1..db0ca016d9d7e4adc04484fef343996d4654bed5 db0ca016d9d7e4adc04484fef343996d4654bed5 [false] [Pipeline] sh [2023-03-14T01:59:38.222Z] + git log --format=format:%s -1 db0ca016d9d7e4adc04484fef343996d4654bed5 [Pipeline] echo [2023-03-14T01:59:38.256Z] ========================================================= [2023-03-14T01:59:38.256Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T01:59:38.256Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T01:59:38.668Z] + git log --format=format:%s -1 db0ca016d9d7e4adc04484fef343996d4654bed5 [Pipeline] echo [2023-03-14T01:59:38.699Z] [semverPrep] GIT_COMMIT: db0ca016d9d7e4adc04484fef343996d4654bed5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-14T01:59:38.725Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T01:59:39.088Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T01:59:39.088Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T01:59:39.088Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T01:59:39.088Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T01:59:39.088Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T01:59:39.088Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T01:59:39.088Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T01:59:39.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T01:59:39.509Z] [2023-03-14T01:59:39.509Z] 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-14T01:59:39.880Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T01:59:39.880Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T01:59:39.880Z] b85a868b505f: Pulling fs layer [2023-03-14T01:59:39.880Z] e2be974225ed: Pulling fs layer [2023-03-14T01:59:39.880Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T01:59:39.880Z] 988bab9f4d93: Pulling fs layer [2023-03-14T01:59:39.880Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T01:59:39.880Z] eaf3925da568: Pulling fs layer [2023-03-14T01:59:39.880Z] bab4dde63d76: Pulling fs layer [2023-03-14T01:59:39.880Z] bde34c3a00c8: Pulling fs layer [2023-03-14T01:59:39.880Z] b352a97aabf1: Pulling fs layer [2023-03-14T01:59:39.880Z] 4872d77fe225: Pulling fs layer [2023-03-14T01:59:39.880Z] 5851b861e8e6: Pulling fs layer [2023-03-14T01:59:39.880Z] 988bab9f4d93: Waiting [2023-03-14T01:59:39.880Z] eaf3925da568: Waiting [2023-03-14T01:59:39.880Z] bab4dde63d76: Waiting [2023-03-14T01:59:39.880Z] b352a97aabf1: Waiting [2023-03-14T01:59:39.880Z] bde34c3a00c8: Waiting [2023-03-14T01:59:39.880Z] 4872d77fe225: Waiting [2023-03-14T01:59:39.880Z] 5851b861e8e6: Waiting [2023-03-14T01:59:39.880Z] 1469e6f7b9e6: Waiting [2023-03-14T01:59:39.880Z] e2be974225ed: Verifying Checksum [2023-03-14T01:59:39.880Z] e2be974225ed: Download complete [2023-03-14T01:59:39.880Z] 988bab9f4d93: Verifying Checksum [2023-03-14T01:59:39.880Z] 988bab9f4d93: Download complete [2023-03-14T01:59:40.141Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T01:59:40.141Z] 339a4e72a1f5: Download complete [2023-03-14T01:59:40.141Z] eaf3925da568: Verifying Checksum [2023-03-14T01:59:40.141Z] eaf3925da568: Download complete [2023-03-14T01:59:40.141Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T01:59:40.141Z] 1469e6f7b9e6: Download complete [2023-03-14T01:59:40.141Z] bde34c3a00c8: Verifying Checksum [2023-03-14T01:59:40.141Z] bde34c3a00c8: Download complete [2023-03-14T01:59:40.141Z] b352a97aabf1: Verifying Checksum [2023-03-14T01:59:40.141Z] b352a97aabf1: Download complete [2023-03-14T01:59:40.141Z] 4872d77fe225: Verifying Checksum [2023-03-14T01:59:40.141Z] 4872d77fe225: Download complete [2023-03-14T01:59:40.141Z] 5851b861e8e6: Download complete [2023-03-14T01:59:40.141Z] b85a868b505f: Download complete [2023-03-14T01:59:40.708Z] bab4dde63d76: Download complete [2023-03-14T01:59:41.647Z] b85a868b505f: Pull complete [2023-03-14T01:59:41.647Z] e2be974225ed: Pull complete [2023-03-14T01:59:42.214Z] 339a4e72a1f5: Pull complete [2023-03-14T01:59:42.214Z] 988bab9f4d93: Pull complete [2023-03-14T01:59:42.475Z] 1469e6f7b9e6: Pull complete [2023-03-14T01:59:42.475Z] eaf3925da568: Pull complete [2023-03-14T01:59:44.382Z] bab4dde63d76: Pull complete [2023-03-14T01:59:44.382Z] bde34c3a00c8: Pull complete [2023-03-14T01:59:44.642Z] b352a97aabf1: Pull complete [2023-03-14T01:59:44.642Z] 4872d77fe225: Pull complete [2023-03-14T01:59:44.900Z] 5851b861e8e6: Pull complete [2023-03-14T01:59:44.900Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T01:59:44.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T01:59:44.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T01:59:45.139Z] prd-ubuntu20.04-docker-8c-8g-36 does not seem to be running inside a container [2023-03-14T01:59:45.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-525 -v /w/workspace/gexfoundry_device-mqtt-go_PR-525:/w/workspace/gexfoundry_device-mqtt-go_PR-525:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-525@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T01:59:46.531Z] $ docker top 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b -eo pid,comm [2023-03-14T01:59:46.586Z] 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-14T01:59:46.586Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T01:59:46.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T01:59:46.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T01:59:46.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T01:59:46.841Z] $ docker exec 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b ssh-agent [2023-03-14T01:59:46.951Z] SSH_AUTH_SOCK=/tmp/ssh-j064OlDOZSrO/agent.32 [2023-03-14T01:59:46.951Z] SSH_AGENT_PID=38 [2023-03-14T01:59:46.958Z] Running ssh-add (command line suppressed) [2023-03-14T01:59:47.061Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/private_key_4018138122322907525.key (/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/private_key_4018138122322907525.key) [2023-03-14T01:59:47.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T01:59:47.406Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T01:59:47.433Z] $ docker exec --env ******** --env ******** 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b ssh-agent -k [2023-03-14T01:59:47.527Z] unset SSH_AUTH_SOCK; [2023-03-14T01:59:47.527Z] unset SSH_AGENT_PID; [2023-03-14T01:59:47.528Z] echo Agent pid 38 killed; [2023-03-14T01:59:47.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T01:59:47.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T01:59:47.628Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T01:59:47.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T01:59:47.752Z] $ docker exec 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b ssh-agent [2023-03-14T01:59:47.858Z] SSH_AUTH_SOCK=/tmp/ssh-4yqdQJBNaSme/agent.70 [2023-03-14T01:59:47.858Z] SSH_AGENT_PID=76 [2023-03-14T01:59:47.863Z] Running ssh-add (command line suppressed) [2023-03-14T01:59:47.979Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/private_key_9445043696995228274.key (/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/private_key_9445043696995228274.key) [2023-03-14T01:59:47.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T01:59:48.322Z] + git semver init [2023-03-14T01:59:48.583Z] 2023-03-14 01:59:48,503 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T01:59:48.583Z] 2023-03-14 01:59:48,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver [2023-03-14T01:59:48.583Z] 2023-03-14 01:59:48,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver [2023-03-14T01:59:48.583Z] 2023-03-14 01:59:48,504 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-525, universal_newlines=False, shell=None, istream=None) [2023-03-14T01:59:49.519Z] 2023-03-14 01:59:49,277 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-525/.git/info/exclude [2023-03-14T01:59:49.519Z] 2023-03-14 01:59:49,278 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver/PR-525 with force:False [2023-03-14T01:59:49.519Z] 2023-03-14 01:59:49,278 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver/PR-525 [2023-03-14T01:59:49.519Z] 2023-03-14 01:59:49,283 [execute] INFO git cat-file --batch-check [2023-03-14T01:59:49.519Z] 2023-03-14 01:59:49,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T01:59:49.520Z] 2023-03-14 01:59:49,290 [execute] INFO git cat-file --batch [2023-03-14T01:59:49.520Z] 2023-03-14 01:59:49,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T01:59:49.520Z] 2023-03-14 01:59:49,296 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-525/.semver/PR-525 [2023-03-14T01:59:49.520Z] 0.0.0 [Pipeline] } [2023-03-14T01:59:49.547Z] $ docker exec --env ******** --env ******** 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b ssh-agent -k [2023-03-14T01:59:49.652Z] unset SSH_AUTH_SOCK; [2023-03-14T01:59:49.652Z] unset SSH_AGENT_PID; [2023-03-14T01:59:49.652Z] echo Agent pid 76 killed; [2023-03-14T01:59:49.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T01:59:50.084Z] + git semver [Pipeline] } [2023-03-14T01:59:50.368Z] $ docker stop --time=1 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b [2023-03-14T01:59:51.660Z] $ docker rm -f --volumes 9bb690e325c6ce16be4261540fbbf756d8bcede4b90fa2ade7373658fc4b450b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T01:59:52.063Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T01:59:52.319Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T01:59:52.336Z] [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-14T01:59:53.030Z] provisioning config files... [2023-03-14T01:59:53.041Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/config9562938150003189404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T01:59:53.389Z] ---> docker-login.sh [2023-03-14T01:59:53.389Z] nexus3.edgexfoundry.org:10001 [2023-03-14T01:59:53.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:53.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:53.389Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:53.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:53.389Z] [2023-03-14T01:59:53.389Z] Login Succeeded [2023-03-14T01:59:53.389Z] nexus3.edgexfoundry.org:10002 [2023-03-14T01:59:53.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:53.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:53.389Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:53.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:53.389Z] [2023-03-14T01:59:53.389Z] Login Succeeded [2023-03-14T01:59:53.649Z] nexus3.edgexfoundry.org:10003 [2023-03-14T01:59:53.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:53.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:53.649Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:53.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:53.649Z] [2023-03-14T01:59:53.649Z] Login Succeeded [2023-03-14T01:59:53.649Z] nexus3.edgexfoundry.org:10004 [2023-03-14T01:59:53.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:53.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:53.649Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:53.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:53.649Z] [2023-03-14T01:59:53.649Z] Login Succeeded [2023-03-14T01:59:53.649Z] docker.io [2023-03-14T01:59:53.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T01:59:53.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T01:59:53.909Z] Configure a credential helper to remove this warning. See [2023-03-14T01:59:53.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T01:59:53.909Z] [2023-03-14T01:59:53.909Z] Login Succeeded [2023-03-14T01:59:53.909Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T01:59:53.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T01:59:54.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T01:59:54.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T01:59:54.192Z] ========================================================= [2023-03-14T01:59:54.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T01:59:54.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T01:59:54.658Z] + 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-14T01:59:54.658Z] Sending build context to Docker daemon 6.356MB [2023-03-14T01:59:54.658Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T01:59:54.658Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T01:59:54.658Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T01:59:54.658Z] 63b65145d645: Pulling fs layer [2023-03-14T01:59:54.658Z] a2d21d5440eb: Pulling fs layer [2023-03-14T01:59:54.658Z] 935e6c44a52c: Pulling fs layer [2023-03-14T01:59:54.658Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T01:59:54.658Z] 30dea6a524f1: Pulling fs layer [2023-03-14T01:59:54.658Z] a2aff8979fd8: Pulling fs layer [2023-03-14T01:59:54.658Z] 6808be2612f2: Pulling fs layer [2023-03-14T01:59:54.658Z] f25807f1079a: Pulling fs layer [2023-03-14T01:59:54.658Z] 30dea6a524f1: Waiting [2023-03-14T01:59:54.658Z] a2aff8979fd8: Waiting [2023-03-14T01:59:54.658Z] 6808be2612f2: Waiting [2023-03-14T01:59:54.658Z] f25807f1079a: Waiting [2023-03-14T01:59:54.658Z] 94cc34f8dd06: Waiting [2023-03-14T01:59:54.658Z] a2d21d5440eb: Verifying Checksum [2023-03-14T01:59:54.658Z] a2d21d5440eb: Download complete [2023-03-14T01:59:54.658Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T01:59:54.658Z] 94cc34f8dd06: Download complete [2023-03-14T01:59:54.918Z] 30dea6a524f1: Verifying Checksum [2023-03-14T01:59:54.918Z] 30dea6a524f1: Download complete [2023-03-14T01:59:54.918Z] 63b65145d645: Download complete [2023-03-14T01:59:54.918Z] a2aff8979fd8: Verifying Checksum [2023-03-14T01:59:54.918Z] a2aff8979fd8: Download complete [2023-03-14T01:59:54.918Z] 63b65145d645: Pull complete [2023-03-14T01:59:55.184Z] a2d21d5440eb: Pull complete [2023-03-14T01:59:55.452Z] f25807f1079a: Download complete [2023-03-14T01:59:55.452Z] 935e6c44a52c: Download complete [2023-03-14T01:59:55.712Z] 6808be2612f2: Verifying Checksum [2023-03-14T01:59:55.712Z] 6808be2612f2: Download complete [2023-03-14T01:59:59.000Z] 935e6c44a52c: Pull complete [2023-03-14T01:59:59.000Z] 94cc34f8dd06: Pull complete [2023-03-14T01:59:59.258Z] 30dea6a524f1: Pull complete [2023-03-14T01:59:59.258Z] a2aff8979fd8: Pull complete [2023-03-14T02:00:01.807Z] 6808be2612f2: Pull complete [2023-03-14T02:00:02.380Z] f25807f1079a: Pull complete [2023-03-14T02:00:02.380Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T02:00:02.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T02:00:02.642Z] ---> 3b553350e43f [2023-03-14T02:00:02.642Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T02:00:04.029Z] ---> Running in ba072f16395f [2023-03-14T02:00:04.029Z] Removing intermediate container ba072f16395f [2023-03-14T02:00:04.029Z] ---> 92090a27a709 [2023-03-14T02:00:04.029Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T02:00:04.289Z] ---> Running in 3d0a11a83b4e [2023-03-14T02:00:04.289Z] Removing intermediate container 3d0a11a83b4e [2023-03-14T02:00:04.289Z] ---> 0b57d4962e87 [2023-03-14T02:00:04.289Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T02:00:04.289Z] ---> Running in 4b333cb5ac9d [2023-03-14T02:00:04.289Z] Removing intermediate container 4b333cb5ac9d [2023-03-14T02:00:04.289Z] ---> 2334ec179d2a [2023-03-14T02:00:04.289Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T02:00:04.548Z] ---> Running in 6099fa2c192d [2023-03-14T02:00:04.548Z] Removing intermediate container 6099fa2c192d [2023-03-14T02:00:04.548Z] ---> 916078670490 [2023-03-14T02:00:04.548Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T02:00:04.548Z] ---> Running in 1781d2408581 [2023-03-14T02:00:04.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T02:00:05.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T02:00:05.326Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T02:00:05.326Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T02:00:05.326Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T02:00:05.326Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T02:00:05.326Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T02:00:05.326Z] OK: 269 MiB in 57 packages [2023-03-14T02:00:05.893Z] Removing intermediate container 1781d2408581 [2023-03-14T02:00:05.893Z] ---> a82c52369564 [2023-03-14T02:00:05.893Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-14T02:00:05.893Z] ---> Running in 45927b14dc48 [2023-03-14T02:00:05.893Z] Removing intermediate container 45927b14dc48 [2023-03-14T02:00:05.893Z] ---> 02064d932f3a [2023-03-14T02:00:05.893Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T02:00:05.893Z] ---> 2f0b925501d3 [2023-03-14T02:00:05.893Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T02:00:05.893Z] ---> Running in 64b765496847 [2023-03-14T02:00:07.733Z] Still waiting to schedule task [2023-03-14T02:00:07.733Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-37’ is offline [2023-03-14T02:00:27.843Z] Removing intermediate container 64b765496847 [2023-03-14T02:00:27.844Z] ---> 51f9d91aba56 [2023-03-14T02:00:27.844Z] Step 11/12 : COPY . . [2023-03-14T02:00:27.844Z] ---> 4217d03a9b31 [2023-03-14T02:00:27.844Z] Step 12/12 : RUN $MAKE [2023-03-14T02:00:27.844Z] ---> Running in 0c585b7a9724 [2023-03-14T02:00:27.844Z] noop [2023-03-14T02:00:27.844Z] Removing intermediate container 0c585b7a9724 [2023-03-14T02:00:27.844Z] ---> 37605ce95ef6 [2023-03-14T02:00:27.844Z] Successfully built 37605ce95ef6 [2023-03-14T02:00:27.844Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:00:28.287Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T02:00:28.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:00:28.427Z] prd-ubuntu20.04-docker-8c-8g-36 does not seem to be running inside a container [2023-03-14T02:00:28.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-525 -v /w/workspace/gexfoundry_device-mqtt-go_PR-525:/w/workspace/gexfoundry_device-mqtt-go_PR-525:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-525@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 ******** ci-base-image-x86_64 cat [2023-03-14T02:00:28.822Z] $ docker top 803f0c1b5ba0b53325213616b9ba1e3cfc75a88f4d7069ef9e48d4b799cdab3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T02:00:29.222Z] + go version [2023-03-14T02:00:29.222Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T02:00:29.256Z] $ docker stop --time=1 803f0c1b5ba0b53325213616b9ba1e3cfc75a88f4d7069ef9e48d4b799cdab3d [2023-03-14T02:00:30.520Z] $ docker rm -f --volumes 803f0c1b5ba0b53325213616b9ba1e3cfc75a88f4d7069ef9e48d4b799cdab3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:00:31.240Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T02:00:31.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:00:31.418Z] prd-ubuntu20.04-docker-8c-8g-36 does not seem to be running inside a container [2023-03-14T02:00:31.446Z] $ 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-525 -v /w/workspace/gexfoundry_device-mqtt-go_PR-525:/w/workspace/gexfoundry_device-mqtt-go_PR-525:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-525@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 ******** ci-base-image-x86_64 cat [2023-03-14T02:00:31.819Z] $ docker top 890007bfdfb578138024b0a8f5eadf03f0671d368b14add4d90b360bf37728a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T02:00:32.212Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-525 [Pipeline] fileExists [Pipeline] sh [2023-03-14T02:00:32.567Z] + make test [2023-03-14T02:00:32.567Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T02:00:37.836Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-14T02:00:47.962Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-14T02:00:47.962Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-14T02:00:47.962Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.2% of statements [2023-03-14T02:00:54.519Z] go vet ./... [2023-03-14T02:00:58.710Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T02:00:58.710Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T02:00:58.710Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T02:00:58.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T02:00:58.789Z] $ docker stop --time=1 890007bfdfb578138024b0a8f5eadf03f0671d368b14add4d90b360bf37728a4 [2023-03-14T02:01:00.802Z] $ docker rm -f --volumes 890007bfdfb578138024b0a8f5eadf03f0671d368b14add4d90b360bf37728a4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T02:01:01.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T02:01:01.443Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T02:01:02.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T02:01:02.392Z] + ls -al . [2023-03-14T02:01:02.392Z] total 180 [2023-03-14T02:01:02.392Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 02:00 . [2023-03-14T02:01:02.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 01:59 .. [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 01:59 .dockerignore [2023-03-14T02:01:02.392Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 01:59 .git [2023-03-14T02:01:02.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 01:59 .github [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 01:59 .gitignore [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 01:59 .golangci.yml [2023-03-14T02:01:02.392Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 01:59 .semver [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 14 01:59 Attribution.txt [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 14 01:59 CHANGELOG.md [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 14 01:59 Dockerfile [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 01:59 GOVERNANCE.md [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 01:59 Jenkinsfile [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 01:59 LICENSE [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 14 01:59 Makefile [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 01:59 OWNERS.md [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 14 01:59 README.md [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 01:59 VERSION [2023-03-14T02:01:02.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 01:59 bin [2023-03-14T02:01:02.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 01:59 cmd [2023-03-14T02:01:02.392Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 14 02:00 coverage.out [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 14 01:59 go.mod [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 01:59 go.sum [2023-03-14T02:01:02.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 01:59 internal [2023-03-14T02:01:02.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 01:59 mock [2023-03-14T02:01:02.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 01:59 snap [2023-03-14T02:01:02.392Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 14 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:01:02.791Z] + 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=db0ca016d9d7e4adc04484fef343996d4654bed5 --label arch=amd64 --label version=0.0.0 . [2023-03-14T02:01:02.791Z] Sending build context to Docker daemon 6.375MB [2023-03-14T02:01:02.791Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T02:01:02.791Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-14T02:01:02.791Z] ---> 37605ce95ef6 [2023-03-14T02:01:02.791Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-14T02:01:02.791Z] ---> Running in f1de33edd791 [2023-03-14T02:01:03.051Z] Removing intermediate container f1de33edd791 [2023-03-14T02:01:03.051Z] ---> ffe5e880fd7c [2023-03-14T02:01:03.051Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T02:01:03.051Z] ---> Running in 879e42700358 [2023-03-14T02:01:03.051Z] Removing intermediate container 879e42700358 [2023-03-14T02:01:03.051Z] ---> 8a56b847de9d [2023-03-14T02:01:03.051Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T02:01:03.051Z] ---> Running in 7634f164b7a8 [2023-03-14T02:01:03.051Z] Removing intermediate container 7634f164b7a8 [2023-03-14T02:01:03.051Z] ---> d6cabf3b0beb [2023-03-14T02:01:03.051Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T02:01:03.311Z] ---> Running in 59eb1cc85f10 [2023-03-14T02:01:03.311Z] Removing intermediate container 59eb1cc85f10 [2023-03-14T02:01:03.311Z] ---> 32ff21e4341d [2023-03-14T02:01:03.311Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T02:01:03.311Z] ---> Running in 9d2c8db25b0a [2023-03-14T02:01:03.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T02:01:03.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T02:01:04.090Z] OK: 269 MiB in 57 packages [2023-03-14T02:01:04.660Z] Removing intermediate container 9d2c8db25b0a [2023-03-14T02:01:04.660Z] ---> 85c03f6936fa [2023-03-14T02:01:04.660Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-14T02:01:04.660Z] ---> Running in 5853da06a02f [2023-03-14T02:01:04.660Z] Removing intermediate container 5853da06a02f [2023-03-14T02:01:04.660Z] ---> 4575e97088b9 [2023-03-14T02:01:04.660Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-14T02:01:04.922Z] ---> ad9d79281fa5 [2023-03-14T02:01:04.922Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T02:01:04.922Z] ---> Running in 89728b7b0e33 [2023-03-14T02:01:05.496Z] Removing intermediate container 89728b7b0e33 [2023-03-14T02:01:05.496Z] ---> 5b6ebdfda9cc [2023-03-14T02:01:05.496Z] Step 11/24 : COPY . . [2023-03-14T02:01:06.064Z] ---> 523f4699bb08 [2023-03-14T02:01:06.064Z] Step 12/24 : RUN $MAKE [2023-03-14T02:01:06.064Z] ---> Running in 9ecfe0bf48a9 [2023-03-14T02:01:06.323Z] 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-14T02:01:24.400Z] Removing intermediate container 9ecfe0bf48a9 [2023-03-14T02:01:24.400Z] ---> 1a80b74d0a04 [2023-03-14T02:01:24.400Z] Step 13/24 : FROM alpine:3.16 [2023-03-14T02:01:24.400Z] 3.16: Pulling from library/alpine [2023-03-14T02:01:24.400Z] ef5531b6e74e: Pulling fs layer [2023-03-14T02:01:24.400Z] ef5531b6e74e: Verifying Checksum [2023-03-14T02:01:24.400Z] ef5531b6e74e: Download complete [2023-03-14T02:01:24.400Z] ef5531b6e74e: Pull complete [2023-03-14T02:01:24.400Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T02:01:24.400Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T02:01:24.400Z] ---> dfd21b5a31f5 [2023-03-14T02:01:24.400Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-14T02:01:24.400Z] ---> Running in ccc565128537 [2023-03-14T02:01:24.400Z] Removing intermediate container ccc565128537 [2023-03-14T02:01:24.400Z] ---> a4ee2d9c502d [2023-03-14T02:01:24.400Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-14T02:01:24.400Z] ---> Running in 81618da4ccb3 [2023-03-14T02:01:24.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T02:01:24.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T02:01:25.177Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-14T02:01:25.177Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T02:01:25.177Z] OK: 6 MiB in 15 packages [2023-03-14T02:01:25.436Z] Removing intermediate container 81618da4ccb3 [2023-03-14T02:01:25.436Z] ---> 4834ba74b219 [2023-03-14T02:01:25.436Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-14T02:01:26.006Z] ---> 044b2b4dcb8b [2023-03-14T02:01:26.006Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-14T02:01:26.006Z] ---> a146e5e8b04c [2023-03-14T02:01:26.006Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-14T02:01:26.006Z] ---> f180424ac625 [2023-03-14T02:01:26.006Z] Step 19/24 : EXPOSE 59982 [2023-03-14T02:01:26.006Z] ---> Running in d395421d1c0c [2023-03-14T02:01:26.266Z] Removing intermediate container d395421d1c0c [2023-03-14T02:01:26.266Z] ---> aec80c00a9fd [2023-03-14T02:01:26.266Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-14T02:01:26.266Z] ---> Running in 416a989886a9 [2023-03-14T02:01:26.266Z] Removing intermediate container 416a989886a9 [2023-03-14T02:01:26.266Z] ---> da5cc2e021e4 [2023-03-14T02:01:26.266Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T02:01:26.266Z] ---> Running in 41c33475c462 [2023-03-14T02:01:26.266Z] Removing intermediate container 41c33475c462 [2023-03-14T02:01:26.266Z] ---> 9e6e9e4c5e0a [2023-03-14T02:01:26.266Z] Step 22/24 : LABEL arch=amd64 [2023-03-14T02:01:26.266Z] ---> Running in 6ec4d227904e [2023-03-14T02:01:26.534Z] Removing intermediate container 6ec4d227904e [2023-03-14T02:01:26.534Z] ---> f707f79633f5 [2023-03-14T02:01:26.534Z] Step 23/24 : LABEL git_sha=db0ca016d9d7e4adc04484fef343996d4654bed5 [2023-03-14T02:01:26.534Z] ---> Running in 9360834764ff [2023-03-14T02:01:26.534Z] Removing intermediate container 9360834764ff [2023-03-14T02:01:26.534Z] ---> f0731ab40217 [2023-03-14T02:01:26.534Z] Step 24/24 : LABEL version=0.0.0 [2023-03-14T02:01:26.534Z] ---> Running in 9b6e8e551ca1 [2023-03-14T02:01:26.794Z] Removing intermediate container 9b6e8e551ca1 [2023-03-14T02:01:26.794Z] ---> 17bb85ad40fc [2023-03-14T02:01:26.794Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T02:01:26.794Z] Successfully built 17bb85ad40fc [2023-03-14T02:01:26.794Z] 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-14T02:01:27.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T02:01:27.623Z] [2023-03-14T02:01:27.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:01:28.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T02:01:28.001Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T02:01:28.001Z] 5eb5b503b376: Pulling fs layer [2023-03-14T02:01:28.001Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T02:01:28.001Z] ec43610c2a17: Pulling fs layer [2023-03-14T02:01:28.001Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T02:01:28.001Z] 33b1e0a273af: Pulling fs layer [2023-03-14T02:01:28.001Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T02:01:28.001Z] 2f39f015ded8: Pulling fs layer [2023-03-14T02:01:28.001Z] 3a2ae6a8a46f: Waiting [2023-03-14T02:01:28.001Z] 33b1e0a273af: Waiting [2023-03-14T02:01:28.001Z] 5d3b04190fa2: Waiting [2023-03-14T02:01:28.001Z] 2f39f015ded8: Waiting [2023-03-14T02:01:28.001Z] 5c69ac0246d0: Download complete [2023-03-14T02:01:28.001Z] 3a2ae6a8a46f: Download complete [2023-03-14T02:01:28.260Z] 33b1e0a273af: Verifying Checksum [2023-03-14T02:01:28.260Z] 33b1e0a273af: Download complete [2023-03-14T02:01:28.260Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T02:01:28.260Z] 5d3b04190fa2: Download complete [2023-03-14T02:01:28.260Z] ec43610c2a17: Verifying Checksum [2023-03-14T02:01:28.260Z] ec43610c2a17: Download complete [2023-03-14T02:01:28.260Z] 5eb5b503b376: Verifying Checksum [2023-03-14T02:01:28.260Z] 5eb5b503b376: Download complete [2023-03-14T02:01:28.828Z] 2f39f015ded8: Download complete [2023-03-14T02:01:29.394Z] 5eb5b503b376: Pull complete [2023-03-14T02:01:29.653Z] 5c69ac0246d0: Pull complete [2023-03-14T02:01:29.910Z] ec43610c2a17: Pull complete [2023-03-14T02:01:30.169Z] 3a2ae6a8a46f: Pull complete [2023-03-14T02:01:30.427Z] 33b1e0a273af: Pull complete [2023-03-14T02:01:30.427Z] 5d3b04190fa2: Pull complete [2023-03-14T02:01:34.609Z] 2f39f015ded8: Pull complete [2023-03-14T02:01:34.609Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T02:01:34.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T02:01:34.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:01:34.843Z] prd-ubuntu20.04-docker-8c-8g-36 does not seem to be running inside a container [2023-03-14T02:01:34.877Z] $ 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-525 -v /w/workspace/gexfoundry_device-mqtt-go_PR-525:/w/workspace/gexfoundry_device-mqtt-go_PR-525:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T02:01:36.620Z] $ docker top 956cb6037d1f28229b369507ce08ab1924eb64e3f37dbda7c5d7bd6f85391706 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:01:37.065Z] ---> job-cost.sh [2023-03-14T02:01:37.065Z] lf-activate-venv: SKIPPING [2023-03-14T02:01:37.065Z] INFO: No Stack... [2023-03-14T02:01:37.323Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T02:01:37.581Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T02:01:37.892Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives/cost.csv [2023-03-14T02:01:37.892Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T02:01:37.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] [2023-03-14T02:01:37.937Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] did not exist. Created. [2023-03-14T02:01:37.937Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T02:01:38.335Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T02:01:38.382Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T02:01:38.413Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T02:01:38.481Z] $ docker stop --time=1 956cb6037d1f28229b369507ce08ab1924eb64e3f37dbda7c5d7bd6f85391706 [2023-03-14T02:01:39.622Z] $ docker rm -f --volumes 956cb6037d1f28229b369507ce08ab1924eb64e3f37dbda7c5d7bd6f85391706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T02:02:34.328Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-38 in /w/workspace/gexfoundry_device-mqtt-go_PR-525 [Pipeline] { [Pipeline] ws [2023-03-14T02:02:34.387Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T02:02:34.476Z] Selected Git installation does not exist. Using Default [2023-03-14T02:02:34.476Z] The recommended git tool is: NONE [2023-03-14T02:02:39.840Z] using credential edgex-jenkins-ssh [2023-03-14T02:02:39.858Z] Cloning the remote Git repository [2023-03-14T02:02:39.910Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-14T02:02:40.018Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-14T02:02:40.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-14T02:02:40.199Z] > git --version # timeout=10 [2023-03-14T02:02:40.227Z] > git --version # 'git version 2.25.1' [2023-03-14T02:02:40.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T02:02:40.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T02:02:41.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-14T02:02:41.507Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T02:02:43.066Z] Merging remotes/origin/main commit 14341be0e00f90cb93f09a8fe34181eba0d3b045 into PR head commit db0ca016d9d7e4adc04484fef343996d4654bed5 [2023-03-14T02:02:42.497Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-14T02:02:42.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-14T02:02:42.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T02:02:42.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/525/head:refs/remotes/origin/PR-525 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T02:02:43.091Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T02:02:43.168Z] > git checkout -f db0ca016d9d7e4adc04484fef343996d4654bed5 # timeout=10 [2023-03-14T02:02:43.368Z] Merge succeeded, producing db0ca016d9d7e4adc04484fef343996d4654bed5 [2023-03-14T02:02:43.369Z] Checking out Revision db0ca016d9d7e4adc04484fef343996d4654bed5 (PR-525) [2023-03-14T02:02:44.007Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-14T02:02:44.070Z] > git --version # timeout=10 [2023-03-14T02:02:44.083Z] > git --version # 'git version 2.25.1' [2023-03-14T02:02:44.099Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-03-14T02:02:43.252Z] > git remote # timeout=10 [2023-03-14T02:02:43.277Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T02:02:43.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T02:02:43.312Z] > git merge 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 [2023-03-14T02:02:43.352Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T02:02:43.379Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T02:02:43.398Z] > git checkout -f db0ca016d9d7e4adc04484fef343996d4654bed5 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T02:02:45.215Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T02:02:45.215Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T02:02:45.215Z] Dload Upload Total Spent Left Speed [2023-03-14T02:02:45.215Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-03-14T02:02:45.967Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T02:02:46.314Z] + sudo tee /etc/docker/daemon.new [2023-03-14T02:02:46.314Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T02:02:46.314Z] { [2023-03-14T02:02:46.314Z] "registry-mirrors": [ [2023-03-14T02:02:46.314Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T02:02:46.314Z] ], [2023-03-14T02:02:46.314Z] "bip": "10.250.0.254/24", [2023-03-14T02:02:46.314Z] "hosts": [ [2023-03-14T02:02:46.314Z] "tcp://0.0.0.0:5555", [2023-03-14T02:02:46.314Z] "unix:///var/run/docker.sock" [2023-03-14T02:02:46.314Z] ], [2023-03-14T02:02:46.314Z] "mtu": 1458, [2023-03-14T02:02:46.314Z] "selinux-enabled": true, [2023-03-14T02:02:46.314Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T02:02:46.314Z] } [Pipeline] sh [2023-03-14T02:02:46.669Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T02:02:47.031Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T02:03:05.349Z] provisioning config files... [2023-03-14T02:03:05.377Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5756361310805301187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:03:05.760Z] ---> docker-login.sh [2023-03-14T02:03:05.760Z] nexus3.edgexfoundry.org:10001 [2023-03-14T02:03:06.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T02:03:06.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T02:03:06.297Z] Configure a credential helper to remove this warning. See [2023-03-14T02:03:06.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T02:03:06.297Z] [2023-03-14T02:03:06.297Z] Login Succeeded [2023-03-14T02:03:06.297Z] nexus3.edgexfoundry.org:10002 [2023-03-14T02:03:06.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T02:03:06.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T02:03:06.565Z] Configure a credential helper to remove this warning. See [2023-03-14T02:03:06.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T02:03:06.565Z] [2023-03-14T02:03:06.565Z] Login Succeeded [2023-03-14T02:03:06.565Z] nexus3.edgexfoundry.org:10003 [2023-03-14T02:03:06.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T02:03:07.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T02:03:07.099Z] Configure a credential helper to remove this warning. See [2023-03-14T02:03:07.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T02:03:07.099Z] [2023-03-14T02:03:07.099Z] Login Succeeded [2023-03-14T02:03:07.099Z] nexus3.edgexfoundry.org:10004 [2023-03-14T02:03:07.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T02:03:07.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T02:03:07.369Z] Configure a credential helper to remove this warning. See [2023-03-14T02:03:07.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T02:03:07.369Z] [2023-03-14T02:03:07.369Z] Login Succeeded [2023-03-14T02:03:07.369Z] docker.io [2023-03-14T02:03:07.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T02:03:07.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T02:03:07.902Z] Configure a credential helper to remove this warning. See [2023-03-14T02:03:07.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T02:03:07.902Z] [2023-03-14T02:03:07.902Z] Login Succeeded [2023-03-14T02:03:07.902Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T02:03:07.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T02:03:08.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T02:03:08.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T02:03:08.357Z] ========================================================= [2023-03-14T02:03:08.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T02:03:08.357Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:03:08.931Z] + 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-14T02:03:09.202Z] Sending build context to Docker daemon 3.299MB [2023-03-14T02:03:09.202Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T02:03:09.202Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-14T02:03:09.476Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T02:03:09.476Z] af6eaf76a39c: Pulling fs layer [2023-03-14T02:03:09.476Z] 55522c791124: Pulling fs layer [2023-03-14T02:03:09.476Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T02:03:09.476Z] 169dfbe0d373: Pulling fs layer [2023-03-14T02:03:09.476Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T02:03:09.476Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T02:03:09.476Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T02:03:09.476Z] e1ff8fa3b103: Waiting [2023-03-14T02:03:09.476Z] 52ebb69f0ebf: Waiting [2023-03-14T02:03:09.476Z] 169dfbe0d373: Waiting [2023-03-14T02:03:09.476Z] 5abe8eddf0d5: Waiting [2023-03-14T02:03:09.476Z] 55522c791124: Verifying Checksum [2023-03-14T02:03:09.476Z] 55522c791124: Download complete [2023-03-14T02:03:09.476Z] 169dfbe0d373: Verifying Checksum [2023-03-14T02:03:09.476Z] 169dfbe0d373: Download complete [2023-03-14T02:03:09.476Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T02:03:09.476Z] e1ff8fa3b103: Download complete [2023-03-14T02:03:09.476Z] af6eaf76a39c: Verifying Checksum [2023-03-14T02:03:09.476Z] af6eaf76a39c: Download complete [2023-03-14T02:03:10.460Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T02:03:10.460Z] 5abe8eddf0d5: Download complete [2023-03-14T02:03:11.876Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T02:03:11.876Z] ce5c4a1c91eb: Download complete [2023-03-14T02:03:11.876Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T02:03:11.876Z] 52ebb69f0ebf: Download complete [2023-03-14T02:03:12.836Z] af6eaf76a39c: Pull complete [2023-03-14T02:03:13.423Z] 55522c791124: Pull complete [2023-03-14T02:03:23.510Z] ce5c4a1c91eb: Pull complete [2023-03-14T02:03:23.510Z] 169dfbe0d373: Pull complete [2023-03-14T02:03:23.510Z] e1ff8fa3b103: Pull complete [2023-03-14T02:03:30.163Z] 52ebb69f0ebf: Pull complete [2023-03-14T02:03:30.750Z] 5abe8eddf0d5: Pull complete [2023-03-14T02:03:30.750Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T02:03:30.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T02:03:30.750Z] ---> 6cb57ee374ae [2023-03-14T02:03:30.750Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-14T02:03:32.697Z] ---> Running in 6037a3e9d1c1 [2023-03-14T02:03:32.964Z] Removing intermediate container 6037a3e9d1c1 [2023-03-14T02:03:32.964Z] ---> 70e1cfee7d2e [2023-03-14T02:03:32.964Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T02:03:33.230Z] ---> Running in 2129ddcd3c97 [2023-03-14T02:03:33.496Z] Removing intermediate container 2129ddcd3c97 [2023-03-14T02:03:33.496Z] ---> 7e59c5ea97c7 [2023-03-14T02:03:33.496Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T02:03:33.496Z] ---> Running in 3ddc18fb9043 [2023-03-14T02:03:33.763Z] Removing intermediate container 3ddc18fb9043 [2023-03-14T02:03:33.763Z] ---> ab612b0ce63f [2023-03-14T02:03:33.763Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T02:03:33.763Z] ---> Running in ec1065c699fd [2023-03-14T02:03:34.033Z] Removing intermediate container ec1065c699fd [2023-03-14T02:03:34.033Z] ---> 6d16040ce77f [2023-03-14T02:03:34.033Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T02:03:34.301Z] ---> Running in 41f3c0160a79 [2023-03-14T02:03:35.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T02:03:35.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T02:03:36.808Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-14T02:03:36.808Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-14T02:03:36.808Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-14T02:03:37.076Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-14T02:03:37.076Z] Executing busybox-1.35.0-r29.trigger [2023-03-14T02:03:37.076Z] OK: 268 MiB in 57 packages [2023-03-14T02:03:39.663Z] Removing intermediate container 41f3c0160a79 [2023-03-14T02:03:39.663Z] ---> 89e81978528f [2023-03-14T02:03:39.663Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-14T02:03:39.663Z] ---> Running in 5b4c53ef691b [2023-03-14T02:03:39.929Z] Removing intermediate container 5b4c53ef691b [2023-03-14T02:03:39.929Z] ---> 6a24057a1a24 [2023-03-14T02:03:39.929Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-14T02:03:40.513Z] ---> 82dc1d231801 [2023-03-14T02:03:40.513Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T02:03:40.513Z] ---> Running in 9e647f18c314 [2023-03-14T02:04:48.410Z] Removing intermediate container 9e647f18c314 [2023-03-14T02:04:48.410Z] ---> 99b3c228f3ca [2023-03-14T02:04:48.410Z] Step 11/12 : COPY . . [2023-03-14T02:04:48.410Z] ---> b0108cc80a2d [2023-03-14T02:04:48.410Z] Step 12/12 : RUN $MAKE [2023-03-14T02:04:48.410Z] ---> Running in 406a68e640e9 [2023-03-14T02:04:48.410Z] noop [2023-03-14T02:04:48.410Z] Removing intermediate container 406a68e640e9 [2023-03-14T02:04:48.410Z] ---> 2fa38eb2ba61 [2023-03-14T02:04:48.410Z] Successfully built 2fa38eb2ba61 [2023-03-14T02:04:48.410Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:04:48.900Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T02:04:48.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:04:49.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-38 does not seem to be running inside a container [2023-03-14T02:04:49.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T02:04:50.490Z] $ docker top 2f8cb3796a335015f27c78c379d86421fb094d0102b79f03ff7dc0772c81fe79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T02:04:51.375Z] + go version [2023-03-14T02:04:51.375Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T02:04:51.416Z] $ docker stop --time=1 2f8cb3796a335015f27c78c379d86421fb094d0102b79f03ff7dc0772c81fe79 [2023-03-14T02:04:53.032Z] $ docker rm -f --volumes 2f8cb3796a335015f27c78c379d86421fb094d0102b79f03ff7dc0772c81fe79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:04:53.856Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T02:04:53.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:04:54.099Z] prd-ubuntu20.04-docker-arm64-4c-16g-38 does not seem to be running inside a container [2023-03-14T02:04:54.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T02:04:56.997Z] $ docker top d7b9134568fad68e471d8f3f87c941c38cb92732b5825f5711b077809c46c6dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T02:04:57.546Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T02:04:57.933Z] + make test [2023-03-14T02:04:58.203Z] go test ./... -coverprofile=coverage.out ./... [2023-03-14T02:05:37.099Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-14T02:07:43.793Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-14T02:07:43.793Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-14T02:07:43.793Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 22.2% of statements [2023-03-14T02:07:43.793Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T02:07:43.793Z] go vet ./... [2023-03-14T02:08:16.040Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T02:08:16.040Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T02:08:16.040Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T02:08:16.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T02:08:16.114Z] $ docker stop --time=1 d7b9134568fad68e471d8f3f87c941c38cb92732b5825f5711b077809c46c6dc [2023-03-14T02:08:17.988Z] $ docker rm -f --volumes d7b9134568fad68e471d8f3f87c941c38cb92732b5825f5711b077809c46c6dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T02:08:19.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T02:08:19.220Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T02:08:19.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T02:08:20.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T02:08:20.604Z] + ls -al . [2023-03-14T02:08:20.604Z] total 176 [2023-03-14T02:08:20.604Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 02:05 . [2023-03-14T02:08:20.604Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 02:02 .. [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 02:02 .dockerignore [2023-03-14T02:08:20.604Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 02:02 .git [2023-03-14T02:08:20.604Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 02:02 .github [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 02:02 .gitignore [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 02:02 .golangci.yml [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 14 02:02 Attribution.txt [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 14 02:02 CHANGELOG.md [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 14 02:02 Dockerfile [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 02:02 GOVERNANCE.md [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 02:02 Jenkinsfile [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 02:02 LICENSE [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 14 02:02 Makefile [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 02:02 OWNERS.md [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 14 02:02 README.md [2023-03-14T02:08:20.604Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 01:59 VERSION [2023-03-14T02:08:20.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 02:02 bin [2023-03-14T02:08:20.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 02:02 cmd [2023-03-14T02:08:20.605Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 14 02:07 coverage.out [2023-03-14T02:08:20.605Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 14 02:02 go.mod [2023-03-14T02:08:20.605Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 02:02 go.sum [2023-03-14T02:08:20.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 02:02 internal [2023-03-14T02:08:20.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 02:02 mock [2023-03-14T02:08:20.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 02:02 snap [2023-03-14T02:08:20.605Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 14 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:08:21.024Z] + 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=db0ca016d9d7e4adc04484fef343996d4654bed5 --label arch=arm64 --label version=0.0.0 . [2023-03-14T02:08:21.294Z] Sending build context to Docker daemon 3.318MB [2023-03-14T02:08:21.294Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T02:08:21.294Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-14T02:08:21.294Z] ---> 2fa38eb2ba61 [2023-03-14T02:08:21.294Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-14T02:08:21.563Z] ---> Running in a4a47c28e79c [2023-03-14T02:08:21.833Z] Removing intermediate container a4a47c28e79c [2023-03-14T02:08:21.833Z] ---> b1f90fac40cf [2023-03-14T02:08:21.833Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-14T02:08:21.833Z] ---> Running in 63a14292511b [2023-03-14T02:08:22.105Z] Removing intermediate container 63a14292511b [2023-03-14T02:08:22.105Z] ---> da42dc49ee1c [2023-03-14T02:08:22.105Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-14T02:08:22.375Z] ---> Running in 362fbb542b2c [2023-03-14T02:08:22.647Z] Removing intermediate container 362fbb542b2c [2023-03-14T02:08:22.647Z] ---> e01f928d088f [2023-03-14T02:08:22.647Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-14T02:08:22.647Z] ---> Running in 0420f4533c3c [2023-03-14T02:08:22.920Z] Removing intermediate container 0420f4533c3c [2023-03-14T02:08:22.920Z] ---> 7b8b4f537ebe [2023-03-14T02:08:22.920Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-14T02:08:23.192Z] ---> Running in 690e2208b688 [2023-03-14T02:08:24.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T02:08:24.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T02:08:25.724Z] OK: 268 MiB in 57 packages [2023-03-14T02:08:26.686Z] Removing intermediate container 690e2208b688 [2023-03-14T02:08:26.686Z] ---> f25ce56e042e [2023-03-14T02:08:26.686Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-14T02:08:26.686Z] ---> Running in 3b6addbfe04d [2023-03-14T02:08:26.953Z] Removing intermediate container 3b6addbfe04d [2023-03-14T02:08:26.953Z] ---> 963d414f8615 [2023-03-14T02:08:26.953Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-14T02:08:27.535Z] ---> 51cf3700c666 [2023-03-14T02:08:27.535Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T02:08:27.535Z] ---> Running in 4fa0d77bd1a2 [2023-03-14T02:08:30.127Z] Removing intermediate container 4fa0d77bd1a2 [2023-03-14T02:08:30.127Z] ---> f23f579716c9 [2023-03-14T02:08:30.127Z] Step 11/24 : COPY . . [2023-03-14T02:08:31.091Z] ---> ae2a963c2501 [2023-03-14T02:08:31.091Z] Step 12/24 : RUN $MAKE [2023-03-14T02:08:31.091Z] ---> Running in efb21de4d1dc [2023-03-14T02:08:32.052Z] 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-14T02:10:38.744Z] Removing intermediate container efb21de4d1dc [2023-03-14T02:10:38.744Z] ---> b1f63bb61018 [2023-03-14T02:10:38.744Z] Step 13/24 : FROM alpine:3.16 [2023-03-14T02:10:38.744Z] 3.16: Pulling from library/alpine [2023-03-14T02:10:39.333Z] 3760b48202b3: Pulling fs layer [2023-03-14T02:10:39.333Z] 3760b48202b3: Verifying Checksum [2023-03-14T02:10:39.333Z] 3760b48202b3: Download complete [2023-03-14T02:10:39.921Z] 3760b48202b3: Pull complete [2023-03-14T02:10:39.921Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T02:10:39.921Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T02:10:39.921Z] ---> 4c81e5bf8899 [2023-03-14T02:10:39.922Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-14T02:10:40.188Z] ---> Running in be56f017981e [2023-03-14T02:10:40.453Z] Removing intermediate container be56f017981e [2023-03-14T02:10:40.453Z] ---> ea406db11d4c [2023-03-14T02:10:40.453Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-14T02:10:40.453Z] ---> Running in 1abdb7022c17 [2023-03-14T02:10:41.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T02:10:41.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T02:10:42.648Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-14T02:10:42.648Z] Executing busybox-1.35.0-r17.trigger [2023-03-14T02:10:42.648Z] OK: 5 MiB in 15 packages [2023-03-14T02:10:43.628Z] Removing intermediate container 1abdb7022c17 [2023-03-14T02:10:43.628Z] ---> 4d9992e03b34 [2023-03-14T02:10:43.628Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-14T02:10:45.051Z] ---> d6aa37e98ad4 [2023-03-14T02:10:45.051Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-14T02:10:45.637Z] ---> 369e896a4c0f [2023-03-14T02:10:45.637Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-14T02:10:46.226Z] ---> f9b452f5dbbf [2023-03-14T02:10:46.226Z] Step 19/24 : EXPOSE 59982 [2023-03-14T02:10:46.226Z] ---> Running in de5af0037922 [2023-03-14T02:10:46.495Z] Removing intermediate container de5af0037922 [2023-03-14T02:10:46.495Z] ---> 1d2a11bee42b [2023-03-14T02:10:46.495Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-14T02:10:46.495Z] ---> Running in 02dca0256e24 [2023-03-14T02:10:46.765Z] Removing intermediate container 02dca0256e24 [2023-03-14T02:10:46.765Z] ---> 599984e27313 [2023-03-14T02:10:46.765Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-14T02:10:47.039Z] ---> Running in 023e717a8ff5 [2023-03-14T02:10:47.309Z] Removing intermediate container 023e717a8ff5 [2023-03-14T02:10:47.309Z] ---> 7200f770e945 [2023-03-14T02:10:47.309Z] Step 22/24 : LABEL arch=arm64 [2023-03-14T02:10:47.309Z] ---> Running in ce3c836ca932 [2023-03-14T02:10:47.578Z] Removing intermediate container ce3c836ca932 [2023-03-14T02:10:47.578Z] ---> e9bb6820dbfa [2023-03-14T02:10:47.578Z] Step 23/24 : LABEL git_sha=db0ca016d9d7e4adc04484fef343996d4654bed5 [2023-03-14T02:10:47.849Z] ---> Running in 7dc2210d1feb [2023-03-14T02:10:48.117Z] Removing intermediate container 7dc2210d1feb [2023-03-14T02:10:48.117Z] ---> f975f2bb315e [2023-03-14T02:10:48.117Z] Step 24/24 : LABEL version=0.0.0 [2023-03-14T02:10:48.117Z] ---> Running in 048ea8f15946 [2023-03-14T02:10:48.387Z] Removing intermediate container 048ea8f15946 [2023-03-14T02:10:48.387Z] ---> 6cf5e6f1098b [2023-03-14T02:10:48.387Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T02:10:48.387Z] Successfully built 6cf5e6f1098b [2023-03-14T02:10:48.657Z] 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-14T02:10:49.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T02:10:49.432Z] [2023-03-14T02:10:49.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:10:49.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T02:10:50.212Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T02:10:50.212Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T02:10:50.212Z] 04944245beec: Pulling fs layer [2023-03-14T02:10:50.212Z] 699f458cf7ca: Pulling fs layer [2023-03-14T02:10:50.212Z] 765212b225bb: Pulling fs layer [2023-03-14T02:10:50.212Z] f23df028b6ca: Pulling fs layer [2023-03-14T02:10:50.212Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T02:10:50.212Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T02:10:50.212Z] 765212b225bb: Waiting [2023-03-14T02:10:50.212Z] f23df028b6ca: Waiting [2023-03-14T02:10:50.212Z] d65c8cfc05b1: Waiting [2023-03-14T02:10:50.212Z] 2437ff75d9bd: Waiting [2023-03-14T02:10:50.212Z] 04944245beec: Verifying Checksum [2023-03-14T02:10:50.212Z] 04944245beec: Download complete [2023-03-14T02:10:50.212Z] 765212b225bb: Verifying Checksum [2023-03-14T02:10:50.212Z] 765212b225bb: Download complete [2023-03-14T02:10:50.212Z] f23df028b6ca: Verifying Checksum [2023-03-14T02:10:50.212Z] f23df028b6ca: Download complete [2023-03-14T02:10:50.212Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T02:10:50.212Z] d65c8cfc05b1: Download complete [2023-03-14T02:10:50.497Z] 699f458cf7ca: Verifying Checksum [2023-03-14T02:10:50.497Z] 699f458cf7ca: Download complete [2023-03-14T02:10:50.791Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T02:10:50.791Z] 8998bd30e6a1: Download complete [2023-03-14T02:10:53.451Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T02:10:53.452Z] 2437ff75d9bd: Download complete [2023-03-14T02:10:54.894Z] 8998bd30e6a1: Pull complete [2023-03-14T02:10:55.479Z] 04944245beec: Pull complete [2023-03-14T02:10:56.901Z] 699f458cf7ca: Pull complete [2023-03-14T02:10:56.901Z] 765212b225bb: Pull complete [2023-03-14T02:10:57.862Z] f23df028b6ca: Pull complete [2023-03-14T02:10:57.862Z] d65c8cfc05b1: Pull complete [2023-03-14T02:11:12.883Z] 2437ff75d9bd: Pull complete [2023-03-14T02:11:12.883Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T02:11:12.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T02:11:12.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:11:13.226Z] prd-ubuntu20.04-docker-arm64-4c-16g-38 does not seem to be running inside a container [2023-03-14T02:11:13.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T02:11:15.665Z] $ docker top 44947015a5dbf5635051c3a114d4c55d14dc5830d5dbb05e01f69217cfaeb374 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:16.226Z] ---> job-cost.sh [2023-03-14T02:11:16.492Z] lf-activate-venv: SKIPPING [2023-03-14T02:11:16.492Z] INFO: No Stack... [2023-03-14T02:11:16.757Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T02:11:17.713Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T02:11:18.053Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-14T02:11:18.053Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T02:11:18.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] [2023-03-14T02:11:18.145Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] did not exist. Created. [2023-03-14T02:11:18.145Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T02:11:18.548Z] /w/workspace/device-mqtt-go/1@tmp/durable-e0b38fdc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T02:11:19.235Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T02:11:19.271Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T02:11:19.314Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T02:11:19.329Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-525-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T02:11:19.403Z] $ docker stop --time=1 44947015a5dbf5635051c3a114d4c55d14dc5830d5dbb05e01f69217cfaeb374 [2023-03-14T02:11:20.875Z] $ docker rm -f --volumes 44947015a5dbf5635051c3a114d4c55d14dc5830d5dbb05e01f69217cfaeb374 [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-14T02:11:21.878Z] provisioning config files... [2023-03-14T02:11:21.886Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/config11606038429932603244tmp [Pipeline] { [Pipeline] sh [2023-03-14T02:11:22.221Z] + set +x [2023-03-14T02:11:22.222Z] + curl -s https://codecov.io/bash [2023-03-14T02:11:22.222Z] + bash -s -- [2023-03-14T02:11:22.222Z] [2023-03-14T02:11:22.222Z] _____ _ [2023-03-14T02:11:22.222Z] / ____| | | [2023-03-14T02:11:22.222Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T02:11:22.222Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T02:11:22.222Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T02:11:22.222Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T02:11:22.222Z] Bash-1.0.6 [2023-03-14T02:11:22.222Z] [2023-03-14T02:11:22.222Z] [2023-03-14T02:11:22.222Z] ==> git version 2.25.1 found [2023-03-14T02:11:22.222Z] ==> 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-14T02:11:22.222Z] Release-Date: 2020-01-08 [2023-03-14T02:11:22.222Z] 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-14T02:11:22.222Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T02:11:22.222Z] ==> Jenkins CI detected. [2023-03-14T02:11:22.222Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-525 [2023-03-14T02:11:22.222Z] project root: . [2023-03-14T02:11:22.222Z] --> token set from env [2023-03-14T02:11:22.222Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T02:11:22.222Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T02:11:22.222Z] ==> Python coveragepy not found [2023-03-14T02:11:22.222Z] ==> Searching for coverage reports in: [2023-03-14T02:11:22.222Z] + . [2023-03-14T02:11:22.222Z] -> Found 1 reports [2023-03-14T02:11:22.222Z] ==> Detecting git/mercurial file structure [2023-03-14T02:11:22.483Z] ==> Reading reports [2023-03-14T02:11:22.483Z] + ./coverage.out bytes=18047 [2023-03-14T02:11:22.483Z] ==> Appending adjustments [2023-03-14T02:11:22.483Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T02:11:22.483Z] + Found adjustments [2023-03-14T02:11:22.483Z] ==> Gzipping contents [2023-03-14T02:11:22.483Z] 4.0K /tmp/codecov.veWZSc.gz [2023-03-14T02:11:22.483Z] ==> Uploading reports [2023-03-14T02:11:22.483Z] url: https://codecov.io [2023-03-14T02:11:22.483Z] query: branch=PR-525&commit=db0ca016d9d7e4adc04484fef343996d4654bed5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=525&job=&cmd_args= [2023-03-14T02:11:22.483Z] -> Pinging Codecov [2023-03-14T02:11:22.483Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-525&commit=db0ca016d9d7e4adc04484fef343996d4654bed5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-525%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=525&job=&cmd_args= [2023-03-14T02:11:22.743Z] -> Uploading to [2023-03-14T02:11:22.743Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7D719EC7BBE17E464838252E33014C33/db0ca016d9d7e4adc04484fef343996d4654bed5/07606e85-dd6c-4a05-ab93-5cb62cffe1e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T021122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0231e0333d0e70229cc56544c9ae4d93dd4547b69bf4824e9ae456624a331db2 [2023-03-14T02:11:22.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T02:11:22.743Z] Dload Upload Total Spent Left Speed [2023-03-14T02:11:23.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 8946 --:--:-- --:--:-- --:--:-- 8920 [2023-03-14T02:11:23.002Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/db0ca016d9d7e4adc04484fef343996d4654bed5 [Pipeline] } [2023-03-14T02:11:23.029Z] 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-14T02:11:24.757Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives ] [2023-03-14T02:11:24.757Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives [2023-03-14T02:11:24.757Z] total 16 [2023-03-14T02:11:24.757Z] drwxr-xr-x 3 root root 4096 Mar 14 02:01 . [2023-03-14T02:11:24.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 02:01 .. [2023-03-14T02:11:24.757Z] drwxr-xr-x 2 root root 4096 Mar 14 02:01 cost [2023-03-14T02:11:24.757Z] -rw-r--r-- 1 root root 86 Mar 14 02:01 cost.csv [2023-03-14T02:11:24.757Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives [2023-03-14T02:11:24.757Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives [2023-03-14T02:11:24.757Z] total 16 [2023-03-14T02:11:24.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 02:01 . [2023-03-14T02:11:24.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 02:01 .. [2023-03-14T02:11:24.757Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 02:01 cost [2023-03-14T02:11:24.757Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:25.079Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:25.966Z] ---> package-listing.sh [2023-03-14T02:11:25.966Z] ++ facter osfamily [2023-03-14T02:11:25.966Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T02:11:26.227Z] + OS_FAMILY=debian [2023-03-14T02:11:26.228Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-525 [2023-03-14T02:11:26.228Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T02:11:26.228Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T02:11:26.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T02:11:26.228Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T02:11:26.228Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-525 ']' [2023-03-14T02:11:26.228Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T02:11:26.228Z] + case "${OS_FAMILY}" in [2023-03-14T02:11:26.228Z] + dpkg -l [2023-03-14T02:11:26.228Z] + grep '^ii' [2023-03-14T02:11:26.228Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T02:11:26.228Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T02:11:26.228Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T02:11:26.228Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-525 ']' [2023-03-14T02:11:26.228Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives/ [2023-03-14T02:11:26.228Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-525/archives/ [Pipeline] echo [2023-03-14T02:11:26.259Z] 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-525/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T02:11:26.548Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T02:11:27.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T02:11:27.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T02:11:27.319Z] prd-ubuntu20.04-docker-8c-8g-36 does not seem to be running inside a container [2023-03-14T02:11:27.355Z] $ 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-525/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-525 -v /w/workspace/gexfoundry_device-mqtt-go_PR-525:/w/workspace/gexfoundry_device-mqtt-go_PR-525:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T02:11:27.584Z] $ docker top c5373c7dcbe3d7872dabda14a0886deecd9b8ac0fb3c1fd5f597d1cc15552d70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T02:11:27.961Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T02:11:28.277Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T02:11:28.583Z] + ls /var/log/sa-host [2023-03-14T02:11:28.583Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T02:11:28.706Z] provisioning config files... [2023-03-14T02:11:28.716Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-525@tmp/config7189070705386828861tmp [Pipeline] { [Pipeline] echo [2023-03-14T02:11:28.760Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:29.068Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T02:11:29.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:29.482Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T02:11:29.512Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:29.825Z] ---> sudo-logs.sh [2023-03-14T02:11:29.825Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T02:11:29.901Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:30.206Z] ---> job-cost.sh [2023-03-14T02:11:30.206Z] lf-activate-venv: SKIPPING [2023-03-14T02:11:30.206Z] DEBUG: total: 0.2199999988079071 [2023-03-14T02:11:30.206Z] INFO: Retrieving Stack Cost... [2023-03-14T02:11:30.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T02:11:31.034Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T02:11:31.067Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T02:11:31.376Z] ---> logs-deploy.sh [2023-03-14T02:11:31.376Z] lf-activate-venv: SKIPPING [2023-03-14T02:11:31.376Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-525/1 [2023-03-14T02:11:31.376Z] INFO: archiving workspace using pattern(s): [2023-03-14T02:11:32.312Z] Archives upload complete. [2023-03-14T02:11:32.312Z] INFO: archiving logs to Nexus