Pull request #440 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 FelixTing for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at fcfe150067659d9c2450c08aa60233797868c9db rather than 6bdfaee9ae606a4f8b392396fcc4c15889d23cee Obtained Jenkinsfile from fcfe150067659d9c2450c08aa60233797868c9db 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-ssh17478498537366651857.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-ssh12260993529760507189.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-440/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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10136946223154354600.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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1501632849939675674.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-ssh3464406186778216650.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-440/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-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18432152043966634457.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121363 in /w/workspace/gexfoundry_device-mqtt-go_PR-440 [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-440 # 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/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fcfe150067659d9c2450c08aa60233797868c9db into PR head commit 6bdfaee9ae606a4f8b392396fcc4c15889d23cee Merge succeeded, producing 6bdfaee9ae606a4f8b392396fcc4c15889d23cee Checking out Revision 6bdfaee9ae606a4f8b392396fcc4c15889d23cee (PR-440) > git config core.sparsecheckout # timeout=10 > git checkout -f 6bdfaee9ae606a4f8b392396fcc4c15889d23cee # 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 fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bdfaee9ae606a4f8b392396fcc4c15889d23cee # timeout=10 Commit message: "refactor!: use latest SDK for flattened config stem" 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 [2022-12-15T16:00:53.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-15T16:00:53.886Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-15T16:00:53.990Z] ========================================================= [2022-12-15T16:00:53.990Z] EdgeX Global Pipelines Version Info [2022-12-15T16:00:53.990Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:00:54.743Z] ------------------- [2022-12-15T16:00:54.743Z] stable info: [2022-12-15T16:00:54.743Z] ------------------- [2022-12-15T16:00:54.743Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-15T16:00:54.743Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-15T16:00:54.743Z] Message: update stable to v1.0.244 [2022-12-15T16:00:55.314Z] ------------------- [2022-12-15T16:00:55.314Z] experimental info: [2022-12-15T16:00:55.314Z] ------------------- [2022-12-15T16:00:55.314Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-15T16:00:55.314Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-15T16:00:55.314Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-15T16:00:55.601Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-12-15T16:00:55.642Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-12-15T16:00:55.681Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-15T16:00:55.716Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-15T16:00:55.760Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-15T16:00:55.796Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-15T16:00:55.836Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-15T16:00:55.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-15T16:00:55.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-15T16:00:55.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-15T16:00:55.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-15T16:00:56.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-12-15T16:00:56.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-15T16:00:56.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-15T16:00:56.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-15T16:00:56.201Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-15T16:00:56.238Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-15T16:00:56.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-15T16:00:56.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-15T16:00:56.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-15T16:00:56.386Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-15T16:00:56.427Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-15T16:00:56.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-15T16:00:56.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-15T16:00:56.548Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-15T16:00:56.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-15T16:00:56.616Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-15T16:00:56.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo [2022-12-15T16:00:56.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo [2022-12-15T16:00:56.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo [2022-12-15T16:00:56.781Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bdfaee9ae606a4f8b392396fcc4c15889d23cee [Pipeline] echo [2022-12-15T16:00:56.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bdfaee [Pipeline] echo [2022-12-15T16:00:56.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T16:00:56.973Z] provisioning config files... [2022-12-15T16:00:56.989Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/config16088455928510087376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:00:57.327Z] ---> docker-login.sh [2022-12-15T16:00:57.328Z] nexus3.edgexfoundry.org:10001 [2022-12-15T16:00:57.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:00:57.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:00:57.846Z] Configure a credential helper to remove this warning. See [2022-12-15T16:00:57.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:00:57.846Z] [2022-12-15T16:00:57.846Z] Login Succeeded [2022-12-15T16:00:57.846Z] nexus3.edgexfoundry.org:10002 [2022-12-15T16:00:57.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:00:57.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:00:57.846Z] Configure a credential helper to remove this warning. See [2022-12-15T16:00:57.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:00:57.846Z] [2022-12-15T16:00:57.846Z] Login Succeeded [2022-12-15T16:00:57.846Z] nexus3.edgexfoundry.org:10003 [2022-12-15T16:00:57.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:00:58.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:00:58.106Z] Configure a credential helper to remove this warning. See [2022-12-15T16:00:58.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:00:58.106Z] [2022-12-15T16:00:58.106Z] Login Succeeded [2022-12-15T16:00:58.106Z] nexus3.edgexfoundry.org:10004 [2022-12-15T16:00:58.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:00:58.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:00:58.106Z] Configure a credential helper to remove this warning. See [2022-12-15T16:00:58.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:00:58.106Z] [2022-12-15T16:00:58.106Z] Login Succeeded [2022-12-15T16:00:58.106Z] docker.io [2022-12-15T16:00:58.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:00:58.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:00:58.366Z] Configure a credential helper to remove this warning. See [2022-12-15T16:00:58.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:00:58.366Z] [2022-12-15T16:00:58.366Z] Login Succeeded [2022-12-15T16:00:58.366Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T16:00:58.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-15T16:00:59.002Z] + git rev-list -1 --merges 6bdfaee9ae606a4f8b392396fcc4c15889d23cee~1..6bdfaee9ae606a4f8b392396fcc4c15889d23cee [Pipeline] echo [2022-12-15T16:00:59.049Z] -----------> git rev-list -1 --merges 6bdfaee9ae606a4f8b392396fcc4c15889d23cee~1..6bdfaee9ae606a4f8b392396fcc4c15889d23cee 6bdfaee9ae606a4f8b392396fcc4c15889d23cee [false] [Pipeline] sh [2022-12-15T16:00:59.363Z] + git log --format=format:%s -1 6bdfaee9ae606a4f8b392396fcc4c15889d23cee [Pipeline] echo [2022-12-15T16:00:59.402Z] ========================================================= [2022-12-15T16:00:59.402Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-15T16:00:59.402Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T16:00:59.827Z] + git log --format=format:%s -1 6bdfaee9ae606a4f8b392396fcc4c15889d23cee [Pipeline] echo [2022-12-15T16:00:59.862Z] [semverPrep] GIT_COMMIT: 6bdfaee9ae606a4f8b392396fcc4c15889d23cee, Commit Message: refactor!: use latest SDK for flattened config stem [Pipeline] echo [2022-12-15T16:00:59.892Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-15T16:01:00.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-15T16:01:00.295Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-15T16:01:00.295Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-15T16:01:00.295Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-15T16:01:00.295Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-15T16:01:00.295Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-15T16:01:00.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:01:00.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T16:01:00.814Z] [2022-12-15T16:01:00.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:01:01.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T16:01:01.188Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-15T16:01:01.188Z] b85a868b505f: Pulling fs layer [2022-12-15T16:01:01.188Z] e2be974225ed: Pulling fs layer [2022-12-15T16:01:01.188Z] 339a4e72a1f5: Pulling fs layer [2022-12-15T16:01:01.188Z] 988bab9f4d93: Pulling fs layer [2022-12-15T16:01:01.188Z] 1469e6f7b9e6: Pulling fs layer [2022-12-15T16:01:01.188Z] eaf3925da568: Pulling fs layer [2022-12-15T16:01:01.188Z] bab4dde63d76: Pulling fs layer [2022-12-15T16:01:01.188Z] bde34c3a00c8: Pulling fs layer [2022-12-15T16:01:01.188Z] b352a97aabf1: Pulling fs layer [2022-12-15T16:01:01.188Z] 4872d77fe225: Pulling fs layer [2022-12-15T16:01:01.188Z] 5851b861e8e6: Pulling fs layer [2022-12-15T16:01:01.188Z] 988bab9f4d93: Waiting [2022-12-15T16:01:01.188Z] 1469e6f7b9e6: Waiting [2022-12-15T16:01:01.188Z] eaf3925da568: Waiting [2022-12-15T16:01:01.188Z] bde34c3a00c8: Waiting [2022-12-15T16:01:01.188Z] b352a97aabf1: Waiting [2022-12-15T16:01:01.188Z] 5851b861e8e6: Waiting [2022-12-15T16:01:01.188Z] bab4dde63d76: Waiting [2022-12-15T16:01:01.188Z] e2be974225ed: Download complete [2022-12-15T16:01:01.188Z] 988bab9f4d93: Verifying Checksum [2022-12-15T16:01:01.188Z] 988bab9f4d93: Download complete [2022-12-15T16:01:01.452Z] 1469e6f7b9e6: Verifying Checksum [2022-12-15T16:01:01.452Z] 1469e6f7b9e6: Download complete [2022-12-15T16:01:01.452Z] eaf3925da568: Verifying Checksum [2022-12-15T16:01:01.452Z] eaf3925da568: Download complete [2022-12-15T16:01:01.452Z] 339a4e72a1f5: Verifying Checksum [2022-12-15T16:01:01.452Z] 339a4e72a1f5: Download complete [2022-12-15T16:01:01.452Z] bde34c3a00c8: Verifying Checksum [2022-12-15T16:01:01.452Z] bde34c3a00c8: Download complete [2022-12-15T16:01:01.452Z] b352a97aabf1: Verifying Checksum [2022-12-15T16:01:01.452Z] b352a97aabf1: Download complete [2022-12-15T16:01:01.452Z] 4872d77fe225: Verifying Checksum [2022-12-15T16:01:01.452Z] 4872d77fe225: Download complete [2022-12-15T16:01:01.452Z] 5851b861e8e6: Verifying Checksum [2022-12-15T16:01:01.452Z] 5851b861e8e6: Download complete [2022-12-15T16:01:01.452Z] b85a868b505f: Verifying Checksum [2022-12-15T16:01:01.452Z] b85a868b505f: Download complete [2022-12-15T16:01:01.711Z] bab4dde63d76: Verifying Checksum [2022-12-15T16:01:01.711Z] bab4dde63d76: Download complete [2022-12-15T16:01:03.096Z] b85a868b505f: Pull complete [2022-12-15T16:01:03.096Z] e2be974225ed: Pull complete [2022-12-15T16:01:03.666Z] 339a4e72a1f5: Pull complete [2022-12-15T16:01:03.666Z] 988bab9f4d93: Pull complete [2022-12-15T16:01:03.925Z] 1469e6f7b9e6: Pull complete [2022-12-15T16:01:03.925Z] eaf3925da568: Pull complete [2022-12-15T16:01:05.823Z] bab4dde63d76: Pull complete [2022-12-15T16:01:05.823Z] bde34c3a00c8: Pull complete [2022-12-15T16:01:06.081Z] b352a97aabf1: Pull complete [2022-12-15T16:01:06.081Z] 4872d77fe225: Pull complete [2022-12-15T16:01:06.081Z] 5851b861e8e6: Pull complete [2022-12-15T16:01:06.081Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-15T16:01:06.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T16:01:06.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:01:06.308Z] prd-ubuntu20.04-docker-8c-8g-121363 does not seem to be running inside a container [2022-12-15T16:01:06.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-440 -v /w/workspace/gexfoundry_device-mqtt-go_PR-440:/w/workspace/gexfoundry_device-mqtt-go_PR-440:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-15T16:01:07.962Z] $ docker top 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d -eo pid,comm [2022-12-15T16:01:08.014Z] 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). [2022-12-15T16:01:08.014Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-15T16:01:08.129Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-15T16:01:08.129Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-15T16:01:08.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-15T16:01:08.260Z] $ docker exec 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d ssh-agent [2022-12-15T16:01:08.384Z] SSH_AUTH_SOCK=/tmp/ssh-1TrrgabSWYx1/agent.33 [2022-12-15T16:01:08.384Z] SSH_AGENT_PID=39 [2022-12-15T16:01:08.391Z] Running ssh-add (command line suppressed) [2022-12-15T16:01:08.500Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/private_key_4840093345672301535.key (/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/private_key_4840093345672301535.key) [2022-12-15T16:01:08.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-15T16:01:08.849Z] + git tag --points-at HEAD [Pipeline] } [2022-12-15T16:01:08.883Z] $ docker exec --env ******** --env ******** 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d ssh-agent -k [2022-12-15T16:01:08.978Z] unset SSH_AUTH_SOCK; [2022-12-15T16:01:08.978Z] unset SSH_AGENT_PID; [2022-12-15T16:01:08.979Z] echo Agent pid 39 killed; [2022-12-15T16:01:08.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-15T16:01:09.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-15T16:01:09.074Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-15T16:01:09.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-15T16:01:09.198Z] $ docker exec 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d ssh-agent [2022-12-15T16:01:09.311Z] SSH_AUTH_SOCK=/tmp/ssh-PorykuGnc3N1/agent.71 [2022-12-15T16:01:09.311Z] SSH_AGENT_PID=77 [2022-12-15T16:01:09.316Z] Running ssh-add (command line suppressed) [2022-12-15T16:01:09.429Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/private_key_8656793257569488140.key (/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/private_key_8656793257569488140.key) [2022-12-15T16:01:09.439Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-15T16:01:09.767Z] + git semver init [2022-12-15T16:01:10.028Z] 2022-12-15 16:01:09,960 [run_init] DEBUG init version:0.0.0 force:False [2022-12-15T16:01:10.028Z] 2022-12-15 16:01:09,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver [2022-12-15T16:01:10.028Z] 2022-12-15 16:01:09,961 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver [2022-12-15T16:01:10.028Z] 2022-12-15 16:01:09,961 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-440, universal_newlines=False, shell=None, istream=None) [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,819 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-440/.git/info/exclude [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,820 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver/PR-440 with force:False [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,820 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver/PR-440 [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,824 [execute] INFO git cat-file --batch-check [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,830 [execute] INFO git cat-file --batch [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2022-12-15T16:01:10.965Z] 2022-12-15 16:01:10,836 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-440/.semver/PR-440 [2022-12-15T16:01:10.965Z] 0.0.0 [Pipeline] } [2022-12-15T16:01:11.052Z] $ docker exec --env ******** --env ******** 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d ssh-agent -k [2022-12-15T16:01:11.183Z] unset SSH_AUTH_SOCK; [2022-12-15T16:01:11.183Z] unset SSH_AGENT_PID; [2022-12-15T16:01:11.183Z] echo Agent pid 77 killed; [2022-12-15T16:01:11.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-15T16:01:11.625Z] + git semver [Pipeline] } [2022-12-15T16:01:11.908Z] $ docker stop --time=1 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d [2022-12-15T16:01:13.228Z] $ docker rm -f 0d55872874ed31d438a640b380c877eb749a990b8046c8dc68fb14f5fe8d572d [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T16:01:13.614Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-15T16:01:13.875Z] Stashed 1 file(s) [Pipeline] echo [2022-12-15T16:01:13.890Z] [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 [2022-12-15T16:01:14.450Z] provisioning config files... [2022-12-15T16:01:14.462Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/config18398978851876108166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:01:14.810Z] ---> docker-login.sh [2022-12-15T16:01:14.810Z] nexus3.edgexfoundry.org:10001 [2022-12-15T16:01:14.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:01:14.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:01:14.810Z] Configure a credential helper to remove this warning. See [2022-12-15T16:01:14.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:01:14.810Z] [2022-12-15T16:01:14.810Z] Login Succeeded [2022-12-15T16:01:14.810Z] nexus3.edgexfoundry.org:10002 [2022-12-15T16:01:14.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:01:14.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:01:14.810Z] Configure a credential helper to remove this warning. See [2022-12-15T16:01:14.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:01:14.810Z] [2022-12-15T16:01:14.810Z] Login Succeeded [2022-12-15T16:01:14.810Z] nexus3.edgexfoundry.org:10003 [2022-12-15T16:01:15.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:01:15.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:01:15.070Z] Configure a credential helper to remove this warning. See [2022-12-15T16:01:15.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:01:15.070Z] [2022-12-15T16:01:15.070Z] Login Succeeded [2022-12-15T16:01:15.070Z] nexus3.edgexfoundry.org:10004 [2022-12-15T16:01:15.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:01:15.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:01:15.070Z] Configure a credential helper to remove this warning. See [2022-12-15T16:01:15.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:01:15.070Z] [2022-12-15T16:01:15.070Z] Login Succeeded [2022-12-15T16:01:15.070Z] docker.io [2022-12-15T16:01:15.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:01:15.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:01:15.330Z] Configure a credential helper to remove this warning. See [2022-12-15T16:01:15.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:01:15.330Z] [2022-12-15T16:01:15.330Z] Login Succeeded [2022-12-15T16:01:15.591Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T16:01:15.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-15T16:01:15.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T16:01:15.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T16:01:15.869Z] ========================================================= [2022-12-15T16:01:15.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-15T16:01:15.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:01:16.315Z] + 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 . [2022-12-15T16:01:16.315Z] Sending build context to Docker daemon 6.284MB [2022-12-15T16:01:16.315Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T16:01:16.315Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-15T16:01:16.315Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-15T16:01:16.315Z] 213ec9aee27d: Pulling fs layer [2022-12-15T16:01:16.315Z] 4583459ba037: Pulling fs layer [2022-12-15T16:01:16.315Z] 93c1e223e6f2: Pulling fs layer [2022-12-15T16:01:16.315Z] 53926ce57604: Pulling fs layer [2022-12-15T16:01:16.315Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-15T16:01:16.315Z] 22ff95d597cd: Pulling fs layer [2022-12-15T16:01:16.315Z] 12d6caf4c0d1: Pulling fs layer [2022-12-15T16:01:16.315Z] 96b7cbca73a9: Pulling fs layer [2022-12-15T16:01:16.315Z] a7acece74701: Pulling fs layer [2022-12-15T16:01:16.315Z] 53926ce57604: Waiting [2022-12-15T16:01:16.315Z] 21b2b0c7a3f4: Waiting [2022-12-15T16:01:16.315Z] 22ff95d597cd: Waiting [2022-12-15T16:01:16.315Z] 12d6caf4c0d1: Waiting [2022-12-15T16:01:16.315Z] 96b7cbca73a9: Waiting [2022-12-15T16:01:16.315Z] a7acece74701: Waiting [2022-12-15T16:01:16.315Z] 93c1e223e6f2: Download complete [2022-12-15T16:01:16.315Z] 4583459ba037: Download complete [2022-12-15T16:01:16.315Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-15T16:01:16.315Z] 21b2b0c7a3f4: Download complete [2022-12-15T16:01:16.575Z] 22ff95d597cd: Download complete [2022-12-15T16:01:16.575Z] 213ec9aee27d: Verifying Checksum [2022-12-15T16:01:16.575Z] 213ec9aee27d: Download complete [2022-12-15T16:01:16.576Z] 12d6caf4c0d1: Verifying Checksum [2022-12-15T16:01:16.576Z] 12d6caf4c0d1: Download complete [2022-12-15T16:01:16.576Z] 213ec9aee27d: Pull complete [2022-12-15T16:01:16.839Z] 4583459ba037: Pull complete [2022-12-15T16:01:16.839Z] 93c1e223e6f2: Pull complete [2022-12-15T16:01:17.102Z] a7acece74701: Verifying Checksum [2022-12-15T16:01:17.102Z] a7acece74701: Download complete [2022-12-15T16:01:17.102Z] 96b7cbca73a9: Verifying Checksum [2022-12-15T16:01:17.102Z] 96b7cbca73a9: Download complete [2022-12-15T16:01:17.361Z] 53926ce57604: Verifying Checksum [2022-12-15T16:01:17.361Z] 53926ce57604: Download complete [2022-12-15T16:01:21.539Z] 53926ce57604: Pull complete [2022-12-15T16:01:21.539Z] 21b2b0c7a3f4: Pull complete [2022-12-15T16:01:21.539Z] 22ff95d597cd: Pull complete [2022-12-15T16:01:21.539Z] 12d6caf4c0d1: Pull complete [2022-12-15T16:01:24.067Z] 96b7cbca73a9: Pull complete [2022-12-15T16:01:24.632Z] a7acece74701: Pull complete [2022-12-15T16:01:24.632Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-15T16:01:24.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-15T16:01:24.632Z] ---> db6d94c90886 [2022-12-15T16:01:24.632Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-15T16:01:26.535Z] ---> Running in bda1c99dabf5 [2022-12-15T16:01:26.535Z] Removing intermediate container bda1c99dabf5 [2022-12-15T16:01:26.535Z] ---> 09d39fe88b02 [2022-12-15T16:01:26.535Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T16:01:26.535Z] ---> Running in 4110bdc1768a [2022-12-15T16:01:26.793Z] Removing intermediate container 4110bdc1768a [2022-12-15T16:01:26.793Z] ---> ea91564f31e1 [2022-12-15T16:01:26.793Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T16:01:26.793Z] ---> Running in 04cd263072cb [2022-12-15T16:01:26.793Z] Removing intermediate container 04cd263072cb [2022-12-15T16:01:26.793Z] ---> b3462555453f [2022-12-15T16:01:26.793Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T16:01:26.793Z] ---> Running in 02b97d359e4f [2022-12-15T16:01:27.052Z] Removing intermediate container 02b97d359e4f [2022-12-15T16:01:27.052Z] ---> c732da281c2e [2022-12-15T16:01:27.052Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T16:01:27.052Z] ---> Running in 733bc1a5be20 [2022-12-15T16:01:27.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T16:01:27.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T16:01:27.828Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-15T16:01:27.828Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-15T16:01:27.828Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-15T16:01:27.828Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-15T16:01:27.828Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T16:01:27.828Z] OK: 216 MiB in 55 packages [2022-12-15T16:01:28.396Z] Removing intermediate container 733bc1a5be20 [2022-12-15T16:01:28.396Z] ---> f3b8cb609b5c [2022-12-15T16:01:28.396Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-12-15T16:01:28.396Z] ---> Running in 532770a5c252 [2022-12-15T16:01:28.396Z] Removing intermediate container 532770a5c252 [2022-12-15T16:01:28.396Z] ---> 9686b3eafb95 [2022-12-15T16:01:28.396Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-15T16:01:28.396Z] ---> fc7aed1093f3 [2022-12-15T16:01:28.396Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T16:01:28.654Z] ---> Running in 8bc63cbde5b6 [2022-12-15T16:01:29.286Z] Still waiting to schedule task [2022-12-15T16:01:29.286Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-15T16:01:50.594Z] Removing intermediate container 8bc63cbde5b6 [2022-12-15T16:01:50.594Z] ---> 23ed1a1c2b8e [2022-12-15T16:01:50.594Z] Step 11/12 : COPY . . [2022-12-15T16:01:50.594Z] ---> 0be478e86067 [2022-12-15T16:01:50.594Z] Step 12/12 : RUN $MAKE [2022-12-15T16:01:50.594Z] ---> Running in d9089221a432 [2022-12-15T16:01:50.853Z] noop [2022-12-15T16:01:51.119Z] Removing intermediate container d9089221a432 [2022-12-15T16:01:51.119Z] ---> 9aa432f5b729 [2022-12-15T16:01:51.119Z] Successfully built 9aa432f5b729 [2022-12-15T16:01:51.392Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:01:51.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-15T16:01:51.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:01:51.945Z] prd-ubuntu20.04-docker-8c-8g-121363 does not seem to be running inside a container [2022-12-15T16:01:51.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-440 -v /w/workspace/gexfoundry_device-mqtt-go_PR-440:/w/workspace/gexfoundry_device-mqtt-go_PR-440:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-15T16:01:52.355Z] $ docker top fe69ee905367b80de9f90edbffb120ae03930f236e04e56913b1a731580aae4d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T16:01:52.735Z] + go version [2022-12-15T16:01:52.735Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-15T16:01:52.767Z] $ docker stop --time=1 fe69ee905367b80de9f90edbffb120ae03930f236e04e56913b1a731580aae4d [2022-12-15T16:01:54.075Z] $ docker rm -f fe69ee905367b80de9f90edbffb120ae03930f236e04e56913b1a731580aae4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:01:54.785Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-15T16:01:54.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:01:54.934Z] prd-ubuntu20.04-docker-8c-8g-121363 does not seem to be running inside a container [2022-12-15T16:01:54.974Z] $ 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-440 -v /w/workspace/gexfoundry_device-mqtt-go_PR-440:/w/workspace/gexfoundry_device-mqtt-go_PR-440:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-15T16:01:55.437Z] $ docker top 69d8f8929004b2ab7ddd5689af652940616a608014bb186728efc287f7a6fc77 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T16:01:55.823Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-440 [Pipeline] fileExists [Pipeline] sh [2022-12-15T16:01:56.189Z] + make test [2022-12-15T16:01:56.189Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-15T16:01:56.448Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-12-15T16:02:06.409Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-12-15T16:02:06.666Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-12-15T16:02:06.666Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-12-15T16:02:14.768Z] 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." [2022-12-15T16:02:14.768Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-15T16:02:17.294Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-15T16:02:17.294Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-15T16:02:17.294Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-15T16:02:17.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-15T16:02:17.607Z] $ docker stop --time=1 69d8f8929004b2ab7ddd5689af652940616a608014bb186728efc287f7a6fc77 [2022-12-15T16:02:19.476Z] $ docker rm -f 69d8f8929004b2ab7ddd5689af652940616a608014bb186728efc287f7a6fc77 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T16:02:19.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-15T16:02:20.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-15T16:02:20.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-15T16:02:21.008Z] + ls -al . [2022-12-15T16:02:21.008Z] total 192 [2022-12-15T16:02:21.008Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 16:01 . [2022-12-15T16:02:21.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 16:00 .. [2022-12-15T16:02:21.008Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 16:00 .dockerignore [2022-12-15T16:02:21.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 16:02 .git [2022-12-15T16:02:21.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 16:00 .github [2022-12-15T16:02:21.008Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 15 16:00 .gitignore [2022-12-15T16:02:21.008Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 16:00 .golangci.yml [2022-12-15T16:02:21.008Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 16:01 .semver [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 9293 Dec 15 16:00 Attribution.txt [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 13162 Dec 15 16:00 CHANGELOG.md [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 1752 Dec 15 16:00 Dockerfile [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 16:00 GOVERNANCE.md [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 15 16:00 Jenkinsfile [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 16:00 LICENSE [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 2126 Dec 15 16:00 Makefile [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 16:00 OWNERS.md [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 3165 Dec 15 16:00 README.md [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 16:01 VERSION [2022-12-15T16:02:21.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 16:00 bin [2022-12-15T16:02:21.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 16:00 cmd [2022-12-15T16:02:21.009Z] -rw-r--r-- 1 jenkins jenkins 17887 Dec 15 16:02 coverage.out [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 3464 Dec 15 16:00 go.mod [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 15 16:00 go.sum [2022-12-15T16:02:21.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 16:00 internal [2022-12-15T16:02:21.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 16:00 mock [2022-12-15T16:02:21.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 16:00 snap [2022-12-15T16:02:21.009Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 16:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:02:21.398Z] + 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=6bdfaee9ae606a4f8b392396fcc4c15889d23cee --label arch=amd64 --label version=0.0.0 . [2022-12-15T16:02:21.398Z] Sending build context to Docker daemon 6.302MB [2022-12-15T16:02:21.398Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T16:02:21.398Z] Step 2/24 : FROM ${BASE} AS builder [2022-12-15T16:02:21.398Z] ---> 9aa432f5b729 [2022-12-15T16:02:21.398Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-12-15T16:02:21.398Z] ---> Running in e07df15d1655 [2022-12-15T16:02:21.657Z] Removing intermediate container e07df15d1655 [2022-12-15T16:02:21.657Z] ---> 67238e60c032 [2022-12-15T16:02:21.657Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T16:02:21.657Z] ---> Running in 34d1f04cfae8 [2022-12-15T16:02:21.657Z] Removing intermediate container 34d1f04cfae8 [2022-12-15T16:02:21.657Z] ---> 1672913e0e6e [2022-12-15T16:02:21.657Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T16:02:21.915Z] ---> Running in 81b6dcbb644c [2022-12-15T16:02:21.915Z] Removing intermediate container 81b6dcbb644c [2022-12-15T16:02:21.915Z] ---> 482c595b7ea5 [2022-12-15T16:02:21.915Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T16:02:21.915Z] ---> Running in 6b3d14fadeac [2022-12-15T16:02:21.915Z] Removing intermediate container 6b3d14fadeac [2022-12-15T16:02:21.915Z] ---> 3cbf305bd5ac [2022-12-15T16:02:21.915Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T16:02:21.915Z] ---> Running in 48f5a23cd8ba [2022-12-15T16:02:22.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T16:02:22.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T16:02:22.741Z] OK: 216 MiB in 55 packages [2022-12-15T16:02:23.000Z] Removing intermediate container 48f5a23cd8ba [2022-12-15T16:02:23.000Z] ---> 22c1ecd1420f [2022-12-15T16:02:23.000Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-12-15T16:02:23.259Z] ---> Running in bf6a06c7f431 [2022-12-15T16:02:23.259Z] Removing intermediate container bf6a06c7f431 [2022-12-15T16:02:23.259Z] ---> 3e2fed28e5a9 [2022-12-15T16:02:23.259Z] Step 9/24 : COPY go.mod vendor* ./ [2022-12-15T16:02:23.259Z] ---> 8aab0c177f3a [2022-12-15T16:02:23.259Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T16:02:23.527Z] ---> Running in 355609de4762 [2022-12-15T16:02:24.094Z] Removing intermediate container 355609de4762 [2022-12-15T16:02:24.094Z] ---> 69df251fa257 [2022-12-15T16:02:24.094Z] Step 11/24 : COPY . . [2022-12-15T16:02:24.353Z] ---> 194393ad6d29 [2022-12-15T16:02:24.353Z] Step 12/24 : RUN $MAKE [2022-12-15T16:02:24.353Z] ---> Running in 72cd1d7bc2a6 [2022-12-15T16:02:24.611Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-12-15T16:02:46.545Z] Removing intermediate container 72cd1d7bc2a6 [2022-12-15T16:02:46.545Z] ---> f1f97128605c [2022-12-15T16:02:46.545Z] Step 13/24 : FROM alpine:3.16 [2022-12-15T16:02:46.545Z] 3.16: Pulling from library/alpine [2022-12-15T16:02:46.545Z] ca7dd9ec2225: Pulling fs layer [2022-12-15T16:02:46.545Z] ca7dd9ec2225: Verifying Checksum [2022-12-15T16:02:46.545Z] ca7dd9ec2225: Download complete [2022-12-15T16:02:46.545Z] ca7dd9ec2225: Pull complete [2022-12-15T16:02:46.545Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-15T16:02:46.545Z] Status: Downloaded newer image for alpine:3.16 [2022-12-15T16:02:46.545Z] ---> bfe296a52501 [2022-12-15T16:02:46.545Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-12-15T16:02:46.545Z] ---> Running in 0de3a03f6ea5 [2022-12-15T16:02:46.545Z] Removing intermediate container 0de3a03f6ea5 [2022-12-15T16:02:46.545Z] ---> e26d7d7ffdbc [2022-12-15T16:02:46.545Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-15T16:02:46.545Z] ---> Running in affe60ce9c4a [2022-12-15T16:02:46.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T16:02:46.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T16:02:47.065Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-15T16:02:47.065Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-15T16:02:47.065Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-15T16:02:47.065Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-15T16:02:47.065Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-15T16:02:47.065Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-15T16:02:47.065Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T16:02:47.065Z] OK: 8 MiB in 20 packages [2022-12-15T16:02:47.635Z] Removing intermediate container affe60ce9c4a [2022-12-15T16:02:47.635Z] ---> fc778d3db84b [2022-12-15T16:02:47.635Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-12-15T16:02:48.204Z] ---> fe4c1eb1885e [2022-12-15T16:02:48.204Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-12-15T16:02:48.204Z] ---> d07a6b56a920 [2022-12-15T16:02:48.204Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-12-15T16:02:48.204Z] ---> 65fc090c925c [2022-12-15T16:02:48.204Z] Step 19/24 : EXPOSE 59982 [2022-12-15T16:02:48.465Z] ---> Running in 2b80d976cbea [2022-12-15T16:02:48.465Z] Removing intermediate container 2b80d976cbea [2022-12-15T16:02:48.465Z] ---> 209da56e5a2e [2022-12-15T16:02:48.465Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-12-15T16:02:48.465Z] ---> Running in af6ec32f4396 [2022-12-15T16:02:48.725Z] Removing intermediate container af6ec32f4396 [2022-12-15T16:02:48.725Z] ---> 304685951760 [2022-12-15T16:02:48.725Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-15T16:02:48.725Z] ---> Running in 4246303a52c2 [2022-12-15T16:02:48.725Z] Removing intermediate container 4246303a52c2 [2022-12-15T16:02:48.725Z] ---> 981607b4e9d1 [2022-12-15T16:02:48.725Z] Step 22/24 : LABEL arch=amd64 [2022-12-15T16:02:48.725Z] ---> Running in 482d318dc97c [2022-12-15T16:02:48.984Z] Removing intermediate container 482d318dc97c [2022-12-15T16:02:48.984Z] ---> 53e513650ece [2022-12-15T16:02:48.984Z] Step 23/24 : LABEL git_sha=6bdfaee9ae606a4f8b392396fcc4c15889d23cee [2022-12-15T16:02:48.984Z] ---> Running in 9f1416605995 [2022-12-15T16:02:48.984Z] Removing intermediate container 9f1416605995 [2022-12-15T16:02:48.984Z] ---> c15bf80138b0 [2022-12-15T16:02:48.984Z] Step 24/24 : LABEL version=0.0.0 [2022-12-15T16:02:48.984Z] ---> Running in b0909340807e [2022-12-15T16:02:49.244Z] Removing intermediate container b0909340807e [2022-12-15T16:02:49.244Z] ---> 017e10516244 [2022-12-15T16:02:49.244Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-15T16:02:49.244Z] Successfully built 017e10516244 [2022-12-15T16:02:49.244Z] 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 [2022-12-15T16:02:50.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T16:02:50.133Z] [2022-12-15T16:02:50.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:02:50.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T16:02:50.503Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-15T16:02:50.503Z] 5eb5b503b376: Pulling fs layer [2022-12-15T16:02:50.503Z] 5c69ac0246d0: Pulling fs layer [2022-12-15T16:02:50.503Z] ec43610c2a17: Pulling fs layer [2022-12-15T16:02:50.503Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-15T16:02:50.503Z] 33b1e0a273af: Pulling fs layer [2022-12-15T16:02:50.503Z] 5d3b04190fa2: Pulling fs layer [2022-12-15T16:02:50.503Z] 2f39f015ded8: Pulling fs layer [2022-12-15T16:02:50.503Z] 3a2ae6a8a46f: Waiting [2022-12-15T16:02:50.503Z] 33b1e0a273af: Waiting [2022-12-15T16:02:50.503Z] 5d3b04190fa2: Waiting [2022-12-15T16:02:50.503Z] 2f39f015ded8: Waiting [2022-12-15T16:02:50.503Z] 5c69ac0246d0: Verifying Checksum [2022-12-15T16:02:50.503Z] 3a2ae6a8a46f: Download complete [2022-12-15T16:02:50.779Z] 33b1e0a273af: Verifying Checksum [2022-12-15T16:02:50.779Z] 33b1e0a273af: Download complete [2022-12-15T16:02:50.779Z] ec43610c2a17: Verifying Checksum [2022-12-15T16:02:50.779Z] ec43610c2a17: Download complete [2022-12-15T16:02:50.779Z] 5d3b04190fa2: Download complete [2022-12-15T16:02:50.779Z] 5eb5b503b376: Verifying Checksum [2022-12-15T16:02:50.779Z] 5eb5b503b376: Download complete [2022-12-15T16:02:51.347Z] 2f39f015ded8: Verifying Checksum [2022-12-15T16:02:51.347Z] 2f39f015ded8: Download complete [2022-12-15T16:02:51.916Z] 5eb5b503b376: Pull complete [2022-12-15T16:02:52.175Z] 5c69ac0246d0: Pull complete [2022-12-15T16:02:52.434Z] ec43610c2a17: Pull complete [2022-12-15T16:02:52.693Z] 3a2ae6a8a46f: Pull complete [2022-12-15T16:02:52.693Z] 33b1e0a273af: Pull complete [2022-12-15T16:02:52.952Z] 5d3b04190fa2: Pull complete [2022-12-15T16:02:57.130Z] 2f39f015ded8: Pull complete [2022-12-15T16:02:57.130Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-15T16:02:57.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T16:02:57.130Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:02:57.333Z] prd-ubuntu20.04-docker-8c-8g-121363 does not seem to be running inside a container [2022-12-15T16:02:57.364Z] $ 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-440 -v /w/workspace/gexfoundry_device-mqtt-go_PR-440:/w/workspace/gexfoundry_device-mqtt-go_PR-440:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-440@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 [2022-12-15T16:02:59.145Z] $ docker top f6be31d651485ef4a389f68e750d6db1c7c3f4cd1c3da2058c56ab2053e9a97b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:02:59.600Z] ---> job-cost.sh [2022-12-15T16:02:59.600Z] lf-activate-venv: SKIPPING [2022-12-15T16:02:59.600Z] INFO: No Stack... [2022-12-15T16:02:59.858Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-15T16:03:00.423Z] INFO: Archiving Costs [Pipeline] sh [2022-12-15T16:03:00.505Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121364 in /w/workspace/gexfoundry_device-mqtt-go_PR-440 [Pipeline] { [Pipeline] ws [2022-12-15T16:03:00.544Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-12-15T16:03:00.628Z] Selected Git installation does not exist. Using Default [2022-12-15T16:03:00.629Z] The recommended git tool is: NONE [2022-12-15T16:03:00.735Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives/cost.csv [2022-12-15T16:03:00.735Z] + cut -d, -f6 [Pipeline] lock [2022-12-15T16:03:00.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] [2022-12-15T16:03:00.776Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] did not exist. Created. [2022-12-15T16:03:00.776Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-15T16:03:01.166Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-15T16:03:01.216Z] Stashed 1 file(s) [Pipeline] } [2022-12-15T16:03:01.244Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-15T16:03:01.324Z] $ docker stop --time=1 f6be31d651485ef4a389f68e750d6db1c7c3f4cd1c3da2058c56ab2053e9a97b [2022-12-15T16:03:02.517Z] $ docker rm -f f6be31d651485ef4a389f68e750d6db1c7c3f4cd1c3da2058c56ab2053e9a97b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-15T16:03:05.709Z] using credential edgex-jenkins-ssh [2022-12-15T16:03:05.725Z] Cloning the remote Git repository [2022-12-15T16:03:05.768Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-15T16:03:05.845Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-12-15T16:03:06.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-15T16:03:06.009Z] > git --version # timeout=10 [2022-12-15T16:03:06.032Z] > git --version # 'git version 2.25.1' [2022-12-15T16:03:06.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T16:03:06.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-15T16:03:07.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-12-15T16:03:07.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-15T16:03:08.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-12-15T16:03:08.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-15T16:03:08.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T16:03:08.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-15T16:03:08.736Z] Merging remotes/origin/main commit fcfe150067659d9c2450c08aa60233797868c9db into PR head commit 6bdfaee9ae606a4f8b392396fcc4c15889d23cee [2022-12-15T16:03:08.942Z] Merge succeeded, producing 6bdfaee9ae606a4f8b392396fcc4c15889d23cee [2022-12-15T16:03:08.943Z] Checking out Revision 6bdfaee9ae606a4f8b392396fcc4c15889d23cee (PR-440) [2022-12-15T16:03:08.751Z] > git config core.sparsecheckout # timeout=10 [2022-12-15T16:03:08.769Z] > git checkout -f 6bdfaee9ae606a4f8b392396fcc4c15889d23cee # timeout=10 [2022-12-15T16:03:08.843Z] > git remote # timeout=10 [2022-12-15T16:03:08.858Z] > git config --get remote.origin.url # timeout=10 [2022-12-15T16:03:08.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T16:03:08.892Z] > git merge fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 [2022-12-15T16:03:08.915Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-15T16:03:08.946Z] > git config core.sparsecheckout # timeout=10 [2022-12-15T16:03:08.964Z] > git checkout -f 6bdfaee9ae606a4f8b392396fcc4c15889d23cee # timeout=10 [2022-12-15T16:03:12.426Z] Commit message: "refactor!: use latest SDK for flattened config stem" [2022-12-15T16:03:12.476Z] > git --version # timeout=10 [2022-12-15T16:03:12.492Z] > git --version # 'git version 2.25.1' [2022-12-15T16:03:12.507Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T16:03:13.626Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-15T16:03:13.626Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-15T16:03:13.626Z] Dload Upload Total Spent Left Speed [2022-12-15T16:03:13.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2022-12-15T16:03:14.350Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-15T16:03:14.696Z] + sudo tee /etc/docker/daemon.new [2022-12-15T16:03:14.696Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-15T16:03:14.696Z] { [2022-12-15T16:03:14.696Z] "registry-mirrors": [ [2022-12-15T16:03:14.696Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-15T16:03:14.696Z] ], [2022-12-15T16:03:14.696Z] "bip": "10.250.0.254/24", [2022-12-15T16:03:14.696Z] "hosts": [ [2022-12-15T16:03:14.696Z] "tcp://0.0.0.0:5555", [2022-12-15T16:03:14.696Z] "unix:///var/run/docker.sock" [2022-12-15T16:03:14.696Z] ], [2022-12-15T16:03:14.696Z] "mtu": 1458, [2022-12-15T16:03:14.696Z] "selinux-enabled": true, [2022-12-15T16:03:14.696Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-15T16:03:14.696Z] } [Pipeline] sh [2022-12-15T16:03:15.043Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-15T16:03:15.401Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T16:03:33.722Z] provisioning config files... [2022-12-15T16:03:33.752Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3369110193296070524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:03:34.149Z] ---> docker-login.sh [2022-12-15T16:03:34.149Z] nexus3.edgexfoundry.org:10001 [2022-12-15T16:03:34.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:03:34.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:03:34.745Z] Configure a credential helper to remove this warning. See [2022-12-15T16:03:34.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:03:34.745Z] [2022-12-15T16:03:34.745Z] Login Succeeded [2022-12-15T16:03:34.745Z] nexus3.edgexfoundry.org:10002 [2022-12-15T16:03:35.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:03:35.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:03:35.290Z] Configure a credential helper to remove this warning. See [2022-12-15T16:03:35.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:03:35.290Z] [2022-12-15T16:03:35.290Z] Login Succeeded [2022-12-15T16:03:35.290Z] nexus3.edgexfoundry.org:10003 [2022-12-15T16:03:35.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:03:35.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:03:35.561Z] Configure a credential helper to remove this warning. See [2022-12-15T16:03:35.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:03:35.561Z] [2022-12-15T16:03:35.561Z] Login Succeeded [2022-12-15T16:03:35.561Z] nexus3.edgexfoundry.org:10004 [2022-12-15T16:03:35.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:03:35.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:03:35.834Z] Configure a credential helper to remove this warning. See [2022-12-15T16:03:35.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:03:35.835Z] [2022-12-15T16:03:35.835Z] Login Succeeded [2022-12-15T16:03:35.835Z] docker.io [2022-12-15T16:03:36.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T16:03:36.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T16:03:36.372Z] Configure a credential helper to remove this warning. See [2022-12-15T16:03:36.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T16:03:36.372Z] [2022-12-15T16:03:36.372Z] Login Succeeded [2022-12-15T16:03:36.372Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T16:03:36.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-15T16:03:36.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T16:03:36.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T16:03:36.780Z] ========================================================= [2022-12-15T16:03:36.780Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-15T16:03:36.780Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:03:37.252Z] + 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 . [2022-12-15T16:03:37.519Z] Sending build context to Docker daemon 3.287MB [2022-12-15T16:03:37.519Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T16:03:37.519Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-15T16:03:37.788Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-15T16:03:37.788Z] 9b18e9b68314: Pulling fs layer [2022-12-15T16:03:37.788Z] 35d82f9e3411: Pulling fs layer [2022-12-15T16:03:37.788Z] e16973657156: Pulling fs layer [2022-12-15T16:03:37.788Z] fc693d55d65f: Pulling fs layer [2022-12-15T16:03:37.788Z] 7e9fc2657dce: Pulling fs layer [2022-12-15T16:03:37.788Z] dda99020689f: Pulling fs layer [2022-12-15T16:03:37.788Z] db1c61fa0a46: Pulling fs layer [2022-12-15T16:03:37.788Z] 891c053d2c06: Pulling fs layer [2022-12-15T16:03:37.788Z] dda99020689f: Waiting [2022-12-15T16:03:37.788Z] fc693d55d65f: Waiting [2022-12-15T16:03:37.788Z] db1c61fa0a46: Waiting [2022-12-15T16:03:37.788Z] 7e9fc2657dce: Waiting [2022-12-15T16:03:37.788Z] 891c053d2c06: Waiting [2022-12-15T16:03:37.788Z] e16973657156: Verifying Checksum [2022-12-15T16:03:37.788Z] e16973657156: Download complete [2022-12-15T16:03:37.788Z] 35d82f9e3411: Download complete [2022-12-15T16:03:37.788Z] 7e9fc2657dce: Verifying Checksum [2022-12-15T16:03:37.788Z] 7e9fc2657dce: Download complete [2022-12-15T16:03:37.788Z] dda99020689f: Verifying Checksum [2022-12-15T16:03:37.788Z] dda99020689f: Download complete [2022-12-15T16:03:37.788Z] 9b18e9b68314: Verifying Checksum [2022-12-15T16:03:37.788Z] 9b18e9b68314: Download complete [2022-12-15T16:03:38.768Z] 9b18e9b68314: Pull complete [2022-12-15T16:03:38.768Z] 891c053d2c06: Verifying Checksum [2022-12-15T16:03:38.768Z] 891c053d2c06: Download complete [2022-12-15T16:03:39.357Z] 35d82f9e3411: Pull complete [2022-12-15T16:03:39.629Z] e16973657156: Pull complete [2022-12-15T16:03:40.224Z] db1c61fa0a46: Download complete [2022-12-15T16:03:40.810Z] fc693d55d65f: Verifying Checksum [2022-12-15T16:03:40.810Z] fc693d55d65f: Download complete [2022-12-15T16:03:53.126Z] fc693d55d65f: Pull complete [2022-12-15T16:03:53.126Z] 7e9fc2657dce: Pull complete [2022-12-15T16:03:53.126Z] dda99020689f: Pull complete [2022-12-15T16:03:58.475Z] db1c61fa0a46: Pull complete [2022-12-15T16:04:00.437Z] 891c053d2c06: Pull complete [2022-12-15T16:04:00.437Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-15T16:04:00.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-15T16:04:00.437Z] ---> f96f9c87975a [2022-12-15T16:04:00.437Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-15T16:04:02.395Z] ---> Running in 1829c06ab59c [2022-12-15T16:04:02.664Z] Removing intermediate container 1829c06ab59c [2022-12-15T16:04:02.664Z] ---> 7d6add303d03 [2022-12-15T16:04:02.664Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T16:04:02.664Z] ---> Running in e4e2b3eebdc6 [2022-12-15T16:04:02.931Z] Removing intermediate container e4e2b3eebdc6 [2022-12-15T16:04:02.931Z] ---> 242fc5381247 [2022-12-15T16:04:02.931Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T16:04:02.931Z] ---> Running in 65b0bee7e1be [2022-12-15T16:04:03.197Z] Removing intermediate container 65b0bee7e1be [2022-12-15T16:04:03.197Z] ---> da79b3299b1e [2022-12-15T16:04:03.197Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T16:04:03.465Z] ---> Running in 7c2503cc1906 [2022-12-15T16:04:03.734Z] Removing intermediate container 7c2503cc1906 [2022-12-15T16:04:03.734Z] ---> 85ee769b1b49 [2022-12-15T16:04:03.734Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T16:04:03.734Z] ---> Running in 288ef9789bbc [2022-12-15T16:04:04.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T16:04:05.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T16:04:05.869Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-15T16:04:06.144Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-15T16:04:06.144Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-15T16:04:06.144Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-15T16:04:06.144Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T16:04:06.144Z] OK: 226 MiB in 55 packages [2022-12-15T16:04:07.119Z] Removing intermediate container 288ef9789bbc [2022-12-15T16:04:07.119Z] ---> e5d29d4815fc [2022-12-15T16:04:07.119Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-12-15T16:04:07.119Z] ---> Running in 2b89265978e3 [2022-12-15T16:04:07.391Z] Removing intermediate container 2b89265978e3 [2022-12-15T16:04:07.391Z] ---> 8358ea30eced [2022-12-15T16:04:07.391Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-15T16:04:07.995Z] ---> 81c163e6e52a [2022-12-15T16:04:07.995Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T16:04:07.995Z] ---> Running in cc5b05c91039 [2022-12-15T16:05:04.391Z] Removing intermediate container cc5b05c91039 [2022-12-15T16:05:04.391Z] ---> c717440c23e1 [2022-12-15T16:05:04.391Z] Step 11/12 : COPY . . [2022-12-15T16:05:04.391Z] ---> 322c1ff6f877 [2022-12-15T16:05:04.391Z] Step 12/12 : RUN $MAKE [2022-12-15T16:05:04.391Z] ---> Running in 9174fa6c0878 [2022-12-15T16:05:04.391Z] noop [2022-12-15T16:05:04.391Z] Removing intermediate container 9174fa6c0878 [2022-12-15T16:05:04.391Z] ---> 1467cb3c61a9 [2022-12-15T16:05:04.391Z] Successfully built 1467cb3c61a9 [2022-12-15T16:05:04.391Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:05:04.863Z] + docker inspect -f . ci-base-image-arm64 [2022-12-15T16:05:04.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:05:05.124Z] prd-ubuntu20.04-docker-arm64-4c-16g-121364 does not seem to be running inside a container [2022-12-15T16:05:05.187Z] $ 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 ******** ci-base-image-arm64 cat [2022-12-15T16:05:06.655Z] $ docker top 934b61e33de12d6dfc72110a50196ca958ab388847e99fd21953ab28607eeddf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T16:05:07.498Z] + go version [2022-12-15T16:05:07.498Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-15T16:05:07.526Z] $ docker stop --time=1 934b61e33de12d6dfc72110a50196ca958ab388847e99fd21953ab28607eeddf [2022-12-15T16:05:09.167Z] $ docker rm -f 934b61e33de12d6dfc72110a50196ca958ab388847e99fd21953ab28607eeddf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:05:09.991Z] + docker inspect -f . ci-base-image-arm64 [2022-12-15T16:05:09.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:05:10.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-121364 does not seem to be running inside a container [2022-12-15T16:05:10.284Z] $ 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 ******** ci-base-image-arm64 cat [2022-12-15T16:05:11.475Z] $ docker top e5b45eb4c7ba017bad8943630b7aef57ac765cafe37acc9010935ce7cf714b2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T16:05:12.328Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-15T16:05:12.726Z] + make test [2022-12-15T16:05:12.726Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-15T16:05:14.669Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-12-15T16:06:36.311Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-12-15T16:06:36.311Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 21.8% of statements [2022-12-15T16:06:36.311Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-12-15T16:06:36.311Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-15T16:06:36.311Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-15T16:06:54.621Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-15T16:06:54.621Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-15T16:06:54.621Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-15T16:06:54.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-15T16:06:54.685Z] $ docker stop --time=1 e5b45eb4c7ba017bad8943630b7aef57ac765cafe37acc9010935ce7cf714b2c [2022-12-15T16:06:56.443Z] $ docker rm -f e5b45eb4c7ba017bad8943630b7aef57ac765cafe37acc9010935ce7cf714b2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T16:06:57.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-15T16:06:57.424Z] Warning: overwriting stash ‘coverage-report’ [2022-12-15T16:06:57.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T16:06:58.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-15T16:06:58.766Z] + ls -al . [2022-12-15T16:06:58.766Z] total 188 [2022-12-15T16:06:58.766Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 16:05 . [2022-12-15T16:06:58.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 16:03 .. [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 16:03 .dockerignore [2022-12-15T16:06:58.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 16:03 .git [2022-12-15T16:06:58.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 16:03 .github [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 15 16:03 .gitignore [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 16:03 .golangci.yml [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 9293 Dec 15 16:03 Attribution.txt [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 13162 Dec 15 16:03 CHANGELOG.md [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 1752 Dec 15 16:03 Dockerfile [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 16:03 GOVERNANCE.md [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 15 16:03 Jenkinsfile [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 16:03 LICENSE [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 2126 Dec 15 16:03 Makefile [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 16:03 OWNERS.md [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 3165 Dec 15 16:03 README.md [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 16:01 VERSION [2022-12-15T16:06:58.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 16:03 bin [2022-12-15T16:06:58.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 16:03 cmd [2022-12-15T16:06:58.766Z] -rw-r--r-- 1 jenkins jenkins 17887 Dec 15 16:06 coverage.out [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 3464 Dec 15 16:03 go.mod [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 15 16:03 go.sum [2022-12-15T16:06:58.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 16:03 internal [2022-12-15T16:06:58.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 16:03 mock [2022-12-15T16:06:58.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 16:03 snap [2022-12-15T16:06:58.766Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 16:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:06:59.200Z] + 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=6bdfaee9ae606a4f8b392396fcc4c15889d23cee --label arch=arm64 --label version=0.0.0 . [2022-12-15T16:06:59.469Z] Sending build context to Docker daemon 3.305MB [2022-12-15T16:06:59.469Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T16:06:59.469Z] Step 2/24 : FROM ${BASE} AS builder [2022-12-15T16:06:59.469Z] ---> 1467cb3c61a9 [2022-12-15T16:06:59.469Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-12-15T16:06:59.735Z] ---> Running in 3e26e5595768 [2022-12-15T16:07:00.001Z] Removing intermediate container 3e26e5595768 [2022-12-15T16:07:00.001Z] ---> e47970ca9fcd [2022-12-15T16:07:00.001Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T16:07:00.001Z] ---> Running in c9a3bb82ddf1 [2022-12-15T16:07:00.268Z] Removing intermediate container c9a3bb82ddf1 [2022-12-15T16:07:00.268Z] ---> f5a0b0d8e59c [2022-12-15T16:07:00.268Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T16:07:00.268Z] ---> Running in 13d58d3c0c6e [2022-12-15T16:07:00.539Z] Removing intermediate container 13d58d3c0c6e [2022-12-15T16:07:00.539Z] ---> cf447e78512d [2022-12-15T16:07:00.539Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T16:07:00.808Z] ---> Running in ec8b9e41d9aa [2022-12-15T16:07:01.077Z] Removing intermediate container ec8b9e41d9aa [2022-12-15T16:07:01.077Z] ---> b28aa5ce784a [2022-12-15T16:07:01.077Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T16:07:01.077Z] ---> Running in 2261e14271f3 [2022-12-15T16:07:02.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T16:07:02.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T16:07:03.266Z] OK: 226 MiB in 55 packages [2022-12-15T16:07:04.227Z] Removing intermediate container 2261e14271f3 [2022-12-15T16:07:04.227Z] ---> c6e9ce083552 [2022-12-15T16:07:04.227Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-12-15T16:07:04.227Z] ---> Running in d418b36f0807 [2022-12-15T16:07:04.496Z] Removing intermediate container d418b36f0807 [2022-12-15T16:07:04.496Z] ---> 268936b56512 [2022-12-15T16:07:04.496Z] Step 9/24 : COPY go.mod vendor* ./ [2022-12-15T16:07:04.763Z] ---> 1ff1602cbddd [2022-12-15T16:07:04.763Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T16:07:05.035Z] ---> Running in 7bd6b6392c39 [2022-12-15T16:07:06.989Z] Removing intermediate container 7bd6b6392c39 [2022-12-15T16:07:06.989Z] ---> 97f712c17cca [2022-12-15T16:07:06.989Z] Step 11/24 : COPY . . [2022-12-15T16:07:07.572Z] ---> afd67356d282 [2022-12-15T16:07:07.572Z] Step 12/24 : RUN $MAKE [2022-12-15T16:07:08.588Z] ---> Running in 8b40a614dc45 [2022-12-15T16:07:09.577Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-12-15T16:09:46.373Z] Removing intermediate container 8b40a614dc45 [2022-12-15T16:09:46.373Z] ---> fe845d74b157 [2022-12-15T16:09:46.373Z] Step 13/24 : FROM alpine:3.16 [2022-12-15T16:09:46.373Z] 3.16: Pulling from library/alpine [2022-12-15T16:09:46.373Z] 6875df1f5354: Pulling fs layer [2022-12-15T16:09:46.373Z] 6875df1f5354: Verifying Checksum [2022-12-15T16:09:46.373Z] 6875df1f5354: Download complete [2022-12-15T16:09:46.373Z] 6875df1f5354: Pull complete [2022-12-15T16:09:46.373Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-15T16:09:46.373Z] Status: Downloaded newer image for alpine:3.16 [2022-12-15T16:09:46.373Z] ---> 2b4661558fb8 [2022-12-15T16:09:46.373Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-12-15T16:09:46.373Z] ---> Running in 8c07129c6616 [2022-12-15T16:09:46.373Z] Removing intermediate container 8c07129c6616 [2022-12-15T16:09:46.373Z] ---> 43b0ed69647c [2022-12-15T16:09:46.373Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-15T16:09:46.373Z] ---> Running in ee6e09e6809a [2022-12-15T16:09:46.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T16:09:46.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T16:09:46.373Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-15T16:09:46.373Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-15T16:09:46.373Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-15T16:09:46.373Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-15T16:09:46.373Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-15T16:09:46.373Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-15T16:09:46.373Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T16:09:46.373Z] OK: 8 MiB in 20 packages [2022-12-15T16:09:46.373Z] Removing intermediate container ee6e09e6809a [2022-12-15T16:09:46.373Z] ---> 65e047cfc7ee [2022-12-15T16:09:46.373Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-12-15T16:09:46.373Z] ---> f7215db24fe4 [2022-12-15T16:09:46.373Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-12-15T16:09:46.373Z] ---> e9422c108306 [2022-12-15T16:09:46.373Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-12-15T16:09:46.373Z] ---> 4d9f5fb5ce67 [2022-12-15T16:09:46.373Z] Step 19/24 : EXPOSE 59982 [2022-12-15T16:09:46.373Z] ---> Running in 333bf90077c6 [2022-12-15T16:09:46.373Z] Removing intermediate container 333bf90077c6 [2022-12-15T16:09:46.373Z] ---> ebd47842214c [2022-12-15T16:09:46.373Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-12-15T16:09:46.373Z] ---> Running in a79d93f58967 [2022-12-15T16:09:46.373Z] Removing intermediate container a79d93f58967 [2022-12-15T16:09:46.373Z] ---> 07a2a2e88dd9 [2022-12-15T16:09:46.373Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-15T16:09:46.373Z] ---> Running in 8d001e411d2a [2022-12-15T16:09:46.373Z] Removing intermediate container 8d001e411d2a [2022-12-15T16:09:46.373Z] ---> 7d690a640b3a [2022-12-15T16:09:46.373Z] Step 22/24 : LABEL arch=arm64 [2022-12-15T16:09:46.373Z] ---> Running in c803013a9c62 [2022-12-15T16:09:46.373Z] Removing intermediate container c803013a9c62 [2022-12-15T16:09:46.373Z] ---> 492c90c64221 [2022-12-15T16:09:46.373Z] Step 23/24 : LABEL git_sha=6bdfaee9ae606a4f8b392396fcc4c15889d23cee [2022-12-15T16:09:46.373Z] ---> Running in 02724c58186f [2022-12-15T16:09:46.373Z] Removing intermediate container 02724c58186f [2022-12-15T16:09:46.373Z] ---> 969b30e2867c [2022-12-15T16:09:46.373Z] Step 24/24 : LABEL version=0.0.0 [2022-12-15T16:09:46.373Z] ---> Running in 2f9470ebec96 [2022-12-15T16:09:46.373Z] Removing intermediate container 2f9470ebec96 [2022-12-15T16:09:46.373Z] ---> ac1135a109a1 [2022-12-15T16:09:46.373Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-15T16:09:46.373Z] Successfully built ac1135a109a1 [2022-12-15T16:09:46.373Z] 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 [2022-12-15T16:09:47.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T16:09:47.172Z] [2022-12-15T16:09:47.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:09:47.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T16:09:47.560Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-15T16:09:47.560Z] 8998bd30e6a1: Pulling fs layer [2022-12-15T16:09:47.560Z] 04944245beec: Pulling fs layer [2022-12-15T16:09:47.560Z] 699f458cf7ca: Pulling fs layer [2022-12-15T16:09:47.560Z] 765212b225bb: Pulling fs layer [2022-12-15T16:09:47.560Z] f23df028b6ca: Pulling fs layer [2022-12-15T16:09:47.560Z] d65c8cfc05b1: Pulling fs layer [2022-12-15T16:09:47.560Z] 2437ff75d9bd: Pulling fs layer [2022-12-15T16:09:47.560Z] f23df028b6ca: Waiting [2022-12-15T16:09:47.560Z] d65c8cfc05b1: Waiting [2022-12-15T16:09:47.560Z] 2437ff75d9bd: Waiting [2022-12-15T16:09:47.560Z] 765212b225bb: Waiting [2022-12-15T16:09:47.829Z] 04944245beec: Verifying Checksum [2022-12-15T16:09:47.829Z] 04944245beec: Download complete [2022-12-15T16:09:47.829Z] 765212b225bb: Verifying Checksum [2022-12-15T16:09:47.829Z] 765212b225bb: Download complete [2022-12-15T16:09:47.829Z] f23df028b6ca: Verifying Checksum [2022-12-15T16:09:47.829Z] f23df028b6ca: Download complete [2022-12-15T16:09:47.829Z] d65c8cfc05b1: Verifying Checksum [2022-12-15T16:09:47.829Z] d65c8cfc05b1: Download complete [2022-12-15T16:09:47.829Z] 699f458cf7ca: Verifying Checksum [2022-12-15T16:09:47.829Z] 699f458cf7ca: Download complete [2022-12-15T16:09:48.420Z] 8998bd30e6a1: Download complete [2022-12-15T16:09:51.007Z] 2437ff75d9bd: Verifying Checksum [2022-12-15T16:09:51.007Z] 2437ff75d9bd: Download complete [2022-12-15T16:09:52.417Z] 8998bd30e6a1: Pull complete [2022-12-15T16:09:52.686Z] 04944245beec: Pull complete [2022-12-15T16:09:54.095Z] 699f458cf7ca: Pull complete [2022-12-15T16:09:54.363Z] 765212b225bb: Pull complete [2022-12-15T16:09:54.948Z] f23df028b6ca: Pull complete [2022-12-15T16:09:55.217Z] d65c8cfc05b1: Pull complete [2022-12-15T16:10:10.220Z] 2437ff75d9bd: Pull complete [2022-12-15T16:10:10.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-15T16:10:10.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T16:10:10.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:10:10.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-121364 does not seem to be running inside a container [2022-12-15T16:10:10.586Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-15T16:10:13.193Z] $ docker top a616fecc041f16bd3695c9a4e3082b85173c1953a9992455d544d28c8d0ca936 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:13.747Z] ---> job-cost.sh [2022-12-15T16:10:14.013Z] lf-activate-venv: SKIPPING [2022-12-15T16:10:14.013Z] INFO: No Stack... [2022-12-15T16:10:14.279Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-15T16:10:15.236Z] INFO: Archiving Costs [Pipeline] sh [2022-12-15T16:10:15.580Z] + + cut -d, -f6 [2022-12-15T16:10:15.580Z] cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-12-15T16:10:15.930Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] [2022-12-15T16:10:15.936Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] did not exist. Created. [2022-12-15T16:10:15.936Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-15T16:10:16.349Z] /w/workspace/device-mqtt-go/1@tmp/durable-f46007ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-15T16:10:17.295Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-15T16:10:17.336Z] Warning: overwriting stash ‘stack-cost’ [2022-12-15T16:10:17.379Z] Stashed 1 file(s) [Pipeline] } [2022-12-15T16:10:17.394Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-440-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-15T16:10:17.476Z] $ docker stop --time=1 a616fecc041f16bd3695c9a4e3082b85173c1953a9992455d544d28c8d0ca936 [2022-12-15T16:10:18.954Z] $ docker rm -f a616fecc041f16bd3695c9a4e3082b85173c1953a9992455d544d28c8d0ca936 [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 [2022-12-15T16:10:20.040Z] provisioning config files... [2022-12-15T16:10:20.047Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/config14474444505530888571tmp [Pipeline] { [Pipeline] sh [2022-12-15T16:10:20.446Z] + set +x [2022-12-15T16:10:20.446Z] + curl -s https://codecov.io/bash [2022-12-15T16:10:20.446Z] + bash -s -- [2022-12-15T16:10:20.706Z] [2022-12-15T16:10:20.706Z] _____ _ [2022-12-15T16:10:20.706Z] / ____| | | [2022-12-15T16:10:20.706Z] | | ___ __| | ___ ___ _____ __ [2022-12-15T16:10:20.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-15T16:10:20.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-15T16:10:20.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-15T16:10:20.706Z] Bash-1.0.6 [2022-12-15T16:10:20.706Z] [2022-12-15T16:10:20.706Z] [2022-12-15T16:10:20.706Z] ==> git version 2.25.1 found [2022-12-15T16:10:20.706Z] ==> 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 [2022-12-15T16:10:20.706Z] Release-Date: 2020-01-08 [2022-12-15T16:10:20.706Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-15T16:10:20.706Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-15T16:10:20.706Z] ==> Jenkins CI detected. [2022-12-15T16:10:20.706Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-440 [2022-12-15T16:10:20.706Z] project root: . [2022-12-15T16:10:20.706Z] --> token set from env [2022-12-15T16:10:20.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-15T16:10:20.706Z] ==> Running gcov in . (disable via -X gcov) [2022-12-15T16:10:20.706Z] ==> Python coveragepy not found [2022-12-15T16:10:20.706Z] ==> Searching for coverage reports in: [2022-12-15T16:10:20.706Z] + . [2022-12-15T16:10:20.706Z] -> Found 1 reports [2022-12-15T16:10:20.706Z] ==> Detecting git/mercurial file structure [2022-12-15T16:10:20.706Z] ==> Reading reports [2022-12-15T16:10:20.706Z] + ./coverage.out bytes=17887 [2022-12-15T16:10:20.706Z] ==> Appending adjustments [2022-12-15T16:10:20.706Z] https://docs.codecov.io/docs/fixing-reports [2022-12-15T16:10:20.965Z] + Found adjustments [2022-12-15T16:10:20.965Z] ==> Gzipping contents [2022-12-15T16:10:20.965Z] 4.0K /tmp/codecov.l6mz8m.gz [2022-12-15T16:10:20.965Z] ==> Uploading reports [2022-12-15T16:10:20.965Z] url: https://codecov.io [2022-12-15T16:10:20.965Z] query: branch=PR-440&commit=6bdfaee9ae606a4f8b392396fcc4c15889d23cee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=440&job=&cmd_args= [2022-12-15T16:10:20.965Z] -> Pinging Codecov [2022-12-15T16:10:20.965Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-440&commit=6bdfaee9ae606a4f8b392396fcc4c15889d23cee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=440&job=&cmd_args= [2022-12-15T16:10:21.905Z] -> Uploading to [2022-12-15T16:10:21.905Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-15/7D719EC7BBE17E464838252E33014C33/6bdfaee9ae606a4f8b392396fcc4c15889d23cee/b7c5792d-7e63-4f14-8376-23432556f446.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221215T161021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d73e390ec7bef155f34c3bdbb5c5e69da391dd184d8cc4a1e4223cbb76e4f5e [2022-12-15T16:10:21.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-15T16:10:21.905Z] Dload Upload Total Spent Left Speed [2022-12-15T16:10:22.164Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 15061 --:--:-- --:--:-- --:--:-- 15061 [2022-12-15T16:10:22.164Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6bdfaee9ae606a4f8b392396fcc4c15889d23cee [Pipeline] } [2022-12-15T16:10:22.191Z] 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 [2022-12-15T16:10:23.981Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives ] [2022-12-15T16:10:23.981Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives [2022-12-15T16:10:23.981Z] total 16 [2022-12-15T16:10:23.981Z] drwxr-xr-x 3 root root 4096 Dec 15 16:03 . [2022-12-15T16:10:23.981Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 16:03 .. [2022-12-15T16:10:23.981Z] drwxr-xr-x 2 root root 4096 Dec 15 16:03 cost [2022-12-15T16:10:23.981Z] -rw-r--r-- 1 root root 86 Dec 15 16:03 cost.csv [2022-12-15T16:10:23.981Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives [2022-12-15T16:10:23.981Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives [2022-12-15T16:10:23.981Z] total 16 [2022-12-15T16:10:23.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 16:03 . [2022-12-15T16:10:23.981Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 16:03 .. [2022-12-15T16:10:23.981Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 16:03 cost [2022-12-15T16:10:23.981Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 15 16:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:24.314Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:25.209Z] ---> package-listing.sh [2022-12-15T16:10:25.209Z] ++ facter osfamily [2022-12-15T16:10:25.209Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-15T16:10:25.468Z] + OS_FAMILY=debian [2022-12-15T16:10:25.468Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-440 [2022-12-15T16:10:25.468Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-15T16:10:25.468Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-15T16:10:25.468Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-15T16:10:25.468Z] + PACKAGES=/tmp/packages_start.txt [2022-12-15T16:10:25.468Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-440 ']' [2022-12-15T16:10:25.468Z] + PACKAGES=/tmp/packages_end.txt [2022-12-15T16:10:25.468Z] + case "${OS_FAMILY}" in [2022-12-15T16:10:25.468Z] + dpkg -l [2022-12-15T16:10:25.468Z] + grep '^ii' [2022-12-15T16:10:25.468Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-15T16:10:25.468Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-15T16:10:25.468Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-15T16:10:25.468Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-440 ']' [2022-12-15T16:10:25.468Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives/ [2022-12-15T16:10:25.468Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-440/archives/ [Pipeline] echo [2022-12-15T16:10:25.500Z] 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-440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-15T16:10:25.794Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T16:10:26.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T16:10:26.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T16:10:26.573Z] prd-ubuntu20.04-docker-8c-8g-121363 does not seem to be running inside a container [2022-12-15T16:10:26.603Z] $ 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-440/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-440 -v /w/workspace/gexfoundry_device-mqtt-go_PR-440:/w/workspace/gexfoundry_device-mqtt-go_PR-440:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-15T16:10:26.786Z] $ docker top 752fc7ff80a86f4578b0e106267946ccbc5dfa748830d356ca1dce874301ff52 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T16:10:27.184Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-15T16:10:27.495Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-15T16:10:27.798Z] + ls /var/log/sa-host [2022-12-15T16:10:27.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T16:10:28.015Z] provisioning config files... [2022-12-15T16:10:28.025Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-440@tmp/config18233049988301105920tmp [Pipeline] { [Pipeline] echo [2022-12-15T16:10:28.076Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:28.386Z] ---> create-netrc.sh [Pipeline] } [2022-12-15T16:10:28.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:28.808Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-15T16:10:28.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:29.152Z] ---> sudo-logs.sh [2022-12-15T16:10:29.152Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-15T16:10:29.236Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:29.548Z] ---> job-cost.sh [2022-12-15T16:10:29.548Z] lf-activate-venv: SKIPPING [2022-12-15T16:10:29.548Z] DEBUG: total: 0.2199999988079071 [2022-12-15T16:10:29.548Z] INFO: Retrieving Stack Cost... [2022-12-15T16:10:29.805Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-15T16:10:30.372Z] INFO: Archiving Costs [Pipeline] echo [2022-12-15T16:10:30.410Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T16:10:30.719Z] ---> logs-deploy.sh [2022-12-15T16:10:30.720Z] lf-activate-venv: SKIPPING [2022-12-15T16:10:30.720Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-440/1 [2022-12-15T16:10:30.720Z] INFO: archiving workspace using pattern(s): [2022-12-15T16:10:31.656Z] Archives upload complete. [2022-12-15T16:10:31.656Z] INFO: archiving logs to Nexus