Pull request #617 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 jackchenjc for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at e591e9dcfdb189d130fee98849b2bbe259068cfa rather than a383cfdc3a434418355ebd57346991eaea66a3fb Obtained Jenkinsfile from e591e9dcfdb189d130fee98849b2bbe259068cfa 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-ssh5195536952517073898.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16611710398926809596.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-617/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-617/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16357963340163462385.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-617/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17378131159414842958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh2844096781880720201.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-617/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-617/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5710969542457639062.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3206 in /w/workspace/gexfoundry_device-mqtt-go_PR-617 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-617 # 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 Merging remotes/origin/main commit e591e9dcfdb189d130fee98849b2bbe259068cfa into PR head commit a383cfdc3a434418355ebd57346991eaea66a3fb Merge succeeded, producing a383cfdc3a434418355ebd57346991eaea66a3fb Checking out Revision a383cfdc3a434418355ebd57346991eaea66a3fb (PR-617) > 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/617/head:refs/remotes/origin/PR-617 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a383cfdc3a434418355ebd57346991eaea66a3fb # 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 e591e9dcfdb189d130fee98849b2bbe259068cfa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a383cfdc3a434418355ebd57346991eaea66a3fb # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:09:36.011Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:09:36.201Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:09:36.317Z] ========================================================= [2023-08-09T10:09:36.317Z] EdgeX Global Pipelines Version Info [2023-08-09T10:09:36.317Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:09:37.072Z] ------------------- [2023-08-09T10:09:37.072Z] stable info: [2023-08-09T10:09:37.072Z] ------------------- [2023-08-09T10:09:37.072Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:09:37.072Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:09:37.072Z] Message: update stable to v1.0.250 [2023-08-09T10:09:37.641Z] ------------------- [2023-08-09T10:09:37.641Z] experimental info: [2023-08-09T10:09:37.641Z] ------------------- [2023-08-09T10:09:37.642Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:09:37.642Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:09:37.642Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:09:37.967Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-08-09T10:09:38.005Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-08-09T10:09:38.041Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:09:38.080Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:09:38.117Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:09:38.207Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:09:38.248Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:09:38.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:09:38.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:09:38.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:09:38.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:09:38.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-08-09T10:09:38.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:09:38.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:09:38.543Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:09:38.588Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:09:38.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:09:38.680Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:09:38.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:09:38.761Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:09:38.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:09:38.871Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:09:38.917Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:09:38.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:09:39.003Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:09:39.044Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:09:39.087Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:09:39.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-617 [Pipeline] echo [2023-08-09T10:09:39.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-617 [Pipeline] echo [2023-08-09T10:09:39.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-617 [Pipeline] echo [2023-08-09T10:09:39.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a383cfdc3a434418355ebd57346991eaea66a3fb [Pipeline] echo [2023-08-09T10:09:39.297Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a383cfd [Pipeline] echo [2023-08-09T10:09:39.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:09:39.461Z] provisioning config files... [2023-08-09T10:09:39.477Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/config13934984160517425139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:09:39.826Z] ---> docker-login.sh [2023-08-09T10:09:39.826Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:09:40.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:40.086Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:40.086Z] [2023-08-09T10:09:40.086Z] Login Succeeded [2023-08-09T10:09:40.086Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:09:40.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:40.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:40.346Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:40.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:40.346Z] [2023-08-09T10:09:40.346Z] Login Succeeded [2023-08-09T10:09:40.346Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:09:40.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:40.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:40.346Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:40.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:40.346Z] [2023-08-09T10:09:40.346Z] Login Succeeded [2023-08-09T10:09:40.346Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:09:40.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:40.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:40.607Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:40.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:40.607Z] [2023-08-09T10:09:40.607Z] Login Succeeded [2023-08-09T10:09:40.607Z] docker.io [2023-08-09T10:09:40.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:40.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:40.866Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:40.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:40.866Z] [2023-08-09T10:09:40.866Z] Login Succeeded [2023-08-09T10:09:40.866Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:09:40.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:09:41.539Z] + git rev-list -1 --merges a383cfdc3a434418355ebd57346991eaea66a3fb~1..a383cfdc3a434418355ebd57346991eaea66a3fb [Pipeline] echo [2023-08-09T10:09:41.605Z] -----------> git rev-list -1 --merges a383cfdc3a434418355ebd57346991eaea66a3fb~1..a383cfdc3a434418355ebd57346991eaea66a3fb a383cfdc3a434418355ebd57346991eaea66a3fb [false] [Pipeline] sh [2023-08-09T10:09:41.912Z] + git log --format=format:%s -1 a383cfdc3a434418355ebd57346991eaea66a3fb [Pipeline] echo [2023-08-09T10:09:41.947Z] ========================================================= [2023-08-09T10:09:41.947Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:09:41.947Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:09:42.394Z] + git log --format=format:%s -1 a383cfdc3a434418355ebd57346991eaea66a3fb [Pipeline] echo [2023-08-09T10:09:42.425Z] [semverPrep] GIT_COMMIT: a383cfdc3a434418355ebd57346991eaea66a3fb, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo [2023-08-09T10:09:42.456Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:09:42.844Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:09:42.844Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:09:42.844Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:09:42.844Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:09:42.844Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:09:42.844Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:09:42.844Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:43.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:09:43.264Z] [2023-08-09T10:09:43.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:43.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:09:43.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:09:43.731Z] b85a868b505f: Pulling fs layer [2023-08-09T10:09:43.731Z] e2be974225ed: Pulling fs layer [2023-08-09T10:09:43.731Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:09:43.731Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:09:43.731Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:09:43.731Z] eaf3925da568: Pulling fs layer [2023-08-09T10:09:43.731Z] 988bab9f4d93: Waiting [2023-08-09T10:09:43.731Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:09:43.731Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:09:43.731Z] eaf3925da568: Waiting [2023-08-09T10:09:43.731Z] 1469e6f7b9e6: Waiting [2023-08-09T10:09:43.731Z] bab4dde63d76: Waiting [2023-08-09T10:09:43.731Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:09:43.731Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:09:43.731Z] bde34c3a00c8: Waiting [2023-08-09T10:09:43.731Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:09:43.731Z] 4872d77fe225: Waiting [2023-08-09T10:09:43.731Z] e2be974225ed: Download complete [2023-08-09T10:09:43.731Z] 988bab9f4d93: Download complete [2023-08-09T10:09:43.997Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:09:43.997Z] 1469e6f7b9e6: Download complete [2023-08-09T10:09:43.997Z] eaf3925da568: Verifying Checksum [2023-08-09T10:09:43.997Z] eaf3925da568: Download complete [2023-08-09T10:09:43.997Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:09:43.997Z] 339a4e72a1f5: Download complete [2023-08-09T10:09:43.997Z] bde34c3a00c8: Download complete [2023-08-09T10:09:43.997Z] b352a97aabf1: Download complete [2023-08-09T10:09:43.997Z] 4872d77fe225: Verifying Checksum [2023-08-09T10:09:43.997Z] 4872d77fe225: Download complete [2023-08-09T10:09:43.997Z] 5851b861e8e6: Verifying Checksum [2023-08-09T10:09:43.997Z] 5851b861e8e6: Download complete [2023-08-09T10:09:43.997Z] b85a868b505f: Verifying Checksum [2023-08-09T10:09:43.997Z] b85a868b505f: Download complete [2023-08-09T10:09:44.563Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:09:44.563Z] bab4dde63d76: Download complete [2023-08-09T10:09:45.133Z] b85a868b505f: Pull complete [2023-08-09T10:09:45.393Z] e2be974225ed: Pull complete [2023-08-09T10:09:45.962Z] 339a4e72a1f5: Pull complete [2023-08-09T10:09:45.962Z] 988bab9f4d93: Pull complete [2023-08-09T10:09:46.224Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:09:46.503Z] eaf3925da568: Pull complete [2023-08-09T10:09:48.411Z] bab4dde63d76: Pull complete [2023-08-09T10:09:48.411Z] bde34c3a00c8: Pull complete [2023-08-09T10:09:48.411Z] b352a97aabf1: Pull complete [2023-08-09T10:09:48.411Z] 4872d77fe225: Pull complete [2023-08-09T10:09:48.411Z] 5851b861e8e6: Pull complete [2023-08-09T10:09:48.671Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:09:48.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:09:48.671Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:09:48.937Z] prd-ubuntu20.04-docker-8c-8g-3206 does not seem to be running inside a container [2023-08-09T10:09:48.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-617 -v /w/workspace/gexfoundry_device-mqtt-go_PR-617:/w/workspace/gexfoundry_device-mqtt-go_PR-617:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:09:52.164Z] $ docker top 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 -eo pid,comm [2023-08-09T10:09:52.216Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:09:52.216Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:09:52.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:09:52.350Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:09:52.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:09:52.466Z] $ docker exec 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 ssh-agent [2023-08-09T10:09:52.580Z] SSH_AUTH_SOCK=/tmp/ssh-oGreB0JEJLnh/agent.33 [2023-08-09T10:09:52.580Z] SSH_AGENT_PID=39 [2023-08-09T10:09:52.589Z] Running ssh-add (command line suppressed) [2023-08-09T10:09:52.697Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/private_key_13254815587411409644.key (/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/private_key_13254815587411409644.key) [2023-08-09T10:09:52.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:09:53.042Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:09:53.068Z] $ docker exec --env ******** --env ******** 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 ssh-agent -k [2023-08-09T10:09:53.160Z] unset SSH_AUTH_SOCK; [2023-08-09T10:09:53.161Z] unset SSH_AGENT_PID; [2023-08-09T10:09:53.161Z] echo Agent pid 39 killed; [2023-08-09T10:09:53.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:09:53.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:09:53.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:09:53.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:09:53.374Z] $ docker exec 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 ssh-agent [2023-08-09T10:09:53.476Z] SSH_AUTH_SOCK=/tmp/ssh-UJmj3AF3WSq0/agent.71 [2023-08-09T10:09:53.476Z] SSH_AGENT_PID=77 [2023-08-09T10:09:53.481Z] Running ssh-add (command line suppressed) [2023-08-09T10:09:53.593Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/private_key_13345660692760807407.key (/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/private_key_13345660692760807407.key) [2023-08-09T10:09:53.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:09:53.983Z] + git semver init [2023-08-09T10:09:54.243Z] 2023-08-09 10:09:54,150 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:09:54.243Z] 2023-08-09 10:09:54,150 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver [2023-08-09T10:09:54.243Z] 2023-08-09 10:09:54,151 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver [2023-08-09T10:09:54.243Z] 2023-08-09 10:09:54,151 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-617, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,011 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-617/.git/info/exclude [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,012 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver/PR-617 with force:False [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,012 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver/PR-617 [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,016 [execute] INFO git cat-file --batch-check [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,022 [execute] INFO git cat-file --batch [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:09:55.183Z] 2023-08-09 10:09:55,027 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-617/.semver/PR-617 [2023-08-09T10:09:55.183Z] 0.0.0 [Pipeline] } [2023-08-09T10:09:55.212Z] $ docker exec --env ******** --env ******** 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 ssh-agent -k [2023-08-09T10:09:55.312Z] unset SSH_AUTH_SOCK; [2023-08-09T10:09:55.313Z] unset SSH_AGENT_PID; [2023-08-09T10:09:55.313Z] echo Agent pid 77 killed; [2023-08-09T10:09:55.320Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:09:55.853Z] + git semver [Pipeline] } [2023-08-09T10:09:56.141Z] $ docker stop --time=1 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 [2023-08-09T10:09:57.460Z] $ docker rm -f --volumes 5d0bed90c138da28d651aa437f6382732840beb8b1d842a3eadcf699ee526e23 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:09:57.860Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:09:58.141Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:09:58.159Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:09:58.787Z] provisioning config files... [2023-08-09T10:09:58.797Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/config4622570637837939031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:09:59.160Z] ---> docker-login.sh [2023-08-09T10:09:59.160Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:09:59.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:59.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:59.160Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:59.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:59.160Z] [2023-08-09T10:09:59.160Z] Login Succeeded [2023-08-09T10:09:59.160Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:09:59.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:59.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:59.160Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:59.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:59.160Z] [2023-08-09T10:09:59.160Z] Login Succeeded [2023-08-09T10:09:59.160Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:09:59.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:59.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:59.422Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:59.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:59.422Z] [2023-08-09T10:09:59.422Z] Login Succeeded [2023-08-09T10:09:59.422Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:09:59.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:59.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:59.422Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:59.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:59.422Z] [2023-08-09T10:09:59.422Z] Login Succeeded [2023-08-09T10:09:59.422Z] docker.io [2023-08-09T10:09:59.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:09:59.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:09:59.680Z] Configure a credential helper to remove this warning. See [2023-08-09T10:09:59.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:09:59.680Z] [2023-08-09T10:09:59.680Z] Login Succeeded [2023-08-09T10:09:59.680Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:09:59.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:09:59.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:09:59.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:10:00.018Z] ========================================================= [2023-08-09T10:10:00.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:10:00.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:10:00.509Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:10:00.509Z] Sending build context to Docker daemon 6.43MB [2023-08-09T10:10:00.509Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:10:00.509Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:10:00.509Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:10:00.509Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:10:00.509Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:10:00.509Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:10:00.509Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:10:00.509Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:10:00.509Z] 40a00589a448: Pulling fs layer [2023-08-09T10:10:00.509Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:10:00.509Z] 798269fcf238: Pulling fs layer [2023-08-09T10:10:00.509Z] 6863d3e3a2b1: Waiting [2023-08-09T10:10:00.509Z] 6c08303d61cc: Waiting [2023-08-09T10:10:00.509Z] ec0bb842ea78: Waiting [2023-08-09T10:10:00.509Z] 798269fcf238: Waiting [2023-08-09T10:10:00.509Z] 40a00589a448: Waiting [2023-08-09T10:10:00.509Z] 6911f1a30b25: Verifying Checksum [2023-08-09T10:10:00.509Z] 6911f1a30b25: Download complete [2023-08-09T10:10:00.509Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T10:10:00.509Z] 6863d3e3a2b1: Download complete [2023-08-09T10:10:00.509Z] ec0bb842ea78: Verifying Checksum [2023-08-09T10:10:00.509Z] ec0bb842ea78: Download complete [2023-08-09T10:10:00.771Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:10:00.771Z] 4db1b89c0bd1: Download complete [2023-08-09T10:10:00.771Z] 40a00589a448: Verifying Checksum [2023-08-09T10:10:00.771Z] 40a00589a448: Download complete [2023-08-09T10:10:00.771Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:10:01.033Z] 6911f1a30b25: Pull complete [2023-08-09T10:10:01.307Z] 798269fcf238: Verifying Checksum [2023-08-09T10:10:01.307Z] 798269fcf238: Download complete [2023-08-09T10:10:01.566Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T10:10:01.566Z] e194b8c5c2a9: Download complete [2023-08-09T10:10:01.826Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:10:01.826Z] 6c08303d61cc: Download complete [2023-08-09T10:10:05.113Z] e194b8c5c2a9: Pull complete [2023-08-09T10:10:05.113Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:10:05.113Z] ec0bb842ea78: Pull complete [2023-08-09T10:10:05.113Z] 40a00589a448: Pull complete [2023-08-09T10:10:07.017Z] 6c08303d61cc: Pull complete [2023-08-09T10:10:07.952Z] 798269fcf238: Pull complete [2023-08-09T10:10:07.952Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:10:07.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:10:07.952Z] ---> ec979cd7f677 [2023-08-09T10:10:07.952Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:10:13.591Z] Still waiting to schedule task [2023-08-09T10:10:13.592Z] ‘prd-centos7-blackbox-4c-2g-2949’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-09T10:10:13.592Z] ‘prd-centos7-blackbox-4c-2g-2950’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-09T10:10:13.592Z] ‘prd-centos7-builder-2c-1g-3200’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-09T10:10:13.592Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3207’ is offline [2023-08-09T10:10:16.168Z] ---> Running in e730ffbe4ff9 [2023-08-09T10:10:16.168Z] Removing intermediate container e730ffbe4ff9 [2023-08-09T10:10:16.168Z] ---> 0f403773ad68 [2023-08-09T10:10:16.168Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:10:16.168Z] ---> Running in db9790ce5139 [2023-08-09T10:10:16.168Z] Removing intermediate container db9790ce5139 [2023-08-09T10:10:16.168Z] ---> d99f52a05e0c [2023-08-09T10:10:16.168Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:10:16.168Z] ---> Running in 613ffee36d68 [2023-08-09T10:10:16.168Z] Removing intermediate container 613ffee36d68 [2023-08-09T10:10:16.168Z] ---> 54f9f95b228a [2023-08-09T10:10:16.168Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:10:16.168Z] ---> Running in 16510432a0b3 [2023-08-09T10:10:16.168Z] Removing intermediate container 16510432a0b3 [2023-08-09T10:10:16.168Z] ---> e496276054d4 [2023-08-09T10:10:16.168Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:10:16.168Z] ---> Running in 825b9576abec [2023-08-09T10:10:16.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:10:16.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:10:16.427Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:10:16.427Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:10:16.427Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:10:16.427Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:10:16.427Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:10:16.427Z] OK: 269 MiB in 57 packages [2023-08-09T10:10:17.366Z] Removing intermediate container 825b9576abec [2023-08-09T10:10:17.366Z] ---> 89e4649cb736 [2023-08-09T10:10:17.366Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-09T10:10:17.625Z] ---> Running in b6a64afc413c [2023-08-09T10:10:17.884Z] Removing intermediate container b6a64afc413c [2023-08-09T10:10:17.884Z] ---> 042cea2d74a4 [2023-08-09T10:10:17.884Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:10:18.144Z] ---> ce3b970f05ea [2023-08-09T10:10:18.144Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:10:18.144Z] ---> Running in 2926e2ff47c9 [2023-08-09T10:10:56.873Z] Removing intermediate container 2926e2ff47c9 [2023-08-09T10:10:56.874Z] ---> d3903b367b63 [2023-08-09T10:10:56.874Z] Step 11/12 : COPY . . [2023-08-09T10:10:56.874Z] ---> 784108722fca [2023-08-09T10:10:56.874Z] Step 12/12 : RUN $MAKE [2023-08-09T10:10:56.874Z] ---> Running in bc0f0d64b53c [2023-08-09T10:10:56.874Z] noop [2023-08-09T10:10:56.874Z] Removing intermediate container bc0f0d64b53c [2023-08-09T10:10:56.874Z] ---> e9e5cb787b67 [2023-08-09T10:10:56.874Z] Successfully built e9e5cb787b67 [2023-08-09T10:10:56.874Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:10:57.352Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:10:57.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:10:57.511Z] prd-ubuntu20.04-docker-8c-8g-3206 does not seem to be running inside a container [2023-08-09T10:10:57.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-617 -v /w/workspace/gexfoundry_device-mqtt-go_PR-617:/w/workspace/gexfoundry_device-mqtt-go_PR-617:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:10:58.029Z] $ docker top 5f3c1f9975d039b747d2ef1747257bc8150980732ad38ac8f0302e8d174e7a02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:10:58.427Z] + go version [2023-08-09T10:10:58.427Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:10:58.462Z] $ docker stop --time=1 5f3c1f9975d039b747d2ef1747257bc8150980732ad38ac8f0302e8d174e7a02 [2023-08-09T10:10:59.724Z] $ docker rm -f --volumes 5f3c1f9975d039b747d2ef1747257bc8150980732ad38ac8f0302e8d174e7a02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:00.557Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:11:00.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:11:00.715Z] prd-ubuntu20.04-docker-8c-8g-3206 does not seem to be running inside a container [2023-08-09T10:11:00.753Z] $ 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-617 -v /w/workspace/gexfoundry_device-mqtt-go_PR-617:/w/workspace/gexfoundry_device-mqtt-go_PR-617:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:11:01.086Z] $ docker top 1a5efc0fe8ba6846dbf15a60f1d67669d9c30ba01e5b76bc90de11f36a389845 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:11:01.523Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-617 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:11:01.883Z] + make test [2023-08-09T10:11:01.883Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:11:07.177Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-09T10:11:15.285Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-09T10:11:15.545Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-09T10:11:15.545Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-08-09T10:11:22.109Z] go vet ./... [2023-08-09T10:11:25.393Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:11:25.393Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:11:25.393Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:11:25.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:11:25.546Z] $ docker stop --time=1 1a5efc0fe8ba6846dbf15a60f1d67669d9c30ba01e5b76bc90de11f36a389845 [2023-08-09T10:11:29.386Z] $ docker rm -f --volumes 1a5efc0fe8ba6846dbf15a60f1d67669d9c30ba01e5b76bc90de11f36a389845 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:11:29.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:11:30.001Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:11:30.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:11:30.944Z] + ls -al . [2023-08-09T10:11:30.944Z] total 184 [2023-08-09T10:11:30.944Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:11 . [2023-08-09T10:11:30.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:09 .. [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:09 .dockerignore [2023-08-09T10:11:30.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:09 .git [2023-08-09T10:11:30.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 .github [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:09 .gitignore [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:09 .golangci.yml [2023-08-09T10:11:30.944Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:09 .semver [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 9317 Aug 9 10:09 Attribution.txt [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 9 10:09 CHANGELOG.md [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 9 10:09 Dockerfile [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:09 GOVERNANCE.md [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 10:09 Jenkinsfile [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:09 LICENSE [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 1732 Aug 9 10:09 Makefile [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:09 OWNERS.md [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 9 10:09 README.md [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:09 VERSION [2023-08-09T10:11:30.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:09 bin [2023-08-09T10:11:30.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 cmd [2023-08-09T10:11:30.944Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 9 10:11 coverage.out [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 3285 Aug 9 10:09 go.mod [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:09 go.sum [2023-08-09T10:11:30.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 internal [2023-08-09T10:11:30.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:09 mock [2023-08-09T10:11:30.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:09 snap [2023-08-09T10:11:30.944Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 9 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:31.362Z] + 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=a383cfdc3a434418355ebd57346991eaea66a3fb --label arch=amd64 --label version=0.0.0 . [2023-08-09T10:11:31.362Z] Sending build context to Docker daemon 6.449MB [2023-08-09T10:11:31.362Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:11:31.362Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-09T10:11:31.362Z] ---> e9e5cb787b67 [2023-08-09T10:11:31.362Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:11:31.621Z] ---> Running in 6b628a770878 [2023-08-09T10:11:31.621Z] Removing intermediate container 6b628a770878 [2023-08-09T10:11:31.621Z] ---> ddf59acc1e3a [2023-08-09T10:11:31.621Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:11:31.621Z] ---> Running in 98b17cab2300 [2023-08-09T10:11:31.621Z] Removing intermediate container 98b17cab2300 [2023-08-09T10:11:31.621Z] ---> b77f42b156fe [2023-08-09T10:11:31.621Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:11:31.621Z] ---> Running in ca5309f11a8c [2023-08-09T10:11:31.883Z] Removing intermediate container ca5309f11a8c [2023-08-09T10:11:31.883Z] ---> 61616fcc6e7e [2023-08-09T10:11:31.883Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:11:31.883Z] ---> Running in 7b5c5c9a12e3 [2023-08-09T10:11:31.883Z] Removing intermediate container 7b5c5c9a12e3 [2023-08-09T10:11:31.883Z] ---> 7b48e8594a2e [2023-08-09T10:11:31.883Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:11:31.883Z] ---> Running in 5126269ad11e [2023-08-09T10:11:32.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:11:32.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:11:32.727Z] OK: 269 MiB in 57 packages [2023-08-09T10:11:32.987Z] Removing intermediate container 5126269ad11e [2023-08-09T10:11:32.987Z] ---> a13fa46f850b [2023-08-09T10:11:32.987Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-09T10:11:32.987Z] ---> Running in f799cad05168 [2023-08-09T10:11:33.247Z] Removing intermediate container f799cad05168 [2023-08-09T10:11:33.247Z] ---> fb6ea45979c6 [2023-08-09T10:11:33.247Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-09T10:11:33.247Z] ---> 2da4e2cc4062 [2023-08-09T10:11:33.247Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:11:33.247Z] ---> Running in fd904019c651 [2023-08-09T10:11:33.816Z] Removing intermediate container fd904019c651 [2023-08-09T10:11:33.816Z] ---> 102d0d552d9d [2023-08-09T10:11:33.816Z] Step 11/24 : COPY . . [2023-08-09T10:11:34.384Z] ---> 94c97a31a79a [2023-08-09T10:11:34.384Z] Step 12/24 : RUN $MAKE [2023-08-09T10:11:34.384Z] ---> Running in 89fbbc104a12 [2023-08-09T10:11:34.643Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-09T10:11:56.603Z] Removing intermediate container 89fbbc104a12 [2023-08-09T10:11:56.603Z] ---> 687ddfc82464 [2023-08-09T10:11:56.603Z] Step 13/24 : FROM alpine:3.17 [2023-08-09T10:11:56.603Z] 3.17: Pulling from library/alpine [2023-08-09T10:11:56.603Z] 9398808236ff: Pulling fs layer [2023-08-09T10:11:56.603Z] 9398808236ff: Verifying Checksum [2023-08-09T10:11:56.603Z] 9398808236ff: Download complete [2023-08-09T10:11:56.603Z] 9398808236ff: Pull complete [2023-08-09T10:11:56.603Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:11:56.603Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:11:56.603Z] ---> 1e0b8b5322fc [2023-08-09T10:11:56.603Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-09T10:11:56.603Z] ---> Running in dd58c4737996 [2023-08-09T10:11:56.603Z] Removing intermediate container dd58c4737996 [2023-08-09T10:11:56.603Z] ---> 45aea9b249af [2023-08-09T10:11:56.603Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:11:56.603Z] ---> Running in 6c540141bfaa [2023-08-09T10:11:56.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:11:56.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:11:56.603Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:11:56.603Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:11:56.603Z] OK: 7 MiB in 16 packages [2023-08-09T10:11:56.603Z] Removing intermediate container 6c540141bfaa [2023-08-09T10:11:56.603Z] ---> 124944a57b94 [2023-08-09T10:11:56.603Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-09T10:11:57.222Z] ---> a3da43a6238e [2023-08-09T10:11:57.222Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-09T10:11:57.482Z] ---> 99894c48a754 [2023-08-09T10:11:57.482Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-09T10:11:57.482Z] ---> b1310d27235b [2023-08-09T10:11:57.482Z] Step 19/24 : EXPOSE 59982 [2023-08-09T10:11:57.482Z] ---> Running in c23365c6fcb0 [2023-08-09T10:11:57.740Z] Removing intermediate container c23365c6fcb0 [2023-08-09T10:11:57.740Z] ---> 213258573eed [2023-08-09T10:11:57.740Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-09T10:11:57.740Z] ---> Running in 34278be488e1 [2023-08-09T10:11:57.740Z] Removing intermediate container 34278be488e1 [2023-08-09T10:11:57.740Z] ---> f39b6345e0b4 [2023-08-09T10:11:57.740Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:11:57.740Z] ---> Running in c9f9687d414e [2023-08-09T10:11:57.740Z] Removing intermediate container c9f9687d414e [2023-08-09T10:11:57.740Z] ---> cdcbb4de6b34 [2023-08-09T10:11:57.740Z] Step 22/24 : LABEL arch=amd64 [2023-08-09T10:11:57.740Z] ---> Running in 02778958f7f3 [2023-08-09T10:11:58.000Z] Removing intermediate container 02778958f7f3 [2023-08-09T10:11:58.000Z] ---> a454a41093de [2023-08-09T10:11:58.000Z] Step 23/24 : LABEL git_sha=a383cfdc3a434418355ebd57346991eaea66a3fb [2023-08-09T10:11:58.000Z] ---> Running in 81e77a9649e1 [2023-08-09T10:11:58.000Z] Removing intermediate container 81e77a9649e1 [2023-08-09T10:11:58.000Z] ---> b8b78070982d [2023-08-09T10:11:58.000Z] Step 24/24 : LABEL version=0.0.0 [2023-08-09T10:11:58.000Z] ---> Running in d9796ab30137 [2023-08-09T10:11:58.259Z] Removing intermediate container d9796ab30137 [2023-08-09T10:11:58.259Z] ---> 9479ad6a4d24 [2023-08-09T10:11:58.259Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:11:58.259Z] Successfully built 9479ad6a4d24 [2023-08-09T10:11:58.259Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:59.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:11:59.211Z] [2023-08-09T10:11:59.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:59.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:11:59.594Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:11:59.594Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:11:59.594Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:11:59.594Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:11:59.594Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:11:59.594Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:11:59.594Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:11:59.594Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:11:59.594Z] 33b1e0a273af: Waiting [2023-08-09T10:11:59.594Z] 5d3b04190fa2: Waiting [2023-08-09T10:11:59.594Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:11:59.594Z] 2f39f015ded8: Waiting [2023-08-09T10:11:59.594Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T10:11:59.594Z] 5c69ac0246d0: Download complete [2023-08-09T10:11:59.594Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T10:11:59.594Z] 3a2ae6a8a46f: Download complete [2023-08-09T10:11:59.594Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:11:59.594Z] 33b1e0a273af: Download complete [2023-08-09T10:11:59.863Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T10:11:59.863Z] 5d3b04190fa2: Download complete [2023-08-09T10:11:59.863Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:11:59.863Z] ec43610c2a17: Download complete [2023-08-09T10:11:59.863Z] 5eb5b503b376: Verifying Checksum [2023-08-09T10:11:59.863Z] 5eb5b503b376: Download complete [2023-08-09T10:12:00.428Z] 2f39f015ded8: Download complete [2023-08-09T10:12:00.995Z] 5eb5b503b376: Pull complete [2023-08-09T10:12:01.252Z] 5c69ac0246d0: Pull complete [2023-08-09T10:12:01.511Z] ec43610c2a17: Pull complete [2023-08-09T10:12:01.778Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:12:02.035Z] 33b1e0a273af: Pull complete [2023-08-09T10:12:02.035Z] 5d3b04190fa2: Pull complete [2023-08-09T10:12:06.238Z] 2f39f015ded8: Pull complete [2023-08-09T10:12:06.238Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:12:06.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:12:06.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:12:06.450Z] prd-ubuntu20.04-docker-8c-8g-3206 does not seem to be running inside a container [2023-08-09T10:12:06.486Z] $ 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-617 -v /w/workspace/gexfoundry_device-mqtt-go_PR-617:/w/workspace/gexfoundry_device-mqtt-go_PR-617:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:12:11.747Z] $ docker top 540429f29cbf817e3c29d866ba6749c0078a68818e00ad87e587f7a448443b34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:12:12.186Z] ---> job-cost.sh [2023-08-09T10:12:12.186Z] lf-activate-venv: SKIPPING [2023-08-09T10:12:12.186Z] INFO: No Stack... [2023-08-09T10:12:12.445Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:12:13.011Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:12:13.331Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives/cost.csv [2023-08-09T10:12:13.332Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:12:13.371Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] [2023-08-09T10:12:13.380Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] did not exist. Created. [2023-08-09T10:12:13.380Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:12:13.781Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:12:13.832Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:12:13.866Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:12:13.963Z] $ docker stop --time=1 540429f29cbf817e3c29d866ba6749c0078a68818e00ad87e587f7a448443b34 [2023-08-09T10:12:15.138Z] $ docker rm -f --volumes 540429f29cbf817e3c29d866ba6749c0078a68818e00ad87e587f7a448443b34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T10:13:38.139Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3209 in /w/workspace/gexfoundry_device-mqtt-go_PR-617 [Pipeline] { [Pipeline] ws [2023-08-09T10:13:38.198Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-08-09T10:13:38.284Z] The recommended git tool is: git [2023-08-09T10:13:45.004Z] using credential edgex-jenkins-ssh [2023-08-09T10:13:45.023Z] Cloning the remote Git repository [2023-08-09T10:13:45.078Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-09T10:13:45.188Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-08-09T10:13:45.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-09T10:13:45.364Z] > git --version # timeout=10 [2023-08-09T10:13:45.388Z] > git --version # 'git version 2.25.1' [2023-08-09T10:13:45.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:13:45.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:13:46.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-09T10:13:46.753Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:13:48.487Z] Merging remotes/origin/main commit e591e9dcfdb189d130fee98849b2bbe259068cfa into PR head commit a383cfdc3a434418355ebd57346991eaea66a3fb [2023-08-09T10:13:47.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-09T10:13:47.852Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-09T10:13:47.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:13:47.874Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/617/head:refs/remotes/origin/PR-617 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-09T10:13:48.509Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:13:48.798Z] Merge succeeded, producing a383cfdc3a434418355ebd57346991eaea66a3fb [2023-08-09T10:13:48.798Z] Checking out Revision a383cfdc3a434418355ebd57346991eaea66a3fb (PR-617) [2023-08-09T10:13:48.592Z] > git checkout -f a383cfdc3a434418355ebd57346991eaea66a3fb # timeout=10 [2023-08-09T10:13:48.682Z] > git remote # timeout=10 [2023-08-09T10:13:48.704Z] > git config --get remote.origin.url # timeout=10 [2023-08-09T10:13:48.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:13:48.748Z] > git merge e591e9dcfdb189d130fee98849b2bbe259068cfa # timeout=10 [2023-08-09T10:13:48.778Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-09T10:13:48.807Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:13:48.826Z] > git checkout -f a383cfdc3a434418355ebd57346991eaea66a3fb # timeout=10 [2023-08-09T10:13:52.422Z] Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" [2023-08-09T10:13:52.485Z] > git --version # timeout=10 [2023-08-09T10:13:52.503Z] > git --version # 'git version 2.25.1' [2023-08-09T10:13:52.524Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:13:53.765Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:13:53.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:13:53.766Z] Dload Upload Total Spent Left Speed [2023-08-09T10:13:53.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-08-09T10:13:54.532Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:13:54.886Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T10:13:54.886Z] + sudo tee /etc/docker/daemon.new [2023-08-09T10:13:54.886Z] { [2023-08-09T10:13:54.886Z] "registry-mirrors": [ [2023-08-09T10:13:54.886Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:13:54.886Z] ], [2023-08-09T10:13:54.886Z] "bip": "10.250.0.254/24", [2023-08-09T10:13:54.886Z] "hosts": [ [2023-08-09T10:13:54.886Z] "tcp://0.0.0.0:5555", [2023-08-09T10:13:54.886Z] "unix:///var/run/docker.sock" [2023-08-09T10:13:54.886Z] ], [2023-08-09T10:13:54.886Z] "mtu": 1458, [2023-08-09T10:13:54.886Z] "selinux-enabled": true, [2023-08-09T10:13:54.886Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:13:54.886Z] } [Pipeline] sh [2023-08-09T10:13:55.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:13:55.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:14:14.432Z] provisioning config files... [2023-08-09T10:14:14.466Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1703524550012643925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:14:14.878Z] ---> docker-login.sh [2023-08-09T10:14:14.878Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:14:15.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:14:15.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:14:15.471Z] Configure a credential helper to remove this warning. See [2023-08-09T10:14:15.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:14:15.471Z] [2023-08-09T10:14:15.471Z] Login Succeeded [2023-08-09T10:14:15.471Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:14:15.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:14:16.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:14:16.016Z] Configure a credential helper to remove this warning. See [2023-08-09T10:14:16.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:14:16.016Z] [2023-08-09T10:14:16.016Z] Login Succeeded [2023-08-09T10:14:16.016Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:14:16.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:14:16.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:14:16.292Z] Configure a credential helper to remove this warning. See [2023-08-09T10:14:16.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:14:16.292Z] [2023-08-09T10:14:16.292Z] Login Succeeded [2023-08-09T10:14:16.292Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:14:16.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:14:16.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:14:16.843Z] Configure a credential helper to remove this warning. See [2023-08-09T10:14:16.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:14:16.843Z] [2023-08-09T10:14:16.843Z] Login Succeeded [2023-08-09T10:14:16.843Z] docker.io [2023-08-09T10:14:17.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:14:17.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:14:17.385Z] Configure a credential helper to remove this warning. See [2023-08-09T10:14:17.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:14:17.385Z] [2023-08-09T10:14:17.385Z] Login Succeeded [2023-08-09T10:14:17.385Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:14:17.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:14:17.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:14:17.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:14:17.940Z] ========================================================= [2023-08-09T10:14:17.941Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:14:17.941Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:14:18.490Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:14:18.760Z] Sending build context to Docker daemon 3.324MB [2023-08-09T10:14:18.760Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:14:18.760Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:14:19.034Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:14:19.034Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:14:19.034Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:14:19.034Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:14:19.034Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:14:19.034Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:14:19.034Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:14:19.034Z] 554e91adad29: Pulling fs layer [2023-08-09T10:14:19.034Z] ec14aa9079de: Waiting [2023-08-09T10:14:19.034Z] 2f466654f4bb: Waiting [2023-08-09T10:14:19.034Z] 554e91adad29: Waiting [2023-08-09T10:14:19.034Z] 8b374f2dd631: Waiting [2023-08-09T10:14:19.034Z] 5f9638ab2659: Verifying Checksum [2023-08-09T10:14:19.034Z] 5f9638ab2659: Download complete [2023-08-09T10:14:19.034Z] 8b374f2dd631: Verifying Checksum [2023-08-09T10:14:19.034Z] 8b374f2dd631: Download complete [2023-08-09T10:14:19.034Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:14:19.034Z] ec14aa9079de: Download complete [2023-08-09T10:14:19.034Z] edb6bdbacee9: Verifying Checksum [2023-08-09T10:14:19.034Z] edb6bdbacee9: Download complete [2023-08-09T10:14:20.030Z] edb6bdbacee9: Pull complete [2023-08-09T10:14:20.629Z] 554e91adad29: Verifying Checksum [2023-08-09T10:14:20.629Z] 554e91adad29: Download complete [2023-08-09T10:14:20.902Z] 5f9638ab2659: Pull complete [2023-08-09T10:14:21.902Z] 8d51d6327a98: Verifying Checksum [2023-08-09T10:14:21.902Z] 8d51d6327a98: Download complete [2023-08-09T10:14:21.902Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:14:21.902Z] 2f466654f4bb: Download complete [2023-08-09T10:14:34.262Z] 8d51d6327a98: Pull complete [2023-08-09T10:14:34.262Z] 8b374f2dd631: Pull complete [2023-08-09T10:14:34.262Z] ec14aa9079de: Pull complete [2023-08-09T10:14:39.637Z] 2f466654f4bb: Pull complete [2023-08-09T10:14:42.245Z] 554e91adad29: Pull complete [2023-08-09T10:14:42.245Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:14:42.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:14:42.245Z] ---> 1e15ea492957 [2023-08-09T10:14:42.245Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:14:44.239Z] ---> Running in 2e5e52304948 [2023-08-09T10:14:44.239Z] Removing intermediate container 2e5e52304948 [2023-08-09T10:14:44.239Z] ---> 079c10dbe8fa [2023-08-09T10:14:44.239Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:14:44.513Z] ---> Running in da70ec4d8426 [2023-08-09T10:14:44.781Z] Removing intermediate container da70ec4d8426 [2023-08-09T10:14:44.781Z] ---> 73208a417222 [2023-08-09T10:14:44.781Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:14:44.781Z] ---> Running in f81525b5dfbe [2023-08-09T10:14:45.368Z] Removing intermediate container f81525b5dfbe [2023-08-09T10:14:45.368Z] ---> 857ba7387c90 [2023-08-09T10:14:45.368Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:14:45.368Z] ---> Running in 183748cb2279 [2023-08-09T10:14:45.639Z] Removing intermediate container 183748cb2279 [2023-08-09T10:14:45.639Z] ---> f35dfd05ebb4 [2023-08-09T10:14:45.639Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:14:45.639Z] ---> Running in e6986a216255 [2023-08-09T10:14:47.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:14:47.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:14:49.087Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:14:49.087Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:14:49.087Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:14:49.087Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:14:49.087Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:14:49.087Z] OK: 268 MiB in 57 packages [2023-08-09T10:14:52.439Z] Removing intermediate container e6986a216255 [2023-08-09T10:14:52.439Z] ---> 4195d7545a38 [2023-08-09T10:14:52.439Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-09T10:14:52.439Z] ---> Running in 0ffe3be269ba [2023-08-09T10:14:52.439Z] Removing intermediate container 0ffe3be269ba [2023-08-09T10:14:52.439Z] ---> 6d5f031d1b03 [2023-08-09T10:14:52.439Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:14:53.040Z] ---> d27ed39fa30f [2023-08-09T10:14:53.040Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:14:53.040Z] ---> Running in a0d2dc2554e4 [2023-08-09T10:16:00.957Z] Removing intermediate container a0d2dc2554e4 [2023-08-09T10:16:00.957Z] ---> 85ca41bafc2e [2023-08-09T10:16:00.957Z] Step 11/12 : COPY . . [2023-08-09T10:16:00.957Z] ---> 01998914d11e [2023-08-09T10:16:00.957Z] Step 12/12 : RUN $MAKE [2023-08-09T10:16:00.957Z] ---> Running in dc1db37f8664 [2023-08-09T10:16:00.957Z] noop [2023-08-09T10:16:01.228Z] Removing intermediate container dc1db37f8664 [2023-08-09T10:16:01.228Z] ---> 72c19a371359 [2023-08-09T10:16:01.228Z] Successfully built 72c19a371359 [2023-08-09T10:16:01.228Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:16:01.733Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:16:01.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:16:02.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-3209 does not seem to be running inside a container [2023-08-09T10:16:02.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:16:03.424Z] $ docker top ed6e448a35b76cc6b2e523c23dd61c410b29052b4ae92c70a4015a0380b5980b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:16:04.433Z] + go version [2023-08-09T10:16:04.433Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:16:04.467Z] $ docker stop --time=1 ed6e448a35b76cc6b2e523c23dd61c410b29052b4ae92c70a4015a0380b5980b [2023-08-09T10:16:06.122Z] $ docker rm -f --volumes ed6e448a35b76cc6b2e523c23dd61c410b29052b4ae92c70a4015a0380b5980b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:16:07.088Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:16:07.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:16:07.383Z] prd-ubuntu20.04-docker-arm64-4c-16g-3209 does not seem to be running inside a container [2023-08-09T10:16:07.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:16:08.750Z] $ docker top fc36eee33d3dc310c3a86ff5ca74a453fdb73b4021e5908b05396759c076bbb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:16:09.674Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:16:10.395Z] + make test [2023-08-09T10:16:10.395Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:16:49.360Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-09T10:19:11.097Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-09T10:19:16.480Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-09T10:19:16.480Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 22.8% of statements [2023-08-09T10:19:16.480Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:19:16.480Z] go vet ./... [2023-08-09T10:19:48.727Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:19:48.727Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:19:48.727Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:19:48.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:19:48.808Z] $ docker stop --time=1 fc36eee33d3dc310c3a86ff5ca74a453fdb73b4021e5908b05396759c076bbb7 [2023-08-09T10:19:50.662Z] $ docker rm -f --volumes fc36eee33d3dc310c3a86ff5ca74a453fdb73b4021e5908b05396759c076bbb7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:19:51.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:19:52.050Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:19:52.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:19:53.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:19:53.627Z] + ls -al . [2023-08-09T10:19:53.627Z] total 180 [2023-08-09T10:19:53.627Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:16 . [2023-08-09T10:19:53.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:13 .. [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:13 .dockerignore [2023-08-09T10:19:53.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:13 .git [2023-08-09T10:19:53.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:13 .github [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:13 .gitignore [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:13 .golangci.yml [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 9317 Aug 9 10:13 Attribution.txt [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 9 10:13 CHANGELOG.md [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 9 10:13 Dockerfile [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:13 GOVERNANCE.md [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 9 10:13 Jenkinsfile [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:13 LICENSE [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 1732 Aug 9 10:13 Makefile [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:13 OWNERS.md [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 9 10:13 README.md [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:09 VERSION [2023-08-09T10:19:53.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:13 bin [2023-08-09T10:19:53.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:13 cmd [2023-08-09T10:19:53.627Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 9 10:19 coverage.out [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 3285 Aug 9 10:13 go.mod [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:13 go.sum [2023-08-09T10:19:53.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:13 internal [2023-08-09T10:19:53.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:13 mock [2023-08-09T10:19:53.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:13 snap [2023-08-09T10:19:53.627Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 9 10:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:19:54.062Z] + 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=a383cfdc3a434418355ebd57346991eaea66a3fb --label arch=arm64 --label version=0.0.0 . [2023-08-09T10:19:54.330Z] Sending build context to Docker daemon 3.344MB [2023-08-09T10:19:54.330Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:19:54.330Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-09T10:19:54.330Z] ---> 72c19a371359 [2023-08-09T10:19:54.330Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:19:54.602Z] ---> Running in 9538755cf2cd [2023-08-09T10:19:54.874Z] Removing intermediate container 9538755cf2cd [2023-08-09T10:19:54.874Z] ---> acce09b66498 [2023-08-09T10:19:54.874Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:19:54.874Z] ---> Running in ad45f7f66f63 [2023-08-09T10:19:55.153Z] Removing intermediate container ad45f7f66f63 [2023-08-09T10:19:55.153Z] ---> b76bfeacbdd5 [2023-08-09T10:19:55.153Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:19:55.425Z] ---> Running in 65ca24c92264 [2023-08-09T10:19:55.908Z] Removing intermediate container 65ca24c92264 [2023-08-09T10:19:55.908Z] ---> 14959b1d18da [2023-08-09T10:19:55.908Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:19:55.908Z] ---> Running in 2544a2b99fb1 [2023-08-09T10:19:56.177Z] Removing intermediate container 2544a2b99fb1 [2023-08-09T10:19:56.177Z] ---> 070228b44a51 [2023-08-09T10:19:56.177Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:19:56.177Z] ---> Running in f8cedc12a3da [2023-08-09T10:19:57.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:19:58.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:19:59.078Z] OK: 268 MiB in 57 packages [2023-08-09T10:20:01.032Z] Removing intermediate container f8cedc12a3da [2023-08-09T10:20:01.032Z] ---> 308fab107f9d [2023-08-09T10:20:01.032Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-09T10:20:01.032Z] ---> Running in 80cca73934ea [2023-08-09T10:20:01.311Z] Removing intermediate container 80cca73934ea [2023-08-09T10:20:01.311Z] ---> 5313012835ae [2023-08-09T10:20:01.311Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-09T10:20:01.905Z] ---> a92e66976b6c [2023-08-09T10:20:01.905Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:20:01.905Z] ---> Running in 4d598d886cff [2023-08-09T10:20:03.858Z] Removing intermediate container 4d598d886cff [2023-08-09T10:20:03.858Z] ---> 9a5dd1fb19cc [2023-08-09T10:20:03.858Z] Step 11/24 : COPY . . [2023-08-09T10:20:04.827Z] ---> e7f3d08a9782 [2023-08-09T10:20:04.827Z] Step 12/24 : RUN $MAKE [2023-08-09T10:20:05.096Z] ---> Running in f471e54871c9 [2023-08-09T10:20:06.059Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-09T10:22:27.750Z] Removing intermediate container f471e54871c9 [2023-08-09T10:22:27.751Z] ---> f6678079b9fc [2023-08-09T10:22:27.751Z] Step 13/24 : FROM alpine:3.17 [2023-08-09T10:22:27.751Z] 3.17: Pulling from library/alpine [2023-08-09T10:22:27.751Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:22:27.751Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:22:27.751Z] 4060ece20d7a: Download complete [2023-08-09T10:22:27.751Z] 4060ece20d7a: Pull complete [2023-08-09T10:22:27.751Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:22:27.751Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:22:27.751Z] ---> 8650cd65339b [2023-08-09T10:22:27.751Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-09T10:22:27.751Z] ---> Running in 227360501b15 [2023-08-09T10:22:27.751Z] Removing intermediate container 227360501b15 [2023-08-09T10:22:27.751Z] ---> 54a546aea062 [2023-08-09T10:22:27.751Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:22:27.751Z] ---> Running in d076b443c28a [2023-08-09T10:22:27.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:22:28.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:22:29.746Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:22:29.746Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:22:29.746Z] OK: 8 MiB in 16 packages [2023-08-09T10:22:30.706Z] Removing intermediate container d076b443c28a [2023-08-09T10:22:30.706Z] ---> d6d387829a31 [2023-08-09T10:22:30.706Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-09T10:22:32.120Z] ---> e934b984a749 [2023-08-09T10:22:32.120Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-09T10:22:32.705Z] ---> 47b44e881ed9 [2023-08-09T10:22:32.705Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-09T10:22:33.290Z] ---> a9897f81d9ad [2023-08-09T10:22:33.290Z] Step 19/24 : EXPOSE 59982 [2023-08-09T10:22:33.290Z] ---> Running in 543e440a2ff6 [2023-08-09T10:22:33.563Z] Removing intermediate container 543e440a2ff6 [2023-08-09T10:22:33.563Z] ---> 24798730d3c6 [2023-08-09T10:22:33.563Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-09T10:22:33.832Z] ---> Running in d7c737855a14 [2023-08-09T10:22:34.102Z] Removing intermediate container d7c737855a14 [2023-08-09T10:22:34.102Z] ---> 3c096981f0bc [2023-08-09T10:22:34.102Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:22:34.102Z] ---> Running in 8a69c6a37997 [2023-08-09T10:22:34.369Z] Removing intermediate container 8a69c6a37997 [2023-08-09T10:22:34.369Z] ---> c18df25148b0 [2023-08-09T10:22:34.369Z] Step 22/24 : LABEL arch=arm64 [2023-08-09T10:22:34.369Z] ---> Running in acfb339e44e6 [2023-08-09T10:22:34.644Z] Removing intermediate container acfb339e44e6 [2023-08-09T10:22:34.644Z] ---> 55c9dff8c5e4 [2023-08-09T10:22:34.644Z] Step 23/24 : LABEL git_sha=a383cfdc3a434418355ebd57346991eaea66a3fb [2023-08-09T10:22:34.911Z] ---> Running in 52023c0cccd2 [2023-08-09T10:22:35.180Z] Removing intermediate container 52023c0cccd2 [2023-08-09T10:22:35.181Z] ---> 285c187a5141 [2023-08-09T10:22:35.181Z] Step 24/24 : LABEL version=0.0.0 [2023-08-09T10:22:35.181Z] ---> Running in 7386de3c4185 [2023-08-09T10:22:35.447Z] Removing intermediate container 7386de3c4185 [2023-08-09T10:22:35.447Z] ---> e6633f8b6ed0 [2023-08-09T10:22:35.447Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:22:35.447Z] Successfully built e6633f8b6ed0 [2023-08-09T10:22:35.447Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:22:36.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:22:36.466Z] [2023-08-09T10:22:36.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:22:36.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:22:37.143Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:22:37.143Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:22:37.143Z] 04944245beec: Pulling fs layer [2023-08-09T10:22:37.143Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:22:37.143Z] 765212b225bb: Pulling fs layer [2023-08-09T10:22:37.143Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:22:37.143Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:22:37.143Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:22:37.143Z] d65c8cfc05b1: Waiting [2023-08-09T10:22:37.143Z] f23df028b6ca: Waiting [2023-08-09T10:22:37.143Z] 765212b225bb: Waiting [2023-08-09T10:22:37.143Z] 2437ff75d9bd: Waiting [2023-08-09T10:22:37.143Z] 04944245beec: Verifying Checksum [2023-08-09T10:22:37.143Z] 04944245beec: Download complete [2023-08-09T10:22:37.143Z] 765212b225bb: Download complete [2023-08-09T10:22:37.143Z] f23df028b6ca: Verifying Checksum [2023-08-09T10:22:37.143Z] f23df028b6ca: Download complete [2023-08-09T10:22:37.143Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T10:22:37.143Z] d65c8cfc05b1: Download complete [2023-08-09T10:22:37.411Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:22:37.411Z] 699f458cf7ca: Download complete [2023-08-09T10:22:37.679Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T10:22:37.679Z] 8998bd30e6a1: Download complete [2023-08-09T10:22:40.269Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:22:40.269Z] 2437ff75d9bd: Download complete [2023-08-09T10:22:42.221Z] 8998bd30e6a1: Pull complete [2023-08-09T10:22:42.491Z] 04944245beec: Pull complete [2023-08-09T10:22:43.935Z] 699f458cf7ca: Pull complete [2023-08-09T10:22:43.935Z] 765212b225bb: Pull complete [2023-08-09T10:22:44.900Z] f23df028b6ca: Pull complete [2023-08-09T10:22:45.169Z] d65c8cfc05b1: Pull complete [2023-08-09T10:23:00.180Z] 2437ff75d9bd: Pull complete [2023-08-09T10:23:00.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:23:00.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:23:00.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:23:00.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-3209 does not seem to be running inside a container [2023-08-09T10:23:00.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T10:23:03.553Z] $ docker top 1724a87d498008a47c8aec95b4e76946f3d43facee961defea0144a5ee018de6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:04.470Z] ---> job-cost.sh [2023-08-09T10:23:04.470Z] lf-activate-venv: SKIPPING [2023-08-09T10:23:04.470Z] INFO: No Stack... [2023-08-09T10:23:04.737Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:23:05.696Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:23:06.368Z] + cut -d, -f6 [2023-08-09T10:23:06.368Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-08-09T10:23:06.458Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] [2023-08-09T10:23:06.463Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] did not exist. Created. [2023-08-09T10:23:06.463Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:23:07.410Z] /w/workspace/device-mqtt-go/1@tmp/durable-f8af5e47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:23:08.110Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:23:08.145Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:23:08.206Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:23:08.222Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-617-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:23:08.302Z] $ docker stop --time=1 1724a87d498008a47c8aec95b4e76946f3d43facee961defea0144a5ee018de6 [2023-08-09T10:23:09.792Z] $ docker rm -f --volumes 1724a87d498008a47c8aec95b4e76946f3d43facee961defea0144a5ee018de6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-09T10:23:10.826Z] provisioning config files... [2023-08-09T10:23:10.834Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/config18244994696948019583tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:23:11.173Z] + set +x [2023-08-09T10:23:11.173Z] + curl -s https://codecov.io/bash [2023-08-09T10:23:11.173Z] + bash -s -- [2023-08-09T10:23:11.173Z] [2023-08-09T10:23:11.173Z] _____ _ [2023-08-09T10:23:11.173Z] / ____| | | [2023-08-09T10:23:11.173Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:23:11.173Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:23:11.173Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:23:11.173Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:23:11.173Z] Bash-1.0.6 [2023-08-09T10:23:11.173Z] [2023-08-09T10:23:11.173Z] [2023-08-09T10:23:11.173Z] ==> git version 2.25.1 found [2023-08-09T10:23:11.173Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-09T10:23:11.173Z] Release-Date: 2020-01-08 [2023-08-09T10:23:11.173Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-09T10:23:11.173Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:23:11.173Z] ==> Jenkins CI detected. [2023-08-09T10:23:11.173Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-617 [2023-08-09T10:23:11.173Z] project root: . [2023-08-09T10:23:11.173Z] --> token set from env [2023-08-09T10:23:11.173Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:23:11.173Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:23:11.173Z] ==> Python coveragepy not found [2023-08-09T10:23:11.173Z] ==> Searching for coverage reports in: [2023-08-09T10:23:11.173Z] + . [2023-08-09T10:23:11.173Z] -> Found 1 reports [2023-08-09T10:23:11.173Z] ==> Detecting git/mercurial file structure [2023-08-09T10:23:11.173Z] ==> Reading reports [2023-08-09T10:23:11.432Z] + ./coverage.out bytes=18506 [2023-08-09T10:23:11.432Z] ==> Appending adjustments [2023-08-09T10:23:11.432Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:23:11.432Z] + Found adjustments [2023-08-09T10:23:11.432Z] ==> Gzipping contents [2023-08-09T10:23:11.432Z] 4.0K /tmp/codecov.yuDgkm.gz [2023-08-09T10:23:11.432Z] ==> Uploading reports [2023-08-09T10:23:11.432Z] url: https://codecov.io [2023-08-09T10:23:11.432Z] query: branch=PR-617&commit=a383cfdc3a434418355ebd57346991eaea66a3fb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-617%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=617&job=&cmd_args= [2023-08-09T10:23:11.432Z] -> Pinging Codecov [2023-08-09T10:23:11.432Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-617&commit=a383cfdc3a434418355ebd57346991eaea66a3fb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-617%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=617&job=&cmd_args= [2023-08-09T10:23:11.691Z] -> Uploading to [2023-08-09T10:23:11.691Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/7D719EC7BBE17E464838252E33014C33/a383cfdc3a434418355ebd57346991eaea66a3fb/aca7dbea-2244-4aa7-b4fc-5795d0b8d672.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T102311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=520ef805d69224bf4ed35afcc747df6ca00ac1a020eb91ebe2c8634f1541d8d6 [2023-08-09T10:23:11.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:23:11.691Z] Dload Upload Total Spent Left Speed [2023-08-09T10:23:11.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 15626 --:--:-- --:--:-- --:--:-- 15626 100 3219 0 0 100 3219 0 15626 --:--:-- --:--:-- --:--:-- 15550 [2023-08-09T10:23:11.691Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a383cfdc3a434418355ebd57346991eaea66a3fb [Pipeline] } [2023-08-09T10:23:11.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-09T10:23:13.475Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives ] [2023-08-09T10:23:13.476Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives [2023-08-09T10:23:13.476Z] total 16 [2023-08-09T10:23:13.476Z] drwxr-xr-x 3 root root 4096 Aug 9 10:12 . [2023-08-09T10:23:13.476Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:12 .. [2023-08-09T10:23:13.476Z] drwxr-xr-x 2 root root 4096 Aug 9 10:12 cost [2023-08-09T10:23:13.476Z] -rw-r--r-- 1 root root 86 Aug 9 10:12 cost.csv [2023-08-09T10:23:13.476Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives [2023-08-09T10:23:13.476Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives [2023-08-09T10:23:13.476Z] total 16 [2023-08-09T10:23:13.476Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:12 . [2023-08-09T10:23:13.476Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:12 .. [2023-08-09T10:23:13.476Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:12 cost [2023-08-09T10:23:13.476Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 9 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:13.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:14.718Z] ---> package-listing.sh [2023-08-09T10:23:14.718Z] ++ facter osfamily [2023-08-09T10:23:14.718Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:23:14.977Z] + OS_FAMILY=debian [2023-08-09T10:23:14.977Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-617 [2023-08-09T10:23:14.977Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:23:14.977Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:23:14.977Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:23:14.977Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:23:14.977Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-617 ']' [2023-08-09T10:23:14.977Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:23:14.977Z] + case "${OS_FAMILY}" in [2023-08-09T10:23:14.977Z] + dpkg -l [2023-08-09T10:23:14.977Z] + grep '^ii' [2023-08-09T10:23:14.977Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:23:14.977Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:23:14.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:23:14.977Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-617 ']' [2023-08-09T10:23:14.977Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives/ [2023-08-09T10:23:14.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-617/archives/ [Pipeline] echo [2023-08-09T10:23:15.014Z] 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-617/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T10:23:15.304Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:23:15.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:23:15.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:23:15.835Z] prd-ubuntu20.04-docker-8c-8g-3206 does not seem to be running inside a container [2023-08-09T10:23:15.864Z] $ 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-617/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-617 -v /w/workspace/gexfoundry_device-mqtt-go_PR-617:/w/workspace/gexfoundry_device-mqtt-go_PR-617:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:23:16.136Z] $ docker top 550d54b224d29872b07897574bd5b700ce77ddb18de27d0bced0b18cb2503e23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:23:16.572Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:23:16.883Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:23:17.196Z] + ls /var/log/sa-host [2023-08-09T10:23:17.196Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:23:17.352Z] provisioning config files... [2023-08-09T10:23:17.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-617@tmp/config10267815400105078540tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:23:17.416Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:17.728Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:23:17.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:18.156Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:23:18.186Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:18.491Z] ---> sudo-logs.sh [2023-08-09T10:23:18.491Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:23:18.587Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:18.898Z] ---> job-cost.sh [2023-08-09T10:23:18.899Z] lf-activate-venv: SKIPPING [2023-08-09T10:23:18.899Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:23:18.899Z] INFO: Retrieving Stack Cost... [2023-08-09T10:23:19.158Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:23:19.726Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:23:19.760Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:23:20.077Z] ---> logs-deploy.sh [2023-08-09T10:23:20.077Z] lf-activate-venv: SKIPPING [2023-08-09T10:23:20.077Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-617/1 [2023-08-09T10:23:20.077Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:23:21.033Z] Archives upload complete. [2023-08-09T10:23:21.033Z] INFO: archiving logs to Nexus