Pull request #633 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76b4d36e51d890a97be6242c12d84449f204f767+d23214095485577aeb4dab86231955f0f4cb61d9 (f75d41ed6719c4d3b364a026006959e3fb466eab) 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-ssh7478229727051766805.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4488624039411559608.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-633/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-633/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6242406965233425147.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-633/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4915223224883290520.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh4057775152893738596.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-633/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-633/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2156177822719343781.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-9170 in /w/workspace/gexfoundry_device-mqtt-go_PR-633 [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-633 # 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/633/head:refs/remotes/origin/PR-633 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d23214095485577aeb4dab86231955f0f4cb61d9 into PR head commit 76b4d36e51d890a97be6242c12d84449f204f767 Merge succeeded, producing 76b4d36e51d890a97be6242c12d84449f204f767 Checking out Revision 76b4d36e51d890a97be6242c12d84449f204f767 (PR-633) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 76b4d36e51d890a97be6242c12d84449f204f767 # 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 d23214095485577aeb4dab86231955f0f4cb61d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76b4d36e51d890a97be6242c12d84449f204f767 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-13T01:15:10.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-13T01:15:10.833Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-13T01:15:10.942Z] ========================================================= [2023-10-13T01:15:10.942Z] EdgeX Global Pipelines Version Info [2023-10-13T01:15:10.942Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:15:12.114Z] ------------------- [2023-10-13T01:15:12.115Z] stable info: [2023-10-13T01:15:12.115Z] ------------------- [2023-10-13T01:15:12.115Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-13T01:15:12.115Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-13T01:15:12.115Z] Message: update stable to v1.0.254 [2023-10-13T01:15:12.376Z] ------------------- [2023-10-13T01:15:12.376Z] experimental info: [2023-10-13T01:15:12.376Z] ------------------- [2023-10-13T01:15:12.376Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-13T01:15:12.376Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-13T01:15:12.376Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-13T01:15:12.696Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-13T01:15:12.735Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-13T01:15:12.786Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-13T01:15:12.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-13T01:15:12.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-13T01:15:12.913Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-13T01:15:12.953Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-13T01:15:12.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-13T01:15:13.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-13T01:15:13.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-13T01:15:13.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-13T01:15:13.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-13T01:15:13.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-13T01:15:13.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-13T01:15:13.275Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-13T01:15:13.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-13T01:15:13.353Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-13T01:15:13.397Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-13T01:15:13.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-13T01:15:13.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-13T01:15:13.524Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-13T01:15:13.566Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-13T01:15:13.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-13T01:15:13.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-13T01:15:13.705Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-13T01:15:13.744Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-13T01:15:13.785Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-13T01:15:13.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-633 [Pipeline] echo [2023-10-13T01:15:13.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-633 [Pipeline] echo [2023-10-13T01:15:13.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-633 [Pipeline] echo [2023-10-13T01:15:13.942Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76b4d36e51d890a97be6242c12d84449f204f767 [Pipeline] echo [2023-10-13T01:15:13.982Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76b4d36 [Pipeline] echo [2023-10-13T01:15:14.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T01:15:14.129Z] provisioning config files... [2023-10-13T01:15:14.162Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/config2177403079815246883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:15:14.496Z] ---> docker-login.sh [2023-10-13T01:15:14.497Z] nexus3.edgexfoundry.org:10001 [2023-10-13T01:15:14.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:14.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:14.757Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:14.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:14.757Z] [2023-10-13T01:15:14.757Z] Login Succeeded [2023-10-13T01:15:14.757Z] nexus3.edgexfoundry.org:10002 [2023-10-13T01:15:15.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:15.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:15.018Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:15.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:15.018Z] [2023-10-13T01:15:15.018Z] Login Succeeded [2023-10-13T01:15:15.018Z] nexus3.edgexfoundry.org:10003 [2023-10-13T01:15:15.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:15.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:15.018Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:15.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:15.018Z] [2023-10-13T01:15:15.018Z] Login Succeeded [2023-10-13T01:15:15.018Z] nexus3.edgexfoundry.org:10004 [2023-10-13T01:15:15.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:15.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:15.281Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:15.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:15.281Z] [2023-10-13T01:15:15.281Z] Login Succeeded [2023-10-13T01:15:15.281Z] docker.io [2023-10-13T01:15:15.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:15.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:15.540Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:15.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:15.540Z] [2023-10-13T01:15:15.540Z] Login Succeeded [2023-10-13T01:15:15.540Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T01:15:15.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-13T01:15:16.211Z] + git rev-list -1 --merges 76b4d36e51d890a97be6242c12d84449f204f767~1..76b4d36e51d890a97be6242c12d84449f204f767 [Pipeline] echo [2023-10-13T01:15:16.272Z] -----------> git rev-list -1 --merges 76b4d36e51d890a97be6242c12d84449f204f767~1..76b4d36e51d890a97be6242c12d84449f204f767 76b4d36e51d890a97be6242c12d84449f204f767 [false] [Pipeline] sh [2023-10-13T01:15:16.580Z] + git log --format=format:%s -1 76b4d36e51d890a97be6242c12d84449f204f767 [Pipeline] echo [2023-10-13T01:15:16.615Z] ========================================================= [2023-10-13T01:15:16.615Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-13T01:15:16.615Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T01:15:17.057Z] + git log --format=format:%s -1 76b4d36e51d890a97be6242c12d84449f204f767 [Pipeline] echo [2023-10-13T01:15:17.089Z] [semverPrep] GIT_COMMIT: 76b4d36e51d890a97be6242c12d84449f204f767, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-13T01:15:17.121Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-13T01:15:17.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-13T01:15:17.526Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-13T01:15:17.526Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-13T01:15:17.526Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-13T01:15:17.526Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-13T01:15:17.526Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-13T01:15:17.526Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:15:18.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T01:15:18.032Z] [2023-10-13T01:15:18.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:15:18.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T01:15:18.406Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-13T01:15:18.406Z] b85a868b505f: Pulling fs layer [2023-10-13T01:15:18.406Z] e2be974225ed: Pulling fs layer [2023-10-13T01:15:18.406Z] 339a4e72a1f5: Pulling fs layer [2023-10-13T01:15:18.406Z] 988bab9f4d93: Pulling fs layer [2023-10-13T01:15:18.406Z] 1469e6f7b9e6: Pulling fs layer [2023-10-13T01:15:18.406Z] eaf3925da568: Pulling fs layer [2023-10-13T01:15:18.406Z] bab4dde63d76: Pulling fs layer [2023-10-13T01:15:18.406Z] bde34c3a00c8: Pulling fs layer [2023-10-13T01:15:18.406Z] b352a97aabf1: Pulling fs layer [2023-10-13T01:15:18.406Z] 4872d77fe225: Pulling fs layer [2023-10-13T01:15:18.406Z] 5851b861e8e6: Pulling fs layer [2023-10-13T01:15:18.406Z] 988bab9f4d93: Waiting [2023-10-13T01:15:18.406Z] eaf3925da568: Waiting [2023-10-13T01:15:18.406Z] bab4dde63d76: Waiting [2023-10-13T01:15:18.406Z] 1469e6f7b9e6: Waiting [2023-10-13T01:15:18.406Z] bde34c3a00c8: Waiting [2023-10-13T01:15:18.406Z] 4872d77fe225: Waiting [2023-10-13T01:15:18.406Z] b352a97aabf1: Waiting [2023-10-13T01:15:18.406Z] 5851b861e8e6: Waiting [2023-10-13T01:15:18.406Z] e2be974225ed: Download complete [2023-10-13T01:15:18.406Z] 988bab9f4d93: Verifying Checksum [2023-10-13T01:15:18.406Z] 988bab9f4d93: Download complete [2023-10-13T01:15:18.669Z] 1469e6f7b9e6: Verifying Checksum [2023-10-13T01:15:18.669Z] 1469e6f7b9e6: Download complete [2023-10-13T01:15:18.669Z] eaf3925da568: Verifying Checksum [2023-10-13T01:15:18.669Z] eaf3925da568: Download complete [2023-10-13T01:15:18.669Z] 339a4e72a1f5: Verifying Checksum [2023-10-13T01:15:18.669Z] 339a4e72a1f5: Download complete [2023-10-13T01:15:18.669Z] bde34c3a00c8: Download complete [2023-10-13T01:15:18.669Z] b352a97aabf1: Verifying Checksum [2023-10-13T01:15:18.669Z] b352a97aabf1: Download complete [2023-10-13T01:15:18.669Z] 4872d77fe225: Verifying Checksum [2023-10-13T01:15:18.669Z] 4872d77fe225: Download complete [2023-10-13T01:15:18.669Z] 5851b861e8e6: Verifying Checksum [2023-10-13T01:15:18.669Z] 5851b861e8e6: Download complete [2023-10-13T01:15:18.669Z] b85a868b505f: Verifying Checksum [2023-10-13T01:15:18.669Z] b85a868b505f: Download complete [2023-10-13T01:15:18.929Z] bab4dde63d76: Download complete [2023-10-13T01:15:19.865Z] b85a868b505f: Pull complete [2023-10-13T01:15:20.124Z] e2be974225ed: Pull complete [2023-10-13T01:15:20.382Z] 339a4e72a1f5: Pull complete [2023-10-13T01:15:20.641Z] 988bab9f4d93: Pull complete [2023-10-13T01:15:20.901Z] 1469e6f7b9e6: Pull complete [2023-10-13T01:15:20.901Z] eaf3925da568: Pull complete [2023-10-13T01:15:22.810Z] bab4dde63d76: Pull complete [2023-10-13T01:15:22.810Z] bde34c3a00c8: Pull complete [2023-10-13T01:15:23.070Z] b352a97aabf1: Pull complete [2023-10-13T01:15:23.070Z] 4872d77fe225: Pull complete [2023-10-13T01:15:23.070Z] 5851b861e8e6: Pull complete [2023-10-13T01:15:23.070Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-13T01:15:23.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-13T01:15:23.070Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:15:23.307Z] prd-ubuntu20.04-docker-8c-8g-9170 does not seem to be running inside a container [2023-10-13T01:15:23.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-633 -v /w/workspace/gexfoundry_device-mqtt-go_PR-633:/w/workspace/gexfoundry_device-mqtt-go_PR-633:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-633@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-13T01:15:26.656Z] $ docker top ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 -eo pid,comm [2023-10-13T01:15:26.726Z] 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-10-13T01:15:26.726Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-13T01:15:26.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T01:15:26.855Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T01:15:26.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T01:15:26.981Z] $ docker exec ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 ssh-agent [2023-10-13T01:15:27.089Z] SSH_AUTH_SOCK=/tmp/ssh-fLGGnmoQg84i/agent.32 [2023-10-13T01:15:27.089Z] SSH_AGENT_PID=38 [2023-10-13T01:15:27.095Z] Running ssh-add (command line suppressed) [2023-10-13T01:15:27.195Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/private_key_15207009344893340388.key (/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/private_key_15207009344893340388.key) [2023-10-13T01:15:27.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T01:15:27.544Z] + git tag --points-at HEAD [Pipeline] } [2023-10-13T01:15:27.572Z] $ docker exec --env ******** --env ******** ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 ssh-agent -k [2023-10-13T01:15:27.674Z] unset SSH_AUTH_SOCK; [2023-10-13T01:15:27.675Z] unset SSH_AGENT_PID; [2023-10-13T01:15:27.675Z] echo Agent pid 38 killed; [2023-10-13T01:15:27.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-13T01:15:27.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-13T01:15:27.783Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-13T01:15:27.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-13T01:15:27.892Z] $ docker exec ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 ssh-agent [2023-10-13T01:15:28.003Z] SSH_AUTH_SOCK=/tmp/ssh-9Un44btfCxaD/agent.70 [2023-10-13T01:15:28.003Z] SSH_AGENT_PID=76 [2023-10-13T01:15:28.008Z] Running ssh-add (command line suppressed) [2023-10-13T01:15:28.122Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/private_key_9383981549209342135.key (/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/private_key_9383981549209342135.key) [2023-10-13T01:15:28.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-13T01:15:28.468Z] + git semver init [2023-10-13T01:15:28.728Z] 2023-10-13 01:15:28,651 [run_init] DEBUG init version:0.0.0 force:False [2023-10-13T01:15:28.728Z] 2023-10-13 01:15:28,651 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver [2023-10-13T01:15:28.729Z] 2023-10-13 01:15:28,652 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver [2023-10-13T01:15:28.729Z] 2023-10-13 01:15:28,652 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-633, universal_newlines=False, shell=None, istream=None) [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,527 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-633/.git/info/exclude [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,527 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver/PR-633 with force:False [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,527 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver/PR-633 [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,532 [execute] INFO git cat-file --batch-check [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,539 [execute] INFO git cat-file --batch [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver, universal_newlines=False, shell=None, istream=) [2023-10-13T01:15:29.674Z] 2023-10-13 01:15:29,544 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-633/.semver/PR-633 [2023-10-13T01:15:29.674Z] 0.0.0 [Pipeline] } [2023-10-13T01:15:29.703Z] $ docker exec --env ******** --env ******** ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 ssh-agent -k [2023-10-13T01:15:29.797Z] unset SSH_AUTH_SOCK; [2023-10-13T01:15:29.798Z] unset SSH_AGENT_PID; [2023-10-13T01:15:29.798Z] echo Agent pid 76 killed; [2023-10-13T01:15:29.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-13T01:15:30.238Z] + git semver [Pipeline] } [2023-10-13T01:15:30.528Z] $ docker stop --time=1 ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 [2023-10-13T01:15:31.869Z] $ docker rm -f --volumes ff38f3bc2dfd1264dd8d9f7b0ba4fd6821a54fdfcf59629c8136645b693b3f68 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T01:15:32.290Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-13T01:15:32.564Z] Stashed 1 file(s) [Pipeline] echo [2023-10-13T01:15:32.581Z] [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-10-13T01:15:33.177Z] provisioning config files... [2023-10-13T01:15:33.187Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/config3507847088370048132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:15:33.540Z] ---> docker-login.sh [2023-10-13T01:15:33.540Z] nexus3.edgexfoundry.org:10001 [2023-10-13T01:15:33.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:33.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:33.540Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:33.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:33.540Z] [2023-10-13T01:15:33.540Z] Login Succeeded [2023-10-13T01:15:33.540Z] nexus3.edgexfoundry.org:10002 [2023-10-13T01:15:33.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:33.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:33.540Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:33.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:33.540Z] [2023-10-13T01:15:33.540Z] Login Succeeded [2023-10-13T01:15:33.540Z] nexus3.edgexfoundry.org:10003 [2023-10-13T01:15:33.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:33.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:33.798Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:33.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:33.798Z] [2023-10-13T01:15:33.798Z] Login Succeeded [2023-10-13T01:15:33.798Z] nexus3.edgexfoundry.org:10004 [2023-10-13T01:15:33.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:33.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:33.798Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:33.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:33.798Z] [2023-10-13T01:15:33.798Z] Login Succeeded [2023-10-13T01:15:33.798Z] docker.io [2023-10-13T01:15:34.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:15:34.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:15:34.057Z] Configure a credential helper to remove this warning. See [2023-10-13T01:15:34.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:15:34.057Z] [2023-10-13T01:15:34.057Z] Login Succeeded [2023-10-13T01:15:34.057Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T01:15:34.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-13T01:15:34.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T01:15:34.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T01:15:34.366Z] ========================================================= [2023-10-13T01:15:34.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-13T01:15:34.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:15:34.847Z] + 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-10-13T01:15:34.847Z] Sending build context to Docker daemon 6.54MB [2023-10-13T01:15:34.847Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T01:15:34.847Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-13T01:15:34.847Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-13T01:15:34.847Z] 7264a8db6415: Pulling fs layer [2023-10-13T01:15:34.847Z] c4d48a809fc2: Pulling fs layer [2023-10-13T01:15:34.847Z] 4f1c88b9dad5: Pulling fs layer [2023-10-13T01:15:34.847Z] ad3a456e5733: Pulling fs layer [2023-10-13T01:15:34.847Z] 33e27b845d1e: Pulling fs layer [2023-10-13T01:15:34.847Z] c68163c4e522: Pulling fs layer [2023-10-13T01:15:34.847Z] 50da416c3ac9: Pulling fs layer [2023-10-13T01:15:34.847Z] 23d2d4c4bb30: Pulling fs layer [2023-10-13T01:15:34.847Z] ad3a456e5733: Waiting [2023-10-13T01:15:34.847Z] 33e27b845d1e: Waiting [2023-10-13T01:15:34.847Z] c68163c4e522: Waiting [2023-10-13T01:15:34.847Z] 50da416c3ac9: Waiting [2023-10-13T01:15:34.847Z] 23d2d4c4bb30: Waiting [2023-10-13T01:15:34.847Z] c4d48a809fc2: Verifying Checksum [2023-10-13T01:15:34.847Z] c4d48a809fc2: Download complete [2023-10-13T01:15:34.847Z] ad3a456e5733: Download complete [2023-10-13T01:15:35.106Z] 33e27b845d1e: Verifying Checksum [2023-10-13T01:15:35.106Z] 33e27b845d1e: Download complete [2023-10-13T01:15:35.106Z] 7264a8db6415: Verifying Checksum [2023-10-13T01:15:35.106Z] 7264a8db6415: Download complete [2023-10-13T01:15:35.106Z] c68163c4e522: Verifying Checksum [2023-10-13T01:15:35.106Z] c68163c4e522: Download complete [2023-10-13T01:15:35.106Z] 7264a8db6415: Pull complete [2023-10-13T01:15:35.106Z] 23d2d4c4bb30: Verifying Checksum [2023-10-13T01:15:35.106Z] 23d2d4c4bb30: Download complete [2023-10-13T01:15:35.364Z] c4d48a809fc2: Pull complete [2023-10-13T01:15:35.364Z] 4f1c88b9dad5: Verifying Checksum [2023-10-13T01:15:35.364Z] 4f1c88b9dad5: Download complete [2023-10-13T01:15:35.929Z] 50da416c3ac9: Verifying Checksum [2023-10-13T01:15:35.929Z] 50da416c3ac9: Download complete [2023-10-13T01:15:38.455Z] 4f1c88b9dad5: Pull complete [2023-10-13T01:15:38.455Z] ad3a456e5733: Pull complete [2023-10-13T01:15:38.713Z] 33e27b845d1e: Pull complete [2023-10-13T01:15:38.713Z] c68163c4e522: Pull complete [2023-10-13T01:15:41.247Z] 50da416c3ac9: Pull complete [2023-10-13T01:15:41.508Z] 23d2d4c4bb30: Pull complete [2023-10-13T01:15:41.508Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-13T01:15:41.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-13T01:15:41.508Z] ---> 0786185ac409 [2023-10-13T01:15:41.508Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-13T01:15:47.011Z] ---> Running in 36935696cdec [2023-10-13T01:15:47.011Z] Removing intermediate container 36935696cdec [2023-10-13T01:15:47.011Z] ---> 31288a495b45 [2023-10-13T01:15:47.011Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T01:15:47.011Z] ---> Running in 735f3dc8aca8 [2023-10-13T01:15:47.011Z] Removing intermediate container 735f3dc8aca8 [2023-10-13T01:15:47.011Z] ---> eb8a1ae55867 [2023-10-13T01:15:47.011Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T01:15:47.011Z] ---> Running in 470836ae7a3c [2023-10-13T01:15:47.011Z] Removing intermediate container 470836ae7a3c [2023-10-13T01:15:47.011Z] ---> b5caf22d1aab [2023-10-13T01:15:47.011Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T01:15:47.011Z] ---> Running in ae739e7762e6 [2023-10-13T01:15:47.011Z] Removing intermediate container ae739e7762e6 [2023-10-13T01:15:47.011Z] ---> b65a4757c93b [2023-10-13T01:15:47.011Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T01:15:47.011Z] ---> Running in 094130644fbe [2023-10-13T01:15:47.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T01:15:47.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T01:15:47.789Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-13T01:15:47.789Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-13T01:15:47.789Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-13T01:15:47.789Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-13T01:15:47.789Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T01:15:47.789Z] OK: 268 MiB in 56 packages [2023-10-13T01:15:47.998Z] Still waiting to schedule task [2023-10-13T01:15:47.999Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9166’ [2023-10-13T01:15:48.739Z] Removing intermediate container 094130644fbe [2023-10-13T01:15:48.739Z] ---> 02456606c929 [2023-10-13T01:15:48.739Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-13T01:15:48.739Z] ---> Running in c30d2ea1af39 [2023-10-13T01:15:48.739Z] Removing intermediate container c30d2ea1af39 [2023-10-13T01:15:48.739Z] ---> 48f6385ab3b9 [2023-10-13T01:15:48.739Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-13T01:15:48.739Z] ---> 10f7f4b8f2cf [2023-10-13T01:15:48.739Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T01:15:48.739Z] ---> Running in 714c5a13002f [2023-10-13T01:17:10.268Z] Removing intermediate container 714c5a13002f [2023-10-13T01:17:10.268Z] ---> 81d75bb39488 [2023-10-13T01:17:10.268Z] Step 11/12 : COPY . . [2023-10-13T01:17:10.268Z] ---> 64cddbd9e349 [2023-10-13T01:17:10.268Z] Step 12/12 : RUN $MAKE [2023-10-13T01:17:10.268Z] ---> Running in e90d6baf4e41 [2023-10-13T01:17:10.268Z] noop [2023-10-13T01:17:10.268Z] Removing intermediate container e90d6baf4e41 [2023-10-13T01:17:10.268Z] ---> f5926bdaecfd [2023-10-13T01:17:10.268Z] Successfully built f5926bdaecfd [2023-10-13T01:17:10.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:17:10.707Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-13T01:17:10.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:17:10.848Z] prd-ubuntu20.04-docker-8c-8g-9170 does not seem to be running inside a container [2023-10-13T01:17:10.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-633 -v /w/workspace/gexfoundry_device-mqtt-go_PR-633:/w/workspace/gexfoundry_device-mqtt-go_PR-633:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-13T01:17:11.284Z] $ docker top 747d1ef6b82cf4ac7bc710efedff89d982b369ccbfea43a52c0e2a5c0051f383 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T01:17:11.681Z] + go version [2023-10-13T01:17:11.681Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-13T01:17:11.715Z] $ docker stop --time=1 747d1ef6b82cf4ac7bc710efedff89d982b369ccbfea43a52c0e2a5c0051f383 [2023-10-13T01:17:13.084Z] $ docker rm -f --volumes 747d1ef6b82cf4ac7bc710efedff89d982b369ccbfea43a52c0e2a5c0051f383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:17:13.816Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-13T01:17:13.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:17:13.961Z] prd-ubuntu20.04-docker-8c-8g-9170 does not seem to be running inside a container [2023-10-13T01:17:13.997Z] $ 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-633 -v /w/workspace/gexfoundry_device-mqtt-go_PR-633:/w/workspace/gexfoundry_device-mqtt-go_PR-633:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-13T01:17:14.456Z] $ docker top 3d177f49891141836ed345bbecb5c1e0e7ac9555aa5a993286245515fd1fea90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T01:17:14.851Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-633 [Pipeline] fileExists [Pipeline] sh [2023-10-13T01:17:15.231Z] + make test [2023-10-13T01:17:15.231Z] go test ./... -coverprofile=coverage.out ./... [2023-10-13T01:17:17.766Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-13T01:17:27.882Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-13T01:17:27.882Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-13T01:17:27.882Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2023-10-13T01:17:33.145Z] go vet ./... [2023-10-13T01:17:36.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-13T01:17:36.580Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-13T01:17:36.580Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-13T01:17:36.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-13T01:17:36.658Z] $ docker stop --time=1 3d177f49891141836ed345bbecb5c1e0e7ac9555aa5a993286245515fd1fea90 [2023-10-13T01:17:41.038Z] $ docker rm -f --volumes 3d177f49891141836ed345bbecb5c1e0e7ac9555aa5a993286245515fd1fea90 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T01:17:41.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-13T01:17:41.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-13T01:17:42.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-13T01:17:42.653Z] + ls -al . [2023-10-13T01:17:42.654Z] total 188 [2023-10-13T01:17:42.654Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 01:17 . [2023-10-13T01:17:42.654Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 01:15 .. [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 01:15 .dockerignore [2023-10-13T01:17:42.654Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 01:17 .git [2023-10-13T01:17:42.654Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:15 .github [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 01:15 .gitignore [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 01:15 .golangci.yml [2023-10-13T01:17:42.654Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 01:15 .semver [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 13 01:15 Attribution.txt [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 13 01:15 CHANGELOG.md [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 13 01:15 Dockerfile [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 01:15 GOVERNANCE.md [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 13 01:15 Jenkinsfile [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 01:15 LICENSE [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 13 01:15 Makefile [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 01:15 OWNERS.md [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 3695 Oct 13 01:15 README.md [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 01:15 VERSION [2023-10-13T01:17:42.654Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 01:15 bin [2023-10-13T01:17:42.654Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:15 cmd [2023-10-13T01:17:42.654Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 13 01:17 coverage.out [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 13 01:15 go.mod [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 01:15 go.sum [2023-10-13T01:17:42.654Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:15 internal [2023-10-13T01:17:42.654Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 01:15 mock [2023-10-13T01:17:42.654Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 01:15 snap [2023-10-13T01:17:42.654Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 13 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:17:43.080Z] + 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=76b4d36e51d890a97be6242c12d84449f204f767 --label arch=amd64 --label version=0.0.0 . [2023-10-13T01:17:43.080Z] Sending build context to Docker daemon 6.56MB [2023-10-13T01:17:43.080Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T01:17:43.080Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-13T01:17:43.080Z] ---> f5926bdaecfd [2023-10-13T01:17:43.080Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-13T01:17:43.339Z] ---> Running in bff6c2bf590d [2023-10-13T01:17:43.339Z] Removing intermediate container bff6c2bf590d [2023-10-13T01:17:43.339Z] ---> c03fcd8fda47 [2023-10-13T01:17:43.339Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T01:17:43.339Z] ---> Running in 2ddfa7fabe8f [2023-10-13T01:17:43.339Z] Removing intermediate container 2ddfa7fabe8f [2023-10-13T01:17:43.339Z] ---> c3aabcd6d4c0 [2023-10-13T01:17:43.339Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T01:17:43.597Z] ---> Running in e9cf4a901799 [2023-10-13T01:17:43.597Z] Removing intermediate container e9cf4a901799 [2023-10-13T01:17:43.597Z] ---> c10bb82effe4 [2023-10-13T01:17:43.597Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T01:17:43.597Z] ---> Running in 1c78b700d884 [2023-10-13T01:17:43.855Z] Removing intermediate container 1c78b700d884 [2023-10-13T01:17:43.855Z] ---> 5570c0cb9daa [2023-10-13T01:17:43.856Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T01:17:43.856Z] ---> Running in 27c3d5fcd286 [2023-10-13T01:17:44.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T01:17:44.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T01:17:44.635Z] OK: 268 MiB in 56 packages [2023-10-13T01:17:44.893Z] Removing intermediate container 27c3d5fcd286 [2023-10-13T01:17:44.893Z] ---> 516510602d8d [2023-10-13T01:17:44.893Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-13T01:17:44.893Z] ---> Running in 1b0e9f0474fc [2023-10-13T01:17:45.152Z] Removing intermediate container 1b0e9f0474fc [2023-10-13T01:17:45.152Z] ---> 58a6521b3346 [2023-10-13T01:17:45.152Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-13T01:17:45.152Z] ---> 0f66626c3225 [2023-10-13T01:17:45.152Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T01:17:45.410Z] ---> Running in 62f18d80d9b1 [2023-10-13T01:17:45.976Z] Removing intermediate container 62f18d80d9b1 [2023-10-13T01:17:45.976Z] ---> 77dbd71e9d36 [2023-10-13T01:17:45.976Z] Step 11/24 : COPY . . [2023-10-13T01:17:46.545Z] ---> bf53112e0ac0 [2023-10-13T01:17:46.545Z] Step 12/24 : RUN $MAKE [2023-10-13T01:17:46.545Z] ---> Running in 82ada1743c3a [2023-10-13T01:17:46.804Z] 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-dev.34" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-13T01:18:08.766Z] Removing intermediate container 82ada1743c3a [2023-10-13T01:18:08.766Z] ---> 266ea7014fd8 [2023-10-13T01:18:08.766Z] Step 13/24 : FROM alpine:3.18 [2023-10-13T01:18:08.766Z] 3.18: Pulling from library/alpine [2023-10-13T01:18:08.766Z] 96526aa774ef: Pulling fs layer [2023-10-13T01:18:08.766Z] 96526aa774ef: Verifying Checksum [2023-10-13T01:18:08.766Z] 96526aa774ef: Download complete [2023-10-13T01:18:08.766Z] 96526aa774ef: Pull complete [2023-10-13T01:18:08.766Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-13T01:18:08.766Z] Status: Downloaded newer image for alpine:3.18 [2023-10-13T01:18:08.766Z] ---> 8ca4688f4f35 [2023-10-13T01:18:08.766Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-13T01:18:08.766Z] ---> Running in 01bc7149bb6c [2023-10-13T01:18:08.766Z] Removing intermediate container 01bc7149bb6c [2023-10-13T01:18:08.766Z] ---> 614a74fbd9a8 [2023-10-13T01:18:08.766Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-13T01:18:08.766Z] ---> Running in 6ccd3a154c82 [2023-10-13T01:18:08.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-13T01:18:08.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-13T01:18:09.025Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-13T01:18:09.025Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T01:18:09.025Z] OK: 7 MiB in 16 packages [2023-10-13T01:18:09.592Z] Removing intermediate container 6ccd3a154c82 [2023-10-13T01:18:09.592Z] ---> 21748d61cb10 [2023-10-13T01:18:09.592Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-13T01:18:10.976Z] ---> 073f00b29e25 [2023-10-13T01:18:10.976Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-13T01:18:10.976Z] ---> 261a527c1675 [2023-10-13T01:18:10.976Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-13T01:18:10.976Z] ---> f156464ca86d [2023-10-13T01:18:10.976Z] Step 19/24 : EXPOSE 59982 [2023-10-13T01:18:10.976Z] ---> Running in dcb23cb19ea6 [2023-10-13T01:18:10.976Z] Removing intermediate container dcb23cb19ea6 [2023-10-13T01:18:10.976Z] ---> 7ef26f800d48 [2023-10-13T01:18:10.976Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-13T01:18:10.976Z] ---> Running in b694231c8f53 [2023-10-13T01:18:11.234Z] Removing intermediate container b694231c8f53 [2023-10-13T01:18:11.234Z] ---> 229c5abdf8d3 [2023-10-13T01:18:11.234Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-13T01:18:11.234Z] ---> Running in 49e91a5b942a [2023-10-13T01:18:11.234Z] Removing intermediate container 49e91a5b942a [2023-10-13T01:18:11.234Z] ---> 69518de74241 [2023-10-13T01:18:11.234Z] Step 22/24 : LABEL arch=amd64 [2023-10-13T01:18:11.234Z] ---> Running in 6d76d36e05db [2023-10-13T01:18:11.234Z] Removing intermediate container 6d76d36e05db [2023-10-13T01:18:11.234Z] ---> 6743d49aa69d [2023-10-13T01:18:11.234Z] Step 23/24 : LABEL git_sha=76b4d36e51d890a97be6242c12d84449f204f767 [2023-10-13T01:18:11.234Z] ---> Running in ee1cffab111d [2023-10-13T01:18:11.492Z] Removing intermediate container ee1cffab111d [2023-10-13T01:18:11.493Z] ---> f359e6b3962a [2023-10-13T01:18:11.493Z] Step 24/24 : LABEL version=0.0.0 [2023-10-13T01:18:11.493Z] ---> Running in 288895344b3c [2023-10-13T01:18:11.493Z] Removing intermediate container 288895344b3c [2023-10-13T01:18:11.493Z] ---> 9fa000e656d8 [2023-10-13T01:18:11.493Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-13T01:18:11.493Z] Successfully built 9fa000e656d8 [2023-10-13T01:18:11.493Z] 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-10-13T01:18:12.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T01:18:12.380Z] [2023-10-13T01:18:12.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:18:12.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T01:18:12.761Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-13T01:18:12.761Z] 5eb5b503b376: Pulling fs layer [2023-10-13T01:18:12.761Z] 5c69ac0246d0: Pulling fs layer [2023-10-13T01:18:12.761Z] ec43610c2a17: Pulling fs layer [2023-10-13T01:18:12.761Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-13T01:18:12.761Z] 33b1e0a273af: Pulling fs layer [2023-10-13T01:18:12.761Z] 5d3b04190fa2: Pulling fs layer [2023-10-13T01:18:12.761Z] 2f39f015ded8: Pulling fs layer [2023-10-13T01:18:12.761Z] 3a2ae6a8a46f: Waiting [2023-10-13T01:18:12.761Z] 33b1e0a273af: Waiting [2023-10-13T01:18:12.761Z] 5d3b04190fa2: Waiting [2023-10-13T01:18:12.761Z] 2f39f015ded8: Waiting [2023-10-13T01:18:12.761Z] 5c69ac0246d0: Verifying Checksum [2023-10-13T01:18:12.761Z] 5c69ac0246d0: Download complete [2023-10-13T01:18:12.761Z] 3a2ae6a8a46f: Download complete [2023-10-13T01:18:12.761Z] 33b1e0a273af: Verifying Checksum [2023-10-13T01:18:12.761Z] 33b1e0a273af: Download complete [2023-10-13T01:18:12.761Z] ec43610c2a17: Verifying Checksum [2023-10-13T01:18:12.761Z] ec43610c2a17: Download complete [2023-10-13T01:18:12.761Z] 5d3b04190fa2: Verifying Checksum [2023-10-13T01:18:12.761Z] 5d3b04190fa2: Download complete [2023-10-13T01:18:13.021Z] 5eb5b503b376: Verifying Checksum [2023-10-13T01:18:13.021Z] 5eb5b503b376: Download complete [2023-10-13T01:18:13.589Z] 2f39f015ded8: Verifying Checksum [2023-10-13T01:18:13.589Z] 2f39f015ded8: Download complete [2023-10-13T01:18:14.155Z] 5eb5b503b376: Pull complete [2023-10-13T01:18:14.413Z] 5c69ac0246d0: Pull complete [2023-10-13T01:18:14.979Z] ec43610c2a17: Pull complete [2023-10-13T01:18:14.979Z] 3a2ae6a8a46f: Pull complete [2023-10-13T01:18:15.237Z] 33b1e0a273af: Pull complete [2023-10-13T01:18:15.237Z] 5d3b04190fa2: Pull complete [2023-10-13T01:18:20.593Z] 2f39f015ded8: Pull complete [2023-10-13T01:18:20.593Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-13T01:18:20.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T01:18:20.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:18:20.807Z] prd-ubuntu20.04-docker-8c-8g-9170 does not seem to be running inside a container [2023-10-13T01:18:20.833Z] $ 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-633 -v /w/workspace/gexfoundry_device-mqtt-go_PR-633:/w/workspace/gexfoundry_device-mqtt-go_PR-633:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-13T01:18:28.608Z] $ docker top d8527e97ed347290161b205d64a14078e8b5c9fd51728e3de4e393167e9e79e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:18:29.082Z] ---> job-cost.sh [2023-10-13T01:18:29.082Z] lf-activate-venv: SKIPPING [2023-10-13T01:18:29.082Z] INFO: No Stack... [2023-10-13T01:18:29.342Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-13T01:18:29.600Z] INFO: Archiving Costs [Pipeline] sh [2023-10-13T01:18:29.921Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives/cost.csv [2023-10-13T01:18:29.921Z] + cut -d, -f6 [Pipeline] lock [2023-10-13T01:18:29.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] [2023-10-13T01:18:29.964Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] did not exist. Created. [2023-10-13T01:18:29.964Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T01:18:30.365Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-13T01:18:30.414Z] Stashed 1 file(s) [Pipeline] } [2023-10-13T01:18:30.441Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-13T01:18:30.511Z] $ docker stop --time=1 d8527e97ed347290161b205d64a14078e8b5c9fd51728e3de4e393167e9e79e4 [2023-10-13T01:18:31.711Z] $ docker rm -f --volumes d8527e97ed347290161b205d64a14078e8b5c9fd51728e3de4e393167e9e79e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-13T01:19:26.010Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9171 in /w/workspace/gexfoundry_device-mqtt-go_PR-633 [Pipeline] { [Pipeline] ws [2023-10-13T01:19:26.066Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-10-13T01:19:26.147Z] The recommended git tool is: git [2023-10-13T01:19:31.373Z] using credential edgex-jenkins-ssh [2023-10-13T01:19:31.390Z] Cloning the remote Git repository [2023-10-13T01:19:31.442Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-13T01:19:31.543Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-10-13T01:19:31.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-13T01:19:31.709Z] > git --version # timeout=10 [2023-10-13T01:19:31.737Z] > git --version # 'git version 2.25.1' [2023-10-13T01:19:31.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-13T01:19:31.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-13T01:19:33.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-13T01:19:33.178Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-13T01:19:34.684Z] Merging remotes/origin/main commit d23214095485577aeb4dab86231955f0f4cb61d9 into PR head commit 76b4d36e51d890a97be6242c12d84449f204f767 [2023-10-13T01:19:34.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-13T01:19:34.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-13T01:19:34.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-13T01:19:34.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/633/head:refs/remotes/origin/PR-633 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-13T01:19:34.717Z] > git config core.sparsecheckout # timeout=10 [2023-10-13T01:19:34.803Z] > git checkout -f 76b4d36e51d890a97be6242c12d84449f204f767 # timeout=10 [2023-10-13T01:19:34.884Z] > git remote # timeout=10 [2023-10-13T01:19:34.904Z] > git config --get remote.origin.url # timeout=10 [2023-10-13T01:19:34.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-13T01:19:34.933Z] > git merge d23214095485577aeb4dab86231955f0f4cb61d9 # timeout=10 [2023-10-13T01:19:34.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-13T01:19:34.972Z] Merge succeeded, producing 76b4d36e51d890a97be6242c12d84449f204f767 [2023-10-13T01:19:34.973Z] Checking out Revision 76b4d36e51d890a97be6242c12d84449f204f767 (PR-633) [2023-10-13T01:19:35.461Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-13T01:19:35.513Z] > git --version # timeout=10 [2023-10-13T01:19:35.524Z] > git --version # 'git version 2.25.1' [2023-10-13T01:19:35.546Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-10-13T01:19:34.983Z] > git config core.sparsecheckout # timeout=10 [2023-10-13T01:19:34.996Z] > git checkout -f 76b4d36e51d890a97be6242c12d84449f204f767 # timeout=10 [Pipeline] sh [2023-10-13T01:19:36.881Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-13T01:19:36.881Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T01:19:36.881Z] Dload Upload Total Spent Left Speed [2023-10-13T01:19:36.881Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-10-13T01:19:37.574Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-13T01:19:37.916Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-13T01:19:37.916Z] + sudo tee /etc/docker/daemon.new [2023-10-13T01:19:37.916Z] { [2023-10-13T01:19:37.916Z] "registry-mirrors": [ [2023-10-13T01:19:37.916Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-13T01:19:37.916Z] ], [2023-10-13T01:19:37.916Z] "bip": "10.250.0.254/24", [2023-10-13T01:19:37.916Z] "hosts": [ [2023-10-13T01:19:37.916Z] "tcp://0.0.0.0:5555", [2023-10-13T01:19:37.916Z] "unix:///var/run/docker.sock" [2023-10-13T01:19:37.916Z] ], [2023-10-13T01:19:37.916Z] "mtu": 1458, [2023-10-13T01:19:37.916Z] "selinux-enabled": true, [2023-10-13T01:19:37.916Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-13T01:19:37.916Z] } [Pipeline] sh [2023-10-13T01:19:38.265Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-13T01:19:38.612Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T01:19:56.910Z] provisioning config files... [2023-10-13T01:19:56.938Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16035230097627588429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:19:57.327Z] ---> docker-login.sh [2023-10-13T01:19:57.327Z] nexus3.edgexfoundry.org:10001 [2023-10-13T01:19:57.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:19:57.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:19:57.868Z] Configure a credential helper to remove this warning. See [2023-10-13T01:19:57.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:19:57.868Z] [2023-10-13T01:19:57.868Z] Login Succeeded [2023-10-13T01:19:57.868Z] nexus3.edgexfoundry.org:10002 [2023-10-13T01:19:58.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:19:58.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:19:58.408Z] Configure a credential helper to remove this warning. See [2023-10-13T01:19:58.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:19:58.408Z] [2023-10-13T01:19:58.408Z] Login Succeeded [2023-10-13T01:19:58.408Z] nexus3.edgexfoundry.org:10003 [2023-10-13T01:19:58.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:19:58.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:19:58.682Z] Configure a credential helper to remove this warning. See [2023-10-13T01:19:58.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:19:58.682Z] [2023-10-13T01:19:58.682Z] Login Succeeded [2023-10-13T01:19:58.682Z] nexus3.edgexfoundry.org:10004 [2023-10-13T01:19:58.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:19:58.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:19:58.957Z] Configure a credential helper to remove this warning. See [2023-10-13T01:19:58.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:19:58.957Z] [2023-10-13T01:19:58.957Z] Login Succeeded [2023-10-13T01:19:58.957Z] docker.io [2023-10-13T01:19:59.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-13T01:19:59.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-13T01:19:59.492Z] Configure a credential helper to remove this warning. See [2023-10-13T01:19:59.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-13T01:19:59.492Z] [2023-10-13T01:19:59.492Z] Login Succeeded [2023-10-13T01:19:59.492Z] ---> docker-login.sh ends [Pipeline] } [2023-10-13T01:19:59.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-13T01:19:59.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T01:19:59.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-13T01:19:59.985Z] ========================================================= [2023-10-13T01:19:59.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-13T01:19:59.985Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:20:00.506Z] + 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-10-13T01:20:00.774Z] Sending build context to Docker daemon 3.375MB [2023-10-13T01:20:00.774Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T01:20:00.774Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-13T01:20:01.049Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-13T01:20:01.049Z] 9fda8d8052c6: Pulling fs layer [2023-10-13T01:20:01.049Z] 5d54e960e981: Pulling fs layer [2023-10-13T01:20:01.049Z] c4a7e357bf2a: Pulling fs layer [2023-10-13T01:20:01.049Z] f0e02332f6b5: Pulling fs layer [2023-10-13T01:20:01.049Z] cefa15bbcfad: Pulling fs layer [2023-10-13T01:20:01.049Z] 17808c966233: Pulling fs layer [2023-10-13T01:20:01.049Z] f4c1fc716caa: Pulling fs layer [2023-10-13T01:20:01.049Z] f0e02332f6b5: Waiting [2023-10-13T01:20:01.049Z] cefa15bbcfad: Waiting [2023-10-13T01:20:01.049Z] 17808c966233: Waiting [2023-10-13T01:20:01.049Z] f4c1fc716caa: Waiting [2023-10-13T01:20:01.049Z] 5d54e960e981: Verifying Checksum [2023-10-13T01:20:01.049Z] 5d54e960e981: Download complete [2023-10-13T01:20:01.049Z] f0e02332f6b5: Verifying Checksum [2023-10-13T01:20:01.049Z] f0e02332f6b5: Download complete [2023-10-13T01:20:01.049Z] cefa15bbcfad: Verifying Checksum [2023-10-13T01:20:01.049Z] cefa15bbcfad: Download complete [2023-10-13T01:20:01.049Z] 9fda8d8052c6: Download complete [2023-10-13T01:20:01.641Z] f4c1fc716caa: Verifying Checksum [2023-10-13T01:20:01.641Z] f4c1fc716caa: Download complete [2023-10-13T01:20:01.911Z] 9fda8d8052c6: Pull complete [2023-10-13T01:20:02.499Z] 5d54e960e981: Pull complete [2023-10-13T01:20:02.767Z] c4a7e357bf2a: Verifying Checksum [2023-10-13T01:20:02.767Z] c4a7e357bf2a: Download complete [2023-10-13T01:20:03.732Z] 17808c966233: Verifying Checksum [2023-10-13T01:20:03.732Z] 17808c966233: Download complete [2023-10-13T01:20:16.149Z] c4a7e357bf2a: Pull complete [2023-10-13T01:20:16.150Z] f0e02332f6b5: Pull complete [2023-10-13T01:20:16.150Z] cefa15bbcfad: Pull complete [2023-10-13T01:20:24.359Z] 17808c966233: Pull complete [2023-10-13T01:20:25.772Z] f4c1fc716caa: Pull complete [2023-10-13T01:20:25.772Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-13T01:20:25.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-13T01:20:25.772Z] ---> ea914061e18c [2023-10-13T01:20:25.772Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-13T01:20:27.734Z] ---> Running in 2bece3e03eac [2023-10-13T01:20:27.734Z] Removing intermediate container 2bece3e03eac [2023-10-13T01:20:27.734Z] ---> d6894df20aff [2023-10-13T01:20:27.734Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T01:20:27.734Z] ---> Running in f0a128a3c801 [2023-10-13T01:20:28.001Z] Removing intermediate container f0a128a3c801 [2023-10-13T01:20:28.001Z] ---> 26743bed4d19 [2023-10-13T01:20:28.001Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T01:20:28.269Z] ---> Running in 2d0afa2e0531 [2023-10-13T01:20:28.269Z] Removing intermediate container 2d0afa2e0531 [2023-10-13T01:20:28.269Z] ---> 1a169a5adbf7 [2023-10-13T01:20:28.269Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T01:20:28.535Z] ---> Running in 56bffbba40fb [2023-10-13T01:20:28.802Z] Removing intermediate container 56bffbba40fb [2023-10-13T01:20:28.802Z] ---> 7d44f03f8288 [2023-10-13T01:20:28.802Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T01:20:28.802Z] ---> Running in cc37c47c41a0 [2023-10-13T01:20:30.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T01:20:32.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T01:20:33.745Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-13T01:20:33.745Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-13T01:20:33.745Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-13T01:20:34.020Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-13T01:20:34.020Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T01:20:34.020Z] OK: 270 MiB in 56 packages [2023-10-13T01:20:35.434Z] Removing intermediate container cc37c47c41a0 [2023-10-13T01:20:35.434Z] ---> fd08df22c523 [2023-10-13T01:20:35.434Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-13T01:20:35.434Z] ---> Running in 9bef95354f06 [2023-10-13T01:20:35.434Z] Removing intermediate container 9bef95354f06 [2023-10-13T01:20:35.434Z] ---> 2f548b84410c [2023-10-13T01:20:35.434Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-13T01:20:38.043Z] ---> ee065f9ed75f [2023-10-13T01:20:38.043Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T01:20:38.323Z] ---> Running in 972a699e1875 [2023-10-13T01:22:14.955Z] Removing intermediate container 972a699e1875 [2023-10-13T01:22:14.955Z] ---> 8758ed3a319d [2023-10-13T01:22:14.955Z] Step 11/12 : COPY . . [2023-10-13T01:22:14.955Z] ---> b448f186e48e [2023-10-13T01:22:14.955Z] Step 12/12 : RUN $MAKE [2023-10-13T01:22:14.955Z] ---> Running in 936b0304cbd2 [2023-10-13T01:22:14.955Z] noop [2023-10-13T01:22:14.955Z] Removing intermediate container 936b0304cbd2 [2023-10-13T01:22:14.955Z] ---> 9cd019f7306d [2023-10-13T01:22:14.955Z] Successfully built 9cd019f7306d [2023-10-13T01:22:14.955Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:22:15.461Z] + docker inspect -f . ci-base-image-arm64 [2023-10-13T01:22:15.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:22:15.742Z] prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container [2023-10-13T01:22:15.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-13T01:22:17.077Z] $ docker top 03e1a76224fd4e4356f2682ff6ace62a4b2aab66d7c39beff7346d4e0eefa1be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T01:22:17.994Z] + go version [2023-10-13T01:22:17.994Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-13T01:22:18.034Z] $ docker stop --time=1 03e1a76224fd4e4356f2682ff6ace62a4b2aab66d7c39beff7346d4e0eefa1be [2023-10-13T01:22:19.641Z] $ docker rm -f --volumes 03e1a76224fd4e4356f2682ff6ace62a4b2aab66d7c39beff7346d4e0eefa1be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:22:20.504Z] + docker inspect -f . ci-base-image-arm64 [2023-10-13T01:22:20.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:22:20.746Z] prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container [2023-10-13T01:22:20.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-13T01:22:25.006Z] $ docker top 11e6332068381a619cc5f8520ad49d087e9be404d65012fea3e1f13fe9d71d7e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T01:22:25.928Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-13T01:22:26.634Z] + make test [2023-10-13T01:22:26.634Z] go test ./... -coverprofile=coverage.out ./... [2023-10-13T01:22:30.896Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-13T01:24:07.532Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-13T01:24:07.532Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-13T01:24:07.532Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 22.8% of statements [2023-10-13T01:24:07.532Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-13T01:24:07.532Z] go vet ./... [2023-10-13T01:24:22.656Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-13T01:24:22.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-13T01:24:22.925Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-13T01:25:17.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-13T01:25:17.104Z] $ docker stop --time=1 11e6332068381a619cc5f8520ad49d087e9be404d65012fea3e1f13fe9d71d7e [2023-10-13T01:25:21.124Z] $ docker rm -f --volumes 11e6332068381a619cc5f8520ad49d087e9be404d65012fea3e1f13fe9d71d7e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-13T01:25:22.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-13T01:25:22.320Z] Warning: overwriting stash ‘coverage-report’ [2023-10-13T01:25:22.748Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-13T01:25:23.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-13T01:25:23.691Z] + ls -al . [2023-10-13T01:25:23.691Z] total 184 [2023-10-13T01:25:23.691Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 01:22 . [2023-10-13T01:25:23.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 01:19 .. [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 01:19 .dockerignore [2023-10-13T01:25:23.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 01:19 .git [2023-10-13T01:25:23.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:19 .github [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 01:19 .gitignore [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 01:19 .golangci.yml [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 13 01:19 Attribution.txt [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 13 01:19 CHANGELOG.md [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 13 01:19 Dockerfile [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 01:19 GOVERNANCE.md [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 13 01:19 Jenkinsfile [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 01:19 LICENSE [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 13 01:19 Makefile [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 01:19 OWNERS.md [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 3695 Oct 13 01:19 README.md [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 01:15 VERSION [2023-10-13T01:25:23.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 01:19 bin [2023-10-13T01:25:23.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:19 cmd [2023-10-13T01:25:23.691Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 13 01:24 coverage.out [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 13 01:19 go.mod [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 01:19 go.sum [2023-10-13T01:25:23.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 01:19 internal [2023-10-13T01:25:23.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 01:19 mock [2023-10-13T01:25:23.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 01:19 snap [2023-10-13T01:25:23.691Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 13 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:25:24.121Z] + 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=76b4d36e51d890a97be6242c12d84449f204f767 --label arch=arm64 --label version=0.0.0 . [2023-10-13T01:25:24.387Z] Sending build context to Docker daemon 3.394MB [2023-10-13T01:25:24.387Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-13T01:25:24.387Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-13T01:25:24.387Z] ---> 9cd019f7306d [2023-10-13T01:25:24.387Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-13T01:25:24.654Z] ---> Running in 99a6fcb3d9d0 [2023-10-13T01:25:24.930Z] Removing intermediate container 99a6fcb3d9d0 [2023-10-13T01:25:24.930Z] ---> 5aacec3a5f9f [2023-10-13T01:25:24.930Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-13T01:25:24.930Z] ---> Running in 0ba933a93b89 [2023-10-13T01:25:25.197Z] Removing intermediate container 0ba933a93b89 [2023-10-13T01:25:25.197Z] ---> 83660351f6a2 [2023-10-13T01:25:25.197Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-13T01:25:25.197Z] ---> Running in 549d7613a052 [2023-10-13T01:25:25.464Z] Removing intermediate container 549d7613a052 [2023-10-13T01:25:25.464Z] ---> 1a46ad62e639 [2023-10-13T01:25:25.464Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-13T01:25:25.736Z] ---> Running in 9b199e6afe34 [2023-10-13T01:25:26.003Z] Removing intermediate container 9b199e6afe34 [2023-10-13T01:25:26.003Z] ---> 0bd0bd687f9a [2023-10-13T01:25:26.003Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-13T01:25:26.003Z] ---> Running in 5737ef3f7407 [2023-10-13T01:25:26.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T01:25:27.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T01:25:28.687Z] OK: 270 MiB in 56 packages [2023-10-13T01:25:29.703Z] Removing intermediate container 5737ef3f7407 [2023-10-13T01:25:29.703Z] ---> 7e7ed5778397 [2023-10-13T01:25:29.703Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-13T01:25:29.703Z] ---> Running in 97f60a6536f9 [2023-10-13T01:25:29.987Z] Removing intermediate container 97f60a6536f9 [2023-10-13T01:25:29.987Z] ---> e28203ff80c1 [2023-10-13T01:25:29.987Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-13T01:25:30.583Z] ---> 45e90332c355 [2023-10-13T01:25:30.583Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-13T01:25:30.855Z] ---> Running in 16daae86a480 [2023-10-13T01:25:33.499Z] Removing intermediate container 16daae86a480 [2023-10-13T01:25:33.499Z] ---> b98d5a63bbcc [2023-10-13T01:25:33.499Z] Step 11/24 : COPY . . [2023-10-13T01:25:34.086Z] ---> 61e73d71cdd6 [2023-10-13T01:25:34.086Z] Step 12/24 : RUN $MAKE [2023-10-13T01:25:34.086Z] ---> Running in 88c2394c23aa [2023-10-13T01:25:35.047Z] 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-dev.34" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-13T01:27:26.681Z] Removing intermediate container 88c2394c23aa [2023-10-13T01:27:26.681Z] ---> cc1aa6ee909d [2023-10-13T01:27:26.681Z] Step 13/24 : FROM alpine:3.18 [2023-10-13T01:27:26.681Z] 3.18: Pulling from library/alpine [2023-10-13T01:27:26.681Z] 579b34f0a95b: Pulling fs layer [2023-10-13T01:27:26.681Z] 579b34f0a95b: Verifying Checksum [2023-10-13T01:27:26.681Z] 579b34f0a95b: Download complete [2023-10-13T01:27:26.681Z] 579b34f0a95b: Pull complete [2023-10-13T01:27:26.681Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-13T01:27:26.681Z] Status: Downloaded newer image for alpine:3.18 [2023-10-13T01:27:26.681Z] ---> 3cc203321400 [2023-10-13T01:27:26.681Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-13T01:27:26.681Z] ---> Running in d208e2cdfc9d [2023-10-13T01:27:26.681Z] Removing intermediate container d208e2cdfc9d [2023-10-13T01:27:26.681Z] ---> 3c5ac7735558 [2023-10-13T01:27:26.681Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-13T01:27:26.681Z] ---> Running in dfb2c6ac09dd [2023-10-13T01:27:26.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-13T01:27:26.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-13T01:27:26.681Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-13T01:27:26.681Z] Executing busybox-1.36.1-r2.trigger [2023-10-13T01:27:26.681Z] OK: 8 MiB in 16 packages [2023-10-13T01:27:26.681Z] Removing intermediate container dfb2c6ac09dd [2023-10-13T01:27:26.681Z] ---> 7f2d2f9997d1 [2023-10-13T01:27:26.681Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-13T01:27:27.642Z] ---> ec2f78c27693 [2023-10-13T01:27:27.642Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-13T01:27:27.908Z] ---> b6882c7a78b7 [2023-10-13T01:27:27.908Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-13T01:27:28.490Z] ---> 573e580d9f9b [2023-10-13T01:27:28.490Z] Step 19/24 : EXPOSE 59982 [2023-10-13T01:27:28.490Z] ---> Running in deadfca212f3 [2023-10-13T01:27:28.755Z] Removing intermediate container deadfca212f3 [2023-10-13T01:27:28.755Z] ---> 01fc64ec0da8 [2023-10-13T01:27:28.755Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-13T01:27:28.755Z] ---> Running in 3ca942ee3058 [2023-10-13T01:27:29.020Z] Removing intermediate container 3ca942ee3058 [2023-10-13T01:27:29.020Z] ---> c336ccf8f421 [2023-10-13T01:27:29.020Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-13T01:27:29.020Z] ---> Running in cdddf8bee15d [2023-10-13T01:27:29.285Z] Removing intermediate container cdddf8bee15d [2023-10-13T01:27:29.285Z] ---> 74e225755a3b [2023-10-13T01:27:29.285Z] Step 22/24 : LABEL arch=arm64 [2023-10-13T01:27:29.550Z] ---> Running in 49b46d5cb281 [2023-10-13T01:27:29.815Z] Removing intermediate container 49b46d5cb281 [2023-10-13T01:27:29.815Z] ---> 3301b0c25206 [2023-10-13T01:27:29.815Z] Step 23/24 : LABEL git_sha=76b4d36e51d890a97be6242c12d84449f204f767 [2023-10-13T01:27:29.815Z] ---> Running in bac35a07e113 [2023-10-13T01:27:30.083Z] Removing intermediate container bac35a07e113 [2023-10-13T01:27:30.083Z] ---> 0114d1ee7715 [2023-10-13T01:27:30.083Z] Step 24/24 : LABEL version=0.0.0 [2023-10-13T01:27:30.083Z] ---> Running in 579d42436836 [2023-10-13T01:27:30.348Z] Removing intermediate container 579d42436836 [2023-10-13T01:27:30.348Z] ---> 8b88a089245d [2023-10-13T01:27:30.348Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-13T01:27:30.348Z] Successfully built 8b88a089245d [2023-10-13T01:27:30.613Z] 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-10-13T01:27:31.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T01:27:31.418Z] [2023-10-13T01:27:31.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:27:31.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T01:27:31.807Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-13T01:27:31.807Z] 8998bd30e6a1: Pulling fs layer [2023-10-13T01:27:31.807Z] 04944245beec: Pulling fs layer [2023-10-13T01:27:31.807Z] 699f458cf7ca: Pulling fs layer [2023-10-13T01:27:31.807Z] 765212b225bb: Pulling fs layer [2023-10-13T01:27:31.807Z] f23df028b6ca: Pulling fs layer [2023-10-13T01:27:31.807Z] d65c8cfc05b1: Pulling fs layer [2023-10-13T01:27:31.807Z] 2437ff75d9bd: Pulling fs layer [2023-10-13T01:27:31.807Z] f23df028b6ca: Waiting [2023-10-13T01:27:31.807Z] d65c8cfc05b1: Waiting [2023-10-13T01:27:31.807Z] 2437ff75d9bd: Waiting [2023-10-13T01:27:31.807Z] 765212b225bb: Waiting [2023-10-13T01:27:32.075Z] 04944245beec: Verifying Checksum [2023-10-13T01:27:32.075Z] 04944245beec: Download complete [2023-10-13T01:27:32.075Z] 765212b225bb: Verifying Checksum [2023-10-13T01:27:32.075Z] 765212b225bb: Download complete [2023-10-13T01:27:32.075Z] f23df028b6ca: Verifying Checksum [2023-10-13T01:27:32.075Z] f23df028b6ca: Download complete [2023-10-13T01:27:32.075Z] d65c8cfc05b1: Verifying Checksum [2023-10-13T01:27:32.075Z] d65c8cfc05b1: Download complete [2023-10-13T01:27:32.340Z] 699f458cf7ca: Verifying Checksum [2023-10-13T01:27:32.340Z] 699f458cf7ca: Download complete [2023-10-13T01:27:32.606Z] 8998bd30e6a1: Download complete [2023-10-13T01:27:35.178Z] 2437ff75d9bd: Verifying Checksum [2023-10-13T01:27:35.178Z] 2437ff75d9bd: Download complete [2023-10-13T01:27:36.579Z] 8998bd30e6a1: Pull complete [2023-10-13T01:27:37.159Z] 04944245beec: Pull complete [2023-10-13T01:27:38.562Z] 699f458cf7ca: Pull complete [2023-10-13T01:27:38.562Z] 765212b225bb: Pull complete [2023-10-13T01:27:39.519Z] f23df028b6ca: Pull complete [2023-10-13T01:27:39.519Z] d65c8cfc05b1: Pull complete [2023-10-13T01:27:54.489Z] 2437ff75d9bd: Pull complete [2023-10-13T01:27:54.489Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-13T01:27:54.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-13T01:27:54.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:27:54.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container [2023-10-13T01:27:54.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-13T01:27:57.426Z] $ docker top c03b976a146374729a6049e7d80eda4163e719cc8b3001dc14f3b8626db5ec2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:27:57.983Z] ---> job-cost.sh [2023-10-13T01:27:58.251Z] lf-activate-venv: SKIPPING [2023-10-13T01:27:58.251Z] INFO: No Stack... [2023-10-13T01:27:58.516Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-13T01:27:59.468Z] INFO: Archiving Costs [Pipeline] sh [2023-10-13T01:27:59.799Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-10-13T01:27:59.799Z] + cut -d, -f6 [Pipeline] lock [2023-10-13T01:27:59.853Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] [2023-10-13T01:27:59.859Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] did not exist. Created. [2023-10-13T01:27:59.859Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-13T01:28:00.257Z] /w/workspace/device-mqtt-go/1@tmp/durable-cb9d19cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-13T01:28:00.609Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-13T01:28:00.644Z] Warning: overwriting stash ‘stack-cost’ [2023-10-13T01:28:00.692Z] Stashed 1 file(s) [Pipeline] } [2023-10-13T01:28:00.706Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-633-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-13T01:28:00.791Z] $ docker stop --time=1 c03b976a146374729a6049e7d80eda4163e719cc8b3001dc14f3b8626db5ec2b [2023-10-13T01:28:02.254Z] $ docker rm -f --volumes c03b976a146374729a6049e7d80eda4163e719cc8b3001dc14f3b8626db5ec2b [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-10-13T01:28:03.336Z] provisioning config files... [2023-10-13T01:28:03.344Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/config411515541992709475tmp [Pipeline] { [Pipeline] sh [2023-10-13T01:28:03.708Z] + set +x [2023-10-13T01:28:03.708Z] + curl -s https://codecov.io/bash [2023-10-13T01:28:03.708Z] + bash -s -- [2023-10-13T01:28:03.708Z] [2023-10-13T01:28:03.708Z] _____ _ [2023-10-13T01:28:03.708Z] / ____| | | [2023-10-13T01:28:03.708Z] | | ___ __| | ___ ___ _____ __ [2023-10-13T01:28:03.708Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-13T01:28:03.708Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-13T01:28:03.708Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-13T01:28:03.708Z] Bash-1.0.6 [2023-10-13T01:28:03.708Z] [2023-10-13T01:28:03.708Z] [2023-10-13T01:28:03.708Z] ==> git version 2.25.1 found [2023-10-13T01:28:03.708Z] ==> 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-10-13T01:28:03.708Z] Release-Date: 2020-01-08 [2023-10-13T01:28:03.708Z] 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-10-13T01:28:03.708Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-13T01:28:03.708Z] ==> Jenkins CI detected. [2023-10-13T01:28:03.709Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-633 [2023-10-13T01:28:03.709Z] project root: . [2023-10-13T01:28:03.709Z] --> token set from env [2023-10-13T01:28:03.709Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-13T01:28:03.709Z] ==> Running gcov in . (disable via -X gcov) [2023-10-13T01:28:03.709Z] ==> Python coveragepy not found [2023-10-13T01:28:03.709Z] ==> Searching for coverage reports in: [2023-10-13T01:28:03.709Z] + . [2023-10-13T01:28:03.969Z] -> Found 1 reports [2023-10-13T01:28:03.969Z] ==> Detecting git/mercurial file structure [2023-10-13T01:28:03.969Z] ==> Reading reports [2023-10-13T01:28:03.969Z] + ./coverage.out bytes=18506 [2023-10-13T01:28:03.969Z] ==> Appending adjustments [2023-10-13T01:28:03.969Z] https://docs.codecov.io/docs/fixing-reports [2023-10-13T01:28:03.969Z] + Found adjustments [2023-10-13T01:28:03.969Z] ==> Gzipping contents [2023-10-13T01:28:03.969Z] 4.0K /tmp/codecov.ZmGLyL.gz [2023-10-13T01:28:03.969Z] ==> Uploading reports [2023-10-13T01:28:03.969Z] url: https://codecov.io [2023-10-13T01:28:03.969Z] query: branch=PR-633&commit=76b4d36e51d890a97be6242c12d84449f204f767&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=633&job=&cmd_args= [2023-10-13T01:28:03.969Z] -> Pinging Codecov [2023-10-13T01:28:03.969Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-633&commit=76b4d36e51d890a97be6242c12d84449f204f767&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=633&job=&cmd_args= [2023-10-13T01:28:04.230Z] -> Uploading to [2023-10-13T01:28:04.230Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-13/7D719EC7BBE17E464838252E33014C33/76b4d36e51d890a97be6242c12d84449f204f767/76d9f833-015e-4856-b397-b4d57b6b0483.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231013T012803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a36ef116751737cc3854aa7010e104adfd1212460200f776c4c44671eeb4075 [2023-10-13T01:28:04.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-13T01:28:04.230Z] Dload Upload Total Spent Left Speed [2023-10-13T01:28:04.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 11878 --:--:-- --:--:-- --:--:-- 11878 [2023-10-13T01:28:04.490Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/76b4d36e51d890a97be6242c12d84449f204f767 [Pipeline] } [2023-10-13T01:28:04.520Z] 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-10-13T01:28:06.438Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives ] [2023-10-13T01:28:06.438Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives [2023-10-13T01:28:06.438Z] total 16 [2023-10-13T01:28:06.438Z] drwxr-xr-x 3 root root 4096 Oct 13 01:18 . [2023-10-13T01:28:06.438Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 01:18 .. [2023-10-13T01:28:06.438Z] drwxr-xr-x 2 root root 4096 Oct 13 01:18 cost [2023-10-13T01:28:06.438Z] -rw-r--r-- 1 root root 86 Oct 13 01:18 cost.csv [2023-10-13T01:28:06.438Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives [2023-10-13T01:28:06.438Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives [2023-10-13T01:28:06.438Z] total 16 [2023-10-13T01:28:06.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 01:18 . [2023-10-13T01:28:06.438Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 01:18 .. [2023-10-13T01:28:06.438Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 01:18 cost [2023-10-13T01:28:06.438Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 13 01:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:06.768Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:07.657Z] ---> package-listing.sh [2023-10-13T01:28:07.657Z] ++ facter osfamily [2023-10-13T01:28:07.657Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-13T01:28:07.917Z] + OS_FAMILY=debian [2023-10-13T01:28:07.917Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-633 [2023-10-13T01:28:07.917Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-13T01:28:07.917Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-13T01:28:07.917Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-13T01:28:07.917Z] + PACKAGES=/tmp/packages_start.txt [2023-10-13T01:28:07.917Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-633 ']' [2023-10-13T01:28:07.917Z] + PACKAGES=/tmp/packages_end.txt [2023-10-13T01:28:07.917Z] + case "${OS_FAMILY}" in [2023-10-13T01:28:07.917Z] + dpkg -l [2023-10-13T01:28:07.917Z] + grep '^ii' [2023-10-13T01:28:07.917Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-13T01:28:07.917Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-13T01:28:07.917Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-13T01:28:07.917Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-633 ']' [2023-10-13T01:28:07.917Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives/ [2023-10-13T01:28:07.917Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-633/archives/ [Pipeline] echo [2023-10-13T01:28:07.949Z] 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-633/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-13T01:28:08.241Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-13T01:28:08.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-13T01:28:08.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-13T01:28:09.029Z] prd-ubuntu20.04-docker-8c-8g-9170 does not seem to be running inside a container [2023-10-13T01:28:09.060Z] $ 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-633/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-633 -v /w/workspace/gexfoundry_device-mqtt-go_PR-633:/w/workspace/gexfoundry_device-mqtt-go_PR-633:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-13T01:28:09.249Z] $ docker top 4e64b07325d8f2de16c77b3251276c621f2e4579f3d8c268cb75e9d2ba33a6e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-13T01:28:09.632Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-13T01:28:09.946Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-13T01:28:10.257Z] + ls /var/log/sa-host [2023-10-13T01:28:10.257Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-13T01:28:10.481Z] provisioning config files... [2023-10-13T01:28:10.490Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-633@tmp/config12540807319940552353tmp [Pipeline] { [Pipeline] echo [2023-10-13T01:28:10.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:10.850Z] ---> create-netrc.sh [Pipeline] } [2023-10-13T01:28:10.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:11.291Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-13T01:28:11.323Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:11.632Z] ---> sudo-logs.sh [2023-10-13T01:28:11.632Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-13T01:28:11.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:12.035Z] ---> job-cost.sh [2023-10-13T01:28:12.035Z] lf-activate-venv: SKIPPING [2023-10-13T01:28:12.035Z] DEBUG: total: 0.2199999988079071 [2023-10-13T01:28:12.035Z] INFO: Retrieving Stack Cost... [2023-10-13T01:28:12.602Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-13T01:28:12.861Z] INFO: Archiving Costs [Pipeline] echo [2023-10-13T01:28:12.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-13T01:28:13.210Z] ---> logs-deploy.sh [2023-10-13T01:28:13.210Z] lf-activate-venv: SKIPPING [2023-10-13T01:28:13.210Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-633/1 [2023-10-13T01:28:13.210Z] INFO: archiving workspace using pattern(s): [2023-10-13T01:28:14.146Z] Archives upload complete. [2023-10-13T01:28:14.146Z] INFO: archiving logs to Nexus