Pull request #528 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 94b69f940749067bc0513cff547016ef153353e6+61add75b1ef191377c59afa20b8ba92f4dc8af4b (1c74690d54983c5a411abe2028772bde57bfc37a) 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-ssh2799809361201052642.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6687878856657278513.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-528/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-528/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7039229521904859458.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-528/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14497168420707913417.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15559900878301011969.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-528/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-528/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6593632868291027340.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-320 in /w/workspace/gexfoundry_device-mqtt-go_PR-528 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-528 # 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 Merging remotes/origin/main commit 61add75b1ef191377c59afa20b8ba92f4dc8af4b into PR head commit 94b69f940749067bc0513cff547016ef153353e6 > 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/528/head:refs/remotes/origin/PR-528 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 94b69f940749067bc0513cff547016ef153353e6 Checking out Revision 94b69f940749067bc0513cff547016ef153353e6 (PR-528) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T02:02:09.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T02:02:09.715Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T02:02:09.814Z] ========================================================= [2023-03-15T02:02:09.814Z] EdgeX Global Pipelines Version Info [2023-03-15T02:02:09.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git merge 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 [2023-03-15T02:02:10.553Z] ------------------- [2023-03-15T02:02:10.553Z] stable info: [2023-03-15T02:02:10.553Z] ------------------- [2023-03-15T02:02:10.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T02:02:10.553Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T02:02:10.553Z] Message: update stable to v1.0.245 [2023-03-15T02:02:11.122Z] ------------------- [2023-03-15T02:02:11.122Z] experimental info: [2023-03-15T02:02:11.122Z] ------------------- [2023-03-15T02:02:11.122Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T02:02:11.122Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T02:02:11.122Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:02:11.385Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-15T02:02:11.423Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-15T02:02:11.459Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T02:02:11.495Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T02:02:11.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T02:02:11.572Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T02:02:11.609Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T02:02:11.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T02:02:11.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T02:02:11.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T02:02:11.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T02:02:11.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-15T02:02:11.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T02:02:11.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T02:02:11.920Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:02:11.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:02:11.992Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:02:12.033Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:02:12.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T02:02:12.118Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T02:02:12.157Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T02:02:12.192Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T02:02:12.227Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T02:02:12.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T02:02:12.307Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T02:02:12.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T02:02:12.376Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T02:02:12.413Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-528 [Pipeline] echo [2023-03-15T02:02:12.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-528 [Pipeline] echo [2023-03-15T02:02:12.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-528 [Pipeline] echo [2023-03-15T02:02:12.524Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94b69f940749067bc0513cff547016ef153353e6 [Pipeline] echo [2023-03-15T02:02:12.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94b69f9 [Pipeline] echo [2023-03-15T02:02:12.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:02:12.695Z] provisioning config files... [2023-03-15T02:02:12.711Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config9052017196318735874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:02:13.046Z] ---> docker-login.sh [2023-03-15T02:02:13.046Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:02:13.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:13.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:13.307Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:13.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:13.307Z] [2023-03-15T02:02:13.307Z] Login Succeeded [2023-03-15T02:02:13.307Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:02:13.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:13.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:13.307Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:13.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:13.307Z] [2023-03-15T02:02:13.307Z] Login Succeeded [2023-03-15T02:02:13.307Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:02:13.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:13.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:13.568Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:13.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:13.568Z] [2023-03-15T02:02:13.568Z] Login Succeeded [2023-03-15T02:02:13.568Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:02:13.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:13.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:13.568Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:13.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:13.568Z] [2023-03-15T02:02:13.568Z] Login Succeeded [2023-03-15T02:02:13.829Z] docker.io [2023-03-15T02:02:13.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:14.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:14.090Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:14.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:14.090Z] [2023-03-15T02:02:14.090Z] Login Succeeded [2023-03-15T02:02:14.090Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:02:14.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T02:02:14.743Z] + git rev-list -1 --merges 94b69f940749067bc0513cff547016ef153353e6~1..94b69f940749067bc0513cff547016ef153353e6 [Pipeline] echo [2023-03-15T02:02:14.814Z] -----------> git rev-list -1 --merges 94b69f940749067bc0513cff547016ef153353e6~1..94b69f940749067bc0513cff547016ef153353e6 94b69f940749067bc0513cff547016ef153353e6 [false] [Pipeline] sh [2023-03-15T02:02:15.139Z] + git log --format=format:%s -1 94b69f940749067bc0513cff547016ef153353e6 [Pipeline] echo [2023-03-15T02:02:15.174Z] ========================================================= [2023-03-15T02:02:15.174Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T02:02:15.174Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:02:15.600Z] + git log --format=format:%s -1 94b69f940749067bc0513cff547016ef153353e6 [Pipeline] echo [2023-03-15T02:02:15.634Z] [semverPrep] GIT_COMMIT: 94b69f940749067bc0513cff547016ef153353e6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-15T02:02:15.665Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T02:02:16.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T02:02:16.104Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T02:02:16.104Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T02:02:16.104Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T02:02:16.104Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T02:02:16.104Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T02:02:16.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:02:16.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:02:16.523Z] [2023-03-15T02:02:16.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:02:16.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:02:16.893Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T02:02:16.893Z] b85a868b505f: Pulling fs layer [2023-03-15T02:02:16.893Z] e2be974225ed: Pulling fs layer [2023-03-15T02:02:16.893Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T02:02:16.893Z] 988bab9f4d93: Pulling fs layer [2023-03-15T02:02:16.893Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T02:02:16.893Z] eaf3925da568: Pulling fs layer [2023-03-15T02:02:16.893Z] bab4dde63d76: Pulling fs layer [2023-03-15T02:02:16.893Z] bde34c3a00c8: Pulling fs layer [2023-03-15T02:02:16.893Z] b352a97aabf1: Pulling fs layer [2023-03-15T02:02:16.893Z] 4872d77fe225: Pulling fs layer [2023-03-15T02:02:16.893Z] 5851b861e8e6: Pulling fs layer [2023-03-15T02:02:16.893Z] eaf3925da568: Waiting [2023-03-15T02:02:16.893Z] 988bab9f4d93: Waiting [2023-03-15T02:02:16.893Z] bab4dde63d76: Waiting [2023-03-15T02:02:16.893Z] bde34c3a00c8: Waiting [2023-03-15T02:02:16.893Z] b352a97aabf1: Waiting [2023-03-15T02:02:16.893Z] 4872d77fe225: Waiting [2023-03-15T02:02:16.893Z] 5851b861e8e6: Waiting [2023-03-15T02:02:16.893Z] 1469e6f7b9e6: Waiting [2023-03-15T02:02:16.893Z] e2be974225ed: Verifying Checksum [2023-03-15T02:02:16.893Z] e2be974225ed: Download complete [2023-03-15T02:02:16.893Z] 988bab9f4d93: Verifying Checksum [2023-03-15T02:02:16.893Z] 988bab9f4d93: Download complete [2023-03-15T02:02:17.152Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T02:02:17.152Z] 1469e6f7b9e6: Download complete [2023-03-15T02:02:17.152Z] eaf3925da568: Verifying Checksum [2023-03-15T02:02:17.152Z] eaf3925da568: Download complete [2023-03-15T02:02:17.152Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T02:02:17.152Z] 339a4e72a1f5: Download complete [2023-03-15T02:02:17.152Z] bde34c3a00c8: Verifying Checksum [2023-03-15T02:02:17.152Z] bde34c3a00c8: Download complete [2023-03-15T02:02:17.152Z] b352a97aabf1: Verifying Checksum [2023-03-15T02:02:17.152Z] b352a97aabf1: Download complete [2023-03-15T02:02:17.152Z] 4872d77fe225: Verifying Checksum [2023-03-15T02:02:17.152Z] 4872d77fe225: Download complete [2023-03-15T02:02:17.152Z] 5851b861e8e6: Verifying Checksum [2023-03-15T02:02:17.152Z] 5851b861e8e6: Download complete [2023-03-15T02:02:17.152Z] b85a868b505f: Verifying Checksum [2023-03-15T02:02:17.152Z] b85a868b505f: Download complete [2023-03-15T02:02:17.718Z] bab4dde63d76: Verifying Checksum [2023-03-15T02:02:17.718Z] bab4dde63d76: Download complete [2023-03-15T02:02:18.655Z] b85a868b505f: Pull complete [2023-03-15T02:02:18.655Z] e2be974225ed: Pull complete [2023-03-15T02:02:19.222Z] 339a4e72a1f5: Pull complete [2023-03-15T02:02:19.222Z] 988bab9f4d93: Pull complete [2023-03-15T02:02:19.479Z] 1469e6f7b9e6: Pull complete [2023-03-15T02:02:19.479Z] eaf3925da568: Pull complete [2023-03-15T02:02:21.381Z] bab4dde63d76: Pull complete [2023-03-15T02:02:21.381Z] bde34c3a00c8: Pull complete [2023-03-15T02:02:21.381Z] b352a97aabf1: Pull complete [2023-03-15T02:02:21.381Z] 4872d77fe225: Pull complete [2023-03-15T02:02:21.381Z] 5851b861e8e6: Pull complete [2023-03-15T02:02:21.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T02:02:21.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:02:21.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:02:21.849Z] prd-ubuntu20.04-docker-8c-8g-320 does not seem to be running inside a container [2023-03-15T02:02:21.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@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-03-15T02:02:23.542Z] $ docker top 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 -eo pid,comm [2023-03-15T02:02:23.594Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T02:02:23.594Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T02:02:23.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:02:23.717Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:02:23.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:02:23.839Z] $ docker exec 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 ssh-agent [2023-03-15T02:02:23.946Z] SSH_AUTH_SOCK=/tmp/ssh-BvM6AdcQjK69/agent.32 [2023-03-15T02:02:23.946Z] SSH_AGENT_PID=38 [2023-03-15T02:02:23.952Z] Running ssh-add (command line suppressed) [2023-03-15T02:02:24.062Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_12363498845235767067.key (/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_12363498845235767067.key) [2023-03-15T02:02:24.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:02:24.407Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T02:02:24.440Z] $ docker exec --env ******** --env ******** 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 ssh-agent -k [2023-03-15T02:02:24.531Z] unset SSH_AUTH_SOCK; [2023-03-15T02:02:24.531Z] unset SSH_AGENT_PID; [2023-03-15T02:02:24.531Z] echo Agent pid 38 killed; [2023-03-15T02:02:24.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T02:02:24.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:02:24.628Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:02:24.747Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:02:24.753Z] $ docker exec 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 ssh-agent [2023-03-15T02:02:24.847Z] SSH_AUTH_SOCK=/tmp/ssh-ufBOITsZbRbx/agent.70 [2023-03-15T02:02:24.847Z] SSH_AGENT_PID=76 [2023-03-15T02:02:24.852Z] Running ssh-add (command line suppressed) [2023-03-15T02:02:24.959Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_3938429463480040881.key (/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_3938429463480040881.key) [2023-03-15T02:02:24.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:02:25.298Z] + git semver init [2023-03-15T02:02:25.558Z] 2023-03-15 02:02:25,484 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T02:02:25.558Z] 2023-03-15 02:02:25,485 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver [2023-03-15T02:02:25.558Z] 2023-03-15 02:02:25,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver [2023-03-15T02:02:25.558Z] 2023-03-15 02:02:25,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-528, universal_newlines=False, shell=None, istream=None) [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,280 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.git/info/exclude [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,281 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver/PR-528 with force:False [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,281 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver/PR-528 [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,285 [execute] INFO git cat-file --batch-check [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,291 [execute] INFO git cat-file --batch [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T02:02:26.497Z] 2023-03-15 02:02:26,298 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver/PR-528 [2023-03-15T02:02:26.497Z] 0.0.0 [Pipeline] } [2023-03-15T02:02:26.526Z] $ docker exec --env ******** --env ******** 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 ssh-agent -k [2023-03-15T02:02:26.631Z] unset SSH_AUTH_SOCK; [2023-03-15T02:02:26.631Z] unset SSH_AGENT_PID; [2023-03-15T02:02:26.632Z] echo Agent pid 76 killed; [2023-03-15T02:02:26.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T02:02:27.065Z] + git semver [Pipeline] } [2023-03-15T02:02:27.351Z] $ docker stop --time=1 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 [2023-03-15T02:02:28.688Z] $ docker rm -f --volumes 641f7f88e14afcd5421a8bec84d6e96cede3afb1591692ce50f924a6b8d8c2a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:02:29.081Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T02:02:29.362Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T02:02:29.378Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:02:29.929Z] provisioning config files... [2023-03-15T02:02:29.940Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config7575564814073031577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:02:30.285Z] ---> docker-login.sh [2023-03-15T02:02:30.285Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:02:30.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:30.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:30.285Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:30.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:30.285Z] [2023-03-15T02:02:30.285Z] Login Succeeded [2023-03-15T02:02:30.285Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:02:30.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:30.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:30.285Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:30.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:30.285Z] [2023-03-15T02:02:30.285Z] Login Succeeded [2023-03-15T02:02:30.285Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:02:30.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:30.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:30.545Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:30.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:30.545Z] [2023-03-15T02:02:30.545Z] Login Succeeded [2023-03-15T02:02:30.545Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:02:30.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:30.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:30.545Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:30.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:30.545Z] [2023-03-15T02:02:30.545Z] Login Succeeded [2023-03-15T02:02:30.545Z] docker.io [2023-03-15T02:02:30.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:02:30.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:02:30.804Z] Configure a credential helper to remove this warning. See [2023-03-15T02:02:30.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:02:30.804Z] [2023-03-15T02:02:30.804Z] Login Succeeded [2023-03-15T02:02:30.804Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:02:30.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:02:31.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:02:31.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:02:31.197Z] ========================================================= [2023-03-15T02:02:31.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T02:02:31.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:02:31.746Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T02:02:31.746Z] Sending build context to Docker daemon 6.361MB [2023-03-15T02:02:31.746Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T02:02:31.746Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:02:31.746Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T02:02:31.746Z] 63b65145d645: Pulling fs layer [2023-03-15T02:02:31.746Z] a2d21d5440eb: Pulling fs layer [2023-03-15T02:02:31.746Z] 935e6c44a52c: Pulling fs layer [2023-03-15T02:02:31.746Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T02:02:31.746Z] 30dea6a524f1: Pulling fs layer [2023-03-15T02:02:31.746Z] a2aff8979fd8: Pulling fs layer [2023-03-15T02:02:31.746Z] 6808be2612f2: Pulling fs layer [2023-03-15T02:02:31.746Z] f25807f1079a: Pulling fs layer [2023-03-15T02:02:31.746Z] a2aff8979fd8: Waiting [2023-03-15T02:02:31.746Z] f25807f1079a: Waiting [2023-03-15T02:02:31.746Z] 6808be2612f2: Waiting [2023-03-15T02:02:31.746Z] 94cc34f8dd06: Waiting [2023-03-15T02:02:31.746Z] 30dea6a524f1: Waiting [2023-03-15T02:02:31.746Z] a2d21d5440eb: Verifying Checksum [2023-03-15T02:02:31.746Z] a2d21d5440eb: Download complete [2023-03-15T02:02:32.008Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T02:02:32.008Z] 94cc34f8dd06: Download complete [2023-03-15T02:02:32.008Z] 30dea6a524f1: Verifying Checksum [2023-03-15T02:02:32.008Z] 30dea6a524f1: Download complete [2023-03-15T02:02:32.008Z] 63b65145d645: Verifying Checksum [2023-03-15T02:02:32.008Z] 63b65145d645: Download complete [2023-03-15T02:02:32.008Z] a2aff8979fd8: Verifying Checksum [2023-03-15T02:02:32.008Z] a2aff8979fd8: Download complete [2023-03-15T02:02:32.008Z] 63b65145d645: Pull complete [2023-03-15T02:02:32.274Z] a2d21d5440eb: Pull complete [2023-03-15T02:02:32.532Z] f25807f1079a: Verifying Checksum [2023-03-15T02:02:32.532Z] f25807f1079a: Download complete [2023-03-15T02:02:32.790Z] 935e6c44a52c: Download complete [2023-03-15T02:02:32.791Z] 6808be2612f2: Verifying Checksum [2023-03-15T02:02:32.791Z] 6808be2612f2: Download complete [2023-03-15T02:02:36.070Z] 935e6c44a52c: Pull complete [2023-03-15T02:02:36.070Z] 94cc34f8dd06: Pull complete [2023-03-15T02:02:36.070Z] 30dea6a524f1: Pull complete [2023-03-15T02:02:36.328Z] a2aff8979fd8: Pull complete [2023-03-15T02:02:38.854Z] 6808be2612f2: Pull complete [2023-03-15T02:02:39.421Z] f25807f1079a: Pull complete [2023-03-15T02:02:39.421Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T02:02:39.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T02:02:39.421Z] ---> 3b553350e43f [2023-03-15T02:02:39.421Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:02:41.325Z] ---> Running in f3661ba213c3 [2023-03-15T02:02:41.325Z] Removing intermediate container f3661ba213c3 [2023-03-15T02:02:41.325Z] ---> d7035342c210 [2023-03-15T02:02:41.325Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:02:41.325Z] ---> Running in f6044c728955 [2023-03-15T02:02:41.325Z] Removing intermediate container f6044c728955 [2023-03-15T02:02:41.325Z] ---> 5494afdebe3e [2023-03-15T02:02:41.325Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:02:41.325Z] ---> Running in 32d5e97dd485 [2023-03-15T02:02:41.585Z] Removing intermediate container 32d5e97dd485 [2023-03-15T02:02:41.585Z] ---> 8d1c8ee16f67 [2023-03-15T02:02:41.585Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:02:41.585Z] ---> Running in 2a466d59d291 [2023-03-15T02:02:41.585Z] Removing intermediate container 2a466d59d291 [2023-03-15T02:02:41.585Z] ---> 7d771f3bc8a4 [2023-03-15T02:02:41.585Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:02:41.585Z] ---> Running in 12befab1e0a1 [2023-03-15T02:02:41.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:02:42.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:02:42.360Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:02:42.360Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:02:42.361Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:02:42.361Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:02:42.639Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:02:42.639Z] OK: 269 MiB in 57 packages [2023-03-15T02:02:42.899Z] Removing intermediate container 12befab1e0a1 [2023-03-15T02:02:42.899Z] ---> 2657bf33bcef [2023-03-15T02:02:42.899Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T02:02:43.158Z] ---> Running in ff66da6c057d [2023-03-15T02:02:43.158Z] Removing intermediate container ff66da6c057d [2023-03-15T02:02:43.158Z] ---> d1446d083bf6 [2023-03-15T02:02:43.158Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:02:43.158Z] ---> b424fc5ed069 [2023-03-15T02:02:43.158Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:02:43.418Z] ---> Running in 58fe8ab409e7 [2023-03-15T02:02:44.770Z] Still waiting to schedule task [2023-03-15T02:02:44.771Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T02:03:05.422Z] Removing intermediate container 58fe8ab409e7 [2023-03-15T02:03:05.422Z] ---> ddba5bca8b5f [2023-03-15T02:03:05.422Z] Step 11/12 : COPY . . [2023-03-15T02:03:05.680Z] ---> 4455c52184f9 [2023-03-15T02:03:05.680Z] Step 12/12 : RUN $MAKE [2023-03-15T02:03:05.680Z] ---> Running in dc6088e2e9a0 [2023-03-15T02:03:05.947Z] noop [2023-03-15T02:03:06.206Z] Removing intermediate container dc6088e2e9a0 [2023-03-15T02:03:06.206Z] ---> f4a61e92ab38 [2023-03-15T02:03:06.206Z] Successfully built f4a61e92ab38 [2023-03-15T02:03:06.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:03:06.646Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:03:06.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:03:06.799Z] prd-ubuntu20.04-docker-8c-8g-320 does not seem to be running inside a container [2023-03-15T02:03:06.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@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-03-15T02:03:07.329Z] $ docker top d4e82a6fea6a9427aafabea4d5a58fd20b560fa385e9ee2fb3a5cf043f212c26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:03:07.717Z] + go version [2023-03-15T02:03:07.717Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T02:03:07.756Z] $ docker stop --time=1 d4e82a6fea6a9427aafabea4d5a58fd20b560fa385e9ee2fb3a5cf043f212c26 [2023-03-15T02:03:09.038Z] $ docker rm -f --volumes d4e82a6fea6a9427aafabea4d5a58fd20b560fa385e9ee2fb3a5cf043f212c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:03:09.720Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:03:09.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:03:09.868Z] prd-ubuntu20.04-docker-8c-8g-320 does not seem to be running inside a container [2023-03-15T02:03:09.899Z] $ 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-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@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-03-15T02:03:10.259Z] $ docker top daa31c9ce1be828851fc0e5944bd8732e9dd21ae9dc2d0cc64158da076383e95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:03:10.645Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-528 [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:03:11.000Z] + make test [2023-03-15T02:03:11.000Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:03:16.268Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T02:03:26.231Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T02:03:26.231Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T02:03:26.231Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.2% of statements [2023-03-15T02:03:30.412Z] go vet ./... [2023-03-15T02:03:33.693Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:03:33.693Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:03:33.693Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:03:33.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:03:33.762Z] $ docker stop --time=1 daa31c9ce1be828851fc0e5944bd8732e9dd21ae9dc2d0cc64158da076383e95 [2023-03-15T02:03:36.053Z] $ docker rm -f --volumes daa31c9ce1be828851fc0e5944bd8732e9dd21ae9dc2d0cc64158da076383e95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:03:36.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:03:36.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T02:03:37.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:03:37.675Z] + ls -al . [2023-03-15T02:03:37.675Z] total 180 [2023-03-15T02:03:37.675Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:03 . [2023-03-15T02:03:37.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:02 .. [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 02:02 .dockerignore [2023-03-15T02:03:37.676Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:02 .git [2023-03-15T02:03:37.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:02 .github [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 02:02 .gitignore [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:02 .golangci.yml [2023-03-15T02:03:37.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:02 .semver [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 02:02 Attribution.txt [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 02:02 CHANGELOG.md [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 02:02 Dockerfile [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:02 GOVERNANCE.md [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 02:02 Jenkinsfile [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:02 LICENSE [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 15 02:02 Makefile [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:02 OWNERS.md [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 02:02 README.md [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 02:02 VERSION [2023-03-15T02:03:37.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:02 bin [2023-03-15T02:03:37.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:02 cmd [2023-03-15T02:03:37.676Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 02:03 coverage.out [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 02:02 go.mod [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 02:02 go.sum [2023-03-15T02:03:37.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:02 internal [2023-03-15T02:03:37.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:02 mock [2023-03-15T02:03:37.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:02 snap [2023-03-15T02:03:37.676Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:03:38.090Z] + 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=94b69f940749067bc0513cff547016ef153353e6 --label arch=amd64 --label version=0.0.0 . [2023-03-15T02:03:38.090Z] Sending build context to Docker daemon 6.38MB [2023-03-15T02:03:38.091Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T02:03:38.091Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T02:03:38.091Z] ---> f4a61e92ab38 [2023-03-15T02:03:38.091Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:03:38.091Z] ---> Running in e06f97ad4e80 [2023-03-15T02:03:38.350Z] Removing intermediate container e06f97ad4e80 [2023-03-15T02:03:38.350Z] ---> 5c5a339554b4 [2023-03-15T02:03:38.350Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:03:38.350Z] ---> Running in 3d4a919b75d2 [2023-03-15T02:03:38.350Z] Removing intermediate container 3d4a919b75d2 [2023-03-15T02:03:38.350Z] ---> d953350b62df [2023-03-15T02:03:38.350Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:03:38.350Z] ---> Running in 7361f947803f [2023-03-15T02:03:38.610Z] Removing intermediate container 7361f947803f [2023-03-15T02:03:38.610Z] ---> d4102bc06d5c [2023-03-15T02:03:38.610Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:03:38.610Z] ---> Running in 4e4bc1de067e [2023-03-15T02:03:38.610Z] Removing intermediate container 4e4bc1de067e [2023-03-15T02:03:38.610Z] ---> b4fa00778300 [2023-03-15T02:03:38.610Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:03:38.610Z] ---> Running in 66a23d35ad0c [2023-03-15T02:03:38.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:03:39.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:03:39.384Z] OK: 269 MiB in 57 packages [2023-03-15T02:03:39.643Z] Removing intermediate container 66a23d35ad0c [2023-03-15T02:03:39.643Z] ---> 589b18652562 [2023-03-15T02:03:39.643Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T02:03:39.903Z] ---> Running in 251fdc05876a [2023-03-15T02:03:39.903Z] Removing intermediate container 251fdc05876a [2023-03-15T02:03:39.903Z] ---> 917f0a09e6cc [2023-03-15T02:03:39.903Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T02:03:39.903Z] ---> 6f87400a16aa [2023-03-15T02:03:39.903Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:03:40.161Z] ---> Running in bc817b330f12 [2023-03-15T02:03:41.148Z] Removing intermediate container bc817b330f12 [2023-03-15T02:03:41.148Z] ---> fb461062e7b7 [2023-03-15T02:03:41.148Z] Step 11/24 : COPY . . [2023-03-15T02:03:41.407Z] ---> 4511b9d9577f [2023-03-15T02:03:41.407Z] Step 12/24 : RUN $MAKE [2023-03-15T02:03:41.407Z] ---> Running in 6a22ca58d4bd [2023-03-15T02:03:41.665Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T02:03:59.743Z] Removing intermediate container 6a22ca58d4bd [2023-03-15T02:03:59.743Z] ---> 4fc20e6c53fc [2023-03-15T02:03:59.743Z] Step 13/24 : FROM alpine:3.16 [2023-03-15T02:03:59.743Z] 3.16: Pulling from library/alpine [2023-03-15T02:03:59.743Z] ef5531b6e74e: Pulling fs layer [2023-03-15T02:03:59.743Z] ef5531b6e74e: Verifying Checksum [2023-03-15T02:03:59.743Z] ef5531b6e74e: Download complete [2023-03-15T02:03:59.743Z] ef5531b6e74e: Pull complete [2023-03-15T02:03:59.743Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-15T02:03:59.743Z] Status: Downloaded newer image for alpine:3.16 [2023-03-15T02:03:59.743Z] ---> dfd21b5a31f5 [2023-03-15T02:03:59.743Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T02:03:59.743Z] ---> Running in e494be2b6765 [2023-03-15T02:03:59.743Z] Removing intermediate container e494be2b6765 [2023-03-15T02:03:59.743Z] ---> 87428ab0c692 [2023-03-15T02:03:59.743Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T02:03:59.743Z] ---> Running in 191bb70f940a [2023-03-15T02:03:59.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:03:59.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:03:59.743Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-15T02:03:59.743Z] Executing busybox-1.35.0-r17.trigger [2023-03-15T02:03:59.743Z] OK: 6 MiB in 15 packages [2023-03-15T02:04:00.002Z] Removing intermediate container 191bb70f940a [2023-03-15T02:04:00.002Z] ---> 986679594299 [2023-03-15T02:04:00.002Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T02:04:00.573Z] ---> fd1d735582a8 [2023-03-15T02:04:00.573Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T02:04:00.832Z] ---> 5342060be04d [2023-03-15T02:04:00.832Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T02:04:00.832Z] ---> ace8e53ea28f [2023-03-15T02:04:00.832Z] Step 19/24 : EXPOSE 59982 [2023-03-15T02:04:00.832Z] ---> Running in e0b15b788476 [2023-03-15T02:04:01.091Z] Removing intermediate container e0b15b788476 [2023-03-15T02:04:01.091Z] ---> 69591d48d039 [2023-03-15T02:04:01.091Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T02:04:01.091Z] ---> Running in 8315e8f4a3eb [2023-03-15T02:04:01.091Z] Removing intermediate container 8315e8f4a3eb [2023-03-15T02:04:01.091Z] ---> 8d585cda1ce2 [2023-03-15T02:04:01.091Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T02:04:01.091Z] ---> Running in d52fd2457d90 [2023-03-15T02:04:01.353Z] Removing intermediate container d52fd2457d90 [2023-03-15T02:04:01.353Z] ---> be8b17f1293b [2023-03-15T02:04:01.353Z] Step 22/24 : LABEL arch=amd64 [2023-03-15T02:04:01.353Z] ---> Running in 995fce1f2322 [2023-03-15T02:04:01.353Z] Removing intermediate container 995fce1f2322 [2023-03-15T02:04:01.353Z] ---> 0b476ab0d9b8 [2023-03-15T02:04:01.353Z] Step 23/24 : LABEL git_sha=94b69f940749067bc0513cff547016ef153353e6 [2023-03-15T02:04:01.353Z] ---> Running in 39722b9bde55 [2023-03-15T02:04:01.353Z] Removing intermediate container 39722b9bde55 [2023-03-15T02:04:01.353Z] ---> 562722bf3d22 [2023-03-15T02:04:01.353Z] Step 24/24 : LABEL version=0.0.0 [2023-03-15T02:04:01.613Z] ---> Running in 162f54b20e65 [2023-03-15T02:04:01.613Z] Removing intermediate container 162f54b20e65 [2023-03-15T02:04:01.613Z] ---> 63a2fbbfc23d [2023-03-15T02:04:01.613Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:04:01.613Z] Successfully built 63a2fbbfc23d [2023-03-15T02:04:01.613Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:04:02.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:04:02.437Z] [2023-03-15T02:04:02.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:04:02.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:04:02.812Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T02:04:02.812Z] 5eb5b503b376: Pulling fs layer [2023-03-15T02:04:02.812Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T02:04:02.812Z] ec43610c2a17: Pulling fs layer [2023-03-15T02:04:02.812Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T02:04:02.812Z] 33b1e0a273af: Pulling fs layer [2023-03-15T02:04:02.812Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T02:04:02.812Z] 2f39f015ded8: Pulling fs layer [2023-03-15T02:04:02.812Z] 33b1e0a273af: Waiting [2023-03-15T02:04:02.812Z] 5d3b04190fa2: Waiting [2023-03-15T02:04:02.812Z] 2f39f015ded8: Waiting [2023-03-15T02:04:02.812Z] 3a2ae6a8a46f: Waiting [2023-03-15T02:04:02.812Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T02:04:02.812Z] 5c69ac0246d0: Download complete [2023-03-15T02:04:02.812Z] 3a2ae6a8a46f: Download complete [2023-03-15T02:04:02.812Z] ec43610c2a17: Verifying Checksum [2023-03-15T02:04:02.812Z] ec43610c2a17: Download complete [2023-03-15T02:04:03.072Z] 33b1e0a273af: Verifying Checksum [2023-03-15T02:04:03.072Z] 33b1e0a273af: Download complete [2023-03-15T02:04:03.072Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T02:04:03.072Z] 5d3b04190fa2: Download complete [2023-03-15T02:04:03.072Z] 5eb5b503b376: Verifying Checksum [2023-03-15T02:04:03.072Z] 5eb5b503b376: Download complete [2023-03-15T02:04:03.639Z] 2f39f015ded8: Download complete [2023-03-15T02:04:04.206Z] 5eb5b503b376: Pull complete [2023-03-15T02:04:04.468Z] 5c69ac0246d0: Pull complete [2023-03-15T02:04:04.728Z] ec43610c2a17: Pull complete [2023-03-15T02:04:04.728Z] 3a2ae6a8a46f: Pull complete [2023-03-15T02:04:04.988Z] 33b1e0a273af: Pull complete [2023-03-15T02:04:04.988Z] 5d3b04190fa2: Pull complete [2023-03-15T02:04:09.172Z] 2f39f015ded8: Pull complete [2023-03-15T02:04:09.172Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T02:04:09.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:04:09.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:04:09.528Z] prd-ubuntu20.04-docker-8c-8g-320 does not seem to be running inside a container [2023-03-15T02:04:09.560Z] $ 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-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@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-03-15T02:04:11.824Z] $ docker top 1d98b495bf5a5bcf5ce20a865adca3ff3f678e1f3b6b5ae05817fd66f0371c74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:04:12.262Z] ---> job-cost.sh [2023-03-15T02:04:12.262Z] lf-activate-venv: SKIPPING [2023-03-15T02:04:12.262Z] INFO: No Stack... [2023-03-15T02:04:12.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:04:12.779Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:04:13.339Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives/cost.csv [2023-03-15T02:04:13.339Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T02:04:13.375Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] [2023-03-15T02:04:13.382Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] did not exist. Created. [2023-03-15T02:04:13.383Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:04:13.778Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T02:04:13.824Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:04:13.857Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:04:13.929Z] $ docker stop --time=1 1d98b495bf5a5bcf5ce20a865adca3ff3f678e1f3b6b5ae05817fd66f0371c74 [2023-03-15T02:04:15.089Z] $ docker rm -f --volumes 1d98b495bf5a5bcf5ce20a865adca3ff3f678e1f3b6b5ae05817fd66f0371c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T02:06:11.978Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-322 in /w/workspace/gexfoundry_device-mqtt-go_PR-528 [Pipeline] { [Pipeline] ws [2023-03-15T02:06:12.037Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T02:06:12.113Z] Selected Git installation does not exist. Using Default [2023-03-15T02:06:12.113Z] The recommended git tool is: NONE [2023-03-15T02:06:17.898Z] using credential edgex-jenkins-ssh [2023-03-15T02:06:17.916Z] Cloning the remote Git repository [2023-03-15T02:06:17.963Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T02:06:18.069Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-15T02:06:18.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T02:06:18.236Z] > git --version # timeout=10 [2023-03-15T02:06:18.258Z] > git --version # 'git version 2.25.1' [2023-03-15T02:06:18.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:06:18.445Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:06:19.573Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T02:06:19.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:06:20.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T02:06:20.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T02:06:20.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:06:20.545Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/528/head:refs/remotes/origin/PR-528 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T02:06:21.049Z] Merging remotes/origin/main commit 61add75b1ef191377c59afa20b8ba92f4dc8af4b into PR head commit 94b69f940749067bc0513cff547016ef153353e6 [2023-03-15T02:06:21.346Z] Merge succeeded, producing 94b69f940749067bc0513cff547016ef153353e6 [2023-03-15T02:06:21.347Z] Checking out Revision 94b69f940749067bc0513cff547016ef153353e6 (PR-528) [2023-03-15T02:06:21.839Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-15T02:06:21.892Z] > git --version # timeout=10 [2023-03-15T02:06:21.905Z] > git --version # 'git version 2.25.1' [2023-03-15T02:06:21.923Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [2023-03-15T02:06:21.070Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:06:21.139Z] > git checkout -f 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 [2023-03-15T02:06:21.236Z] > git remote # timeout=10 [2023-03-15T02:06:21.256Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T02:06:21.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:06:21.298Z] > git merge 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 [2023-03-15T02:06:21.326Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T02:06:21.353Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:06:21.373Z] > git checkout -f 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:06:22.940Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T02:06:22.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:06:22.940Z] Dload Upload Total Spent Left Speed [2023-03-15T02:06:22.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-03-15T02:06:23.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T02:06:23.859Z] + sudo tee /etc/docker/daemon.new [2023-03-15T02:06:23.859Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T02:06:23.859Z] { [2023-03-15T02:06:23.859Z] "registry-mirrors": [ [2023-03-15T02:06:23.859Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T02:06:23.859Z] ], [2023-03-15T02:06:23.859Z] "bip": "10.250.0.254/24", [2023-03-15T02:06:23.859Z] "hosts": [ [2023-03-15T02:06:23.859Z] "tcp://0.0.0.0:5555", [2023-03-15T02:06:23.859Z] "unix:///var/run/docker.sock" [2023-03-15T02:06:23.859Z] ], [2023-03-15T02:06:23.859Z] "mtu": 1458, [2023-03-15T02:06:23.859Z] "selinux-enabled": true, [2023-03-15T02:06:23.859Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T02:06:23.859Z] } [Pipeline] sh [2023-03-15T02:06:24.208Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T02:06:24.568Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:06:42.912Z] provisioning config files... [2023-03-15T02:06:42.945Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8958444657788768463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:06:43.363Z] ---> docker-login.sh [2023-03-15T02:06:43.364Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:06:43.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:06:43.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:06:43.969Z] Configure a credential helper to remove this warning. See [2023-03-15T02:06:43.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:06:43.969Z] [2023-03-15T02:06:43.969Z] Login Succeeded [2023-03-15T02:06:44.238Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:06:44.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:06:44.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:06:44.513Z] Configure a credential helper to remove this warning. See [2023-03-15T02:06:44.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:06:44.513Z] [2023-03-15T02:06:44.514Z] Login Succeeded [2023-03-15T02:06:44.514Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:06:44.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:06:44.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:06:44.785Z] Configure a credential helper to remove this warning. See [2023-03-15T02:06:44.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:06:44.785Z] [2023-03-15T02:06:44.785Z] Login Succeeded [2023-03-15T02:06:44.785Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:06:45.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:06:45.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:06:45.327Z] Configure a credential helper to remove this warning. See [2023-03-15T02:06:45.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:06:45.327Z] [2023-03-15T02:06:45.327Z] Login Succeeded [2023-03-15T02:06:45.327Z] docker.io [2023-03-15T02:06:45.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:06:45.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:06:45.868Z] Configure a credential helper to remove this warning. See [2023-03-15T02:06:45.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:06:45.868Z] [2023-03-15T02:06:45.868Z] Login Succeeded [2023-03-15T02:06:45.868Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:06:45.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:06:46.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:06:46.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:06:46.373Z] ========================================================= [2023-03-15T02:06:46.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T02:06:46.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:06:46.863Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T02:06:47.133Z] Sending build context to Docker daemon 3.3MB [2023-03-15T02:06:47.133Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T02:06:47.133Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:06:47.408Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T02:06:47.408Z] af6eaf76a39c: Pulling fs layer [2023-03-15T02:06:47.408Z] 55522c791124: Pulling fs layer [2023-03-15T02:06:47.408Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T02:06:47.408Z] 169dfbe0d373: Pulling fs layer [2023-03-15T02:06:47.408Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T02:06:47.408Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T02:06:47.408Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T02:06:47.408Z] 169dfbe0d373: Waiting [2023-03-15T02:06:47.408Z] 52ebb69f0ebf: Waiting [2023-03-15T02:06:47.408Z] e1ff8fa3b103: Waiting [2023-03-15T02:06:47.408Z] 55522c791124: Download complete [2023-03-15T02:06:47.408Z] 169dfbe0d373: Verifying Checksum [2023-03-15T02:06:47.408Z] 169dfbe0d373: Download complete [2023-03-15T02:06:47.408Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T02:06:47.408Z] e1ff8fa3b103: Download complete [2023-03-15T02:06:47.408Z] af6eaf76a39c: Download complete [2023-03-15T02:06:48.843Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T02:06:48.843Z] 5abe8eddf0d5: Download complete [2023-03-15T02:06:49.823Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T02:06:49.823Z] 52ebb69f0ebf: Download complete [2023-03-15T02:06:49.823Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T02:06:49.823Z] ce5c4a1c91eb: Download complete [2023-03-15T02:06:50.092Z] af6eaf76a39c: Pull complete [2023-03-15T02:06:50.679Z] 55522c791124: Pull complete [2023-03-15T02:07:03.127Z] ce5c4a1c91eb: Pull complete [2023-03-15T02:07:03.127Z] 169dfbe0d373: Pull complete [2023-03-15T02:07:03.403Z] e1ff8fa3b103: Pull complete [2023-03-15T02:07:10.067Z] 52ebb69f0ebf: Pull complete [2023-03-15T02:07:12.690Z] 5abe8eddf0d5: Pull complete [2023-03-15T02:07:12.690Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T02:07:12.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T02:07:12.690Z] ---> 6cb57ee374ae [2023-03-15T02:07:12.690Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:07:14.105Z] ---> Running in 15d27de96630 [2023-03-15T02:07:14.379Z] Removing intermediate container 15d27de96630 [2023-03-15T02:07:14.379Z] ---> 379cafccac72 [2023-03-15T02:07:14.379Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:07:14.655Z] ---> Running in 7969c45e2c47 [2023-03-15T02:07:14.924Z] Removing intermediate container 7969c45e2c47 [2023-03-15T02:07:14.924Z] ---> 36a249681917 [2023-03-15T02:07:14.924Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:07:14.924Z] ---> Running in 0df3e5b1a662 [2023-03-15T02:07:15.193Z] Removing intermediate container 0df3e5b1a662 [2023-03-15T02:07:15.193Z] ---> b6a57582866b [2023-03-15T02:07:15.193Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:07:15.461Z] ---> Running in 5d7db712d29a [2023-03-15T02:07:15.737Z] Removing intermediate container 5d7db712d29a [2023-03-15T02:07:15.737Z] ---> d8bbf097a724 [2023-03-15T02:07:15.737Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:07:15.737Z] ---> Running in b40bc3847684 [2023-03-15T02:07:17.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:07:17.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:07:18.837Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:07:18.837Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:07:18.837Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:07:18.837Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:07:18.837Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:07:18.837Z] OK: 268 MiB in 57 packages [2023-03-15T02:07:19.806Z] Removing intermediate container b40bc3847684 [2023-03-15T02:07:19.806Z] ---> eb82632c7165 [2023-03-15T02:07:19.806Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T02:07:20.076Z] ---> Running in 5be46cd6b86c [2023-03-15T02:07:20.349Z] Removing intermediate container 5be46cd6b86c [2023-03-15T02:07:20.349Z] ---> 4c1d21ceb38d [2023-03-15T02:07:20.349Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:07:20.939Z] ---> 02d8b76904c8 [2023-03-15T02:07:20.939Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:07:20.939Z] ---> Running in 293bac21bcfd [2023-03-15T02:08:28.825Z] Removing intermediate container 293bac21bcfd [2023-03-15T02:08:28.825Z] ---> 40df6954779d [2023-03-15T02:08:28.825Z] Step 11/12 : COPY . . [2023-03-15T02:08:28.825Z] ---> 1b178daa8dd5 [2023-03-15T02:08:28.825Z] Step 12/12 : RUN $MAKE [2023-03-15T02:08:28.825Z] ---> Running in 9252cbb52768 [2023-03-15T02:08:28.825Z] noop [2023-03-15T02:08:28.825Z] Removing intermediate container 9252cbb52768 [2023-03-15T02:08:28.825Z] ---> 340d6ab63006 [2023-03-15T02:08:28.825Z] Successfully built 340d6ab63006 [2023-03-15T02:08:28.825Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:08:29.294Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:08:29.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:08:29.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-322 does not seem to be running inside a container [2023-03-15T02:08:29.711Z] $ 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-03-15T02:08:30.960Z] $ docker top ab5fbcf73f47bff769973cb0864044b4f4074d9df56463bcfab619813b9b5df4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:08:31.978Z] + go version [2023-03-15T02:08:31.979Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T02:08:32.019Z] $ docker stop --time=1 ab5fbcf73f47bff769973cb0864044b4f4074d9df56463bcfab619813b9b5df4 [2023-03-15T02:08:33.671Z] $ docker rm -f --volumes ab5fbcf73f47bff769973cb0864044b4f4074d9df56463bcfab619813b9b5df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:08:34.491Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:08:34.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:08:34.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-322 does not seem to be running inside a container [2023-03-15T02:08:34.803Z] $ 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-03-15T02:08:36.016Z] $ docker top e610dc54797d21eb44ccf4bd38e66f08a93ad4e864a047930d41d83fc7a5fe52 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:08:36.759Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:08:37.585Z] + make test [2023-03-15T02:08:37.586Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:09:09.832Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T02:11:16.533Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T02:11:16.533Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T02:11:16.533Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 22.2% of statements [2023-03-15T02:11:17.498Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T02:11:17.499Z] go vet ./... [2023-03-15T02:11:49.765Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:11:49.765Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:11:49.765Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:11:50.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:11:50.129Z] $ docker stop --time=1 e610dc54797d21eb44ccf4bd38e66f08a93ad4e864a047930d41d83fc7a5fe52 [2023-03-15T02:11:54.054Z] $ docker rm -f --volumes e610dc54797d21eb44ccf4bd38e66f08a93ad4e864a047930d41d83fc7a5fe52 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:11:55.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:11:55.273Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T02:11:55.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:11:56.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:11:56.624Z] + ls -al . [2023-03-15T02:11:56.624Z] total 176 [2023-03-15T02:11:56.624Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 02:08 . [2023-03-15T02:11:56.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:06 .. [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 02:06 .dockerignore [2023-03-15T02:11:56.624Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:06 .git [2023-03-15T02:11:56.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:06 .github [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 02:06 .gitignore [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:06 .golangci.yml [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 02:06 Attribution.txt [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 02:06 CHANGELOG.md [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 02:06 Dockerfile [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:06 GOVERNANCE.md [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 02:06 Jenkinsfile [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:06 LICENSE [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 15 02:06 Makefile [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:06 OWNERS.md [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 02:06 README.md [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 02:02 VERSION [2023-03-15T02:11:56.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:06 bin [2023-03-15T02:11:56.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:06 cmd [2023-03-15T02:11:56.624Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 02:11 coverage.out [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 02:06 go.mod [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 02:06 go.sum [2023-03-15T02:11:56.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:06 internal [2023-03-15T02:11:56.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:06 mock [2023-03-15T02:11:56.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:06 snap [2023-03-15T02:11:56.624Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 02:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:11:57.040Z] + 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=94b69f940749067bc0513cff547016ef153353e6 --label arch=arm64 --label version=0.0.0 . [2023-03-15T02:11:57.307Z] Sending build context to Docker daemon 3.319MB [2023-03-15T02:11:57.307Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-15T02:11:57.307Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T02:11:57.307Z] ---> 340d6ab63006 [2023-03-15T02:11:57.307Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:11:57.573Z] ---> Running in ec2f7dcc35ef [2023-03-15T02:11:57.839Z] Removing intermediate container ec2f7dcc35ef [2023-03-15T02:11:57.839Z] ---> c9c8cfbdee1b [2023-03-15T02:11:57.839Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:11:57.839Z] ---> Running in 162971893b36 [2023-03-15T02:11:58.109Z] Removing intermediate container 162971893b36 [2023-03-15T02:11:58.109Z] ---> 5f52dedd5e86 [2023-03-15T02:11:58.109Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:11:58.109Z] ---> Running in 89b07b1bef88 [2023-03-15T02:11:58.693Z] Removing intermediate container 89b07b1bef88 [2023-03-15T02:11:58.693Z] ---> 51a2897fff69 [2023-03-15T02:11:58.693Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:11:58.693Z] ---> Running in feb8556b06cf [2023-03-15T02:11:58.960Z] Removing intermediate container feb8556b06cf [2023-03-15T02:11:58.960Z] ---> e767e4aa745b [2023-03-15T02:11:58.960Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:11:58.960Z] ---> Running in 28495f56d3e0 [2023-03-15T02:11:59.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:12:00.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:12:01.916Z] OK: 268 MiB in 57 packages [2023-03-15T02:12:02.503Z] Removing intermediate container 28495f56d3e0 [2023-03-15T02:12:02.503Z] ---> eb6f0366a357 [2023-03-15T02:12:02.503Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T02:12:02.773Z] ---> Running in 57431e7b5ada [2023-03-15T02:12:03.040Z] Removing intermediate container 57431e7b5ada [2023-03-15T02:12:03.040Z] ---> 739c90cb8f2d [2023-03-15T02:12:03.040Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T02:12:03.307Z] ---> c3209234b6dc [2023-03-15T02:12:03.307Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:12:03.579Z] ---> Running in 3a6654064075 [2023-03-15T02:12:06.946Z] Removing intermediate container 3a6654064075 [2023-03-15T02:12:06.946Z] ---> dbeb799f64c7 [2023-03-15T02:12:06.946Z] Step 11/24 : COPY . . [2023-03-15T02:12:07.530Z] ---> 19441b0f580b [2023-03-15T02:12:07.530Z] Step 12/24 : RUN $MAKE [2023-03-15T02:12:07.530Z] ---> Running in b5ab359eed8a [2023-03-15T02:12:08.491Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T02:14:30.212Z] Removing intermediate container b5ab359eed8a [2023-03-15T02:14:30.212Z] ---> f727e69976e0 [2023-03-15T02:14:30.212Z] Step 13/24 : FROM alpine:3.16 [2023-03-15T02:14:30.212Z] 3.16: Pulling from library/alpine [2023-03-15T02:14:30.212Z] 3760b48202b3: Pulling fs layer [2023-03-15T02:14:30.212Z] 3760b48202b3: Verifying Checksum [2023-03-15T02:14:30.212Z] 3760b48202b3: Download complete [2023-03-15T02:14:30.212Z] 3760b48202b3: Pull complete [2023-03-15T02:14:30.212Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-15T02:14:30.212Z] Status: Downloaded newer image for alpine:3.16 [2023-03-15T02:14:30.212Z] ---> 4c81e5bf8899 [2023-03-15T02:14:30.212Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T02:14:30.212Z] ---> Running in 6383330ab2b7 [2023-03-15T02:14:30.212Z] Removing intermediate container 6383330ab2b7 [2023-03-15T02:14:30.212Z] ---> d784e2b0c59f [2023-03-15T02:14:30.212Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T02:14:30.212Z] ---> Running in 9d62b76aba11 [2023-03-15T02:14:30.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:14:30.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:14:30.212Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-15T02:14:30.212Z] Executing busybox-1.35.0-r17.trigger [2023-03-15T02:14:30.212Z] OK: 5 MiB in 15 packages [2023-03-15T02:14:30.212Z] Removing intermediate container 9d62b76aba11 [2023-03-15T02:14:30.212Z] ---> 1351e36eb1ee [2023-03-15T02:14:30.212Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T02:14:30.212Z] ---> 977d43bcbfd8 [2023-03-15T02:14:30.212Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T02:14:30.212Z] ---> d1190d2d2b0e [2023-03-15T02:14:30.212Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T02:14:30.212Z] ---> 36f428b6b982 [2023-03-15T02:14:30.212Z] Step 19/24 : EXPOSE 59982 [2023-03-15T02:14:30.212Z] ---> Running in 167ff605804c [2023-03-15T02:14:30.212Z] Removing intermediate container 167ff605804c [2023-03-15T02:14:30.212Z] ---> ff06f2129d02 [2023-03-15T02:14:30.212Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T02:14:30.212Z] ---> Running in b8cbed4f8c2b [2023-03-15T02:14:30.212Z] Removing intermediate container b8cbed4f8c2b [2023-03-15T02:14:30.212Z] ---> 41cdaa7f6937 [2023-03-15T02:14:30.212Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T02:14:30.212Z] ---> Running in a6ecd2d65aff [2023-03-15T02:14:30.212Z] Removing intermediate container a6ecd2d65aff [2023-03-15T02:14:30.212Z] ---> 47c2a28c1cf0 [2023-03-15T02:14:30.212Z] Step 22/24 : LABEL arch=arm64 [2023-03-15T02:14:30.212Z] ---> Running in 0272eeeec0de [2023-03-15T02:14:30.212Z] Removing intermediate container 0272eeeec0de [2023-03-15T02:14:30.212Z] ---> b06ae769f6c0 [2023-03-15T02:14:30.212Z] Step 23/24 : LABEL git_sha=94b69f940749067bc0513cff547016ef153353e6 [2023-03-15T02:14:30.212Z] ---> Running in 3ff18f326ada [2023-03-15T02:14:30.212Z] Removing intermediate container 3ff18f326ada [2023-03-15T02:14:30.212Z] ---> 720b52ec40ad [2023-03-15T02:14:30.212Z] Step 24/24 : LABEL version=0.0.0 [2023-03-15T02:14:30.212Z] ---> Running in 063a1ab12c42 [2023-03-15T02:14:30.212Z] Removing intermediate container 063a1ab12c42 [2023-03-15T02:14:30.212Z] ---> d5ee37744a7b [2023-03-15T02:14:30.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:14:30.212Z] Successfully built d5ee37744a7b [2023-03-15T02:14:30.212Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:14:31.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:14:31.025Z] [2023-03-15T02:14:31.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:14:31.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:14:31.427Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T02:14:31.427Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T02:14:31.427Z] 04944245beec: Pulling fs layer [2023-03-15T02:14:31.427Z] 699f458cf7ca: Pulling fs layer [2023-03-15T02:14:31.427Z] 765212b225bb: Pulling fs layer [2023-03-15T02:14:31.427Z] f23df028b6ca: Pulling fs layer [2023-03-15T02:14:31.427Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T02:14:31.427Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T02:14:31.427Z] f23df028b6ca: Waiting [2023-03-15T02:14:31.427Z] d65c8cfc05b1: Waiting [2023-03-15T02:14:31.427Z] 2437ff75d9bd: Waiting [2023-03-15T02:14:31.427Z] 765212b225bb: Waiting [2023-03-15T02:14:31.695Z] 04944245beec: Verifying Checksum [2023-03-15T02:14:31.695Z] 04944245beec: Download complete [2023-03-15T02:14:31.695Z] 765212b225bb: Verifying Checksum [2023-03-15T02:14:31.695Z] 765212b225bb: Download complete [2023-03-15T02:14:31.695Z] f23df028b6ca: Verifying Checksum [2023-03-15T02:14:31.695Z] f23df028b6ca: Download complete [2023-03-15T02:14:31.695Z] d65c8cfc05b1: Download complete [2023-03-15T02:14:31.966Z] 699f458cf7ca: Verifying Checksum [2023-03-15T02:14:31.966Z] 699f458cf7ca: Download complete [2023-03-15T02:14:32.235Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T02:14:32.235Z] 8998bd30e6a1: Download complete [2023-03-15T02:14:34.820Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T02:14:34.820Z] 2437ff75d9bd: Download complete [2023-03-15T02:14:36.228Z] 8998bd30e6a1: Pull complete [2023-03-15T02:14:36.812Z] 04944245beec: Pull complete [2023-03-15T02:14:38.223Z] 699f458cf7ca: Pull complete [2023-03-15T02:14:41.563Z] 765212b225bb: Pull complete [2023-03-15T02:14:41.830Z] f23df028b6ca: Pull complete [2023-03-15T02:14:42.099Z] d65c8cfc05b1: Pull complete [2023-03-15T02:14:57.102Z] 2437ff75d9bd: Pull complete [2023-03-15T02:14:57.102Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T02:14:57.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:14:57.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:14:57.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-322 does not seem to be running inside a container [2023-03-15T02:14:57.569Z] $ 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-03-15T02:15:00.150Z] $ docker top a72f80b1b8b213ed31d197a069d40f32d2382555cf6388c8de9a184b758e7c17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:01.085Z] ---> job-cost.sh [2023-03-15T02:15:01.085Z] lf-activate-venv: SKIPPING [2023-03-15T02:15:01.085Z] INFO: No Stack... [2023-03-15T02:15:01.354Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T02:15:02.340Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:15:03.007Z] + + cut -d,cat -f6 /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-15T02:15:03.008Z] [Pipeline] lock [2023-03-15T02:15:03.080Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] [2023-03-15T02:15:03.086Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] did not exist. Created. [2023-03-15T02:15:03.086Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:15:03.478Z] /w/workspace/device-mqtt-go/1@tmp/durable-73b8ef86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T02:15:03.832Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T02:15:04.133Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T02:15:04.183Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:15:04.198Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:15:04.292Z] $ docker stop --time=1 a72f80b1b8b213ed31d197a069d40f32d2382555cf6388c8de9a184b758e7c17 [2023-03-15T02:15:05.823Z] $ docker rm -f --volumes a72f80b1b8b213ed31d197a069d40f32d2382555cf6388c8de9a184b758e7c17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-15T02:15:06.811Z] provisioning config files... [2023-03-15T02:15:06.820Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config8619450936757652966tmp [Pipeline] { [Pipeline] sh [2023-03-15T02:15:07.158Z] + set +x [2023-03-15T02:15:07.158Z] + curl -s https://codecov.io/bash [2023-03-15T02:15:07.158Z] + bash -s -- [2023-03-15T02:15:07.158Z] [2023-03-15T02:15:07.158Z] _____ _ [2023-03-15T02:15:07.158Z] / ____| | | [2023-03-15T02:15:07.158Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T02:15:07.158Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T02:15:07.158Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T02:15:07.158Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T02:15:07.158Z] Bash-1.0.6 [2023-03-15T02:15:07.158Z] [2023-03-15T02:15:07.158Z] [2023-03-15T02:15:07.158Z] ==> git version 2.25.1 found [2023-03-15T02:15:07.158Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-15T02:15:07.158Z] Release-Date: 2020-01-08 [2023-03-15T02:15:07.158Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T02:15:07.158Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T02:15:07.158Z] ==> Jenkins CI detected. [2023-03-15T02:15:07.158Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-528 [2023-03-15T02:15:07.158Z] project root: . [2023-03-15T02:15:07.158Z] --> token set from env [2023-03-15T02:15:07.158Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T02:15:07.158Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T02:15:07.158Z] ==> Python coveragepy not found [2023-03-15T02:15:07.158Z] ==> Searching for coverage reports in: [2023-03-15T02:15:07.158Z] + . [2023-03-15T02:15:07.158Z] -> Found 1 reports [2023-03-15T02:15:07.158Z] ==> Detecting git/mercurial file structure [2023-03-15T02:15:07.158Z] ==> Reading reports [2023-03-15T02:15:07.158Z] + ./coverage.out bytes=18047 [2023-03-15T02:15:07.158Z] ==> Appending adjustments [2023-03-15T02:15:07.158Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T02:15:07.417Z] + Found adjustments [2023-03-15T02:15:07.417Z] ==> Gzipping contents [2023-03-15T02:15:07.417Z] 4.0K /tmp/codecov.re9S1g.gz [2023-03-15T02:15:07.417Z] ==> Uploading reports [2023-03-15T02:15:07.417Z] url: https://codecov.io [2023-03-15T02:15:07.417Z] query: branch=PR-528&commit=94b69f940749067bc0513cff547016ef153353e6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-528%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=528&job=&cmd_args= [2023-03-15T02:15:07.417Z] -> Pinging Codecov [2023-03-15T02:15:07.417Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-528&commit=94b69f940749067bc0513cff547016ef153353e6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-528%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=528&job=&cmd_args= [2023-03-15T02:15:07.677Z] -> Uploading to [2023-03-15T02:15:07.678Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/94b69f940749067bc0513cff547016ef153353e6/066b4bae-912e-4a46-bff5-6253e4a15180.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T021507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7e4db96e3c1c9fd2ae983e163b4ecd3e2dfad8cafcf359e4940fa346fac20c8 [2023-03-15T02:15:07.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:15:07.678Z] Dload Upload Total Spent Left Speed [2023-03-15T02:15:07.939Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 11492 --:--:-- --:--:-- --:--:-- 11492 [2023-03-15T02:15:07.939Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/94b69f940749067bc0513cff547016ef153353e6 [Pipeline] } [2023-03-15T02:15:07.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-15T02:15:09.775Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives ] [2023-03-15T02:15:09.775Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives [2023-03-15T02:15:09.775Z] total 16 [2023-03-15T02:15:09.775Z] drwxr-xr-x 3 root root 4096 Mar 15 02:04 . [2023-03-15T02:15:09.775Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 02:04 .. [2023-03-15T02:15:09.775Z] drwxr-xr-x 2 root root 4096 Mar 15 02:04 cost [2023-03-15T02:15:09.775Z] -rw-r--r-- 1 root root 86 Mar 15 02:04 cost.csv [2023-03-15T02:15:09.775Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives [2023-03-15T02:15:09.775Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives [2023-03-15T02:15:09.775Z] total 16 [2023-03-15T02:15:09.775Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:04 . [2023-03-15T02:15:09.775Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 02:04 .. [2023-03-15T02:15:09.775Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:04 cost [2023-03-15T02:15:09.775Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 02:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:10.097Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:10.980Z] ---> package-listing.sh [2023-03-15T02:15:10.980Z] ++ facter osfamily [2023-03-15T02:15:10.980Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T02:15:11.239Z] + OS_FAMILY=debian [2023-03-15T02:15:11.239Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-528 [2023-03-15T02:15:11.239Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T02:15:11.239Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T02:15:11.239Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T02:15:11.239Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T02:15:11.239Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-528 ']' [2023-03-15T02:15:11.239Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T02:15:11.239Z] + case "${OS_FAMILY}" in [2023-03-15T02:15:11.239Z] + dpkg -l [2023-03-15T02:15:11.239Z] + grep '^ii' [2023-03-15T02:15:11.239Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T02:15:11.239Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T02:15:11.239Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T02:15:11.239Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-528 ']' [2023-03-15T02:15:11.239Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives/ [2023-03-15T02:15:11.239Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives/ [Pipeline] echo [2023-03-15T02:15:11.275Z] 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-528/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T02:15:11.568Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:15:12.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:15:12.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:15:12.339Z] prd-ubuntu20.04-docker-8c-8g-320 does not seem to be running inside a container [2023-03-15T02:15:12.369Z] $ 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-528/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-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@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-03-15T02:15:12.611Z] $ docker top 8cfa0f1e89d300e87a940378e800b96f751ecade8936ec35b561c083e81426c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:15:12.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T02:15:13.302Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T02:15:13.615Z] + ls /var/log/sa-host [2023-03-15T02:15:13.615Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:15:13.754Z] provisioning config files... [2023-03-15T02:15:13.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config4223500154600396438tmp [Pipeline] { [Pipeline] echo [2023-03-15T02:15:13.811Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:14.124Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T02:15:14.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:14.525Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T02:15:14.558Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:14.868Z] ---> sudo-logs.sh [2023-03-15T02:15:14.868Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T02:15:14.955Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:15.262Z] ---> job-cost.sh [2023-03-15T02:15:15.263Z] lf-activate-venv: SKIPPING [2023-03-15T02:15:15.263Z] DEBUG: total: 0.2199999988079071 [2023-03-15T02:15:15.263Z] INFO: Retrieving Stack Cost... [2023-03-15T02:15:15.522Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:15:16.089Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T02:15:16.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:15:16.438Z] ---> logs-deploy.sh [2023-03-15T02:15:16.438Z] lf-activate-venv: SKIPPING [2023-03-15T02:15:16.438Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-528/1 [2023-03-15T02:15:16.438Z] INFO: archiving workspace using pattern(s): [2023-03-15T02:15:17.374Z] Archives upload complete. [2023-03-15T02:15:17.374Z] INFO: archiving logs to Nexus