Pull request #521 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 229099614b4381a690093be203497270268560bd rather than b19e386d8e8ed9765def202b879e4c9db9919488 Obtained Jenkinsfile from 229099614b4381a690093be203497270268560bd 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-ssh4499247592449240726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13284931284266416671.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-521/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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13851588804222721402.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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18237426009045267693.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8349939091047675041.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-521/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-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15870201207104776489.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9638 in /w/workspace/gexfoundry_device-mqtt-go_PR-521 [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-521 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 229099614b4381a690093be203497270268560bd into PR head commit b19e386d8e8ed9765def202b879e4c9db9919488 Merge succeeded, producing b19e386d8e8ed9765def202b879e4c9db9919488 Checking out Revision b19e386d8e8ed9765def202b879e4c9db9919488 (PR-521) > git config core.sparsecheckout # timeout=10 > git checkout -f b19e386d8e8ed9765def202b879e4c9db9919488 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 229099614b4381a690093be203497270268560bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b19e386d8e8ed9765def202b879e4c9db9919488 # timeout=10 Commit message: "refactor!: updated secret path to secretName" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-10T18:02:45.100Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-10T18:02:45.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-10T18:02:45.365Z] ========================================================= [2023-03-10T18:02:45.365Z] EdgeX Global Pipelines Version Info [2023-03-10T18:02:45.365Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:02:46.107Z] ------------------- [2023-03-10T18:02:46.107Z] stable info: [2023-03-10T18:02:46.107Z] ------------------- [2023-03-10T18:02:46.107Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-10T18:02:46.107Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T18:02:46.107Z] Message: update stable to v1.0.244 [2023-03-10T18:02:46.676Z] ------------------- [2023-03-10T18:02:46.676Z] experimental info: [2023-03-10T18:02:46.676Z] ------------------- [2023-03-10T18:02:46.676Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-10T18:02:46.676Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T18:02:46.676Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-10T18:02:46.983Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-10T18:02:47.024Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-10T18:02:47.069Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-10T18:02:47.109Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-10T18:02:47.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-10T18:02:47.191Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-10T18:02:47.231Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-10T18:02:47.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-10T18:02:47.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-10T18:02:47.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-10T18:02:47.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-10T18:02:47.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-10T18:02:47.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-10T18:02:47.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-10T18:02:47.560Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T18:02:47.686Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T18:02:47.723Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T18:02:47.763Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T18:02:47.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-10T18:02:47.843Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-10T18:02:47.887Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-10T18:02:47.922Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-10T18:02:47.959Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-10T18:02:47.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-10T18:02:48.037Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-10T18:02:48.077Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-10T18:02:48.112Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-10T18:02:48.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-521 [Pipeline] echo [2023-03-10T18:02:48.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-521 [Pipeline] echo [2023-03-10T18:02:48.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-521 [Pipeline] echo [2023-03-10T18:02:48.330Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b19e386d8e8ed9765def202b879e4c9db9919488 [Pipeline] echo [2023-03-10T18:02:48.371Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b19e386 [Pipeline] echo [2023-03-10T18:02:48.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:02:48.515Z] provisioning config files... [2023-03-10T18:02:48.529Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config5523413793848284542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:02:48.865Z] ---> docker-login.sh [2023-03-10T18:02:48.865Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:02:49.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:02:49.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:02:49.123Z] Configure a credential helper to remove this warning. See [2023-03-10T18:02:49.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:02:49.123Z] [2023-03-10T18:02:49.123Z] Login Succeeded [2023-03-10T18:02:49.123Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:02:49.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:02:49.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:02:49.123Z] Configure a credential helper to remove this warning. See [2023-03-10T18:02:49.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:02:49.123Z] [2023-03-10T18:02:49.123Z] Login Succeeded [2023-03-10T18:02:49.123Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:02:49.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:02:49.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:02:49.382Z] Configure a credential helper to remove this warning. See [2023-03-10T18:02:49.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:02:49.382Z] [2023-03-10T18:02:49.382Z] Login Succeeded [2023-03-10T18:02:49.382Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:02:49.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:02:49.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:02:49.382Z] Configure a credential helper to remove this warning. See [2023-03-10T18:02:49.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:02:49.382Z] [2023-03-10T18:02:49.382Z] Login Succeeded [2023-03-10T18:02:49.382Z] docker.io [2023-03-10T18:02:49.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:02:49.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:02:49.643Z] Configure a credential helper to remove this warning. See [2023-03-10T18:02:49.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:02:49.643Z] [2023-03-10T18:02:49.643Z] Login Succeeded [2023-03-10T18:02:49.643Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:02:49.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-10T18:02:50.255Z] + git rev-list -1 --merges b19e386d8e8ed9765def202b879e4c9db9919488~1..b19e386d8e8ed9765def202b879e4c9db9919488 [Pipeline] echo [2023-03-10T18:02:50.316Z] -----------> git rev-list -1 --merges b19e386d8e8ed9765def202b879e4c9db9919488~1..b19e386d8e8ed9765def202b879e4c9db9919488 b19e386d8e8ed9765def202b879e4c9db9919488 [false] [Pipeline] sh [2023-03-10T18:02:50.621Z] + git log --format=format:%s -1 b19e386d8e8ed9765def202b879e4c9db9919488 [Pipeline] echo [2023-03-10T18:02:50.657Z] ========================================================= [2023-03-10T18:02:50.657Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-10T18:02:50.657Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T18:02:51.088Z] + git log --format=format:%s -1 b19e386d8e8ed9765def202b879e4c9db9919488 [Pipeline] echo [2023-03-10T18:02:51.126Z] [semverPrep] GIT_COMMIT: b19e386d8e8ed9765def202b879e4c9db9919488, Commit Message: refactor!: updated secret path to secretName [Pipeline] echo [2023-03-10T18:02:51.154Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-10T18:02:51.520Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-10T18:02:51.520Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-10T18:02:51.520Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-10T18:02:51.520Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-10T18:02:51.520Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-10T18:02:51.520Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-10T18:02:51.520Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:02:51.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T18:02:51.932Z] [2023-03-10T18:02:51.932Z] 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-10T18:02:52.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T18:02:52.307Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-10T18:02:52.307Z] b85a868b505f: Pulling fs layer [2023-03-10T18:02:52.307Z] e2be974225ed: Pulling fs layer [2023-03-10T18:02:52.307Z] 339a4e72a1f5: Pulling fs layer [2023-03-10T18:02:52.307Z] 988bab9f4d93: Pulling fs layer [2023-03-10T18:02:52.307Z] 1469e6f7b9e6: Pulling fs layer [2023-03-10T18:02:52.307Z] eaf3925da568: Pulling fs layer [2023-03-10T18:02:52.307Z] bab4dde63d76: Pulling fs layer [2023-03-10T18:02:52.307Z] bde34c3a00c8: Pulling fs layer [2023-03-10T18:02:52.307Z] b352a97aabf1: Pulling fs layer [2023-03-10T18:02:52.307Z] 4872d77fe225: Pulling fs layer [2023-03-10T18:02:52.307Z] 5851b861e8e6: Pulling fs layer [2023-03-10T18:02:52.307Z] 988bab9f4d93: Waiting [2023-03-10T18:02:52.307Z] 1469e6f7b9e6: Waiting [2023-03-10T18:02:52.307Z] eaf3925da568: Waiting [2023-03-10T18:02:52.307Z] bab4dde63d76: Waiting [2023-03-10T18:02:52.307Z] bde34c3a00c8: Waiting [2023-03-10T18:02:52.307Z] b352a97aabf1: Waiting [2023-03-10T18:02:52.307Z] 4872d77fe225: Waiting [2023-03-10T18:02:52.307Z] 5851b861e8e6: Waiting [2023-03-10T18:02:52.307Z] e2be974225ed: Verifying Checksum [2023-03-10T18:02:52.307Z] e2be974225ed: Download complete [2023-03-10T18:02:52.307Z] 988bab9f4d93: Verifying Checksum [2023-03-10T18:02:52.307Z] 988bab9f4d93: Download complete [2023-03-10T18:02:52.567Z] 1469e6f7b9e6: Verifying Checksum [2023-03-10T18:02:52.567Z] 1469e6f7b9e6: Download complete [2023-03-10T18:02:52.567Z] 339a4e72a1f5: Verifying Checksum [2023-03-10T18:02:52.567Z] 339a4e72a1f5: Download complete [2023-03-10T18:02:52.567Z] eaf3925da568: Verifying Checksum [2023-03-10T18:02:52.567Z] eaf3925da568: Download complete [2023-03-10T18:02:52.567Z] bde34c3a00c8: Verifying Checksum [2023-03-10T18:02:52.567Z] bde34c3a00c8: Download complete [2023-03-10T18:02:52.567Z] b352a97aabf1: Verifying Checksum [2023-03-10T18:02:52.567Z] b352a97aabf1: Download complete [2023-03-10T18:02:52.567Z] 4872d77fe225: Verifying Checksum [2023-03-10T18:02:52.567Z] 4872d77fe225: Download complete [2023-03-10T18:02:52.567Z] 5851b861e8e6: Verifying Checksum [2023-03-10T18:02:52.567Z] 5851b861e8e6: Download complete [2023-03-10T18:02:52.567Z] b85a868b505f: Verifying Checksum [2023-03-10T18:02:52.567Z] b85a868b505f: Download complete [2023-03-10T18:02:52.825Z] bab4dde63d76: Verifying Checksum [2023-03-10T18:02:52.825Z] bab4dde63d76: Download complete [2023-03-10T18:02:53.819Z] b85a868b505f: Pull complete [2023-03-10T18:02:54.077Z] e2be974225ed: Pull complete [2023-03-10T18:02:54.337Z] 339a4e72a1f5: Pull complete [2023-03-10T18:02:54.597Z] 988bab9f4d93: Pull complete [2023-03-10T18:02:54.857Z] 1469e6f7b9e6: Pull complete [2023-03-10T18:02:54.857Z] eaf3925da568: Pull complete [2023-03-10T18:02:56.756Z] bab4dde63d76: Pull complete [2023-03-10T18:02:56.756Z] bde34c3a00c8: Pull complete [2023-03-10T18:02:56.756Z] b352a97aabf1: Pull complete [2023-03-10T18:02:56.756Z] 4872d77fe225: Pull complete [2023-03-10T18:02:56.756Z] 5851b861e8e6: Pull complete [2023-03-10T18:02:56.756Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-10T18:02:56.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T18:02:56.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:02:56.971Z] prd-ubuntu20.04-docker-8c-8g-9638 does not seem to be running inside a container [2023-03-10T18:02:57.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@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-devops/py-git-semver:0.1.4 cat [2023-03-10T18:02:59.915Z] $ docker top 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e -eo pid,comm [2023-03-10T18:02:59.967Z] 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-10T18:02:59.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-10T18:03:00.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T18:03:00.100Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T18:03:00.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T18:03:00.218Z] $ docker exec 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e ssh-agent [2023-03-10T18:03:00.322Z] SSH_AUTH_SOCK=/tmp/ssh-KwbnSIeSYi2R/agent.32 [2023-03-10T18:03:00.322Z] SSH_AGENT_PID=38 [2023-03-10T18:03:00.328Z] Running ssh-add (command line suppressed) [2023-03-10T18:03:00.428Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_13607057707163292170.key (/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_13607057707163292170.key) [2023-03-10T18:03:00.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T18:03:00.763Z] + git tag --points-at HEAD [Pipeline] } [2023-03-10T18:03:00.793Z] $ docker exec --env ******** --env ******** 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e ssh-agent -k [2023-03-10T18:03:00.885Z] unset SSH_AUTH_SOCK; [2023-03-10T18:03:00.885Z] unset SSH_AGENT_PID; [2023-03-10T18:03:00.885Z] echo Agent pid 38 killed; [2023-03-10T18:03:00.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-10T18:03:00.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T18:03:00.996Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T18:03:01.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T18:03:01.113Z] $ docker exec 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e ssh-agent [2023-03-10T18:03:01.216Z] SSH_AUTH_SOCK=/tmp/ssh-5W6auqRZ6YQC/agent.70 [2023-03-10T18:03:01.216Z] SSH_AGENT_PID=76 [2023-03-10T18:03:01.223Z] Running ssh-add (command line suppressed) [2023-03-10T18:03:01.347Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_4012544462329420590.key (/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_4012544462329420590.key) [2023-03-10T18:03:01.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T18:03:01.682Z] + git semver init [2023-03-10T18:03:01.942Z] 2023-03-10 18:03:01,857 [run_init] DEBUG init version:0.0.0 force:False [2023-03-10T18:03:01.942Z] 2023-03-10 18:03:01,858 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver [2023-03-10T18:03:01.942Z] 2023-03-10 18:03:01,858 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver [2023-03-10T18:03:01.942Z] 2023-03-10 18:03:01,859 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-521, universal_newlines=False, shell=None, istream=None) [2023-03-10T18:03:02.878Z] 2023-03-10 18:03:02,718 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.git/info/exclude [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,719 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver/PR-521 with force:False [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,719 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver/PR-521 [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,723 [execute] INFO git cat-file --batch-check [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,730 [execute] INFO git cat-file --batch [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T18:03:02.879Z] 2023-03-10 18:03:02,735 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver/PR-521 [2023-03-10T18:03:02.879Z] 0.0.0 [Pipeline] } [2023-03-10T18:03:02.906Z] $ docker exec --env ******** --env ******** 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e ssh-agent -k [2023-03-10T18:03:03.000Z] unset SSH_AUTH_SOCK; [2023-03-10T18:03:03.001Z] unset SSH_AGENT_PID; [2023-03-10T18:03:03.001Z] echo Agent pid 76 killed; [2023-03-10T18:03:03.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-10T18:03:03.418Z] + git semver [Pipeline] } [2023-03-10T18:03:03.710Z] $ docker stop --time=1 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e [2023-03-10T18:03:05.005Z] $ docker rm -f --volumes 21733f145f8514b11ac2991a654f338d26f4995dfccaab8eac3de97b1e88428e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T18:03:05.401Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-10T18:03:05.660Z] Stashed 1 file(s) [Pipeline] echo [2023-03-10T18:03:05.678Z] [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-10T18:03:06.251Z] provisioning config files... [2023-03-10T18:03:06.258Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config7733810243139156365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:03:06.609Z] ---> docker-login.sh [2023-03-10T18:03:06.610Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:03:06.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:03:06.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:03:06.610Z] Configure a credential helper to remove this warning. See [2023-03-10T18:03:06.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:03:06.610Z] [2023-03-10T18:03:06.610Z] Login Succeeded [2023-03-10T18:03:06.610Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:03:06.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:03:06.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:03:06.610Z] Configure a credential helper to remove this warning. See [2023-03-10T18:03:06.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:03:06.610Z] [2023-03-10T18:03:06.610Z] Login Succeeded [2023-03-10T18:03:06.610Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:03:06.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:03:06.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:03:06.868Z] Configure a credential helper to remove this warning. See [2023-03-10T18:03:06.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:03:06.868Z] [2023-03-10T18:03:06.868Z] Login Succeeded [2023-03-10T18:03:06.868Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:03:06.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:03:06.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:03:06.868Z] Configure a credential helper to remove this warning. See [2023-03-10T18:03:06.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:03:06.868Z] [2023-03-10T18:03:06.868Z] Login Succeeded [2023-03-10T18:03:06.868Z] docker.io [2023-03-10T18:03:06.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:03:07.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:03:07.127Z] Configure a credential helper to remove this warning. See [2023-03-10T18:03:07.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:03:07.127Z] [2023-03-10T18:03:07.127Z] Login Succeeded [2023-03-10T18:03:07.127Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:03:07.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T18:03:07.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T18:03:07.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T18:03:07.395Z] ========================================================= [2023-03-10T18:03:07.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-10T18:03:07.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:03:07.878Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-10T18:03:07.878Z] Sending build context to Docker daemon 6.361MB [2023-03-10T18:03:07.878Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T18:03:07.878Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-10T18:03:07.878Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-10T18:03:07.878Z] 213ec9aee27d: Pulling fs layer [2023-03-10T18:03:07.878Z] 4583459ba037: Pulling fs layer [2023-03-10T18:03:07.878Z] 93c1e223e6f2: Pulling fs layer [2023-03-10T18:03:07.878Z] 53926ce57604: Pulling fs layer [2023-03-10T18:03:07.878Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-10T18:03:07.878Z] 22ff95d597cd: Pulling fs layer [2023-03-10T18:03:07.878Z] 12d6caf4c0d1: Pulling fs layer [2023-03-10T18:03:07.878Z] 96b7cbca73a9: Pulling fs layer [2023-03-10T18:03:07.878Z] a7acece74701: Pulling fs layer [2023-03-10T18:03:07.878Z] 22ff95d597cd: Waiting [2023-03-10T18:03:07.878Z] 12d6caf4c0d1: Waiting [2023-03-10T18:03:07.878Z] 96b7cbca73a9: Waiting [2023-03-10T18:03:07.878Z] a7acece74701: Waiting [2023-03-10T18:03:07.878Z] 53926ce57604: Waiting [2023-03-10T18:03:07.878Z] 21b2b0c7a3f4: Waiting [2023-03-10T18:03:07.878Z] 93c1e223e6f2: Verifying Checksum [2023-03-10T18:03:07.878Z] 93c1e223e6f2: Download complete [2023-03-10T18:03:07.878Z] 4583459ba037: Download complete [2023-03-10T18:03:07.878Z] 21b2b0c7a3f4: Download complete [2023-03-10T18:03:08.140Z] 22ff95d597cd: Verifying Checksum [2023-03-10T18:03:08.140Z] 22ff95d597cd: Download complete [2023-03-10T18:03:08.141Z] 213ec9aee27d: Download complete [2023-03-10T18:03:08.141Z] 12d6caf4c0d1: Verifying Checksum [2023-03-10T18:03:08.141Z] 12d6caf4c0d1: Download complete [2023-03-10T18:03:08.141Z] 213ec9aee27d: Pull complete [2023-03-10T18:03:08.440Z] 4583459ba037: Pull complete [2023-03-10T18:03:08.440Z] 93c1e223e6f2: Pull complete [2023-03-10T18:03:08.704Z] a7acece74701: Verifying Checksum [2023-03-10T18:03:08.704Z] a7acece74701: Download complete [2023-03-10T18:03:08.964Z] 96b7cbca73a9: Verifying Checksum [2023-03-10T18:03:08.964Z] 96b7cbca73a9: Download complete [2023-03-10T18:03:08.964Z] 53926ce57604: Download complete [2023-03-10T18:03:13.141Z] 53926ce57604: Pull complete [2023-03-10T18:03:13.141Z] 21b2b0c7a3f4: Pull complete [2023-03-10T18:03:13.141Z] 22ff95d597cd: Pull complete [2023-03-10T18:03:13.141Z] 12d6caf4c0d1: Pull complete [2023-03-10T18:03:15.039Z] 96b7cbca73a9: Pull complete [2023-03-10T18:03:15.607Z] a7acece74701: Pull complete [2023-03-10T18:03:15.607Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-10T18:03:15.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-10T18:03:15.607Z] ---> db6d94c90886 [2023-03-10T18:03:15.607Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-10T18:03:19.806Z] ---> Running in 1e618ed47de8 [2023-03-10T18:03:19.806Z] Removing intermediate container 1e618ed47de8 [2023-03-10T18:03:19.806Z] ---> a6fbf6c020f0 [2023-03-10T18:03:19.806Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T18:03:19.806Z] ---> Running in 18c54b36423b [2023-03-10T18:03:19.806Z] Removing intermediate container 18c54b36423b [2023-03-10T18:03:19.806Z] ---> 5ef2fc7a2a84 [2023-03-10T18:03:19.806Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T18:03:19.806Z] ---> Running in 274278294d9a [2023-03-10T18:03:19.806Z] Removing intermediate container 274278294d9a [2023-03-10T18:03:19.806Z] ---> aa41540c4414 [2023-03-10T18:03:19.806Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T18:03:19.806Z] ---> Running in c53ff270cf11 [2023-03-10T18:03:19.806Z] Removing intermediate container c53ff270cf11 [2023-03-10T18:03:19.806Z] ---> 0a4dd6a6d17e [2023-03-10T18:03:19.806Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T18:03:19.806Z] ---> Running in 79813905397b [2023-03-10T18:03:20.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:03:20.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T18:03:21.079Z] Still waiting to schedule task [2023-03-10T18:03:21.079Z] ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-10T18:03:21.079Z] ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-10T18:03:21.080Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9639’ is offline [2023-03-10T18:03:21.201Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-10T18:03:21.201Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-10T18:03:21.201Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-10T18:03:21.201Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-10T18:03:21.201Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:03:21.201Z] OK: 216 MiB in 55 packages [2023-03-10T18:03:21.768Z] Removing intermediate container 79813905397b [2023-03-10T18:03:21.768Z] ---> 83a9c00dd2a4 [2023-03-10T18:03:21.768Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-10T18:03:21.768Z] ---> Running in f721170614fa [2023-03-10T18:03:21.768Z] Removing intermediate container f721170614fa [2023-03-10T18:03:21.768Z] ---> dd5b022bd990 [2023-03-10T18:03:21.768Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-10T18:03:22.027Z] ---> 088eea23f8e3 [2023-03-10T18:03:22.027Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T18:03:22.027Z] ---> Running in f47ad89b83c7 [2023-03-10T18:03:48.569Z] Removing intermediate container f47ad89b83c7 [2023-03-10T18:03:48.569Z] ---> 0601198fe665 [2023-03-10T18:03:48.569Z] Step 11/12 : COPY . . [2023-03-10T18:03:48.569Z] ---> c340fbdd7b15 [2023-03-10T18:03:48.569Z] Step 12/12 : RUN $MAKE [2023-03-10T18:03:48.569Z] ---> Running in 67816b4bc308 [2023-03-10T18:03:48.569Z] noop [2023-03-10T18:03:48.569Z] Removing intermediate container 67816b4bc308 [2023-03-10T18:03:48.569Z] ---> 08bab7e2b225 [2023-03-10T18:03:48.569Z] Successfully built 08bab7e2b225 [2023-03-10T18:03:48.569Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:03:49.031Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T18:03:49.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:03:49.167Z] prd-ubuntu20.04-docker-8c-8g-9638 does not seem to be running inside a container [2023-03-10T18:03:49.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-10T18:03:49.530Z] $ docker top 939d803512b2efe90983db9e8b8068daf6f78794a6ca4b132822c8848b9cd876 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:03:49.902Z] + go version [2023-03-10T18:03:49.902Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-10T18:03:49.936Z] $ docker stop --time=1 939d803512b2efe90983db9e8b8068daf6f78794a6ca4b132822c8848b9cd876 [2023-03-10T18:03:51.181Z] $ docker rm -f --volumes 939d803512b2efe90983db9e8b8068daf6f78794a6ca4b132822c8848b9cd876 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:03:51.857Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T18:03:51.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:03:52.000Z] prd-ubuntu20.04-docker-8c-8g-9638 does not seem to be running inside a container [2023-03-10T18:03:52.030Z] $ 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-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-10T18:03:52.330Z] $ docker top 092263864bcce32fc743fd3e1e5768257e544962d0eb32e961e7ff99c1f0dddc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:03:52.715Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-521 [Pipeline] fileExists [Pipeline] sh [2023-03-10T18:03:53.070Z] + make test [2023-03-10T18:03:53.070Z] go test ./... -coverprofile=coverage.out ./... [2023-03-10T18:03:53.328Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-10T18:04:01.428Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-10T18:04:01.687Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.2% of statements [2023-03-10T18:04:01.687Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-10T18:04:08.246Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-10T18:04:08.246Z] go vet ./... [2023-03-10T18:04:10.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-10T18:04:10.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-10T18:04:10.776Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-10T18:04:10.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-10T18:04:10.845Z] $ docker stop --time=1 092263864bcce32fc743fd3e1e5768257e544962d0eb32e961e7ff99c1f0dddc [2023-03-10T18:04:13.268Z] $ docker rm -f --volumes 092263864bcce32fc743fd3e1e5768257e544962d0eb32e961e7ff99c1f0dddc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T18:04:13.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-10T18:04:13.819Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-10T18:04:14.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T18:04:14.712Z] + ls -al . [2023-03-10T18:04:14.712Z] total 180 [2023-03-10T18:04:14.712Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 18:03 . [2023-03-10T18:04:14.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:02 .. [2023-03-10T18:04:14.712Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 18:02 .dockerignore [2023-03-10T18:04:14.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:04 .git [2023-03-10T18:04:14.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:02 .github [2023-03-10T18:04:14.712Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 10 18:02 .gitignore [2023-03-10T18:04:14.712Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 10 18:02 .golangci.yml [2023-03-10T18:04:14.712Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:03 .semver [2023-03-10T18:04:14.712Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 10 18:02 Attribution.txt [2023-03-10T18:04:14.712Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 10 18:02 CHANGELOG.md [2023-03-10T18:04:14.712Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 10 18:02 Dockerfile [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 18:02 GOVERNANCE.md [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 10 18:02 Jenkinsfile [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 10 18:02 LICENSE [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 10 18:02 Makefile [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 10 18:02 OWNERS.md [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 10 18:02 README.md [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:03 VERSION [2023-03-10T18:04:14.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:02 bin [2023-03-10T18:04:14.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:02 cmd [2023-03-10T18:04:14.713Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 10 18:04 coverage.out [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 10 18:02 go.mod [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 10 18:02 go.sum [2023-03-10T18:04:14.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:02 internal [2023-03-10T18:04:14.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:02 mock [2023-03-10T18:04:14.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:02 snap [2023-03-10T18:04:14.713Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 10 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:04:15.089Z] + 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=b19e386d8e8ed9765def202b879e4c9db9919488 --label arch=amd64 --label version=0.0.0 . [2023-03-10T18:04:15.089Z] Sending build context to Docker daemon 6.38MB [2023-03-10T18:04:15.089Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T18:04:15.089Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-10T18:04:15.089Z] ---> 08bab7e2b225 [2023-03-10T18:04:15.089Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-10T18:04:15.089Z] ---> Running in 8fa7cb1d8e65 [2023-03-10T18:04:15.350Z] Removing intermediate container 8fa7cb1d8e65 [2023-03-10T18:04:15.350Z] ---> 21fb65f32960 [2023-03-10T18:04:15.350Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T18:04:15.350Z] ---> Running in 123aebc112ab [2023-03-10T18:04:15.350Z] Removing intermediate container 123aebc112ab [2023-03-10T18:04:15.350Z] ---> ed9f709bf898 [2023-03-10T18:04:15.350Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T18:04:15.350Z] ---> Running in 4880cc45aef1 [2023-03-10T18:04:15.350Z] Removing intermediate container 4880cc45aef1 [2023-03-10T18:04:15.350Z] ---> edc87b67c4b7 [2023-03-10T18:04:15.350Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T18:04:15.350Z] ---> Running in 747ff29ebed8 [2023-03-10T18:04:15.609Z] Removing intermediate container 747ff29ebed8 [2023-03-10T18:04:15.609Z] ---> 6053ab423cd8 [2023-03-10T18:04:15.609Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T18:04:15.609Z] ---> Running in f28cbccb7c4b [2023-03-10T18:04:15.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:04:16.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T18:04:16.384Z] OK: 216 MiB in 55 packages [2023-03-10T18:04:16.650Z] Removing intermediate container f28cbccb7c4b [2023-03-10T18:04:16.650Z] ---> 231ebe034dc8 [2023-03-10T18:04:16.650Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-10T18:04:16.650Z] ---> Running in 61b0f8f53c21 [2023-03-10T18:04:16.650Z] Removing intermediate container 61b0f8f53c21 [2023-03-10T18:04:16.650Z] ---> 63bba4108e29 [2023-03-10T18:04:16.650Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-10T18:04:16.911Z] ---> 633be0b51da4 [2023-03-10T18:04:16.911Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T18:04:16.911Z] ---> Running in 6543d71fdfd4 [2023-03-10T18:04:17.845Z] Removing intermediate container 6543d71fdfd4 [2023-03-10T18:04:17.845Z] ---> f25516edf3dc [2023-03-10T18:04:17.845Z] Step 11/24 : COPY . . [2023-03-10T18:04:17.845Z] ---> 279e1e3d1a40 [2023-03-10T18:04:17.845Z] Step 12/24 : RUN $MAKE [2023-03-10T18:04:17.845Z] ---> Running in 7dee3108cbdd [2023-03-10T18:04:18.114Z] 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-10T18:04:36.202Z] Removing intermediate container 7dee3108cbdd [2023-03-10T18:04:36.202Z] ---> bb7ee1e7d038 [2023-03-10T18:04:36.202Z] Step 13/24 : FROM alpine:3.16 [2023-03-10T18:04:36.461Z] 3.16: Pulling from library/alpine [2023-03-10T18:04:36.461Z] ef5531b6e74e: Pulling fs layer [2023-03-10T18:04:36.720Z] ef5531b6e74e: Download complete [2023-03-10T18:04:36.720Z] ef5531b6e74e: Pull complete [2023-03-10T18:04:36.720Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-10T18:04:36.720Z] Status: Downloaded newer image for alpine:3.16 [2023-03-10T18:04:36.720Z] ---> dfd21b5a31f5 [2023-03-10T18:04:36.720Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-10T18:04:36.978Z] ---> Running in cbd2af17674d [2023-03-10T18:04:36.978Z] Removing intermediate container cbd2af17674d [2023-03-10T18:04:36.978Z] ---> 71e301f3ea1d [2023-03-10T18:04:36.978Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-10T18:04:36.978Z] ---> Running in e8f0e398afab [2023-03-10T18:04:37.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:04:37.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T18:04:37.752Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-10T18:04:37.752Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:04:37.752Z] OK: 6 MiB in 15 packages [2023-03-10T18:04:38.009Z] Removing intermediate container e8f0e398afab [2023-03-10T18:04:38.009Z] ---> a713a64c13b5 [2023-03-10T18:04:38.009Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-10T18:04:38.946Z] ---> b02a1face9bc [2023-03-10T18:04:38.946Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-10T18:04:38.946Z] ---> 6072e94f7421 [2023-03-10T18:04:38.946Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-10T18:04:39.204Z] ---> 27e06a618e46 [2023-03-10T18:04:39.204Z] Step 19/24 : EXPOSE 59982 [2023-03-10T18:04:39.204Z] ---> Running in 86abca6bdf38 [2023-03-10T18:04:39.204Z] Removing intermediate container 86abca6bdf38 [2023-03-10T18:04:39.204Z] ---> bcd85f6d6925 [2023-03-10T18:04:39.204Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-10T18:04:39.204Z] ---> Running in 20704bef1c07 [2023-03-10T18:04:39.462Z] Removing intermediate container 20704bef1c07 [2023-03-10T18:04:39.462Z] ---> be56155f0df3 [2023-03-10T18:04:39.462Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-10T18:04:39.462Z] ---> Running in 2197ef794627 [2023-03-10T18:04:39.462Z] Removing intermediate container 2197ef794627 [2023-03-10T18:04:39.462Z] ---> 9567dd3848dc [2023-03-10T18:04:39.462Z] Step 22/24 : LABEL arch=amd64 [2023-03-10T18:04:39.462Z] ---> Running in 1d1d6dc5fb3f [2023-03-10T18:04:39.462Z] Removing intermediate container 1d1d6dc5fb3f [2023-03-10T18:04:39.462Z] ---> f919fce53f7a [2023-03-10T18:04:39.462Z] Step 23/24 : LABEL git_sha=b19e386d8e8ed9765def202b879e4c9db9919488 [2023-03-10T18:04:39.462Z] ---> Running in c6d83c037088 [2023-03-10T18:04:39.720Z] Removing intermediate container c6d83c037088 [2023-03-10T18:04:39.720Z] ---> 2a095660eff8 [2023-03-10T18:04:39.720Z] Step 24/24 : LABEL version=0.0.0 [2023-03-10T18:04:39.720Z] ---> Running in 46b0b909e23a [2023-03-10T18:04:39.720Z] Removing intermediate container 46b0b909e23a [2023-03-10T18:04:39.720Z] ---> c12f07afac13 [2023-03-10T18:04:39.720Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-10T18:04:39.720Z] Successfully built c12f07afac13 [2023-03-10T18:04:39.720Z] 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-10T18:04:40.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:04:40.559Z] [2023-03-10T18:04:40.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:04:40.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:04:40.939Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-10T18:04:40.939Z] 5eb5b503b376: Pulling fs layer [2023-03-10T18:04:40.939Z] 5c69ac0246d0: Pulling fs layer [2023-03-10T18:04:40.939Z] ec43610c2a17: Pulling fs layer [2023-03-10T18:04:40.939Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-10T18:04:40.939Z] 33b1e0a273af: Pulling fs layer [2023-03-10T18:04:40.939Z] 5d3b04190fa2: Pulling fs layer [2023-03-10T18:04:40.939Z] 2f39f015ded8: Pulling fs layer [2023-03-10T18:04:40.939Z] 33b1e0a273af: Waiting [2023-03-10T18:04:40.939Z] 5d3b04190fa2: Waiting [2023-03-10T18:04:40.940Z] 3a2ae6a8a46f: Waiting [2023-03-10T18:04:40.940Z] 2f39f015ded8: Waiting [2023-03-10T18:04:40.940Z] 5c69ac0246d0: Download complete [2023-03-10T18:04:40.940Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-10T18:04:40.940Z] 3a2ae6a8a46f: Download complete [2023-03-10T18:04:41.201Z] 33b1e0a273af: Verifying Checksum [2023-03-10T18:04:41.201Z] 33b1e0a273af: Download complete [2023-03-10T18:04:41.201Z] ec43610c2a17: Verifying Checksum [2023-03-10T18:04:41.201Z] ec43610c2a17: Download complete [2023-03-10T18:04:41.201Z] 5d3b04190fa2: Download complete [2023-03-10T18:04:41.201Z] 5eb5b503b376: Verifying Checksum [2023-03-10T18:04:41.201Z] 5eb5b503b376: Download complete [2023-03-10T18:04:41.767Z] 2f39f015ded8: Download complete [2023-03-10T18:04:42.335Z] 5eb5b503b376: Pull complete [2023-03-10T18:04:42.595Z] 5c69ac0246d0: Pull complete [2023-03-10T18:04:43.162Z] ec43610c2a17: Pull complete [2023-03-10T18:04:43.162Z] 3a2ae6a8a46f: Pull complete [2023-03-10T18:04:43.419Z] 33b1e0a273af: Pull complete [2023-03-10T18:04:43.419Z] 5d3b04190fa2: Pull complete [2023-03-10T18:04:47.600Z] 2f39f015ded8: Pull complete [2023-03-10T18:04:47.600Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-10T18:04:47.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:04:47.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:04:47.820Z] prd-ubuntu20.04-docker-8c-8g-9638 does not seem to be running inside a container [2023-03-10T18:04:47.853Z] $ 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-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-10T18:04:52.412Z] $ docker top c418a3cacd0143d82f0c0c7f4c04f1674a9ad561423016b23bfc3d564254f345 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:04:52.855Z] ---> job-cost.sh [2023-03-10T18:04:52.855Z] lf-activate-venv: SKIPPING [2023-03-10T18:04:52.855Z] INFO: No Stack... [2023-03-10T18:04:53.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T18:04:53.682Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T18:04:53.998Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives/cost.csv [2023-03-10T18:04:53.998Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T18:04:54.040Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] [2023-03-10T18:04:54.045Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] did not exist. Created. [2023-03-10T18:04:54.045Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T18:04:54.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-10T18:04:54.478Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T18:04:54.502Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T18:04:54.627Z] $ docker stop --time=1 c418a3cacd0143d82f0c0c7f4c04f1674a9ad561423016b23bfc3d564254f345 [2023-03-10T18:04:55.776Z] $ docker rm -f --volumes c418a3cacd0143d82f0c0c7f4c04f1674a9ad561423016b23bfc3d564254f345 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-10T18:05:43.680Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9641 in /w/workspace/gexfoundry_device-mqtt-go_PR-521 [Pipeline] { [Pipeline] ws [2023-03-10T18:05:43.735Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-10T18:05:43.815Z] Selected Git installation does not exist. Using Default [2023-03-10T18:05:43.815Z] The recommended git tool is: NONE [2023-03-10T18:05:49.451Z] using credential edgex-jenkins-ssh [2023-03-10T18:05:49.466Z] Cloning the remote Git repository [2023-03-10T18:05:49.517Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-10T18:05:49.614Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-10T18:05:49.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-10T18:05:49.785Z] > git --version # timeout=10 [2023-03-10T18:05:49.810Z] > git --version # 'git version 2.25.1' [2023-03-10T18:05:49.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T18:05:49.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T18:05:51.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-10T18:05:51.795Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T18:05:53.462Z] Merging remotes/origin/main commit 229099614b4381a690093be203497270268560bd into PR head commit b19e386d8e8ed9765def202b879e4c9db9919488 [2023-03-10T18:05:53.707Z] Merge succeeded, producing b19e386d8e8ed9765def202b879e4c9db9919488 [2023-03-10T18:05:53.708Z] Checking out Revision b19e386d8e8ed9765def202b879e4c9db9919488 (PR-521) [2023-03-10T18:05:52.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-10T18:05:52.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-10T18:05:52.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T18:05:52.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-10T18:05:53.479Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T18:05:53.506Z] > git checkout -f b19e386d8e8ed9765def202b879e4c9db9919488 # timeout=10 [2023-03-10T18:05:53.595Z] > git remote # timeout=10 [2023-03-10T18:05:53.616Z] > git config --get remote.origin.url # timeout=10 [2023-03-10T18:05:53.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T18:05:53.659Z] > git merge 229099614b4381a690093be203497270268560bd # timeout=10 [2023-03-10T18:05:53.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-10T18:05:53.714Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T18:05:53.733Z] > git checkout -f b19e386d8e8ed9765def202b879e4c9db9919488 # timeout=10 [2023-03-10T18:05:57.272Z] Commit message: "refactor!: updated secret path to secretName" [2023-03-10T18:05:57.329Z] > git --version # timeout=10 [2023-03-10T18:05:57.340Z] > git --version # 'git version 2.25.1' [2023-03-10T18:05:57.360Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T18:05:58.438Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-10T18:05:58.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-10T18:05:58.438Z] Dload Upload Total Spent Left Speed [2023-03-10T18:05:58.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-03-10T18:05:59.161Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-10T18:05:59.512Z] + + sudo tee /etc/docker/daemon.new [2023-03-10T18:05:59.512Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-10T18:05:59.512Z] { [2023-03-10T18:05:59.512Z] "registry-mirrors": [ [2023-03-10T18:05:59.512Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-10T18:05:59.512Z] ], [2023-03-10T18:05:59.512Z] "bip": "10.250.0.254/24", [2023-03-10T18:05:59.512Z] "hosts": [ [2023-03-10T18:05:59.512Z] "tcp://0.0.0.0:5555", [2023-03-10T18:05:59.512Z] "unix:///var/run/docker.sock" [2023-03-10T18:05:59.512Z] ], [2023-03-10T18:05:59.512Z] "mtu": 1458, [2023-03-10T18:05:59.512Z] "selinux-enabled": true, [2023-03-10T18:05:59.512Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-10T18:05:59.512Z] } [Pipeline] sh [2023-03-10T18:05:59.873Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-10T18:06:00.234Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:06:18.583Z] provisioning config files... [2023-03-10T18:06:18.612Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13162752667434667283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:06:19.013Z] ---> docker-login.sh [2023-03-10T18:06:19.013Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:06:19.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:06:19.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:06:19.604Z] Configure a credential helper to remove this warning. See [2023-03-10T18:06:19.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:06:19.604Z] [2023-03-10T18:06:19.604Z] Login Succeeded [2023-03-10T18:06:19.604Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:06:19.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:06:19.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:06:19.873Z] Configure a credential helper to remove this warning. See [2023-03-10T18:06:19.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:06:19.873Z] [2023-03-10T18:06:19.873Z] Login Succeeded [2023-03-10T18:06:20.142Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:06:20.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:06:20.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:06:20.412Z] Configure a credential helper to remove this warning. See [2023-03-10T18:06:20.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:06:20.412Z] [2023-03-10T18:06:20.412Z] Login Succeeded [2023-03-10T18:06:20.412Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:06:20.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:06:20.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:06:20.684Z] Configure a credential helper to remove this warning. See [2023-03-10T18:06:20.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:06:20.684Z] [2023-03-10T18:06:20.684Z] Login Succeeded [2023-03-10T18:06:20.684Z] docker.io [2023-03-10T18:06:20.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:06:21.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:06:21.221Z] Configure a credential helper to remove this warning. See [2023-03-10T18:06:21.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:06:21.221Z] [2023-03-10T18:06:21.221Z] Login Succeeded [2023-03-10T18:06:21.221Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:06:21.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T18:06:21.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T18:06:21.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T18:06:21.775Z] ========================================================= [2023-03-10T18:06:21.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-10T18:06:21.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:06:22.275Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-10T18:06:22.544Z] Sending build context to Docker daemon 3.319MB [2023-03-10T18:06:22.544Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T18:06:22.544Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-10T18:06:22.830Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-10T18:06:22.830Z] 9b18e9b68314: Pulling fs layer [2023-03-10T18:06:22.831Z] 35d82f9e3411: Pulling fs layer [2023-03-10T18:06:22.831Z] e16973657156: Pulling fs layer [2023-03-10T18:06:22.831Z] fc693d55d65f: Pulling fs layer [2023-03-10T18:06:22.831Z] 7e9fc2657dce: Pulling fs layer [2023-03-10T18:06:22.831Z] dda99020689f: Pulling fs layer [2023-03-10T18:06:22.831Z] db1c61fa0a46: Pulling fs layer [2023-03-10T18:06:22.831Z] 891c053d2c06: Pulling fs layer [2023-03-10T18:06:22.831Z] fc693d55d65f: Waiting [2023-03-10T18:06:22.831Z] 7e9fc2657dce: Waiting [2023-03-10T18:06:22.831Z] dda99020689f: Waiting [2023-03-10T18:06:22.831Z] db1c61fa0a46: Waiting [2023-03-10T18:06:22.831Z] 891c053d2c06: Waiting [2023-03-10T18:06:22.831Z] e16973657156: Download complete [2023-03-10T18:06:22.831Z] 35d82f9e3411: Verifying Checksum [2023-03-10T18:06:22.831Z] 35d82f9e3411: Download complete [2023-03-10T18:06:22.831Z] 7e9fc2657dce: Download complete [2023-03-10T18:06:22.831Z] dda99020689f: Verifying Checksum [2023-03-10T18:06:22.831Z] dda99020689f: Download complete [2023-03-10T18:06:22.831Z] 9b18e9b68314: Verifying Checksum [2023-03-10T18:06:22.831Z] 9b18e9b68314: Download complete [2023-03-10T18:06:23.827Z] 9b18e9b68314: Pull complete [2023-03-10T18:06:23.827Z] 891c053d2c06: Verifying Checksum [2023-03-10T18:06:23.827Z] 891c053d2c06: Download complete [2023-03-10T18:06:24.426Z] 35d82f9e3411: Pull complete [2023-03-10T18:06:24.696Z] e16973657156: Pull complete [2023-03-10T18:06:24.964Z] db1c61fa0a46: Verifying Checksum [2023-03-10T18:06:24.964Z] db1c61fa0a46: Download complete [2023-03-10T18:06:25.549Z] fc693d55d65f: Verifying Checksum [2023-03-10T18:06:25.549Z] fc693d55d65f: Download complete [2023-03-10T18:06:37.901Z] fc693d55d65f: Pull complete [2023-03-10T18:06:37.901Z] 7e9fc2657dce: Pull complete [2023-03-10T18:06:37.901Z] dda99020689f: Pull complete [2023-03-10T18:06:42.172Z] db1c61fa0a46: Pull complete [2023-03-10T18:06:44.124Z] 891c053d2c06: Pull complete [2023-03-10T18:06:44.124Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-10T18:06:44.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-10T18:06:44.124Z] ---> f96f9c87975a [2023-03-10T18:06:44.124Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-10T18:06:46.077Z] ---> Running in 357eeb240377 [2023-03-10T18:06:46.345Z] Removing intermediate container 357eeb240377 [2023-03-10T18:06:46.345Z] ---> 02c295951d39 [2023-03-10T18:06:46.345Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T18:06:46.345Z] ---> Running in 5add2dfe1c5a [2023-03-10T18:06:46.614Z] Removing intermediate container 5add2dfe1c5a [2023-03-10T18:06:46.614Z] ---> 100cc033b0c5 [2023-03-10T18:06:46.614Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T18:06:46.882Z] ---> Running in 4c5f466d9b0c [2023-03-10T18:06:47.148Z] Removing intermediate container 4c5f466d9b0c [2023-03-10T18:06:47.148Z] ---> 21fb1bf2394d [2023-03-10T18:06:47.148Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T18:06:47.148Z] ---> Running in 79257679cde9 [2023-03-10T18:06:47.417Z] Removing intermediate container 79257679cde9 [2023-03-10T18:06:47.417Z] ---> c4c4ba466e1d [2023-03-10T18:06:47.417Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T18:06:47.684Z] ---> Running in e03de46edec1 [2023-03-10T18:06:48.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T18:06:48.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T18:06:49.885Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-10T18:06:49.885Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-10T18:06:49.885Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-10T18:06:50.152Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-10T18:06:50.152Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:06:50.152Z] OK: 226 MiB in 55 packages [2023-03-10T18:06:51.114Z] Removing intermediate container e03de46edec1 [2023-03-10T18:06:51.114Z] ---> 1cd463c2268b [2023-03-10T18:06:51.114Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-10T18:06:51.114Z] ---> Running in 174b9dd7245b [2023-03-10T18:06:51.381Z] Removing intermediate container 174b9dd7245b [2023-03-10T18:06:51.381Z] ---> b681af7672e8 [2023-03-10T18:06:51.381Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-10T18:06:51.968Z] ---> 5be7b2aa36ad [2023-03-10T18:06:51.968Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T18:06:51.968Z] ---> Running in 012c41f83b37 [2023-03-10T18:08:13.628Z] Removing intermediate container 012c41f83b37 [2023-03-10T18:08:13.628Z] ---> bdf0de4fbe3e [2023-03-10T18:08:13.628Z] Step 11/12 : COPY . . [2023-03-10T18:08:13.628Z] ---> d3f7fb12840f [2023-03-10T18:08:13.628Z] Step 12/12 : RUN $MAKE [2023-03-10T18:08:13.628Z] ---> Running in 482fdb3ca15f [2023-03-10T18:08:13.628Z] noop [2023-03-10T18:08:13.628Z] Removing intermediate container 482fdb3ca15f [2023-03-10T18:08:13.628Z] ---> 358dac6c2afc [2023-03-10T18:08:13.628Z] Successfully built 358dac6c2afc [2023-03-10T18:08:13.628Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:08:14.115Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T18:08:14.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:08:14.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-9641 does not seem to be running inside a container [2023-03-10T18:08:14.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-10T18:08:15.856Z] $ docker top b5187931c374f419054d81310738b6d7fa8b450006eba689326d783b20dfa7ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:08:16.773Z] + go version [2023-03-10T18:08:16.773Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-10T18:08:16.808Z] $ docker stop --time=1 b5187931c374f419054d81310738b6d7fa8b450006eba689326d783b20dfa7ae [2023-03-10T18:08:18.479Z] $ docker rm -f --volumes b5187931c374f419054d81310738b6d7fa8b450006eba689326d783b20dfa7ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:08:19.321Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T18:08:19.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:08:19.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-9641 does not seem to be running inside a container [2023-03-10T18:08:19.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-10T18:08:20.894Z] $ docker top bb158fe0978b95a39117fe9cd155cb5e07b41ccb4f190ac26bda8e9b0b8a88db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:08:21.796Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-10T18:08:22.502Z] + make test [2023-03-10T18:08:22.502Z] go test ./... -coverprofile=coverage.out ./... [2023-03-10T18:08:23.913Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-10T18:09:45.575Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-10T18:09:46.981Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 22.2% of statements [2023-03-10T18:09:46.981Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-10T18:09:47.248Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-10T18:09:47.248Z] go vet ./... [2023-03-10T18:10:14.016Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-10T18:10:14.016Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-10T18:10:14.016Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-10T18:10:14.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-10T18:10:14.085Z] $ docker stop --time=1 bb158fe0978b95a39117fe9cd155cb5e07b41ccb4f190ac26bda8e9b0b8a88db [2023-03-10T18:10:16.178Z] $ docker rm -f --volumes bb158fe0978b95a39117fe9cd155cb5e07b41ccb4f190ac26bda8e9b0b8a88db [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T18:10:17.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-10T18:10:17.377Z] Warning: overwriting stash ‘coverage-report’ [2023-03-10T18:10:18.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T18:10:18.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T18:10:18.977Z] + ls -al . [2023-03-10T18:10:18.977Z] total 176 [2023-03-10T18:10:18.977Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 18:08 . [2023-03-10T18:10:18.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:05 .. [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 18:05 .dockerignore [2023-03-10T18:10:18.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:05 .git [2023-03-10T18:10:18.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:05 .github [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 10 18:05 .gitignore [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 10 18:05 .golangci.yml [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 10 18:05 Attribution.txt [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 10 18:05 CHANGELOG.md [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 10 18:05 Dockerfile [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 18:05 GOVERNANCE.md [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 10 18:05 Jenkinsfile [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 10 18:05 LICENSE [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 10 18:05 Makefile [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 10 18:05 OWNERS.md [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 10 18:05 README.md [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:03 VERSION [2023-03-10T18:10:18.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:05 bin [2023-03-10T18:10:18.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:05 cmd [2023-03-10T18:10:18.977Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 10 18:09 coverage.out [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 10 18:05 go.mod [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 10 18:05 go.sum [2023-03-10T18:10:18.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 18:05 internal [2023-03-10T18:10:18.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:05 mock [2023-03-10T18:10:18.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:05 snap [2023-03-10T18:10:18.977Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 10 18:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:10:19.441Z] + 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=b19e386d8e8ed9765def202b879e4c9db9919488 --label arch=arm64 --label version=0.0.0 . [2023-03-10T18:10:19.709Z] Sending build context to Docker daemon 3.338MB [2023-03-10T18:10:19.977Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T18:10:19.977Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-10T18:10:19.977Z] ---> 358dac6c2afc [2023-03-10T18:10:19.978Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-10T18:10:19.978Z] ---> Running in 21b953695331 [2023-03-10T18:10:20.245Z] Removing intermediate container 21b953695331 [2023-03-10T18:10:20.245Z] ---> e2174cd20115 [2023-03-10T18:10:20.245Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T18:10:20.516Z] ---> Running in 43e55174d200 [2023-03-10T18:10:20.784Z] Removing intermediate container 43e55174d200 [2023-03-10T18:10:20.784Z] ---> 2b6e8e61b883 [2023-03-10T18:10:20.784Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T18:10:20.784Z] ---> Running in 3b89aa823306 [2023-03-10T18:10:21.057Z] Removing intermediate container 3b89aa823306 [2023-03-10T18:10:21.057Z] ---> cd2ec87ba475 [2023-03-10T18:10:21.057Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T18:10:21.057Z] ---> Running in fd7e2eaf4339 [2023-03-10T18:10:21.324Z] Removing intermediate container fd7e2eaf4339 [2023-03-10T18:10:21.324Z] ---> 93126a76e1d8 [2023-03-10T18:10:21.324Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T18:10:21.594Z] ---> Running in ed1527ee9c33 [2023-03-10T18:10:22.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T18:10:22.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T18:10:24.240Z] OK: 226 MiB in 55 packages [2023-03-10T18:10:26.921Z] Removing intermediate container ed1527ee9c33 [2023-03-10T18:10:26.921Z] ---> fddf0c625912 [2023-03-10T18:10:26.921Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-10T18:10:26.921Z] ---> Running in f3bf2687361c [2023-03-10T18:10:27.194Z] Removing intermediate container f3bf2687361c [2023-03-10T18:10:27.194Z] ---> d803bd85a97d [2023-03-10T18:10:27.194Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-10T18:10:27.811Z] ---> c4004561e05d [2023-03-10T18:10:27.811Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T18:10:27.811Z] ---> Running in 7e702425ae71 [2023-03-10T18:10:31.187Z] Removing intermediate container 7e702425ae71 [2023-03-10T18:10:31.187Z] ---> d2712a8b2529 [2023-03-10T18:10:31.187Z] Step 11/24 : COPY . . [2023-03-10T18:10:32.157Z] ---> 431e2b549f58 [2023-03-10T18:10:32.157Z] Step 12/24 : RUN $MAKE [2023-03-10T18:10:32.157Z] ---> Running in 00ba45613dbb [2023-03-10T18:10:33.575Z] 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-10T18:12:55.345Z] Removing intermediate container 00ba45613dbb [2023-03-10T18:12:55.345Z] ---> 1731d01fb400 [2023-03-10T18:12:55.345Z] Step 13/24 : FROM alpine:3.16 [2023-03-10T18:12:55.345Z] 3.16: Pulling from library/alpine [2023-03-10T18:12:55.345Z] 3760b48202b3: Pulling fs layer [2023-03-10T18:12:55.345Z] 3760b48202b3: Verifying Checksum [2023-03-10T18:12:55.345Z] 3760b48202b3: Download complete [2023-03-10T18:12:55.345Z] 3760b48202b3: Pull complete [2023-03-10T18:12:55.346Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-10T18:12:55.346Z] Status: Downloaded newer image for alpine:3.16 [2023-03-10T18:12:55.346Z] ---> 4c81e5bf8899 [2023-03-10T18:12:55.346Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-10T18:12:55.346Z] ---> Running in 9b8ad841e51e [2023-03-10T18:12:55.346Z] Removing intermediate container 9b8ad841e51e [2023-03-10T18:12:55.346Z] ---> 2881dfcb94bd [2023-03-10T18:12:55.346Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-10T18:12:55.346Z] ---> Running in 779aa6d978a5 [2023-03-10T18:12:55.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T18:12:55.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T18:12:55.346Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-10T18:12:55.346Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:12:55.346Z] OK: 5 MiB in 15 packages [2023-03-10T18:12:55.346Z] Removing intermediate container 779aa6d978a5 [2023-03-10T18:12:55.346Z] ---> 0729410d5638 [2023-03-10T18:12:55.346Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-10T18:12:55.346Z] ---> 70e2ef5061e8 [2023-03-10T18:12:55.346Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-10T18:12:55.346Z] ---> dbc89682e91d [2023-03-10T18:12:55.346Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-10T18:12:55.346Z] ---> 2617bb41300f [2023-03-10T18:12:55.346Z] Step 19/24 : EXPOSE 59982 [2023-03-10T18:12:55.346Z] ---> Running in 598e38cb1b20 [2023-03-10T18:12:55.346Z] Removing intermediate container 598e38cb1b20 [2023-03-10T18:12:55.346Z] ---> 55b87ecca528 [2023-03-10T18:12:55.346Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-10T18:12:55.346Z] ---> Running in dd290963dae7 [2023-03-10T18:12:55.346Z] Removing intermediate container dd290963dae7 [2023-03-10T18:12:55.346Z] ---> 413021cf67e2 [2023-03-10T18:12:55.346Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-10T18:12:55.346Z] ---> Running in 4bb009e2e6bd [2023-03-10T18:12:55.615Z] Removing intermediate container 4bb009e2e6bd [2023-03-10T18:12:55.615Z] ---> e2b1bc3192ba [2023-03-10T18:12:55.615Z] Step 22/24 : LABEL arch=arm64 [2023-03-10T18:12:55.885Z] ---> Running in dfb359746884 [2023-03-10T18:12:56.157Z] Removing intermediate container dfb359746884 [2023-03-10T18:12:56.157Z] ---> 7273f620ac65 [2023-03-10T18:12:56.157Z] Step 23/24 : LABEL git_sha=b19e386d8e8ed9765def202b879e4c9db9919488 [2023-03-10T18:12:56.157Z] ---> Running in bad521196797 [2023-03-10T18:12:56.749Z] Removing intermediate container bad521196797 [2023-03-10T18:12:56.749Z] ---> 6906dea304a1 [2023-03-10T18:12:56.749Z] Step 24/24 : LABEL version=0.0.0 [2023-03-10T18:12:56.749Z] ---> Running in e7758986cd63 [2023-03-10T18:12:57.017Z] Removing intermediate container e7758986cd63 [2023-03-10T18:12:57.017Z] ---> 0a399b391b87 [2023-03-10T18:12:57.017Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-10T18:12:57.017Z] Successfully built 0a399b391b87 [2023-03-10T18:12:57.017Z] 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-10T18:12:57.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T18:12:57.814Z] [2023-03-10T18:12:57.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:12:58.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T18:12:58.494Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-10T18:12:58.495Z] 8998bd30e6a1: Pulling fs layer [2023-03-10T18:12:58.495Z] 04944245beec: Pulling fs layer [2023-03-10T18:12:58.495Z] 699f458cf7ca: Pulling fs layer [2023-03-10T18:12:58.495Z] 765212b225bb: Pulling fs layer [2023-03-10T18:12:58.495Z] f23df028b6ca: Pulling fs layer [2023-03-10T18:12:58.495Z] d65c8cfc05b1: Pulling fs layer [2023-03-10T18:12:58.495Z] 2437ff75d9bd: Pulling fs layer [2023-03-10T18:12:58.495Z] 765212b225bb: Waiting [2023-03-10T18:12:58.495Z] f23df028b6ca: Waiting [2023-03-10T18:12:58.495Z] 2437ff75d9bd: Waiting [2023-03-10T18:12:58.495Z] d65c8cfc05b1: Waiting [2023-03-10T18:12:58.495Z] 04944245beec: Verifying Checksum [2023-03-10T18:12:58.495Z] 04944245beec: Download complete [2023-03-10T18:12:58.495Z] 765212b225bb: Verifying Checksum [2023-03-10T18:12:58.495Z] 765212b225bb: Download complete [2023-03-10T18:12:58.495Z] f23df028b6ca: Verifying Checksum [2023-03-10T18:12:58.495Z] f23df028b6ca: Download complete [2023-03-10T18:12:58.495Z] d65c8cfc05b1: Verifying Checksum [2023-03-10T18:12:58.495Z] d65c8cfc05b1: Download complete [2023-03-10T18:12:58.768Z] 699f458cf7ca: Download complete [2023-03-10T18:12:59.037Z] 8998bd30e6a1: Verifying Checksum [2023-03-10T18:12:59.038Z] 8998bd30e6a1: Download complete [2023-03-10T18:13:01.625Z] 2437ff75d9bd: Verifying Checksum [2023-03-10T18:13:01.625Z] 2437ff75d9bd: Download complete [2023-03-10T18:13:03.036Z] 8998bd30e6a1: Pull complete [2023-03-10T18:13:03.621Z] 04944245beec: Pull complete [2023-03-10T18:13:05.042Z] 699f458cf7ca: Pull complete [2023-03-10T18:13:05.313Z] 765212b225bb: Pull complete [2023-03-10T18:13:05.899Z] f23df028b6ca: Pull complete [2023-03-10T18:13:06.166Z] d65c8cfc05b1: Pull complete [2023-03-10T18:13:21.160Z] 2437ff75d9bd: Pull complete [2023-03-10T18:13:21.160Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-10T18:13:21.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T18:13:21.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:13:21.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-9641 does not seem to be running inside a container [2023-03-10T18:13:21.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-10T18:13:24.173Z] $ docker top 06b973ca613404f7c822d19ce67df215d7d25742ef71e1094117ba6539c2ec51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:25.086Z] ---> job-cost.sh [2023-03-10T18:13:25.086Z] lf-activate-venv: SKIPPING [2023-03-10T18:13:25.086Z] INFO: No Stack... [2023-03-10T18:13:25.352Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-10T18:13:26.311Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T18:13:26.976Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csvcut [2023-03-10T18:13:26.976Z] -d, -f6 [Pipeline] lock [2023-03-10T18:13:27.065Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] [2023-03-10T18:13:27.070Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] did not exist. Created. [2023-03-10T18:13:27.070Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T18:13:27.792Z] /w/workspace/device-mqtt-go/1@tmp/durable-d5d176a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-10T18:13:28.461Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-10T18:13:28.496Z] Warning: overwriting stash ‘stack-cost’ [2023-03-10T18:13:28.542Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T18:13:28.557Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T18:13:28.626Z] $ docker stop --time=1 06b973ca613404f7c822d19ce67df215d7d25742ef71e1094117ba6539c2ec51 [2023-03-10T18:13:30.170Z] $ docker rm -f --volumes 06b973ca613404f7c822d19ce67df215d7d25742ef71e1094117ba6539c2ec51 [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-10T18:13:31.155Z] provisioning config files... [2023-03-10T18:13:31.161Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config16136097611052078609tmp [Pipeline] { [Pipeline] sh [2023-03-10T18:13:31.488Z] + set +x [2023-03-10T18:13:31.488Z] + curl -s https://codecov.io/bash [2023-03-10T18:13:31.488Z] + bash -s -- [2023-03-10T18:13:31.488Z] [2023-03-10T18:13:31.488Z] _____ _ [2023-03-10T18:13:31.488Z] / ____| | | [2023-03-10T18:13:31.488Z] | | ___ __| | ___ ___ _____ __ [2023-03-10T18:13:31.488Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-10T18:13:31.488Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-10T18:13:31.488Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-10T18:13:31.488Z] Bash-1.0.6 [2023-03-10T18:13:31.488Z] [2023-03-10T18:13:31.488Z] [2023-03-10T18:13:31.488Z] ==> git version 2.25.1 found [2023-03-10T18:13:31.488Z] ==> 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-10T18:13:31.488Z] Release-Date: 2020-01-08 [2023-03-10T18:13:31.489Z] 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-10T18:13:31.489Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-10T18:13:31.489Z] ==> Jenkins CI detected. [2023-03-10T18:13:31.489Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-521 [2023-03-10T18:13:31.489Z] project root: . [2023-03-10T18:13:31.489Z] --> token set from env [2023-03-10T18:13:31.489Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-10T18:13:31.489Z] ==> Running gcov in . (disable via -X gcov) [2023-03-10T18:13:31.489Z] ==> Python coveragepy not found [2023-03-10T18:13:31.489Z] ==> Searching for coverage reports in: [2023-03-10T18:13:31.489Z] + . [2023-03-10T18:13:31.489Z] -> Found 1 reports [2023-03-10T18:13:31.489Z] ==> Detecting git/mercurial file structure [2023-03-10T18:13:31.489Z] ==> Reading reports [2023-03-10T18:13:31.489Z] + ./coverage.out bytes=18047 [2023-03-10T18:13:31.489Z] ==> Appending adjustments [2023-03-10T18:13:31.489Z] https://docs.codecov.io/docs/fixing-reports [2023-03-10T18:13:31.747Z] + Found adjustments [2023-03-10T18:13:31.747Z] ==> Gzipping contents [2023-03-10T18:13:31.747Z] 4.0K /tmp/codecov.3uSW6c.gz [2023-03-10T18:13:31.747Z] ==> Uploading reports [2023-03-10T18:13:31.747Z] url: https://codecov.io [2023-03-10T18:13:31.747Z] query: branch=PR-521&commit=b19e386d8e8ed9765def202b879e4c9db9919488&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=521&job=&cmd_args= [2023-03-10T18:13:31.747Z] -> Pinging Codecov [2023-03-10T18:13:31.747Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-521&commit=b19e386d8e8ed9765def202b879e4c9db9919488&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=521&job=&cmd_args= [2023-03-10T18:13:32.005Z] -> Uploading to [2023-03-10T18:13:32.005Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-10/7D719EC7BBE17E464838252E33014C33/b19e386d8e8ed9765def202b879e4c9db9919488/cf2b113e-8544-4724-a28e-d9398f435599.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230310%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230310T181331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e30c2706b79db3c936d34ba78344c0d82563331bcfe34c60447ab7911ce68fc0 [2023-03-10T18:13:32.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-10T18:13:32.005Z] Dload Upload Total Spent Left Speed [2023-03-10T18:13:32.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3160 0 0 100 3160 0 11087 --:--:-- --:--:-- --:--:-- 11087 [2023-03-10T18:13:32.264Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b19e386d8e8ed9765def202b879e4c9db9919488 [Pipeline] } [2023-03-10T18:13:32.290Z] 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-10T18:13:33.918Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives ] [2023-03-10T18:13:33.918Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives [2023-03-10T18:13:33.918Z] total 16 [2023-03-10T18:13:33.918Z] drwxr-xr-x 3 root root 4096 Mar 10 18:04 . [2023-03-10T18:13:33.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 18:04 .. [2023-03-10T18:13:33.918Z] drwxr-xr-x 2 root root 4096 Mar 10 18:04 cost [2023-03-10T18:13:33.918Z] -rw-r--r-- 1 root root 86 Mar 10 18:04 cost.csv [2023-03-10T18:13:33.918Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives [2023-03-10T18:13:33.918Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives [2023-03-10T18:13:33.918Z] total 16 [2023-03-10T18:13:33.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:04 . [2023-03-10T18:13:33.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 18:04 .. [2023-03-10T18:13:33.918Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 18:04 cost [2023-03-10T18:13:33.918Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 10 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:34.238Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:35.124Z] ---> package-listing.sh [2023-03-10T18:13:35.124Z] ++ facter osfamily [2023-03-10T18:13:35.124Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-10T18:13:35.384Z] + OS_FAMILY=debian [2023-03-10T18:13:35.384Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-521 [2023-03-10T18:13:35.384Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-10T18:13:35.384Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-10T18:13:35.384Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-10T18:13:35.384Z] + PACKAGES=/tmp/packages_start.txt [2023-03-10T18:13:35.384Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-521 ']' [2023-03-10T18:13:35.384Z] + PACKAGES=/tmp/packages_end.txt [2023-03-10T18:13:35.384Z] + case "${OS_FAMILY}" in [2023-03-10T18:13:35.384Z] + dpkg -l [2023-03-10T18:13:35.384Z] + grep '^ii' [2023-03-10T18:13:35.384Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-10T18:13:35.384Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-10T18:13:35.384Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-10T18:13:35.384Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-521 ']' [2023-03-10T18:13:35.384Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives/ [2023-03-10T18:13:35.384Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives/ [Pipeline] echo [2023-03-10T18:13:35.420Z] 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-521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-10T18:13:35.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:13:36.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:13:36.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:13:36.471Z] prd-ubuntu20.04-docker-8c-8g-9638 does not seem to be running inside a container [2023-03-10T18:13:36.499Z] $ 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-521/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-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-10T18:13:36.668Z] $ docker top 19f63e6839faf6f85e2f45b10b73f2c6de5ba4f479e62f9a7f0c64f4a87a2898 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:13:37.052Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-10T18:13:37.362Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-10T18:13:37.669Z] + ls /var/log/sa-host [2023-03-10T18:13:37.669Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:13:37.810Z] provisioning config files... [2023-03-10T18:13:37.818Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config13807601041342758565tmp [Pipeline] { [Pipeline] echo [2023-03-10T18:13:37.867Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:38.178Z] ---> create-netrc.sh [Pipeline] } [2023-03-10T18:13:38.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:38.596Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-10T18:13:38.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:38.945Z] ---> sudo-logs.sh [2023-03-10T18:13:38.945Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-10T18:13:39.032Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:39.343Z] ---> job-cost.sh [2023-03-10T18:13:39.343Z] lf-activate-venv: SKIPPING [2023-03-10T18:13:39.343Z] DEBUG: total: 0.2199999988079071 [2023-03-10T18:13:39.343Z] INFO: Retrieving Stack Cost... [2023-03-10T18:13:39.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T18:13:40.169Z] INFO: Archiving Costs [Pipeline] echo [2023-03-10T18:13:40.202Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:13:40.506Z] ---> logs-deploy.sh [2023-03-10T18:13:40.506Z] lf-activate-venv: SKIPPING [2023-03-10T18:13:40.506Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-521/1 [2023-03-10T18:13:40.506Z] INFO: archiving workspace using pattern(s): [2023-03-10T18:13:41.442Z] Archives upload complete. [2023-03-10T18:13:41.442Z] INFO: archiving logs to Nexus