Pull request #647 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from e006cb99eb27a2b9bcb598762944c17a944f278e+0b7988ad925f4dc882909eccaaf50c651f359b4a (e74b216b4b8d416e3a22ea1604ab32c49836c00a) 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-ssh14409440123705474538.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh296624802781652330.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-647/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-647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11432917430502343915.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-647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16031160549221643589.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh9000847205628568737.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-647/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-647/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10042334222036444859.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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] ========================================================= [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.21 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-17515 in /w/workspace/gexfoundry_device-mqtt-go_PR-647 [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-647 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/647/head:refs/remotes/origin/PR-647 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b7988ad925f4dc882909eccaaf50c651f359b4a into PR head commit e006cb99eb27a2b9bcb598762944c17a944f278e Merge succeeded, producing e006cb99eb27a2b9bcb598762944c17a944f278e Checking out Revision e006cb99eb27a2b9bcb598762944c17a944f278e (PR-647) > git config core.sparsecheckout # timeout=10 > git checkout -f e006cb99eb27a2b9bcb598762944c17a944f278e # 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 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e006cb99eb27a2b9bcb598762944c17a944f278e # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T18:49:05.355Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:49:05.548Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:49:05.659Z] ========================================================= [2023-11-14T18:49:05.659Z] EdgeX Global Pipelines Version Info [2023-11-14T18:49:05.659Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:49:06.408Z] ------------------- [2023-11-14T18:49:06.408Z] stable info: [2023-11-14T18:49:06.408Z] ------------------- [2023-11-14T18:49:06.408Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:49:06.408Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:49:06.408Z] Message: update stable to v1.0.257 [2023-11-14T18:49:06.979Z] ------------------- [2023-11-14T18:49:06.979Z] experimental info: [2023-11-14T18:49:06.979Z] ------------------- [2023-11-14T18:49:06.979Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:49:06.979Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:49:06.979Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:49:07.433Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-14T18:49:07.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-14T18:49:07.515Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:49:07.564Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:49:07.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:49:07.646Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:49:07.686Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:49:07.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T18:49:07.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:49:07.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:49:07.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:49:07.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-14T18:49:07.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:49:07.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:49:08.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:49:08.069Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:49:08.120Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:49:08.161Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:49:08.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:49:08.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:49:08.294Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T18:49:08.344Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T18:49:08.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:49:08.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:49:08.467Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:49:08.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:49:08.547Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:49:08.597Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-647 [Pipeline] echo [2023-11-14T18:49:08.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-647 [Pipeline] echo [2023-11-14T18:49:08.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-647 [Pipeline] echo [2023-11-14T18:49:08.723Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e006cb99eb27a2b9bcb598762944c17a944f278e [Pipeline] echo [2023-11-14T18:49:08.767Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e006cb9 [Pipeline] echo [2023-11-14T18:49:08.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:49:08.936Z] provisioning config files... [2023-11-14T18:49:08.953Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/config9049962989708404960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:49:09.295Z] ---> docker-login.sh [2023-11-14T18:49:09.295Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:49:09.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:09.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:09.818Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:09.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:09.818Z] [2023-11-14T18:49:09.818Z] Login Succeeded [2023-11-14T18:49:09.818Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:49:09.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:09.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:09.818Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:09.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:09.818Z] [2023-11-14T18:49:09.818Z] Login Succeeded [2023-11-14T18:49:09.818Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:49:09.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:10.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:10.079Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:10.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:10.079Z] [2023-11-14T18:49:10.079Z] Login Succeeded [2023-11-14T18:49:10.079Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:49:10.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:10.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:10.079Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:10.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:10.079Z] [2023-11-14T18:49:10.079Z] Login Succeeded [2023-11-14T18:49:10.079Z] docker.io [2023-11-14T18:49:10.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:10.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:10.340Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:10.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:10.340Z] [2023-11-14T18:49:10.340Z] Login Succeeded [2023-11-14T18:49:10.340Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:49:10.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:49:11.014Z] + git rev-list -1 --merges e006cb99eb27a2b9bcb598762944c17a944f278e~1..e006cb99eb27a2b9bcb598762944c17a944f278e [Pipeline] echo [2023-11-14T18:49:11.082Z] -----------> git rev-list -1 --merges e006cb99eb27a2b9bcb598762944c17a944f278e~1..e006cb99eb27a2b9bcb598762944c17a944f278e e006cb99eb27a2b9bcb598762944c17a944f278e [false] [Pipeline] sh [2023-11-14T18:49:11.397Z] + git log --format=format:%s -1 e006cb99eb27a2b9bcb598762944c17a944f278e [Pipeline] echo [2023-11-14T18:49:11.435Z] ========================================================= [2023-11-14T18:49:11.435Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:49:11.435Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:49:11.887Z] + git log --format=format:%s -1 e006cb99eb27a2b9bcb598762944c17a944f278e [Pipeline] echo [2023-11-14T18:49:11.921Z] [semverPrep] GIT_COMMIT: e006cb99eb27a2b9bcb598762944c17a944f278e, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:49:11.953Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:49:12.358Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:49:12.358Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:49:12.358Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:49:12.358Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:49:12.358Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:49:12.358Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:49:12.358Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:49:12.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:49:12.876Z] [2023-11-14T18:49:12.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:49:13.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:49:13.252Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:49:13.252Z] b85a868b505f: Pulling fs layer [2023-11-14T18:49:13.252Z] e2be974225ed: Pulling fs layer [2023-11-14T18:49:13.252Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:49:13.252Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:49:13.252Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:49:13.252Z] eaf3925da568: Pulling fs layer [2023-11-14T18:49:13.252Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:49:13.252Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:49:13.252Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:49:13.252Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:49:13.252Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:49:13.252Z] eaf3925da568: Waiting [2023-11-14T18:49:13.252Z] bab4dde63d76: Waiting [2023-11-14T18:49:13.252Z] bde34c3a00c8: Waiting [2023-11-14T18:49:13.252Z] 988bab9f4d93: Waiting [2023-11-14T18:49:13.252Z] b352a97aabf1: Waiting [2023-11-14T18:49:13.252Z] 1469e6f7b9e6: Waiting [2023-11-14T18:49:13.252Z] 5851b861e8e6: Waiting [2023-11-14T18:49:13.252Z] 4872d77fe225: Waiting [2023-11-14T18:49:13.252Z] e2be974225ed: Download complete [2023-11-14T18:49:13.252Z] 988bab9f4d93: Download complete [2023-11-14T18:49:13.252Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:49:13.252Z] 1469e6f7b9e6: Download complete [2023-11-14T18:49:13.252Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:49:13.252Z] 339a4e72a1f5: Download complete [2023-11-14T18:49:13.515Z] eaf3925da568: Verifying Checksum [2023-11-14T18:49:13.515Z] eaf3925da568: Download complete [2023-11-14T18:49:13.515Z] bde34c3a00c8: Verifying Checksum [2023-11-14T18:49:13.515Z] bde34c3a00c8: Download complete [2023-11-14T18:49:13.515Z] b352a97aabf1: Download complete [2023-11-14T18:49:13.515Z] 4872d77fe225: Verifying Checksum [2023-11-14T18:49:13.515Z] 4872d77fe225: Download complete [2023-11-14T18:49:13.515Z] b85a868b505f: Verifying Checksum [2023-11-14T18:49:13.515Z] b85a868b505f: Download complete [2023-11-14T18:49:13.775Z] bab4dde63d76: Download complete [2023-11-14T18:49:14.714Z] b85a868b505f: Pull complete [2023-11-14T18:49:14.714Z] e2be974225ed: Pull complete [2023-11-14T18:49:15.283Z] 339a4e72a1f5: Pull complete [2023-11-14T18:49:15.543Z] 988bab9f4d93: Pull complete [2023-11-14T18:49:15.802Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:49:16.060Z] eaf3925da568: Pull complete [2023-11-14T18:49:17.991Z] bab4dde63d76: Pull complete [2023-11-14T18:49:18.941Z] bde34c3a00c8: Pull complete [2023-11-14T18:49:20.339Z] b352a97aabf1: Pull complete [2023-11-14T18:49:21.280Z] 4872d77fe225: Pull complete [2023-11-14T18:49:21.859Z] 5851b861e8e6: Pull complete [2023-11-14T18:49:22.429Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:49:22.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:49:22.999Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:49:23.260Z] prd-ubuntu20.04-docker-8c-8g-17515 does not seem to be running inside a container [2023-11-14T18:49:23.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-647 -v /w/workspace/gexfoundry_device-mqtt-go_PR-647:/w/workspace/gexfoundry_device-mqtt-go_PR-647:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-647@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-11-14T18:49:29.683Z] $ docker top 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 -eo pid,comm [2023-11-14T18:49:29.739Z] 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-11-14T18:49:29.739Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:49:29.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:49:29.869Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:49:29.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:49:29.990Z] $ docker exec 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 ssh-agent [2023-11-14T18:49:30.104Z] SSH_AUTH_SOCK=/tmp/ssh-6kLIS8qhHv9x/agent.32 [2023-11-14T18:49:30.104Z] SSH_AGENT_PID=38 [2023-11-14T18:49:30.112Z] Running ssh-add (command line suppressed) [2023-11-14T18:49:30.201Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/private_key_9095646658940415353.key (/w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/private_key_9095646658940415353.key) [2023-11-14T18:49:30.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:49:30.539Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:49:30.566Z] $ docker exec --env ******** --env ******** 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 ssh-agent -k [2023-11-14T18:49:30.666Z] unset SSH_AUTH_SOCK; [2023-11-14T18:49:30.667Z] unset SSH_AGENT_PID; [2023-11-14T18:49:30.667Z] echo Agent pid 38 killed; [2023-11-14T18:49:30.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:49:30.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:49:30.762Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:49:30.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:49:30.885Z] $ docker exec 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 ssh-agent [2023-11-14T18:49:30.995Z] SSH_AUTH_SOCK=/tmp/ssh-3DNYOH9aOgp3/agent.70 [2023-11-14T18:49:30.995Z] SSH_AGENT_PID=76 [2023-11-14T18:49:31.000Z] Running ssh-add (command line suppressed) [2023-11-14T18:49:31.104Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/private_key_115282374608483173.key (/w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/private_key_115282374608483173.key) [2023-11-14T18:49:31.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:49:31.443Z] + git semver init [2023-11-14T18:49:31.703Z] 2023-11-14 18:49:31,612 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:49:31.703Z] 2023-11-14 18:49:31,613 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver [2023-11-14T18:49:31.703Z] 2023-11-14 18:49:31,613 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver [2023-11-14T18:49:31.703Z] 2023-11-14 18:49:31,613 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-647, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,517 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-647/.git/info/exclude [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver/PR-647 with force:False [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,517 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver/PR-647 [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,521 [execute] INFO git cat-file --batch-check [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,527 [execute] INFO git cat-file --batch [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:49:32.664Z] 2023-11-14 18:49:32,532 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-647/.semver/PR-647 [2023-11-14T18:49:32.664Z] 0.0.0 [Pipeline] } [2023-11-14T18:49:32.690Z] $ docker exec --env ******** --env ******** 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 ssh-agent -k [2023-11-14T18:49:32.779Z] unset SSH_AUTH_SOCK; [2023-11-14T18:49:32.779Z] unset SSH_AGENT_PID; [2023-11-14T18:49:32.779Z] echo Agent pid 76 killed; [2023-11-14T18:49:32.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:49:33.464Z] + git semver [Pipeline] } [2023-11-14T18:49:33.751Z] $ docker stop --time=1 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 [2023-11-14T18:49:35.018Z] $ docker rm -f --volumes 51ea7e021a4cf5084191de0be6347de3b16183db5e7b2f9aaff60dbda24c3d00 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:49:35.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:49:35.711Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:49:35.731Z] [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-11-14T18:49:36.328Z] provisioning config files... [2023-11-14T18:49:36.338Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/config16376450003298935750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:49:36.686Z] ---> docker-login.sh [2023-11-14T18:49:36.686Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:49:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:36.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:36.686Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:36.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:36.686Z] [2023-11-14T18:49:36.686Z] Login Succeeded [2023-11-14T18:49:36.686Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:49:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:36.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:36.686Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:36.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:36.686Z] [2023-11-14T18:49:36.686Z] Login Succeeded [2023-11-14T18:49:36.686Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:49:36.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:36.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:36.946Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:36.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:36.946Z] [2023-11-14T18:49:36.946Z] Login Succeeded [2023-11-14T18:49:36.946Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:49:36.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:36.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:36.946Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:36.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:36.946Z] [2023-11-14T18:49:36.946Z] Login Succeeded [2023-11-14T18:49:36.946Z] docker.io [2023-11-14T18:49:36.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:49:37.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:49:37.207Z] Configure a credential helper to remove this warning. See [2023-11-14T18:49:37.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:49:37.207Z] [2023-11-14T18:49:37.207Z] Login Succeeded [2023-11-14T18:49:37.207Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:49:37.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:49:37.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:49:37.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:49:37.525Z] ========================================================= [2023-11-14T18:49:37.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:49:37.525Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:49:38.022Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:49:38.022Z] Sending build context to Docker daemon 6.582MB [2023-11-14T18:49:38.022Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:49:38.022Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:49:38.022Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:49:38.022Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:49:38.022Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:49:38.022Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:49:38.022Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:49:38.022Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:49:38.022Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:49:38.022Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:49:38.022Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:49:38.022Z] ad3a456e5733: Waiting [2023-11-14T18:49:38.022Z] ce7588e14bc9: Waiting [2023-11-14T18:49:38.022Z] 69c7f0334f64: Waiting [2023-11-14T18:49:38.022Z] 1f1c1a5573a3: Waiting [2023-11-14T18:49:38.022Z] b5e4710f87ac: Waiting [2023-11-14T18:49:38.022Z] c4d48a809fc2: Verifying Checksum [2023-11-14T18:49:38.022Z] c4d48a809fc2: Download complete [2023-11-14T18:49:38.022Z] ad3a456e5733: Download complete [2023-11-14T18:49:38.280Z] 69c7f0334f64: Verifying Checksum [2023-11-14T18:49:38.280Z] 69c7f0334f64: Download complete [2023-11-14T18:49:38.281Z] 7264a8db6415: Verifying Checksum [2023-11-14T18:49:38.281Z] 7264a8db6415: Download complete [2023-11-14T18:49:38.281Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:49:38.281Z] 1f1c1a5573a3: Download complete [2023-11-14T18:49:38.281Z] 7264a8db6415: Pull complete [2023-11-14T18:49:38.540Z] c4d48a809fc2: Pull complete [2023-11-14T18:49:38.540Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:49:38.540Z] b5e4710f87ac: Download complete [2023-11-14T18:49:38.540Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T18:49:38.540Z] 4f1c88b9dad5: Download complete [2023-11-14T18:49:39.110Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:49:39.110Z] ce7588e14bc9: Download complete [2023-11-14T18:49:41.644Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:49:41.644Z] ad3a456e5733: Pull complete [2023-11-14T18:49:41.644Z] 69c7f0334f64: Pull complete [2023-11-14T18:49:41.902Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:49:44.430Z] ce7588e14bc9: Pull complete [2023-11-14T18:49:44.430Z] b5e4710f87ac: Pull complete [2023-11-14T18:49:44.430Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:49:44.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:49:44.430Z] ---> 88b5674ff536 [2023-11-14T18:49:44.430Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:49:51.133Z] Still waiting to schedule task [2023-11-14T18:49:51.133Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T18:49:56.637Z] ---> Running in 38f6b3f8296c [2023-11-14T18:49:56.637Z] Removing intermediate container 38f6b3f8296c [2023-11-14T18:49:56.637Z] ---> d2afa1dbea43 [2023-11-14T18:49:56.637Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:49:56.637Z] ---> Running in 8cbe01ca140b [2023-11-14T18:49:56.637Z] Removing intermediate container 8cbe01ca140b [2023-11-14T18:49:56.637Z] ---> 017740586683 [2023-11-14T18:49:56.637Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T18:49:56.637Z] ---> Running in a91cb089bc29 [2023-11-14T18:49:56.637Z] Removing intermediate container a91cb089bc29 [2023-11-14T18:49:56.637Z] ---> e715d330be6d [2023-11-14T18:49:56.637Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:49:56.637Z] ---> Running in a9ff7f5f306e [2023-11-14T18:49:56.637Z] Removing intermediate container a9ff7f5f306e [2023-11-14T18:49:56.637Z] ---> cb2239a84b51 [2023-11-14T18:49:56.637Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:49:56.637Z] ---> Running in 9bcc4889bc05 [2023-11-14T18:49:56.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:49:56.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:49:56.637Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:49:56.637Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T18:49:56.637Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:49:56.637Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:49:56.637Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:49:56.637Z] OK: 268 MiB in 56 packages [2023-11-14T18:49:56.898Z] Removing intermediate container 9bcc4889bc05 [2023-11-14T18:49:56.898Z] ---> 91a1428519fd [2023-11-14T18:49:56.898Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-14T18:49:56.898Z] ---> Running in 5ef2287ad7e5 [2023-11-14T18:49:57.156Z] Removing intermediate container 5ef2287ad7e5 [2023-11-14T18:49:57.157Z] ---> eb76c1c5b7ad [2023-11-14T18:49:57.157Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T18:49:57.157Z] ---> af0275febf10 [2023-11-14T18:49:57.157Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:49:57.157Z] ---> Running in f8fccd91ad19 [2023-11-14T18:50:43.845Z] Removing intermediate container f8fccd91ad19 [2023-11-14T18:50:43.845Z] ---> 213e713ff683 [2023-11-14T18:50:43.845Z] Step 11/12 : COPY . . [2023-11-14T18:50:43.845Z] ---> 8f2b3f7f2a42 [2023-11-14T18:50:43.845Z] Step 12/12 : RUN $MAKE [2023-11-14T18:50:43.845Z] ---> Running in 4028d335d6cb [2023-11-14T18:50:43.845Z] noop [2023-11-14T18:50:43.845Z] Removing intermediate container 4028d335d6cb [2023-11-14T18:50:43.845Z] ---> 3c4694ac346f [2023-11-14T18:50:43.845Z] Successfully built 3c4694ac346f [2023-11-14T18:50:43.845Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:50:44.300Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:50:44.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:50:44.455Z] prd-ubuntu20.04-docker-8c-8g-17515 does not seem to be running inside a container [2023-11-14T18:50:44.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-647 -v /w/workspace/gexfoundry_device-mqtt-go_PR-647:/w/workspace/gexfoundry_device-mqtt-go_PR-647:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-647@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-11-14T18:50:44.850Z] $ docker top d1b6d90c000d29cc661eb812d27d3ee1cb802f0221ab2e3a4df983c40b3e6f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:50:45.245Z] + go version [2023-11-14T18:50:45.245Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:50:45.280Z] $ docker stop --time=1 d1b6d90c000d29cc661eb812d27d3ee1cb802f0221ab2e3a4df983c40b3e6f5e [2023-11-14T18:50:46.577Z] $ docker rm -f --volumes d1b6d90c000d29cc661eb812d27d3ee1cb802f0221ab2e3a4df983c40b3e6f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:50:47.294Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:50:47.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:50:47.487Z] prd-ubuntu20.04-docker-8c-8g-17515 does not seem to be running inside a container [2023-11-14T18:50:47.533Z] $ 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-647 -v /w/workspace/gexfoundry_device-mqtt-go_PR-647:/w/workspace/gexfoundry_device-mqtt-go_PR-647:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-647@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-11-14T18:50:47.947Z] $ docker top 8c598056bc0ecab6afcb904fc78995ae81a01bfbe053719b075f20734e473929 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:50:48.337Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-647 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:50:48.701Z] + make test [2023-11-14T18:50:48.701Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:50:50.087Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-14T18:51:00.048Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-14T18:51:00.048Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-14T18:51:00.048Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-11-14T18:51:05.316Z] go vet ./... [2023-11-14T18:51:08.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:51:08.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:51:08.595Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:51:08.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:51:08.690Z] $ docker stop --time=1 8c598056bc0ecab6afcb904fc78995ae81a01bfbe053719b075f20734e473929 [2023-11-14T18:51:13.036Z] $ docker rm -f --volumes 8c598056bc0ecab6afcb904fc78995ae81a01bfbe053719b075f20734e473929 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:51:13.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:51:13.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:51:14.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:51:14.627Z] + ls -al . [2023-11-14T18:51:14.627Z] total 184 [2023-11-14T18:51:14.627Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:50 . [2023-11-14T18:51:14.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:48 .. [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:49 .dockerignore [2023-11-14T18:51:14.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:50 .git [2023-11-14T18:51:14.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:49 .github [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 18:49 .gitignore [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:49 .golangci.yml [2023-11-14T18:51:14.627Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:49 .semver [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 18:49 Attribution.txt [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 18:49 CHANGELOG.md [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 14 18:49 Dockerfile [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:49 GOVERNANCE.md [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 18:49 Jenkinsfile [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:49 LICENSE [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 18:49 Makefile [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 18:49 OWNERS.md [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 18:49 README.md [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:49 VERSION [2023-11-14T18:51:14.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:49 bin [2023-11-14T18:51:14.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:49 cmd [2023-11-14T18:51:14.627Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 18:50 coverage.out [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 18:49 go.mod [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 18:49 go.sum [2023-11-14T18:51:14.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:49 internal [2023-11-14T18:51:14.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:49 mock [2023-11-14T18:51:14.627Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:51:15.016Z] + 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=e006cb99eb27a2b9bcb598762944c17a944f278e --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:51:15.016Z] Sending build context to Docker daemon 6.601MB [2023-11-14T18:51:15.016Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:51:15.016Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-14T18:51:15.016Z] ---> 3c4694ac346f [2023-11-14T18:51:15.016Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:51:15.016Z] ---> Running in 4850f67648a2 [2023-11-14T18:51:15.276Z] Removing intermediate container 4850f67648a2 [2023-11-14T18:51:15.276Z] ---> f887682fe26a [2023-11-14T18:51:15.276Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:51:15.276Z] ---> Running in 6b5f1588f0d1 [2023-11-14T18:51:15.276Z] Removing intermediate container 6b5f1588f0d1 [2023-11-14T18:51:15.276Z] ---> 1e8150a83f2d [2023-11-14T18:51:15.276Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T18:51:15.276Z] ---> Running in ac90b8683091 [2023-11-14T18:51:15.276Z] Removing intermediate container ac90b8683091 [2023-11-14T18:51:15.276Z] ---> 4f92aeea6e1c [2023-11-14T18:51:15.276Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:51:15.535Z] ---> Running in b2ecc9936fc5 [2023-11-14T18:51:15.535Z] Removing intermediate container b2ecc9936fc5 [2023-11-14T18:51:15.535Z] ---> 532cae098407 [2023-11-14T18:51:15.535Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:51:15.535Z] ---> Running in 5d1a349cf98f [2023-11-14T18:51:15.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:15.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:16.054Z] OK: 268 MiB in 56 packages [2023-11-14T18:51:16.312Z] Removing intermediate container 5d1a349cf98f [2023-11-14T18:51:16.312Z] ---> 03abcdc747cf [2023-11-14T18:51:16.312Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-14T18:51:16.312Z] ---> Running in 915b3566fa4a [2023-11-14T18:51:16.313Z] Removing intermediate container 915b3566fa4a [2023-11-14T18:51:16.313Z] ---> 1923837e98cf [2023-11-14T18:51:16.313Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-14T18:51:16.570Z] ---> 91db96dfbb00 [2023-11-14T18:51:16.570Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:51:16.570Z] ---> Running in 492d35c118bd [2023-11-14T18:51:17.505Z] Removing intermediate container 492d35c118bd [2023-11-14T18:51:17.505Z] ---> f3dae1e39cfa [2023-11-14T18:51:17.505Z] Step 11/25 : COPY . . [2023-11-14T18:51:18.882Z] ---> 06a1198c56e4 [2023-11-14T18:51:18.882Z] Step 12/25 : RUN $MAKE [2023-11-14T18:51:18.882Z] ---> Running in e0ac312a81d5 [2023-11-14T18:51:19.139Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-14T18:51:41.199Z] Removing intermediate container e0ac312a81d5 [2023-11-14T18:51:41.199Z] ---> d805faefdae9 [2023-11-14T18:51:41.199Z] Step 13/25 : FROM alpine:3.18 [2023-11-14T18:51:41.199Z] 3.18: Pulling from library/alpine [2023-11-14T18:51:41.199Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:51:41.199Z] 96526aa774ef: Verifying Checksum [2023-11-14T18:51:41.199Z] 96526aa774ef: Download complete [2023-11-14T18:51:41.199Z] 96526aa774ef: Pull complete [2023-11-14T18:51:41.199Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:51:41.199Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:51:41.199Z] ---> 8ca4688f4f35 [2023-11-14T18:51:41.199Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-14T18:51:41.199Z] ---> Running in 92d6f192e01f [2023-11-14T18:51:41.199Z] Removing intermediate container 92d6f192e01f [2023-11-14T18:51:41.199Z] ---> adc204b43e91 [2023-11-14T18:51:41.199Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:51:41.199Z] ---> Running in 6bde1e6bbd73 [2023-11-14T18:51:41.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:41.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:41.459Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:51:41.459Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:51:41.459Z] OK: 7 MiB in 16 packages [2023-11-14T18:51:41.718Z] Removing intermediate container 6bde1e6bbd73 [2023-11-14T18:51:41.718Z] ---> 77c9ebe337b4 [2023-11-14T18:51:41.718Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-14T18:51:41.718Z] ---> Running in 876ed39767a1 [2023-11-14T18:51:41.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:41.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:51:42.234Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:51:42.234Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:42.234Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:51:42.234Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:42.234Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:51:42.509Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:51:42.509Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:42.509Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:51:42.509Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:51:42.509Z] OK: 7 MiB in 16 packages [2023-11-14T18:51:43.078Z] Removing intermediate container 876ed39767a1 [2023-11-14T18:51:43.078Z] ---> 5812fe4092db [2023-11-14T18:51:43.078Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-14T18:51:44.038Z] ---> 28804c3b784a [2023-11-14T18:51:44.038Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-14T18:51:44.038Z] ---> e3289295bb98 [2023-11-14T18:51:44.038Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-14T18:51:44.296Z] ---> 14281f43bcfe [2023-11-14T18:51:44.296Z] Step 20/25 : EXPOSE 59982 [2023-11-14T18:51:44.296Z] ---> Running in 8cc147b21415 [2023-11-14T18:51:44.296Z] Removing intermediate container 8cc147b21415 [2023-11-14T18:51:44.296Z] ---> 3d77c95ca5e4 [2023-11-14T18:51:44.296Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-14T18:51:44.296Z] ---> Running in 240ab20c6162 [2023-11-14T18:51:44.296Z] Removing intermediate container 240ab20c6162 [2023-11-14T18:51:44.296Z] ---> 12632d9359ad [2023-11-14T18:51:44.296Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T18:51:44.296Z] ---> Running in 9fb8bf8f6a9c [2023-11-14T18:51:44.555Z] Removing intermediate container 9fb8bf8f6a9c [2023-11-14T18:51:44.555Z] ---> b2cbc14ff0d8 [2023-11-14T18:51:44.555Z] Step 23/25 : LABEL arch=amd64 [2023-11-14T18:51:44.555Z] ---> Running in f5018bab2f4c [2023-11-14T18:51:44.555Z] Removing intermediate container f5018bab2f4c [2023-11-14T18:51:44.555Z] ---> 6033a5427e01 [2023-11-14T18:51:44.555Z] Step 24/25 : LABEL git_sha=e006cb99eb27a2b9bcb598762944c17a944f278e [2023-11-14T18:51:44.555Z] ---> Running in 9d0c36835f47 [2023-11-14T18:51:44.555Z] Removing intermediate container 9d0c36835f47 [2023-11-14T18:51:44.555Z] ---> 9170619bbd48 [2023-11-14T18:51:44.555Z] Step 25/25 : LABEL version=0.0.0 [2023-11-14T18:51:44.555Z] ---> Running in d7ab5dc15d98 [2023-11-14T18:51:44.814Z] Removing intermediate container d7ab5dc15d98 [2023-11-14T18:51:44.814Z] ---> bbbd125f9f3d [2023-11-14T18:51:44.814Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:51:44.814Z] Successfully built bbbd125f9f3d [2023-11-14T18:51:44.814Z] 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-11-14T18:51:45.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:51:45.674Z] [2023-11-14T18:51:45.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:51:46.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:51:46.060Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:51:46.060Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:51:46.060Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:51:46.060Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:51:46.060Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:51:46.060Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:51:46.060Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:51:46.060Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:51:46.060Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:51:46.060Z] 33b1e0a273af: Waiting [2023-11-14T18:51:46.060Z] 5d3b04190fa2: Waiting [2023-11-14T18:51:46.060Z] 2f39f015ded8: Waiting [2023-11-14T18:51:46.060Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:51:46.060Z] 5c69ac0246d0: Download complete [2023-11-14T18:51:46.060Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:51:46.060Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:51:46.060Z] 33b1e0a273af: Download complete [2023-11-14T18:51:46.319Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T18:51:46.319Z] 5d3b04190fa2: Download complete [2023-11-14T18:51:46.319Z] ec43610c2a17: Verifying Checksum [2023-11-14T18:51:46.319Z] ec43610c2a17: Download complete [2023-11-14T18:51:46.319Z] 5eb5b503b376: Download complete [2023-11-14T18:51:46.884Z] 2f39f015ded8: Download complete [2023-11-14T18:51:47.818Z] 5eb5b503b376: Pull complete [2023-11-14T18:51:48.077Z] 5c69ac0246d0: Pull complete [2023-11-14T18:51:48.643Z] ec43610c2a17: Pull complete [2023-11-14T18:51:48.910Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:51:49.478Z] 33b1e0a273af: Pull complete [2023-11-14T18:51:50.046Z] 5d3b04190fa2: Pull complete [2023-11-14T18:51:54.267Z] 2f39f015ded8: Pull complete [2023-11-14T18:51:54.267Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:51:54.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:51:54.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:51:54.482Z] prd-ubuntu20.04-docker-8c-8g-17515 does not seem to be running inside a container [2023-11-14T18:51:54.527Z] $ 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-647 -v /w/workspace/gexfoundry_device-mqtt-go_PR-647:/w/workspace/gexfoundry_device-mqtt-go_PR-647:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-647@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-11-14T18:52:06.557Z] $ docker top 94ba1365e210bff8a0966fdee28d2e5c5a5ad672e811d0bfab039c9bbb124f8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:52:06.990Z] ---> job-cost.sh [2023-11-14T18:52:06.990Z] lf-activate-venv: SKIPPING [2023-11-14T18:52:06.990Z] INFO: No Stack... [2023-11-14T18:52:07.249Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:52:07.508Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:52:07.828Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives/cost.csv [2023-11-14T18:52:07.828Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:52:07.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] [2023-11-14T18:52:07.875Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] did not exist. Created. [2023-11-14T18:52:07.875Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:52:08.276Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T18:52:08.325Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:52:08.361Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:52:08.457Z] $ docker stop --time=1 94ba1365e210bff8a0966fdee28d2e5c5a5ad672e811d0bfab039c9bbb124f8a [2023-11-14T18:52:09.655Z] $ docker rm -f --volumes 94ba1365e210bff8a0966fdee28d2e5c5a5ad672e811d0bfab039c9bbb124f8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T18:52:49.891Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17517 in /w/workspace/gexfoundry_device-mqtt-go_PR-647 [Pipeline] { [Pipeline] ws [2023-11-14T18:52:49.955Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:52:50.030Z] The recommended git tool is: git [2023-11-14T18:52:56.097Z] using credential edgex-jenkins-ssh [2023-11-14T18:52:56.115Z] Cloning the remote Git repository [2023-11-14T18:52:56.176Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T18:52:56.294Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-11-14T18:52:56.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T18:52:56.470Z] > git --version # timeout=10 [2023-11-14T18:52:56.496Z] > git --version # 'git version 2.25.1' [2023-11-14T18:52:56.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:52:56.673Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:52:57.988Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-14T18:52:58.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:52:59.736Z] Merging remotes/origin/main commit 0b7988ad925f4dc882909eccaaf50c651f359b4a into PR head commit e006cb99eb27a2b9bcb598762944c17a944f278e [2023-11-14T18:53:00.047Z] Merge succeeded, producing e006cb99eb27a2b9bcb598762944c17a944f278e [2023-11-14T18:53:00.048Z] Checking out Revision e006cb99eb27a2b9bcb598762944c17a944f278e (PR-647) [2023-11-14T18:52:59.036Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-14T18:52:59.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T18:52:59.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:52:59.103Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/647/head:refs/remotes/origin/PR-647 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:52:59.760Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:52:59.858Z] > git checkout -f e006cb99eb27a2b9bcb598762944c17a944f278e # timeout=10 [2023-11-14T18:52:59.944Z] > git remote # timeout=10 [2023-11-14T18:52:59.966Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:52:59.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:53:00.000Z] > git merge 0b7988ad925f4dc882909eccaaf50c651f359b4a # timeout=10 [2023-11-14T18:53:00.027Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:53:00.060Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:53:00.076Z] > git checkout -f e006cb99eb27a2b9bcb598762944c17a944f278e # timeout=10 [2023-11-14T18:53:03.600Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:53:03.666Z] > git --version # timeout=10 [2023-11-14T18:53:03.680Z] > git --version # 'git version 2.25.1' [2023-11-14T18:53:03.700Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:53:04.924Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:53:04.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:53:04.924Z] Dload Upload Total Spent Left Speed [2023-11-14T18:53:04.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh [2023-11-14T18:53:05.774Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:53:06.140Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:53:06.140Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:53:06.140Z] { [2023-11-14T18:53:06.140Z] "registry-mirrors": [ [2023-11-14T18:53:06.140Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:53:06.140Z] ], [2023-11-14T18:53:06.140Z] "bip": "10.250.0.254/24", [2023-11-14T18:53:06.140Z] "hosts": [ [2023-11-14T18:53:06.140Z] "tcp://0.0.0.0:5555", [2023-11-14T18:53:06.140Z] "unix:///var/run/docker.sock" [2023-11-14T18:53:06.140Z] ], [2023-11-14T18:53:06.140Z] "mtu": 1458, [2023-11-14T18:53:06.140Z] "selinux-enabled": true, [2023-11-14T18:53:06.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:53:06.140Z] } [Pipeline] sh [2023-11-14T18:53:06.504Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:53:06.866Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:53:25.224Z] provisioning config files... [2023-11-14T18:53:25.256Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3423612546198973625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:53:25.655Z] ---> docker-login.sh [2023-11-14T18:53:25.655Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:53:26.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:53:26.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:53:26.250Z] Configure a credential helper to remove this warning. See [2023-11-14T18:53:26.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:53:26.250Z] [2023-11-14T18:53:26.250Z] Login Succeeded [2023-11-14T18:53:26.250Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:53:26.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:53:26.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:53:26.794Z] Configure a credential helper to remove this warning. See [2023-11-14T18:53:26.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:53:26.794Z] [2023-11-14T18:53:26.794Z] Login Succeeded [2023-11-14T18:53:26.794Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:53:27.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:53:27.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:53:27.072Z] Configure a credential helper to remove this warning. See [2023-11-14T18:53:27.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:53:27.072Z] [2023-11-14T18:53:27.072Z] Login Succeeded [2023-11-14T18:53:27.072Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:53:27.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:53:27.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:53:27.348Z] Configure a credential helper to remove this warning. See [2023-11-14T18:53:27.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:53:27.348Z] [2023-11-14T18:53:27.348Z] Login Succeeded [2023-11-14T18:53:27.622Z] docker.io [2023-11-14T18:53:27.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:53:28.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:53:28.214Z] Configure a credential helper to remove this warning. See [2023-11-14T18:53:28.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:53:28.214Z] [2023-11-14T18:53:28.214Z] Login Succeeded [2023-11-14T18:53:28.214Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:53:28.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:53:28.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:53:28.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:53:28.762Z] ========================================================= [2023-11-14T18:53:28.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T18:53:28.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:53:29.283Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:53:29.552Z] Sending build context to Docker daemon 3.39MB [2023-11-14T18:53:29.552Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:53:29.552Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:53:29.827Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T18:53:29.827Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T18:53:29.827Z] 5d54e960e981: Pulling fs layer [2023-11-14T18:53:29.827Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T18:53:29.827Z] f0e02332f6b5: Pulling fs layer [2023-11-14T18:53:29.827Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T18:53:29.827Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T18:53:29.827Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T18:53:29.827Z] 872ee5b61b7b: Waiting [2023-11-14T18:53:29.828Z] 0c6a40ed1a82: Waiting [2023-11-14T18:53:29.828Z] 94ae7d8d031c: Waiting [2023-11-14T18:53:29.828Z] f0e02332f6b5: Waiting [2023-11-14T18:53:29.828Z] 5d54e960e981: Verifying Checksum [2023-11-14T18:53:29.828Z] 5d54e960e981: Download complete [2023-11-14T18:53:29.828Z] f0e02332f6b5: Verifying Checksum [2023-11-14T18:53:29.828Z] f0e02332f6b5: Download complete [2023-11-14T18:53:29.828Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T18:53:29.828Z] 872ee5b61b7b: Download complete [2023-11-14T18:53:29.828Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T18:53:29.828Z] 9fda8d8052c6: Download complete [2023-11-14T18:53:30.423Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T18:53:30.423Z] 94ae7d8d031c: Download complete [2023-11-14T18:53:31.843Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T18:53:31.843Z] c4a7e357bf2a: Download complete [2023-11-14T18:53:32.431Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T18:53:32.431Z] 0c6a40ed1a82: Download complete [2023-11-14T18:53:32.701Z] 9fda8d8052c6: Pull complete [2023-11-14T18:53:33.288Z] 5d54e960e981: Pull complete [2023-11-14T18:53:48.319Z] c4a7e357bf2a: Pull complete [2023-11-14T18:53:48.319Z] f0e02332f6b5: Pull complete [2023-11-14T18:53:48.319Z] 872ee5b61b7b: Pull complete [2023-11-14T18:53:56.547Z] 0c6a40ed1a82: Pull complete [2023-11-14T18:53:58.507Z] 94ae7d8d031c: Pull complete [2023-11-14T18:53:58.508Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T18:53:58.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T18:53:58.508Z] ---> 86de565de09d [2023-11-14T18:53:58.508Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:53:59.942Z] ---> Running in 0032aa94578f [2023-11-14T18:54:00.213Z] Removing intermediate container 0032aa94578f [2023-11-14T18:54:00.213Z] ---> 21b204b43e85 [2023-11-14T18:54:00.213Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:54:00.213Z] ---> Running in 3ff3541f228f [2023-11-14T18:54:00.486Z] Removing intermediate container 3ff3541f228f [2023-11-14T18:54:00.486Z] ---> 55c15feb7482 [2023-11-14T18:54:00.486Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T18:54:00.760Z] ---> Running in f52d4e08ec1d [2023-11-14T18:54:01.032Z] Removing intermediate container f52d4e08ec1d [2023-11-14T18:54:01.032Z] ---> d095464f0a0d [2023-11-14T18:54:01.032Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:54:01.303Z] ---> Running in 02e716f5330e [2023-11-14T18:54:01.572Z] Removing intermediate container 02e716f5330e [2023-11-14T18:54:01.572Z] ---> f1f41187e345 [2023-11-14T18:54:01.572Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:54:01.572Z] ---> Running in 5d858b584021 [2023-11-14T18:54:02.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:54:03.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:54:04.684Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T18:54:04.684Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T18:54:04.684Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T18:54:04.684Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T18:54:04.684Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:54:04.684Z] OK: 271 MiB in 56 packages [2023-11-14T18:54:06.100Z] Removing intermediate container 5d858b584021 [2023-11-14T18:54:06.100Z] ---> 1f9f86517a3c [2023-11-14T18:54:06.100Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-14T18:54:06.100Z] ---> Running in 7c7a2dbe660c [2023-11-14T18:54:06.378Z] Removing intermediate container 7c7a2dbe660c [2023-11-14T18:54:06.378Z] ---> fc406677658e [2023-11-14T18:54:06.378Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T18:54:06.978Z] ---> 04765576a693 [2023-11-14T18:54:06.978Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:54:06.978Z] ---> Running in 659c5baddbbe [2023-11-14T18:55:28.630Z] Removing intermediate container 659c5baddbbe [2023-11-14T18:55:28.630Z] ---> bb35627811bc [2023-11-14T18:55:28.630Z] Step 11/12 : COPY . . [2023-11-14T18:55:28.630Z] ---> 0ad6c42167ff [2023-11-14T18:55:28.630Z] Step 12/12 : RUN $MAKE [2023-11-14T18:55:28.630Z] ---> Running in 594ab5cd665b [2023-11-14T18:55:28.630Z] noop [2023-11-14T18:55:28.630Z] Removing intermediate container 594ab5cd665b [2023-11-14T18:55:28.630Z] ---> a56358d68c61 [2023-11-14T18:55:28.630Z] Successfully built a56358d68c61 [2023-11-14T18:55:28.630Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:55:29.120Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:55:29.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:55:29.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-17517 does not seem to be running inside a container [2023-11-14T18:55:29.506Z] $ 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-11-14T18:55:30.824Z] $ docker top 06ec0a00519271621689748327b68b2745bf47eb45dd1141cb5f1847615f2546 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:55:31.737Z] + go version [2023-11-14T18:55:31.737Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T18:55:31.780Z] $ docker stop --time=1 06ec0a00519271621689748327b68b2745bf47eb45dd1141cb5f1847615f2546 [2023-11-14T18:55:33.419Z] $ docker rm -f --volumes 06ec0a00519271621689748327b68b2745bf47eb45dd1141cb5f1847615f2546 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:55:34.288Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:55:34.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:55:34.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-17517 does not seem to be running inside a container [2023-11-14T18:55:34.644Z] $ 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-11-14T18:55:35.943Z] $ docker top 6649f45f581510b2d3f12dc871454aa2bce8c4631b05a59493ca033e3119caa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:55:36.839Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:55:37.559Z] + make test [2023-11-14T18:55:37.559Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T18:55:41.827Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-14T18:57:18.528Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-14T18:57:21.128Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-14T18:57:21.128Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 22.8% of statements [2023-11-14T18:57:21.714Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T18:57:21.714Z] go vet ./... [2023-11-14T18:57:48.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:57:48.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:57:48.434Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:57:48.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:57:48.516Z] $ docker stop --time=1 6649f45f581510b2d3f12dc871454aa2bce8c4631b05a59493ca033e3119caa8 [2023-11-14T18:57:52.870Z] $ docker rm -f --volumes 6649f45f581510b2d3f12dc871454aa2bce8c4631b05a59493ca033e3119caa8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:57:54.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:57:54.201Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T18:57:54.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:57:55.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:57:55.689Z] + ls -al . [2023-11-14T18:57:55.689Z] total 180 [2023-11-14T18:57:55.689Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:55 . [2023-11-14T18:57:55.689Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:52 .. [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:52 .dockerignore [2023-11-14T18:57:55.689Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:53 .git [2023-11-14T18:57:55.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:52 .github [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 18:52 .gitignore [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:52 .golangci.yml [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 18:52 Attribution.txt [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 18:52 CHANGELOG.md [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 14 18:52 Dockerfile [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:52 GOVERNANCE.md [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 18:52 Jenkinsfile [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:52 LICENSE [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 18:52 Makefile [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 18:52 OWNERS.md [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 18:52 README.md [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:49 VERSION [2023-11-14T18:57:55.689Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:52 bin [2023-11-14T18:57:55.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:52 cmd [2023-11-14T18:57:55.689Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 18:57 coverage.out [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 18:52 go.mod [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 18:52 go.sum [2023-11-14T18:57:55.689Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:52 internal [2023-11-14T18:57:55.689Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:52 mock [2023-11-14T18:57:55.689Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:57:56.125Z] + 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=e006cb99eb27a2b9bcb598762944c17a944f278e --label arch=arm64 --label version=0.0.0 . [2023-11-14T18:57:56.400Z] Sending build context to Docker daemon 3.41MB [2023-11-14T18:57:56.400Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:57:56.400Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-14T18:57:56.400Z] ---> a56358d68c61 [2023-11-14T18:57:56.400Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:57:56.680Z] ---> Running in 1625696528df [2023-11-14T18:57:56.970Z] Removing intermediate container 1625696528df [2023-11-14T18:57:56.970Z] ---> 0f2dbb9b74be [2023-11-14T18:57:56.970Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:57:56.970Z] ---> Running in 79dc817a1942 [2023-11-14T18:57:57.265Z] Removing intermediate container 79dc817a1942 [2023-11-14T18:57:57.265Z] ---> becf19ac1179 [2023-11-14T18:57:57.265Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T18:57:57.265Z] ---> Running in 7a4d981c3683 [2023-11-14T18:57:57.549Z] Removing intermediate container 7a4d981c3683 [2023-11-14T18:57:57.549Z] ---> 8f8d53743ff4 [2023-11-14T18:57:57.549Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:57:57.832Z] ---> Running in 68c06251cdb8 [2023-11-14T18:57:58.103Z] Removing intermediate container 68c06251cdb8 [2023-11-14T18:57:58.103Z] ---> cb28899f57d0 [2023-11-14T18:57:58.103Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:57:58.103Z] ---> Running in d31d01824a55 [2023-11-14T18:57:59.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:57:59.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:58:01.214Z] OK: 271 MiB in 56 packages [2023-11-14T18:58:01.831Z] Removing intermediate container d31d01824a55 [2023-11-14T18:58:01.831Z] ---> 978bed95dc8d [2023-11-14T18:58:01.831Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-14T18:58:02.103Z] ---> Running in bb986b3273f5 [2023-11-14T18:58:06.369Z] Removing intermediate container bb986b3273f5 [2023-11-14T18:58:06.369Z] ---> 98b5ce98ae07 [2023-11-14T18:58:06.369Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-14T18:58:06.958Z] ---> acd8756a55fa [2023-11-14T18:58:06.958Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:58:06.958Z] ---> Running in 7b0aa745db47 [2023-11-14T18:58:09.552Z] Removing intermediate container 7b0aa745db47 [2023-11-14T18:58:09.552Z] ---> 40cddf0b57ca [2023-11-14T18:58:09.552Z] Step 11/25 : COPY . . [2023-11-14T18:58:10.519Z] ---> b866e3f33b60 [2023-11-14T18:58:10.519Z] Step 12/25 : RUN $MAKE [2023-11-14T18:58:10.519Z] ---> Running in 999d97767c1b [2023-11-14T18:58:11.485Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-14T19:00:18.211Z] Removing intermediate container 999d97767c1b [2023-11-14T19:00:18.211Z] ---> 9b04490a47c9 [2023-11-14T19:00:18.211Z] Step 13/25 : FROM alpine:3.18 [2023-11-14T19:00:18.211Z] 3.18: Pulling from library/alpine [2023-11-14T19:00:18.211Z] 579b34f0a95b: Pulling fs layer [2023-11-14T19:00:18.211Z] 579b34f0a95b: Verifying Checksum [2023-11-14T19:00:18.211Z] 579b34f0a95b: Pull complete [2023-11-14T19:00:18.211Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T19:00:18.211Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T19:00:18.211Z] ---> 3cc203321400 [2023-11-14T19:00:18.211Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-14T19:00:18.211Z] ---> Running in c71e5d82bcd8 [2023-11-14T19:00:18.211Z] Removing intermediate container c71e5d82bcd8 [2023-11-14T19:00:18.211Z] ---> 3836d9205bd1 [2023-11-14T19:00:18.211Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-14T19:00:18.211Z] ---> Running in 77436c937c57 [2023-11-14T19:00:18.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:18.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:18.493Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T19:00:18.493Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T19:00:18.493Z] OK: 8 MiB in 16 packages [2023-11-14T19:00:19.456Z] Removing intermediate container 77436c937c57 [2023-11-14T19:00:19.456Z] ---> 0ea2eabb505d [2023-11-14T19:00:19.456Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-14T19:00:19.456Z] ---> Running in da8826370a48 [2023-11-14T19:00:20.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:21.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:00:21.960Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:00:21.960Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:00:22.239Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T19:00:22.239Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:00:22.239Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:00:22.239Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:00:22.239Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:00:22.239Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:00:22.239Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:00:22.239Z] OK: 8 MiB in 16 packages [2023-11-14T19:00:23.651Z] Removing intermediate container da8826370a48 [2023-11-14T19:00:23.651Z] ---> 9a59acc6a16d [2023-11-14T19:00:23.651Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-14T19:00:25.596Z] ---> 92b1babc2264 [2023-11-14T19:00:25.596Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-14T19:00:25.863Z] ---> e80e33df4b0b [2023-11-14T19:00:25.863Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-14T19:00:29.202Z] ---> 573ec60d5530 [2023-11-14T19:00:29.202Z] Step 20/25 : EXPOSE 59982 [2023-11-14T19:00:29.202Z] ---> Running in d1be4e7bc96d [2023-11-14T19:00:29.202Z] Removing intermediate container d1be4e7bc96d [2023-11-14T19:00:29.202Z] ---> 80cceb1b3d37 [2023-11-14T19:00:29.202Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-14T19:00:29.470Z] ---> Running in f348e1575333 [2023-11-14T19:00:29.736Z] Removing intermediate container f348e1575333 [2023-11-14T19:00:29.736Z] ---> efccd75ae748 [2023-11-14T19:00:29.736Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T19:00:29.736Z] ---> Running in 86ec24d7a9ae [2023-11-14T19:00:30.010Z] Removing intermediate container 86ec24d7a9ae [2023-11-14T19:00:30.010Z] ---> b17e4492c909 [2023-11-14T19:00:30.010Z] Step 23/25 : LABEL arch=arm64 [2023-11-14T19:00:30.010Z] ---> Running in 8fadbce9f8fc [2023-11-14T19:00:30.603Z] Removing intermediate container 8fadbce9f8fc [2023-11-14T19:00:30.603Z] ---> 8bbdedbc15be [2023-11-14T19:00:30.603Z] Step 24/25 : LABEL git_sha=e006cb99eb27a2b9bcb598762944c17a944f278e [2023-11-14T19:00:30.603Z] ---> Running in 9e2a2567c21e [2023-11-14T19:00:30.872Z] Removing intermediate container 9e2a2567c21e [2023-11-14T19:00:30.872Z] ---> f7057e3fb229 [2023-11-14T19:00:30.872Z] Step 25/25 : LABEL version=0.0.0 [2023-11-14T19:00:30.872Z] ---> Running in 29d3f984ce0c [2023-11-14T19:00:31.140Z] Removing intermediate container 29d3f984ce0c [2023-11-14T19:00:31.140Z] ---> 4be5f98c277d [2023-11-14T19:00:31.140Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T19:00:31.140Z] Successfully built 4be5f98c277d [2023-11-14T19:00:31.407Z] 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-11-14T19:00:32.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:00:32.262Z] [2023-11-14T19:00:32.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:00:32.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:00:32.679Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T19:00:32.679Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T19:00:32.679Z] 04944245beec: Pulling fs layer [2023-11-14T19:00:32.679Z] 699f458cf7ca: Pulling fs layer [2023-11-14T19:00:32.679Z] 765212b225bb: Pulling fs layer [2023-11-14T19:00:32.679Z] f23df028b6ca: Pulling fs layer [2023-11-14T19:00:32.679Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T19:00:32.679Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T19:00:32.679Z] f23df028b6ca: Waiting [2023-11-14T19:00:32.679Z] d65c8cfc05b1: Waiting [2023-11-14T19:00:32.679Z] 765212b225bb: Waiting [2023-11-14T19:00:32.679Z] 2437ff75d9bd: Waiting [2023-11-14T19:00:32.948Z] 04944245beec: Verifying Checksum [2023-11-14T19:00:32.948Z] 04944245beec: Download complete [2023-11-14T19:00:32.948Z] 765212b225bb: Verifying Checksum [2023-11-14T19:00:32.948Z] 765212b225bb: Download complete [2023-11-14T19:00:32.948Z] f23df028b6ca: Verifying Checksum [2023-11-14T19:00:32.948Z] f23df028b6ca: Download complete [2023-11-14T19:00:32.948Z] d65c8cfc05b1: Download complete [2023-11-14T19:00:33.220Z] 699f458cf7ca: Verifying Checksum [2023-11-14T19:00:33.220Z] 699f458cf7ca: Download complete [2023-11-14T19:00:33.489Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T19:00:33.489Z] 8998bd30e6a1: Download complete [2023-11-14T19:00:36.078Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T19:00:36.078Z] 2437ff75d9bd: Download complete [2023-11-14T19:00:38.677Z] 8998bd30e6a1: Pull complete [2023-11-14T19:00:38.677Z] 04944245beec: Pull complete [2023-11-14T19:00:40.622Z] 699f458cf7ca: Pull complete [2023-11-14T19:00:40.622Z] 765212b225bb: Pull complete [2023-11-14T19:00:41.583Z] f23df028b6ca: Pull complete [2023-11-14T19:00:41.583Z] d65c8cfc05b1: Pull complete [2023-11-14T19:00:59.787Z] 2437ff75d9bd: Pull complete [2023-11-14T19:00:59.787Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T19:00:59.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:00:59.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:01:00.112Z] prd-ubuntu20.04-docker-arm64-4c-16g-17517 does not seem to be running inside a container [2023-11-14T19:01:00.195Z] $ 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-11-14T19:01:02.977Z] $ docker top a2f9092d4b65ad16c73228a1ed9d400fbd48d97fb87fd82da8e01b3600fbfc80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:03.908Z] ---> job-cost.sh [2023-11-14T19:01:03.908Z] lf-activate-venv: SKIPPING [2023-11-14T19:01:03.908Z] INFO: No Stack... [2023-11-14T19:01:04.173Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T19:01:05.135Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T19:01:05.789Z] + cut -d, -f6 [2023-11-14T19:01:05.789Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-11-14T19:01:05.875Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] [2023-11-14T19:01:05.880Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] did not exist. Created. [2023-11-14T19:01:05.880Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T19:01:06.615Z] /w/workspace/device-mqtt-go/1@tmp/durable-c5c9e746/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T19:01:07.299Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T19:01:07.337Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T19:01:07.388Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T19:01:07.410Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-647-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T19:01:07.494Z] $ docker stop --time=1 a2f9092d4b65ad16c73228a1ed9d400fbd48d97fb87fd82da8e01b3600fbfc80 [2023-11-14T19:01:09.045Z] $ docker rm -f --volumes a2f9092d4b65ad16c73228a1ed9d400fbd48d97fb87fd82da8e01b3600fbfc80 [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-11-14T19:01:10.009Z] provisioning config files... [2023-11-14T19:01:10.017Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/config14996060794473442203tmp [Pipeline] { [Pipeline] sh [2023-11-14T19:01:10.353Z] + set +x [2023-11-14T19:01:10.353Z] + curl -s https://codecov.io/bash [2023-11-14T19:01:10.353Z] + bash -s -- [2023-11-14T19:01:10.353Z] [2023-11-14T19:01:10.353Z] _____ _ [2023-11-14T19:01:10.353Z] / ____| | | [2023-11-14T19:01:10.353Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T19:01:10.353Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T19:01:10.353Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T19:01:10.353Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T19:01:10.353Z] Bash-1.0.6 [2023-11-14T19:01:10.353Z] [2023-11-14T19:01:10.353Z] [2023-11-14T19:01:10.353Z] ==> git version 2.25.1 found [2023-11-14T19:01:10.353Z] ==> 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-11-14T19:01:10.353Z] Release-Date: 2020-01-08 [2023-11-14T19:01:10.353Z] 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-11-14T19:01:10.353Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T19:01:10.353Z] ==> Jenkins CI detected. [2023-11-14T19:01:10.353Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-647 [2023-11-14T19:01:10.353Z] project root: . [2023-11-14T19:01:10.353Z] --> token set from env [2023-11-14T19:01:10.353Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T19:01:10.353Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T19:01:10.353Z] ==> Python coveragepy not found [2023-11-14T19:01:10.353Z] ==> Searching for coverage reports in: [2023-11-14T19:01:10.353Z] + . [2023-11-14T19:01:10.353Z] -> Found 1 reports [2023-11-14T19:01:10.353Z] ==> Detecting git/mercurial file structure [2023-11-14T19:01:10.353Z] ==> Reading reports [2023-11-14T19:01:10.353Z] + ./coverage.out bytes=18506 [2023-11-14T19:01:10.353Z] ==> Appending adjustments [2023-11-14T19:01:10.353Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T19:01:10.613Z] + Found adjustments [2023-11-14T19:01:10.613Z] ==> Gzipping contents [2023-11-14T19:01:10.613Z] 4.0K /tmp/codecov.vFyT8Z.gz [2023-11-14T19:01:10.613Z] ==> Uploading reports [2023-11-14T19:01:10.613Z] url: https://codecov.io [2023-11-14T19:01:10.613Z] query: branch=PR-647&commit=e006cb99eb27a2b9bcb598762944c17a944f278e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=647&job=&cmd_args= [2023-11-14T19:01:10.613Z] -> Pinging Codecov [2023-11-14T19:01:10.613Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-647&commit=e006cb99eb27a2b9bcb598762944c17a944f278e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=647&job=&cmd_args= [2023-11-14T19:01:10.613Z] -> Uploading to [2023-11-14T19:01:10.613Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7D719EC7BBE17E464838252E33014C33/e006cb99eb27a2b9bcb598762944c17a944f278e/0e976a35-0882-4c4e-b545-ffbef4c04710.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T190110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0d0fc26d2f01bb24221a66ffd5f8dc9efdfc2f49d30ec24a220f03199077f9a [2023-11-14T19:01:10.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T19:01:10.613Z] Dload Upload Total Spent Left Speed [2023-11-14T19:01:10.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12244 --:--:-- --:--:-- --:--:-- 12294 [2023-11-14T19:01:10.872Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e006cb99eb27a2b9bcb598762944c17a944f278e [Pipeline] } [2023-11-14T19:01:10.900Z] 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-11-14T19:01:12.837Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives ] [2023-11-14T19:01:12.837Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives [2023-11-14T19:01:12.837Z] total 16 [2023-11-14T19:01:12.837Z] drwxr-xr-x 3 root root 4096 Nov 14 18:52 . [2023-11-14T19:01:12.837Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:52 .. [2023-11-14T19:01:12.837Z] drwxr-xr-x 2 root root 4096 Nov 14 18:52 cost [2023-11-14T19:01:12.837Z] -rw-r--r-- 1 root root 86 Nov 14 18:52 cost.csv [2023-11-14T19:01:12.837Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives [2023-11-14T19:01:12.837Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives [2023-11-14T19:01:12.837Z] total 16 [2023-11-14T19:01:12.837Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:52 . [2023-11-14T19:01:12.837Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:52 .. [2023-11-14T19:01:12.837Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:52 cost [2023-11-14T19:01:12.837Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:13.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:14.068Z] ---> package-listing.sh [2023-11-14T19:01:14.068Z] ++ facter osfamily [2023-11-14T19:01:14.068Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T19:01:14.328Z] + OS_FAMILY=debian [2023-11-14T19:01:14.328Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-647 [2023-11-14T19:01:14.328Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T19:01:14.328Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T19:01:14.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T19:01:14.328Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T19:01:14.328Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-647 ']' [2023-11-14T19:01:14.328Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T19:01:14.328Z] + case "${OS_FAMILY}" in [2023-11-14T19:01:14.328Z] + dpkg -l [2023-11-14T19:01:14.328Z] + grep '^ii' [2023-11-14T19:01:14.328Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T19:01:14.328Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T19:01:14.328Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T19:01:14.328Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-647 ']' [2023-11-14T19:01:14.328Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives/ [2023-11-14T19:01:14.328Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-647/archives/ [Pipeline] echo [2023-11-14T19:01:14.361Z] 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-647/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T19:01:14.647Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:01:15.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:01:15.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:01:15.459Z] prd-ubuntu20.04-docker-8c-8g-17515 does not seem to be running inside a container [2023-11-14T19:01:15.505Z] $ 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-647/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-647 -v /w/workspace/gexfoundry_device-mqtt-go_PR-647:/w/workspace/gexfoundry_device-mqtt-go_PR-647:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-647@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-11-14T19:01:15.692Z] $ docker top a586cf45f64de2c7105657713d176241a3d670aa4cebefebde3b3a8d7a0c78e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:01:16.070Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T19:01:16.380Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T19:01:16.689Z] + ls /var/log/sa-host [2023-11-14T19:01:16.689Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:01:16.822Z] provisioning config files... [2023-11-14T19:01:16.833Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-647@tmp/config9355873020291564390tmp [Pipeline] { [Pipeline] echo [2023-11-14T19:01:16.884Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:17.200Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T19:01:17.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:17.643Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T19:01:17.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:17.993Z] ---> sudo-logs.sh [2023-11-14T19:01:17.993Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T19:01:18.113Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:18.444Z] ---> job-cost.sh [2023-11-14T19:01:18.444Z] lf-activate-venv: SKIPPING [2023-11-14T19:01:18.444Z] DEBUG: total: 0.2199999988079071 [2023-11-14T19:01:18.444Z] INFO: Retrieving Stack Cost... [2023-11-14T19:01:18.704Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T19:01:19.274Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T19:01:19.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:19.629Z] ---> logs-deploy.sh [2023-11-14T19:01:19.629Z] lf-activate-venv: SKIPPING [2023-11-14T19:01:19.629Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-647/1 [2023-11-14T19:01:19.629Z] INFO: archiving workspace using pattern(s): [2023-11-14T19:01:20.568Z] Archives upload complete. [2023-11-14T19:01:20.569Z] INFO: archiving logs to Nexus