Pull request #536 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 86be8d59ddea7c9ee20aefa99f267e5d12aeb669+c80097c4a9a507998513a772aabe6c68a90454ef (5846b3df4c17704d5b6443015a43a1f8b9fea25e) 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-ssh8667386944292888659.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-ssh8895784904938029263.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-536/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-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8198459531750098930.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-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2006404953302070672.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-ssh17205914325589979708.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-536/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-536/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12310858867568178390.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-4566 in /w/workspace/gexfoundry_device-mqtt-go_PR-536 [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-536 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c80097c4a9a507998513a772aabe6c68a90454ef into PR head commit 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 Merge succeeded, producing 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 Checking out Revision 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 (PR-536) 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-20T01:52:10.286Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-20T01:52:10.448Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-20T01:52:10.632Z] ========================================================= [2023-03-20T01:52:10.632Z] EdgeX Global Pipelines Version Info [2023-03-20T01:52:10.632Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:52:11.404Z] ------------------- [2023-03-20T01:52:11.404Z] stable info: [2023-03-20T01:52:11.404Z] ------------------- [2023-03-20T01:52:11.404Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-20T01:52:11.404Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-20T01:52:11.404Z] Message: update stable to v1.0.245 [2023-03-20T01:52:11.975Z] ------------------- [2023-03-20T01:52:11.975Z] experimental info: [2023-03-20T01:52:11.975Z] ------------------- [2023-03-20T01:52:11.975Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-20T01:52:11.975Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-20T01:52:11.975Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-20T01:52:12.261Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-20T01:52:12.303Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-20T01:52:12.344Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-20T01:52:12.380Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-20T01:52:12.417Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-20T01:52:12.455Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-20T01:52:12.494Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-20T01:52:12.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-20T01:52:12.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-20T01:52:12.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-20T01:52:12.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-20T01:52:12.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-20T01:52:12.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-20T01:52:12.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-20T01:52:12.816Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T01:52:12.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T01:52:12.900Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T01:52:12.941Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T01:52:12.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-20T01:52:13.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-20T01:52:13.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-20T01:52:13.090Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-20T01:52:13.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-20T01:52:13.167Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-20T01:52:13.205Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-20T01:52:13.251Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-20T01:52:13.293Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-20T01:52:13.330Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-536 [Pipeline] echo [2023-03-20T01:52:13.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-536 [Pipeline] echo [2023-03-20T01:52:13.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-536 [Pipeline] echo [2023-03-20T01:52:13.466Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [Pipeline] echo [2023-03-20T01:52:13.510Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86be8d5 [Pipeline] echo [2023-03-20T01:52:13.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T01:52:13.682Z] provisioning config files... [2023-03-20T01:52:13.702Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/config13853901816283820568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:52:14.051Z] ---> docker-login.sh [2023-03-20T01:52:14.051Z] nexus3.edgexfoundry.org:10001 [2023-03-20T01:52:14.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:14.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:14.314Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:14.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:14.314Z] [2023-03-20T01:52:14.314Z] Login Succeeded [2023-03-20T01:52:14.314Z] nexus3.edgexfoundry.org:10002 [2023-03-20T01:52:14.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:14.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:14.577Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:14.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:14.577Z] [2023-03-20T01:52:14.577Z] Login Succeeded [2023-03-20T01:52:14.577Z] nexus3.edgexfoundry.org:10003 [2023-03-20T01:52:14.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:14.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:14.577Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:14.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:14.577Z] [2023-03-20T01:52:14.577Z] Login Succeeded [2023-03-20T01:52:14.577Z] nexus3.edgexfoundry.org:10004 [2023-03-20T01:52:14.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:14.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:14.838Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:14.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:14.838Z] [2023-03-20T01:52:14.838Z] Login Succeeded [2023-03-20T01:52:14.838Z] docker.io [2023-03-20T01:52:14.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:15.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:15.100Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:15.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:15.100Z] [2023-03-20T01:52:15.100Z] Login Succeeded [2023-03-20T01:52:15.100Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T01:52:15.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-20T01:52:15.769Z] + git rev-list -1 --merges 86be8d59ddea7c9ee20aefa99f267e5d12aeb669~1..86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [Pipeline] echo [2023-03-20T01:52:15.832Z] -----------> git rev-list -1 --merges 86be8d59ddea7c9ee20aefa99f267e5d12aeb669~1..86be8d59ddea7c9ee20aefa99f267e5d12aeb669 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [false] [Pipeline] sh [2023-03-20T01:52:16.138Z] + git log --format=format:%s -1 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [Pipeline] echo [2023-03-20T01:52:16.170Z] ========================================================= [2023-03-20T01:52:16.170Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-20T01:52:16.170Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T01:52:16.595Z] + git log --format=format:%s -1 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [Pipeline] echo [2023-03-20T01:52:16.631Z] [semverPrep] GIT_COMMIT: 86be8d59ddea7c9ee20aefa99f267e5d12aeb669, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-20T01:52:16.660Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-20T01:52:17.086Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-20T01:52:17.086Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-20T01:52:17.086Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-20T01:52:17.086Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-20T01:52:17.086Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-03-20T01:52:17.086Z] -a /etc/ssh/ssh_known_hosts [2023-03-20T01:52:17.086Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:52:17.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T01:52:17.521Z] [2023-03-20T01:52:17.521Z] 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-20T01:52:17.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T01:52:17.899Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-20T01:52:17.899Z] b85a868b505f: Pulling fs layer [2023-03-20T01:52:17.899Z] e2be974225ed: Pulling fs layer [2023-03-20T01:52:17.899Z] 339a4e72a1f5: Pulling fs layer [2023-03-20T01:52:17.899Z] 988bab9f4d93: Pulling fs layer [2023-03-20T01:52:17.899Z] 1469e6f7b9e6: Pulling fs layer [2023-03-20T01:52:17.899Z] eaf3925da568: Pulling fs layer [2023-03-20T01:52:17.899Z] bab4dde63d76: Pulling fs layer [2023-03-20T01:52:17.899Z] bde34c3a00c8: Pulling fs layer [2023-03-20T01:52:17.899Z] b352a97aabf1: Pulling fs layer [2023-03-20T01:52:17.899Z] 4872d77fe225: Pulling fs layer [2023-03-20T01:52:17.899Z] 5851b861e8e6: Pulling fs layer [2023-03-20T01:52:17.899Z] bde34c3a00c8: Waiting [2023-03-20T01:52:17.899Z] 4872d77fe225: Waiting [2023-03-20T01:52:17.899Z] b352a97aabf1: Waiting [2023-03-20T01:52:17.899Z] 988bab9f4d93: Waiting [2023-03-20T01:52:17.899Z] 1469e6f7b9e6: Waiting [2023-03-20T01:52:17.899Z] eaf3925da568: Waiting [2023-03-20T01:52:17.899Z] bab4dde63d76: Waiting [2023-03-20T01:52:17.899Z] 5851b861e8e6: Waiting [2023-03-20T01:52:17.899Z] e2be974225ed: Verifying Checksum [2023-03-20T01:52:17.899Z] e2be974225ed: Download complete [2023-03-20T01:52:17.899Z] 988bab9f4d93: Verifying Checksum [2023-03-20T01:52:17.899Z] 988bab9f4d93: Download complete [2023-03-20T01:52:18.162Z] 1469e6f7b9e6: Verifying Checksum [2023-03-20T01:52:18.162Z] 1469e6f7b9e6: Download complete [2023-03-20T01:52:18.162Z] 339a4e72a1f5: Verifying Checksum [2023-03-20T01:52:18.162Z] 339a4e72a1f5: Download complete [2023-03-20T01:52:18.162Z] eaf3925da568: Download complete [2023-03-20T01:52:18.162Z] bde34c3a00c8: Download complete [2023-03-20T01:52:18.162Z] b352a97aabf1: Verifying Checksum [2023-03-20T01:52:18.162Z] b352a97aabf1: Download complete [2023-03-20T01:52:18.162Z] 4872d77fe225: Verifying Checksum [2023-03-20T01:52:18.162Z] 4872d77fe225: Download complete [2023-03-20T01:52:18.162Z] 5851b861e8e6: Verifying Checksum [2023-03-20T01:52:18.162Z] b85a868b505f: Download complete [2023-03-20T01:52:18.422Z] bab4dde63d76: Verifying Checksum [2023-03-20T01:52:18.422Z] bab4dde63d76: Download complete [2023-03-20T01:52:19.364Z] b85a868b505f: Pull complete [2023-03-20T01:52:19.625Z] e2be974225ed: Pull complete [2023-03-20T01:52:20.194Z] 339a4e72a1f5: Pull complete [2023-03-20T01:52:20.194Z] 988bab9f4d93: Pull complete [2023-03-20T01:52:20.454Z] 1469e6f7b9e6: Pull complete [2023-03-20T01:52:20.454Z] eaf3925da568: Pull complete [2023-03-20T01:52:22.362Z] bab4dde63d76: Pull complete [2023-03-20T01:52:22.362Z] bde34c3a00c8: Pull complete [2023-03-20T01:52:22.362Z] b352a97aabf1: Pull complete [2023-03-20T01:52:22.362Z] 4872d77fe225: Pull complete [2023-03-20T01:52:22.623Z] 5851b861e8e6: Pull complete [2023-03-20T01:52:22.623Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-20T01:52:22.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T01:52:22.623Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:52:22.866Z] prd-ubuntu20.04-docker-8c-8g-4566 does not seem to be running inside a container [2023-03-20T01:52:22.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-536 -v /w/workspace/gexfoundry_device-mqtt-go_PR-536:/w/workspace/gexfoundry_device-mqtt-go_PR-536:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-536@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-20T01:52:24.120Z] $ docker top fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc -eo pid,comm [2023-03-20T01:52:24.178Z] 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-20T01:52:24.178Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-20T01:52:24.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T01:52:24.303Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T01:52:24.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T01:52:24.416Z] $ docker exec fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc ssh-agent [2023-03-20T01:52:24.523Z] SSH_AUTH_SOCK=/tmp/ssh-LDyYMWWEwSlR/agent.31 [2023-03-20T01:52:24.523Z] SSH_AGENT_PID=37 [2023-03-20T01:52:24.531Z] Running ssh-add (command line suppressed) [2023-03-20T01:52:24.638Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/private_key_8586748254060869943.key (/w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/private_key_8586748254060869943.key) [2023-03-20T01:52:24.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T01:52:24.991Z] + git tag --points-at HEAD [Pipeline] } [2023-03-20T01:52:25.015Z] $ docker exec --env ******** --env ******** fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc ssh-agent -k [2023-03-20T01:52:25.121Z] unset SSH_AUTH_SOCK; [2023-03-20T01:52:25.121Z] unset SSH_AGENT_PID; [2023-03-20T01:52:25.121Z] echo Agent pid 37 killed; [2023-03-20T01:52:25.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-20T01:52:25.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T01:52:25.224Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T01:52:25.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T01:52:25.351Z] $ docker exec fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc ssh-agent [2023-03-20T01:52:25.458Z] SSH_AUTH_SOCK=/tmp/ssh-FlOmF7d9MHCu/agent.69 [2023-03-20T01:52:25.458Z] SSH_AGENT_PID=75 [2023-03-20T01:52:25.463Z] Running ssh-add (command line suppressed) [2023-03-20T01:52:25.577Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/private_key_16602194036160980192.key (/w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/private_key_16602194036160980192.key) [2023-03-20T01:52:25.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T01:52:25.919Z] + git semver init [2023-03-20T01:52:26.179Z] 2023-03-20 01:52:26,095 [run_init] DEBUG init version:0.0.0 force:False [2023-03-20T01:52:26.179Z] 2023-03-20 01:52:26,096 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver [2023-03-20T01:52:26.179Z] 2023-03-20 01:52:26,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver [2023-03-20T01:52:26.179Z] 2023-03-20 01:52:26,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-536, universal_newlines=False, shell=None, istream=None) [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,825 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-536/.git/info/exclude [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver/PR-536 with force:False [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,826 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver/PR-536 [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,830 [execute] INFO git cat-file --batch-check [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,837 [execute] INFO git cat-file --batch [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T01:52:27.116Z] 2023-03-20 01:52:26,842 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-536/.semver/PR-536 [2023-03-20T01:52:27.116Z] 0.0.0 [Pipeline] } [2023-03-20T01:52:27.139Z] $ docker exec --env ******** --env ******** fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc ssh-agent -k [2023-03-20T01:52:27.229Z] unset SSH_AUTH_SOCK; [2023-03-20T01:52:27.229Z] unset SSH_AGENT_PID; [2023-03-20T01:52:27.229Z] echo Agent pid 75 killed; [2023-03-20T01:52:27.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-20T01:52:27.676Z] + git semver [Pipeline] } [2023-03-20T01:52:27.963Z] $ docker stop --time=1 fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc [2023-03-20T01:52:29.290Z] $ docker rm -f --volumes fdfd83b57b3c2b2fbd863d64c3aa3e50ff17f2c3eabd785e4de75cbfa71808fc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T01:52:29.692Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-20T01:52:29.968Z] Stashed 1 file(s) [Pipeline] echo [2023-03-20T01:52:29.986Z] [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-20T01:52:30.666Z] provisioning config files... [2023-03-20T01:52:30.674Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/config16089688263801502104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:52:31.031Z] ---> docker-login.sh [2023-03-20T01:52:31.031Z] nexus3.edgexfoundry.org:10001 [2023-03-20T01:52:31.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:31.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:31.031Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:31.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:31.031Z] [2023-03-20T01:52:31.031Z] Login Succeeded [2023-03-20T01:52:31.031Z] nexus3.edgexfoundry.org:10002 [2023-03-20T01:52:31.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:31.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:31.031Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:31.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:31.031Z] [2023-03-20T01:52:31.031Z] Login Succeeded [2023-03-20T01:52:31.031Z] nexus3.edgexfoundry.org:10003 [2023-03-20T01:52:31.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:31.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:31.291Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:31.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:31.291Z] [2023-03-20T01:52:31.291Z] Login Succeeded [2023-03-20T01:52:31.291Z] nexus3.edgexfoundry.org:10004 [2023-03-20T01:52:31.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:31.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:31.291Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:31.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:31.291Z] [2023-03-20T01:52:31.291Z] Login Succeeded [2023-03-20T01:52:31.291Z] docker.io [2023-03-20T01:52:31.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:52:31.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:52:31.549Z] Configure a credential helper to remove this warning. See [2023-03-20T01:52:31.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:52:31.549Z] [2023-03-20T01:52:31.549Z] Login Succeeded [2023-03-20T01:52:31.549Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T01:52:31.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T01:52:31.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:52:31.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:52:31.835Z] ========================================================= [2023-03-20T01:52:31.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-20T01:52:31.835Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:52:32.314Z] + 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-20T01:52:32.314Z] Sending build context to Docker daemon 6.394MB [2023-03-20T01:52:32.314Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T01:52:32.314Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-20T01:52:32.314Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-20T01:52:32.314Z] 63b65145d645: Pulling fs layer [2023-03-20T01:52:32.314Z] a2d21d5440eb: Pulling fs layer [2023-03-20T01:52:32.314Z] 935e6c44a52c: Pulling fs layer [2023-03-20T01:52:32.314Z] 94cc34f8dd06: Pulling fs layer [2023-03-20T01:52:32.314Z] 30dea6a524f1: Pulling fs layer [2023-03-20T01:52:32.314Z] a2aff8979fd8: Pulling fs layer [2023-03-20T01:52:32.314Z] 6808be2612f2: Pulling fs layer [2023-03-20T01:52:32.314Z] f25807f1079a: Pulling fs layer [2023-03-20T01:52:32.314Z] 6808be2612f2: Waiting [2023-03-20T01:52:32.314Z] 94cc34f8dd06: Waiting [2023-03-20T01:52:32.314Z] a2aff8979fd8: Waiting [2023-03-20T01:52:32.314Z] f25807f1079a: Waiting [2023-03-20T01:52:32.314Z] 30dea6a524f1: Waiting [2023-03-20T01:52:32.314Z] a2d21d5440eb: Verifying Checksum [2023-03-20T01:52:32.314Z] a2d21d5440eb: Download complete [2023-03-20T01:52:32.314Z] 94cc34f8dd06: Verifying Checksum [2023-03-20T01:52:32.314Z] 94cc34f8dd06: Download complete [2023-03-20T01:52:32.578Z] 30dea6a524f1: Verifying Checksum [2023-03-20T01:52:32.578Z] 30dea6a524f1: Download complete [2023-03-20T01:52:32.578Z] 63b65145d645: Verifying Checksum [2023-03-20T01:52:32.578Z] 63b65145d645: Download complete [2023-03-20T01:52:32.578Z] a2aff8979fd8: Verifying Checksum [2023-03-20T01:52:32.578Z] a2aff8979fd8: Download complete [2023-03-20T01:52:32.578Z] 63b65145d645: Pull complete [2023-03-20T01:52:32.844Z] a2d21d5440eb: Pull complete [2023-03-20T01:52:33.104Z] f25807f1079a: Verifying Checksum [2023-03-20T01:52:33.104Z] f25807f1079a: Download complete [2023-03-20T01:52:33.104Z] 935e6c44a52c: Verifying Checksum [2023-03-20T01:52:33.104Z] 935e6c44a52c: Download complete [2023-03-20T01:52:33.363Z] 6808be2612f2: Verifying Checksum [2023-03-20T01:52:33.363Z] 6808be2612f2: Download complete [2023-03-20T01:52:36.686Z] 935e6c44a52c: Pull complete [2023-03-20T01:52:36.686Z] 94cc34f8dd06: Pull complete [2023-03-20T01:52:36.686Z] 30dea6a524f1: Pull complete [2023-03-20T01:52:36.686Z] a2aff8979fd8: Pull complete [2023-03-20T01:52:39.213Z] 6808be2612f2: Pull complete [2023-03-20T01:52:39.780Z] f25807f1079a: Pull complete [2023-03-20T01:52:39.780Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-20T01:52:39.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-20T01:52:39.780Z] ---> 3b553350e43f [2023-03-20T01:52:39.780Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-20T01:52:41.162Z] ---> Running in b7dbb048ac8f [2023-03-20T01:52:41.421Z] Removing intermediate container b7dbb048ac8f [2023-03-20T01:52:41.421Z] ---> 5604829a47d9 [2023-03-20T01:52:41.421Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T01:52:41.421Z] ---> Running in 8179b970d58e [2023-03-20T01:52:41.685Z] Removing intermediate container 8179b970d58e [2023-03-20T01:52:41.685Z] ---> 3def78cd2663 [2023-03-20T01:52:41.685Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-20T01:52:41.685Z] ---> Running in 93ce46dd2019 [2023-03-20T01:52:41.685Z] Removing intermediate container 93ce46dd2019 [2023-03-20T01:52:41.685Z] ---> c0e1c3065d1f [2023-03-20T01:52:41.685Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T01:52:41.685Z] ---> Running in 46f54787226b [2023-03-20T01:52:41.945Z] Removing intermediate container 46f54787226b [2023-03-20T01:52:41.945Z] ---> 8b5ce39454b0 [2023-03-20T01:52:41.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T01:52:41.945Z] ---> Running in 9c1ef6f16117 [2023-03-20T01:52:42.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T01:52:42.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T01:52:42.464Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-20T01:52:42.464Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-20T01:52:42.464Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-20T01:52:42.464Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-20T01:52:42.464Z] Executing busybox-1.35.0-r29.trigger [2023-03-20T01:52:42.464Z] OK: 269 MiB in 57 packages [2023-03-20T01:52:43.031Z] Removing intermediate container 9c1ef6f16117 [2023-03-20T01:52:43.031Z] ---> ac4bb96b18af [2023-03-20T01:52:43.031Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-20T01:52:43.031Z] ---> Running in 022641d3e9a2 [2023-03-20T01:52:43.031Z] Removing intermediate container 022641d3e9a2 [2023-03-20T01:52:43.031Z] ---> e89d7f6a2dcc [2023-03-20T01:52:43.031Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-20T01:52:43.290Z] ---> 119873690dfd [2023-03-20T01:52:43.290Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T01:52:43.290Z] ---> Running in b9b82688a264 [2023-03-20T01:52:45.394Z] Still waiting to schedule task [2023-03-20T01:52:45.394Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-20T01:53:09.842Z] Removing intermediate container b9b82688a264 [2023-03-20T01:53:09.842Z] ---> f978d300e129 [2023-03-20T01:53:09.842Z] Step 11/12 : COPY . . [2023-03-20T01:53:09.842Z] ---> 899473ea82f2 [2023-03-20T01:53:09.842Z] Step 12/12 : RUN $MAKE [2023-03-20T01:53:09.842Z] ---> Running in ec8e5b429cd4 [2023-03-20T01:53:09.842Z] noop [2023-03-20T01:53:09.842Z] Removing intermediate container ec8e5b429cd4 [2023-03-20T01:53:09.842Z] ---> 90d08b6eb53c [2023-03-20T01:53:09.842Z] Successfully built 90d08b6eb53c [2023-03-20T01:53:09.842Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:53:10.285Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T01:53:10.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:53:10.443Z] prd-ubuntu20.04-docker-8c-8g-4566 does not seem to be running inside a container [2023-03-20T01:53:10.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-536 -v /w/workspace/gexfoundry_device-mqtt-go_PR-536:/w/workspace/gexfoundry_device-mqtt-go_PR-536:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-536@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 ******** ci-base-image-x86_64 cat [2023-03-20T01:53:10.828Z] $ docker top 5d4b4ef18312dd205049381b102b00e0d9d7b7410219c9bf5228dfc8e3659ab2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:53:11.233Z] + go version [2023-03-20T01:53:11.233Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-20T01:53:11.298Z] $ docker stop --time=1 5d4b4ef18312dd205049381b102b00e0d9d7b7410219c9bf5228dfc8e3659ab2 [2023-03-20T01:53:12.604Z] $ docker rm -f --volumes 5d4b4ef18312dd205049381b102b00e0d9d7b7410219c9bf5228dfc8e3659ab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:53:13.299Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T01:53:13.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:53:13.456Z] prd-ubuntu20.04-docker-8c-8g-4566 does not seem to be running inside a container [2023-03-20T01:53:13.484Z] $ 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-536 -v /w/workspace/gexfoundry_device-mqtt-go_PR-536:/w/workspace/gexfoundry_device-mqtt-go_PR-536:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-536@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 ******** ci-base-image-x86_64 cat [2023-03-20T01:53:13.859Z] $ docker top ac5e7178ac2cbb69a531ce2ff33ff26c659df4c5f7a6f0a5d120a5d216117aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:53:14.256Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-536 [Pipeline] fileExists [Pipeline] sh [2023-03-20T01:53:14.621Z] + make test [2023-03-20T01:53:14.621Z] go test ./... -coverprofile=coverage.out ./... [2023-03-20T01:53:19.889Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-20T01:53:28.122Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-20T01:53:28.381Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-20T01:53:28.381Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.2% of statements [2023-03-20T01:53:33.645Z] go vet ./... [2023-03-20T01:53:37.833Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T01:53:37.833Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T01:53:37.833Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T01:53:37.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T01:53:37.903Z] $ docker stop --time=1 ac5e7178ac2cbb69a531ce2ff33ff26c659df4c5f7a6f0a5d120a5d216117aa2 [2023-03-20T01:53:39.894Z] $ docker rm -f --volumes ac5e7178ac2cbb69a531ce2ff33ff26c659df4c5f7a6f0a5d120a5d216117aa2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T01:53:40.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T01:53:40.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-20T01:53:41.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T01:53:41.533Z] + ls -al . [2023-03-20T01:53:41.533Z] total 180 [2023-03-20T01:53:41.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 01:53 . [2023-03-20T01:53:41.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 01:52 .. [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 01:52 .dockerignore [2023-03-20T01:53:41.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 01:52 .git [2023-03-20T01:53:41.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 01:52 .github [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 20 01:52 .gitignore [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 01:52 .golangci.yml [2023-03-20T01:53:41.533Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 01:52 .semver [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 20 01:52 Attribution.txt [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 20 01:52 CHANGELOG.md [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 20 01:52 Dockerfile [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 01:52 GOVERNANCE.md [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 20 01:52 Jenkinsfile [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 01:52 LICENSE [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 20 01:52 Makefile [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 01:52 OWNERS.md [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 20 01:52 README.md [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 01:52 VERSION [2023-03-20T01:53:41.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 01:52 bin [2023-03-20T01:53:41.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 01:52 cmd [2023-03-20T01:53:41.533Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 20 01:53 coverage.out [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 3378 Mar 20 01:52 go.mod [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 31301 Mar 20 01:52 go.sum [2023-03-20T01:53:41.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 01:52 internal [2023-03-20T01:53:41.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 01:52 mock [2023-03-20T01:53:41.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 01:52 snap [2023-03-20T01:53:41.533Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 20 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:53:41.922Z] + 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=86be8d59ddea7c9ee20aefa99f267e5d12aeb669 --label arch=amd64 --label version=0.0.0 . [2023-03-20T01:53:41.922Z] Sending build context to Docker daemon 6.413MB [2023-03-20T01:53:41.922Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T01:53:41.922Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-20T01:53:41.922Z] ---> 90d08b6eb53c [2023-03-20T01:53:41.922Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-20T01:53:41.922Z] ---> Running in 0e0e39bc21e2 [2023-03-20T01:53:42.180Z] Removing intermediate container 0e0e39bc21e2 [2023-03-20T01:53:42.180Z] ---> 0ebf70140c6d [2023-03-20T01:53:42.180Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T01:53:42.180Z] ---> Running in 9080d2ce0e97 [2023-03-20T01:53:42.180Z] Removing intermediate container 9080d2ce0e97 [2023-03-20T01:53:42.180Z] ---> dc5c0ef1e8c1 [2023-03-20T01:53:42.180Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-20T01:53:42.180Z] ---> Running in 5c7f992a0218 [2023-03-20T01:53:42.439Z] Removing intermediate container 5c7f992a0218 [2023-03-20T01:53:42.439Z] ---> aada1a5ff2d1 [2023-03-20T01:53:42.439Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T01:53:42.439Z] ---> Running in faa39a62a882 [2023-03-20T01:53:42.439Z] Removing intermediate container faa39a62a882 [2023-03-20T01:53:42.439Z] ---> 45825046bdf1 [2023-03-20T01:53:42.439Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T01:53:42.439Z] ---> Running in 032c8e6405ad [2023-03-20T01:53:42.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T01:53:42.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T01:53:42.957Z] OK: 269 MiB in 57 packages [2023-03-20T01:53:43.522Z] Removing intermediate container 032c8e6405ad [2023-03-20T01:53:43.522Z] ---> bba9912776be [2023-03-20T01:53:43.522Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-20T01:53:43.522Z] ---> Running in f6c6fce5a91c [2023-03-20T01:53:43.522Z] Removing intermediate container f6c6fce5a91c [2023-03-20T01:53:43.522Z] ---> bd92c11b7a44 [2023-03-20T01:53:43.522Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-20T01:53:43.780Z] ---> 1f2eeeeda6fc [2023-03-20T01:53:43.780Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T01:53:43.780Z] ---> Running in 34d9cba1aeba [2023-03-20T01:53:44.712Z] Removing intermediate container 34d9cba1aeba [2023-03-20T01:53:44.712Z] ---> 2f42c151bac2 [2023-03-20T01:53:44.712Z] Step 11/24 : COPY . . [2023-03-20T01:53:44.712Z] ---> 82ad4c376d28 [2023-03-20T01:53:44.712Z] Step 12/24 : RUN $MAKE [2023-03-20T01:53:44.973Z] ---> Running in f53dfd3e2f27 [2023-03-20T01:53:45.230Z] 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-20T01:54:03.311Z] Removing intermediate container f53dfd3e2f27 [2023-03-20T01:54:03.311Z] ---> 23c3fe6316fa [2023-03-20T01:54:03.311Z] Step 13/24 : FROM alpine:3.17 [2023-03-20T01:54:03.311Z] 3.17: Pulling from library/alpine [2023-03-20T01:54:03.311Z] 63b65145d645: Already exists [2023-03-20T01:54:03.311Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T01:54:03.311Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T01:54:03.311Z] ---> b2aa39c304c2 [2023-03-20T01:54:03.311Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-20T01:54:03.311Z] ---> Running in d705866fc5cb [2023-03-20T01:54:03.311Z] Removing intermediate container d705866fc5cb [2023-03-20T01:54:03.311Z] ---> 2af821624f45 [2023-03-20T01:54:03.311Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-20T01:54:03.311Z] ---> Running in d32492d97449 [2023-03-20T01:54:03.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T01:54:03.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T01:54:03.311Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-20T01:54:03.311Z] Executing busybox-1.35.0-r29.trigger [2023-03-20T01:54:03.311Z] OK: 7 MiB in 16 packages [2023-03-20T01:54:03.311Z] Removing intermediate container d32492d97449 [2023-03-20T01:54:03.311Z] ---> 896122903fe2 [2023-03-20T01:54:03.311Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-20T01:54:03.311Z] ---> 48968215cd26 [2023-03-20T01:54:03.311Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-20T01:54:03.311Z] ---> 2dcb50a675cb [2023-03-20T01:54:03.311Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-20T01:54:03.572Z] ---> 8a589622c58a [2023-03-20T01:54:03.572Z] Step 19/24 : EXPOSE 59982 [2023-03-20T01:54:03.572Z] ---> Running in a9de5cfe551f [2023-03-20T01:54:03.572Z] Removing intermediate container a9de5cfe551f [2023-03-20T01:54:03.572Z] ---> e28218379b4c [2023-03-20T01:54:03.572Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-20T01:54:03.572Z] ---> Running in f30a5e18ddfe [2023-03-20T01:54:03.831Z] Removing intermediate container f30a5e18ddfe [2023-03-20T01:54:03.831Z] ---> 89136920cf1c [2023-03-20T01:54:03.831Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-20T01:54:03.831Z] ---> Running in 5d74c646d2c8 [2023-03-20T01:54:03.831Z] Removing intermediate container 5d74c646d2c8 [2023-03-20T01:54:03.831Z] ---> 3524763f7d3c [2023-03-20T01:54:03.831Z] Step 22/24 : LABEL arch=amd64 [2023-03-20T01:54:03.831Z] ---> Running in 14aabdb6b8b6 [2023-03-20T01:54:03.831Z] Removing intermediate container 14aabdb6b8b6 [2023-03-20T01:54:03.831Z] ---> 465be92fa5a3 [2023-03-20T01:54:03.831Z] Step 23/24 : LABEL git_sha=86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [2023-03-20T01:54:03.831Z] ---> Running in f49fadb5825b [2023-03-20T01:54:04.091Z] Removing intermediate container f49fadb5825b [2023-03-20T01:54:04.091Z] ---> e120a2844373 [2023-03-20T01:54:04.091Z] Step 24/24 : LABEL version=0.0.0 [2023-03-20T01:54:04.091Z] ---> Running in e4b5570527cf [2023-03-20T01:54:04.091Z] Removing intermediate container e4b5570527cf [2023-03-20T01:54:04.091Z] ---> 0d26d40ea00a [2023-03-20T01:54:04.091Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T01:54:04.091Z] Successfully built 0d26d40ea00a [2023-03-20T01:54:04.091Z] 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-20T01:54:04.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:54:04.926Z] [2023-03-20T01:54:04.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:54:05.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:54:05.300Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-20T01:54:05.300Z] 5eb5b503b376: Pulling fs layer [2023-03-20T01:54:05.300Z] 5c69ac0246d0: Pulling fs layer [2023-03-20T01:54:05.300Z] ec43610c2a17: Pulling fs layer [2023-03-20T01:54:05.300Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-20T01:54:05.300Z] 33b1e0a273af: Pulling fs layer [2023-03-20T01:54:05.300Z] 5d3b04190fa2: Pulling fs layer [2023-03-20T01:54:05.300Z] 2f39f015ded8: Pulling fs layer [2023-03-20T01:54:05.300Z] 33b1e0a273af: Waiting [2023-03-20T01:54:05.300Z] 5d3b04190fa2: Waiting [2023-03-20T01:54:05.300Z] 2f39f015ded8: Waiting [2023-03-20T01:54:05.300Z] 3a2ae6a8a46f: Waiting [2023-03-20T01:54:05.300Z] 5c69ac0246d0: Verifying Checksum [2023-03-20T01:54:05.300Z] 5c69ac0246d0: Download complete [2023-03-20T01:54:05.300Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-20T01:54:05.300Z] 3a2ae6a8a46f: Download complete [2023-03-20T01:54:05.300Z] 33b1e0a273af: Download complete [2023-03-20T01:54:05.300Z] 5d3b04190fa2: Verifying Checksum [2023-03-20T01:54:05.300Z] 5d3b04190fa2: Download complete [2023-03-20T01:54:05.560Z] ec43610c2a17: Verifying Checksum [2023-03-20T01:54:05.560Z] ec43610c2a17: Download complete [2023-03-20T01:54:05.560Z] 5eb5b503b376: Verifying Checksum [2023-03-20T01:54:05.560Z] 5eb5b503b376: Download complete [2023-03-20T01:54:06.127Z] 2f39f015ded8: Download complete [2023-03-20T01:54:06.692Z] 5eb5b503b376: Pull complete [2023-03-20T01:54:06.692Z] 5c69ac0246d0: Pull complete [2023-03-20T01:54:07.271Z] ec43610c2a17: Pull complete [2023-03-20T01:54:07.271Z] 3a2ae6a8a46f: Pull complete [2023-03-20T01:54:07.531Z] 33b1e0a273af: Pull complete [2023-03-20T01:54:07.531Z] 5d3b04190fa2: Pull complete [2023-03-20T01:54:11.716Z] 2f39f015ded8: Pull complete [2023-03-20T01:54:11.716Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-20T01:54:11.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T01:54:11.716Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:54:11.932Z] prd-ubuntu20.04-docker-8c-8g-4566 does not seem to be running inside a container [2023-03-20T01:54:11.962Z] $ 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-536 -v /w/workspace/gexfoundry_device-mqtt-go_PR-536:/w/workspace/gexfoundry_device-mqtt-go_PR-536:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-536@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-20T01:54:13.613Z] $ docker top ee18e8e322720a3608ce6d5c1d650866a7bb223dc1719caeee2cf0826c57dfe8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:54:14.059Z] ---> job-cost.sh [2023-03-20T01:54:14.059Z] lf-activate-venv: SKIPPING [2023-03-20T01:54:14.059Z] INFO: No Stack... [2023-03-20T01:54:14.318Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T01:54:14.886Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T01:54:15.217Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives/cost.csv [2023-03-20T01:54:15.217Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T01:54:15.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] [2023-03-20T01:54:15.258Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] did not exist. Created. [2023-03-20T01:54:15.258Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T01:54:15.716Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-20T01:54:15.759Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T01:54:15.784Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T01:54:15.851Z] $ docker stop --time=1 ee18e8e322720a3608ce6d5c1d650866a7bb223dc1719caeee2cf0826c57dfe8 [2023-03-20T01:54:17.011Z] $ docker rm -f --volumes ee18e8e322720a3608ce6d5c1d650866a7bb223dc1719caeee2cf0826c57dfe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T01:56:11.393Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4568 in /w/workspace/gexfoundry_device-mqtt-go_PR-536 [Pipeline] { [Pipeline] ws [2023-03-20T01:56:11.452Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-20T01:56:11.527Z] Selected Git installation does not exist. Using Default [2023-03-20T01:56:11.527Z] The recommended git tool is: NONE [2023-03-20T01:56:16.988Z] using credential edgex-jenkins-ssh [2023-03-20T01:56:17.008Z] Cloning the remote Git repository [2023-03-20T01:56:17.050Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-20T01:56:17.138Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-20T01:56:17.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-20T01:56:17.293Z] > git --version # timeout=10 [2023-03-20T01:56:17.312Z] > git --version # 'git version 2.25.1' [2023-03-20T01:56:17.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T01:56:17.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T01:56:18.541Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-20T01:56:18.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T01:56:19.936Z] Merging remotes/origin/main commit c80097c4a9a507998513a772aabe6c68a90454ef into PR head commit 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [2023-03-20T01:56:20.184Z] Merge succeeded, producing 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [2023-03-20T01:56:20.185Z] Checking out Revision 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 (PR-536) [2023-03-20T01:56:19.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-20T01:56:19.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-20T01:56:19.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T01:56:19.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-20T01:56:19.953Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T01:56:20.019Z] > git checkout -f 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 # timeout=10 [2023-03-20T01:56:20.097Z] > git remote # timeout=10 [2023-03-20T01:56:20.114Z] > git config --get remote.origin.url # timeout=10 [2023-03-20T01:56:20.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T01:56:20.145Z] > git merge c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 [2023-03-20T01:56:20.169Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-20T01:56:20.191Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T01:56:20.200Z] > git checkout -f 86be8d59ddea7c9ee20aefa99f267e5d12aeb669 # timeout=10 [2023-03-20T01:56:20.611Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-20T01:56:20.655Z] > git --version # timeout=10 [2023-03-20T01:56:20.664Z] > git --version # 'git version 2.25.1' [2023-03-20T01:56:20.675Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T01:56:21.859Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-20T01:56:21.859Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T01:56:21.859Z] Dload Upload Total Spent Left Speed [2023-03-20T01:56:21.859Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-03-20T01:56:22.461Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-20T01:56:22.797Z] + sudo tee /etc/docker/daemon.new [2023-03-20T01:56:22.797Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-20T01:56:22.797Z] { [2023-03-20T01:56:22.797Z] "registry-mirrors": [ [2023-03-20T01:56:22.797Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-20T01:56:22.797Z] ], [2023-03-20T01:56:22.797Z] "bip": "10.250.0.254/24", [2023-03-20T01:56:22.797Z] "hosts": [ [2023-03-20T01:56:22.797Z] "tcp://0.0.0.0:5555", [2023-03-20T01:56:22.797Z] "unix:///var/run/docker.sock" [2023-03-20T01:56:22.797Z] ], [2023-03-20T01:56:22.797Z] "mtu": 1458, [2023-03-20T01:56:22.797Z] "selinux-enabled": true, [2023-03-20T01:56:22.797Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-20T01:56:22.797Z] } [Pipeline] sh [2023-03-20T01:56:23.133Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-20T01:56:23.487Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T01:56:41.794Z] provisioning config files... [2023-03-20T01:56:41.821Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7235415666702174935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T01:56:42.219Z] ---> docker-login.sh [2023-03-20T01:56:42.219Z] nexus3.edgexfoundry.org:10001 [2023-03-20T01:56:42.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:56:42.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:56:42.759Z] Configure a credential helper to remove this warning. See [2023-03-20T01:56:42.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:56:42.759Z] [2023-03-20T01:56:42.759Z] Login Succeeded [2023-03-20T01:56:43.029Z] nexus3.edgexfoundry.org:10002 [2023-03-20T01:56:43.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:56:43.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:56:43.301Z] Configure a credential helper to remove this warning. See [2023-03-20T01:56:43.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:56:43.301Z] [2023-03-20T01:56:43.301Z] Login Succeeded [2023-03-20T01:56:43.301Z] nexus3.edgexfoundry.org:10003 [2023-03-20T01:56:43.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:56:43.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:56:43.570Z] Configure a credential helper to remove this warning. See [2023-03-20T01:56:43.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:56:43.570Z] [2023-03-20T01:56:43.570Z] Login Succeeded [2023-03-20T01:56:43.570Z] nexus3.edgexfoundry.org:10004 [2023-03-20T01:56:43.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:56:44.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:56:44.116Z] Configure a credential helper to remove this warning. See [2023-03-20T01:56:44.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:56:44.116Z] [2023-03-20T01:56:44.116Z] Login Succeeded [2023-03-20T01:56:44.116Z] docker.io [2023-03-20T01:56:44.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T01:56:44.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T01:56:44.657Z] Configure a credential helper to remove this warning. See [2023-03-20T01:56:44.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T01:56:44.657Z] [2023-03-20T01:56:44.657Z] Login Succeeded [2023-03-20T01:56:44.657Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T01:56:44.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T01:56:45.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:56:45.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T01:56:45.176Z] ========================================================= [2023-03-20T01:56:45.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-20T01:56:45.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:56:45.703Z] + 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-20T01:56:45.975Z] Sending build context to Docker daemon 3.314MB [2023-03-20T01:56:45.975Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T01:56:45.975Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-20T01:56:46.246Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-20T01:56:46.246Z] af6eaf76a39c: Pulling fs layer [2023-03-20T01:56:46.246Z] 55522c791124: Pulling fs layer [2023-03-20T01:56:46.246Z] ce5c4a1c91eb: Pulling fs layer [2023-03-20T01:56:46.246Z] 169dfbe0d373: Pulling fs layer [2023-03-20T01:56:46.246Z] e1ff8fa3b103: Pulling fs layer [2023-03-20T01:56:46.246Z] 52ebb69f0ebf: Pulling fs layer [2023-03-20T01:56:46.246Z] 5abe8eddf0d5: Pulling fs layer [2023-03-20T01:56:46.246Z] 169dfbe0d373: Waiting [2023-03-20T01:56:46.246Z] e1ff8fa3b103: Waiting [2023-03-20T01:56:46.246Z] 52ebb69f0ebf: Waiting [2023-03-20T01:56:46.246Z] 5abe8eddf0d5: Waiting [2023-03-20T01:56:46.246Z] 55522c791124: Verifying Checksum [2023-03-20T01:56:46.246Z] 55522c791124: Download complete [2023-03-20T01:56:46.246Z] 169dfbe0d373: Verifying Checksum [2023-03-20T01:56:46.246Z] 169dfbe0d373: Download complete [2023-03-20T01:56:46.246Z] e1ff8fa3b103: Verifying Checksum [2023-03-20T01:56:46.246Z] e1ff8fa3b103: Download complete [2023-03-20T01:56:46.246Z] af6eaf76a39c: Verifying Checksum [2023-03-20T01:56:46.246Z] af6eaf76a39c: Download complete [2023-03-20T01:56:47.222Z] af6eaf76a39c: Pull complete [2023-03-20T01:56:47.491Z] 5abe8eddf0d5: Verifying Checksum [2023-03-20T01:56:47.491Z] 5abe8eddf0d5: Download complete [2023-03-20T01:56:47.759Z] 55522c791124: Pull complete [2023-03-20T01:56:48.734Z] ce5c4a1c91eb: Verifying Checksum [2023-03-20T01:56:48.734Z] ce5c4a1c91eb: Download complete [2023-03-20T01:56:48.734Z] 52ebb69f0ebf: Verifying Checksum [2023-03-20T01:56:48.734Z] 52ebb69f0ebf: Download complete [2023-03-20T01:57:01.184Z] ce5c4a1c91eb: Pull complete [2023-03-20T01:57:01.184Z] 169dfbe0d373: Pull complete [2023-03-20T01:57:01.184Z] e1ff8fa3b103: Pull complete [2023-03-20T01:57:07.849Z] 52ebb69f0ebf: Pull complete [2023-03-20T01:57:09.811Z] 5abe8eddf0d5: Pull complete [2023-03-20T01:57:09.811Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-20T01:57:09.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-20T01:57:09.811Z] ---> 6cb57ee374ae [2023-03-20T01:57:09.811Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-20T01:57:11.770Z] ---> Running in 821b314ae1cd [2023-03-20T01:57:11.770Z] Removing intermediate container 821b314ae1cd [2023-03-20T01:57:11.770Z] ---> c5cce690db5a [2023-03-20T01:57:11.770Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T01:57:11.770Z] ---> Running in 8873b3135926 [2023-03-20T01:57:12.038Z] Removing intermediate container 8873b3135926 [2023-03-20T01:57:12.038Z] ---> ab1dffa732d4 [2023-03-20T01:57:12.038Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-20T01:57:12.305Z] ---> Running in 096d28213500 [2023-03-20T01:57:12.574Z] Removing intermediate container 096d28213500 [2023-03-20T01:57:12.574Z] ---> d9052c6dde53 [2023-03-20T01:57:12.574Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T01:57:12.574Z] ---> Running in 89e4426d4bcd [2023-03-20T01:57:12.842Z] Removing intermediate container 89e4426d4bcd [2023-03-20T01:57:12.842Z] ---> 6a6f45651cdb [2023-03-20T01:57:12.842Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T01:57:12.842Z] ---> Running in ff415f4aa609 [2023-03-20T01:57:14.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T01:57:14.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T01:57:15.499Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-20T01:57:15.499Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-20T01:57:15.766Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-20T01:57:15.766Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-20T01:57:15.766Z] Executing busybox-1.35.0-r29.trigger [2023-03-20T01:57:15.766Z] OK: 268 MiB in 57 packages [2023-03-20T01:57:16.730Z] Removing intermediate container ff415f4aa609 [2023-03-20T01:57:16.730Z] ---> bf0a39f2db2c [2023-03-20T01:57:16.730Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-20T01:57:16.730Z] ---> Running in e2f554a7586e [2023-03-20T01:57:16.998Z] Removing intermediate container e2f554a7586e [2023-03-20T01:57:16.998Z] ---> 62982752c5bb [2023-03-20T01:57:16.998Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-20T01:57:17.585Z] ---> 02ae9dca1411 [2023-03-20T01:57:17.585Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T01:57:17.585Z] ---> Running in d7a506ee12c0 [2023-03-20T01:58:25.487Z] Removing intermediate container d7a506ee12c0 [2023-03-20T01:58:25.487Z] ---> 3ced19c4124f [2023-03-20T01:58:25.487Z] Step 11/12 : COPY . . [2023-03-20T01:58:28.079Z] ---> 9d611055c294 [2023-03-20T01:58:28.079Z] Step 12/12 : RUN $MAKE [2023-03-20T01:58:28.079Z] ---> Running in 622769f9adff [2023-03-20T01:58:28.669Z] noop [2023-03-20T01:58:29.255Z] Removing intermediate container 622769f9adff [2023-03-20T01:58:29.255Z] ---> 48c152ba47eb [2023-03-20T01:58:29.255Z] Successfully built 48c152ba47eb [2023-03-20T01:58:29.255Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:58:29.729Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T01:58:29.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:58:30.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container [2023-03-20T01:58:30.084Z] $ 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-20T01:58:31.276Z] $ docker top 56330d68dd5fca82cd1973db4f25fd587792ccf8ebe95abf8cf4cfe06a381e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:58:32.145Z] + go version [2023-03-20T01:58:32.145Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-20T01:58:32.183Z] $ docker stop --time=1 56330d68dd5fca82cd1973db4f25fd587792ccf8ebe95abf8cf4cfe06a381e7b [2023-03-20T01:58:33.785Z] $ docker rm -f --volumes 56330d68dd5fca82cd1973db4f25fd587792ccf8ebe95abf8cf4cfe06a381e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T01:58:34.659Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T01:58:34.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T01:58:34.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container [2023-03-20T01:58:34.990Z] $ 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-20T01:58:36.153Z] $ docker top 8a5077ec0f1d3ec60d62aabaf31c4baa42e2a10477e30ebd5481c66c38215292 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T01:58:36.705Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-20T01:58:37.097Z] + make test [2023-03-20T01:58:37.097Z] go test ./... -coverprofile=coverage.out ./... [2023-03-20T01:59:09.370Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-20T02:01:16.056Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-20T02:01:16.056Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-20T02:01:16.056Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.2% of statements [2023-03-20T02:01:16.056Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-20T02:01:16.056Z] go vet ./... [2023-03-20T02:01:48.290Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T02:01:48.290Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T02:01:48.290Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T02:01:48.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T02:01:48.376Z] $ docker stop --time=1 8a5077ec0f1d3ec60d62aabaf31c4baa42e2a10477e30ebd5481c66c38215292 [2023-03-20T02:01:50.240Z] $ docker rm -f --volumes 8a5077ec0f1d3ec60d62aabaf31c4baa42e2a10477e30ebd5481c66c38215292 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T02:01:51.411Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T02:01:51.448Z] Warning: overwriting stash ‘coverage-report’ [2023-03-20T02:01:51.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T02:01:52.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T02:01:52.861Z] + ls -al . [2023-03-20T02:01:52.861Z] total 176 [2023-03-20T02:01:52.861Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 01:58 . [2023-03-20T02:01:52.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 01:56 .. [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 01:56 .dockerignore [2023-03-20T02:01:52.861Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 01:56 .git [2023-03-20T02:01:52.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 01:56 .github [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 20 01:56 .gitignore [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 01:56 .golangci.yml [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 20 01:56 Attribution.txt [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 20 01:56 CHANGELOG.md [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 20 01:56 Dockerfile [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 01:56 GOVERNANCE.md [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 20 01:56 Jenkinsfile [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 01:56 LICENSE [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 20 01:56 Makefile [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 01:56 OWNERS.md [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 20 01:56 README.md [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 01:52 VERSION [2023-03-20T02:01:52.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 01:56 bin [2023-03-20T02:01:52.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 01:56 cmd [2023-03-20T02:01:52.861Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 20 02:01 coverage.out [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 3378 Mar 20 01:56 go.mod [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 31301 Mar 20 01:56 go.sum [2023-03-20T02:01:52.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 01:56 internal [2023-03-20T02:01:52.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 01:56 mock [2023-03-20T02:01:52.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 01:56 snap [2023-03-20T02:01:52.861Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 20 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T02:01:53.284Z] + 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=86be8d59ddea7c9ee20aefa99f267e5d12aeb669 --label arch=arm64 --label version=0.0.0 . [2023-03-20T02:01:53.553Z] Sending build context to Docker daemon 3.333MB [2023-03-20T02:01:53.553Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T02:01:53.553Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-20T02:01:53.553Z] ---> 48c152ba47eb [2023-03-20T02:01:53.553Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-20T02:01:53.820Z] ---> Running in 8b9e4a3ff900 [2023-03-20T02:01:54.086Z] Removing intermediate container 8b9e4a3ff900 [2023-03-20T02:01:54.086Z] ---> dbda3d9183d0 [2023-03-20T02:01:54.086Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-20T02:01:54.086Z] ---> Running in 31460149bedc [2023-03-20T02:01:54.363Z] Removing intermediate container 31460149bedc [2023-03-20T02:01:54.363Z] ---> ef9b19168af2 [2023-03-20T02:01:54.363Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-20T02:01:54.363Z] ---> Running in 979d82697a47 [2023-03-20T02:01:54.968Z] Removing intermediate container 979d82697a47 [2023-03-20T02:01:54.968Z] ---> ae7c25221f20 [2023-03-20T02:01:54.968Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-20T02:01:54.968Z] ---> Running in f4207ecb65bf [2023-03-20T02:01:55.238Z] Removing intermediate container f4207ecb65bf [2023-03-20T02:01:55.238Z] ---> c20540928720 [2023-03-20T02:01:55.238Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-20T02:01:55.238Z] ---> Running in 9a7bb05c754d [2023-03-20T02:01:56.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T02:01:57.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T02:01:58.120Z] OK: 268 MiB in 57 packages [2023-03-20T02:01:59.079Z] Removing intermediate container 9a7bb05c754d [2023-03-20T02:01:59.079Z] ---> 8350421058b0 [2023-03-20T02:01:59.079Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-20T02:01:59.079Z] ---> Running in b2f463ab3ace [2023-03-20T02:01:59.348Z] Removing intermediate container b2f463ab3ace [2023-03-20T02:01:59.348Z] ---> 0417a48bb228 [2023-03-20T02:01:59.348Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-20T02:01:59.614Z] ---> bdb296713259 [2023-03-20T02:01:59.614Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T02:01:59.882Z] ---> Running in 338912d0b91c [2023-03-20T02:02:02.467Z] Removing intermediate container 338912d0b91c [2023-03-20T02:02:02.467Z] ---> 8f1a5b68a204 [2023-03-20T02:02:02.467Z] Step 11/24 : COPY . . [2023-03-20T02:02:03.461Z] ---> f1481021cc35 [2023-03-20T02:02:03.461Z] Step 12/24 : RUN $MAKE [2023-03-20T02:02:03.461Z] ---> Running in ed00eba9bcb0 [2023-03-20T02:02:04.438Z] 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-20T02:04:26.140Z] Removing intermediate container ed00eba9bcb0 [2023-03-20T02:04:26.140Z] ---> 9bef4975d7a9 [2023-03-20T02:04:26.140Z] Step 13/24 : FROM alpine:3.17 [2023-03-20T02:04:26.140Z] 3.17: Pulling from library/alpine [2023-03-20T02:04:26.140Z] af6eaf76a39c: Already exists [2023-03-20T02:04:26.140Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T02:04:26.140Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T02:04:26.140Z] ---> d74e625d9115 [2023-03-20T02:04:26.140Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-20T02:04:26.140Z] ---> Running in 6c475b9d6857 [2023-03-20T02:04:26.140Z] Removing intermediate container 6c475b9d6857 [2023-03-20T02:04:26.140Z] ---> 110d7140f639 [2023-03-20T02:04:26.140Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-20T02:04:26.140Z] ---> Running in c8a2f77754f3 [2023-03-20T02:04:26.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T02:04:26.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T02:04:26.140Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-20T02:04:26.140Z] Executing busybox-1.35.0-r29.trigger [2023-03-20T02:04:26.140Z] OK: 8 MiB in 16 packages [2023-03-20T02:04:26.140Z] Removing intermediate container c8a2f77754f3 [2023-03-20T02:04:26.140Z] ---> f1b673596103 [2023-03-20T02:04:26.140Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-20T02:04:26.140Z] ---> bb85bf3ff324 [2023-03-20T02:04:26.140Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-20T02:04:26.140Z] ---> 267f7a475bc7 [2023-03-20T02:04:26.140Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-20T02:04:26.140Z] ---> f424d6485304 [2023-03-20T02:04:26.140Z] Step 19/24 : EXPOSE 59982 [2023-03-20T02:04:26.140Z] ---> Running in b4f905b9e67c [2023-03-20T02:04:26.140Z] Removing intermediate container b4f905b9e67c [2023-03-20T02:04:26.140Z] ---> faee40faf406 [2023-03-20T02:04:26.140Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-20T02:04:26.140Z] ---> Running in dc7659e42b65 [2023-03-20T02:04:26.140Z] Removing intermediate container dc7659e42b65 [2023-03-20T02:04:26.140Z] ---> 87b7e46b39d6 [2023-03-20T02:04:26.140Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-20T02:04:26.140Z] ---> Running in eab1a324910a [2023-03-20T02:04:26.140Z] Removing intermediate container eab1a324910a [2023-03-20T02:04:26.140Z] ---> 86f5fca769a2 [2023-03-20T02:04:26.140Z] Step 22/24 : LABEL arch=arm64 [2023-03-20T02:04:26.140Z] ---> Running in aed7d10c3265 [2023-03-20T02:04:26.140Z] Removing intermediate container aed7d10c3265 [2023-03-20T02:04:26.140Z] ---> 29a2ee50c9b5 [2023-03-20T02:04:26.140Z] Step 23/24 : LABEL git_sha=86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [2023-03-20T02:04:26.140Z] ---> Running in 6b8555693be9 [2023-03-20T02:04:26.140Z] Removing intermediate container 6b8555693be9 [2023-03-20T02:04:26.140Z] ---> 29cafcf03b28 [2023-03-20T02:04:26.140Z] Step 24/24 : LABEL version=0.0.0 [2023-03-20T02:04:26.140Z] ---> Running in 4d67f2d58ad6 [2023-03-20T02:04:26.140Z] Removing intermediate container 4d67f2d58ad6 [2023-03-20T02:04:26.140Z] ---> 767de673269c [2023-03-20T02:04:26.140Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T02:04:26.140Z] Successfully built 767de673269c [2023-03-20T02:04:26.140Z] 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-20T02:04:26.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T02:04:26.927Z] [2023-03-20T02:04:26.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T02:04:27.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T02:04:27.345Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-20T02:04:27.345Z] 8998bd30e6a1: Pulling fs layer [2023-03-20T02:04:27.345Z] 04944245beec: Pulling fs layer [2023-03-20T02:04:27.345Z] 699f458cf7ca: Pulling fs layer [2023-03-20T02:04:27.345Z] 765212b225bb: Pulling fs layer [2023-03-20T02:04:27.345Z] f23df028b6ca: Pulling fs layer [2023-03-20T02:04:27.345Z] d65c8cfc05b1: Pulling fs layer [2023-03-20T02:04:27.345Z] 2437ff75d9bd: Pulling fs layer [2023-03-20T02:04:27.345Z] 765212b225bb: Waiting [2023-03-20T02:04:27.345Z] d65c8cfc05b1: Waiting [2023-03-20T02:04:27.345Z] 2437ff75d9bd: Waiting [2023-03-20T02:04:27.615Z] 04944245beec: Verifying Checksum [2023-03-20T02:04:27.615Z] 04944245beec: Download complete [2023-03-20T02:04:27.615Z] 765212b225bb: Download complete [2023-03-20T02:04:27.615Z] f23df028b6ca: Verifying Checksum [2023-03-20T02:04:27.615Z] f23df028b6ca: Download complete [2023-03-20T02:04:27.615Z] d65c8cfc05b1: Verifying Checksum [2023-03-20T02:04:27.615Z] d65c8cfc05b1: Download complete [2023-03-20T02:04:27.884Z] 699f458cf7ca: Verifying Checksum [2023-03-20T02:04:27.884Z] 699f458cf7ca: Download complete [2023-03-20T02:04:28.154Z] 8998bd30e6a1: Download complete [2023-03-20T02:04:30.286Z] 2437ff75d9bd: Verifying Checksum [2023-03-20T02:04:30.286Z] 2437ff75d9bd: Download complete [2023-03-20T02:04:32.349Z] 8998bd30e6a1: Pull complete [2023-03-20T02:04:32.952Z] 04944245beec: Pull complete [2023-03-20T02:04:34.402Z] 699f458cf7ca: Pull complete [2023-03-20T02:04:34.402Z] 765212b225bb: Pull complete [2023-03-20T02:04:34.988Z] f23df028b6ca: Pull complete [2023-03-20T02:04:35.254Z] d65c8cfc05b1: Pull complete [2023-03-20T02:04:50.246Z] 2437ff75d9bd: Pull complete [2023-03-20T02:04:50.246Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-20T02:04:50.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T02:04:50.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T02:04:50.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-4568 does not seem to be running inside a container [2023-03-20T02:04:50.641Z] $ 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-20T02:04:53.147Z] $ docker top 436ca4e2c721aef0dc63a11c2e16165052f942681779b70d5c9e6d3192b25845 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:04:54.017Z] ---> job-cost.sh [2023-03-20T02:04:54.017Z] lf-activate-venv: SKIPPING [2023-03-20T02:04:54.017Z] INFO: No Stack... [2023-03-20T02:04:54.281Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-20T02:04:55.233Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T02:04:55.681Z] + + cutcat -d, /w/workspace/device-mqtt-go/1/archives/cost.csv -f6 [2023-03-20T02:04:55.681Z] [Pipeline] lock [2023-03-20T02:04:55.760Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] [2023-03-20T02:04:55.764Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] did not exist. Created. [2023-03-20T02:04:55.764Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T02:04:56.500Z] /w/workspace/device-mqtt-go/1@tmp/durable-68117cc9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-20T02:04:56.849Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-20T02:04:56.903Z] Warning: overwriting stash ‘stack-cost’ [2023-03-20T02:04:56.946Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T02:04:56.962Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-536-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T02:04:57.052Z] $ docker stop --time=1 436ca4e2c721aef0dc63a11c2e16165052f942681779b70d5c9e6d3192b25845 [2023-03-20T02:04:58.484Z] $ docker rm -f --volumes 436ca4e2c721aef0dc63a11c2e16165052f942681779b70d5c9e6d3192b25845 [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-20T02:04:59.530Z] provisioning config files... [2023-03-20T02:04:59.538Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/config12165889173130141167tmp [Pipeline] { [Pipeline] sh [2023-03-20T02:04:59.871Z] + set +x [2023-03-20T02:04:59.871Z] + curl -s https://codecov.io/bash [2023-03-20T02:04:59.871Z] + bash -s -- [2023-03-20T02:04:59.871Z] [2023-03-20T02:04:59.871Z] _____ _ [2023-03-20T02:04:59.871Z] / ____| | | [2023-03-20T02:04:59.871Z] | | ___ __| | ___ ___ _____ __ [2023-03-20T02:04:59.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-20T02:04:59.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-20T02:04:59.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-20T02:04:59.871Z] Bash-1.0.6 [2023-03-20T02:04:59.871Z] [2023-03-20T02:04:59.871Z] [2023-03-20T02:04:59.871Z] ==> git version 2.25.1 found [2023-03-20T02:04:59.871Z] ==> 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-20T02:04:59.871Z] Release-Date: 2020-01-08 [2023-03-20T02:04:59.871Z] 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-20T02:04:59.871Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-20T02:04:59.871Z] ==> Jenkins CI detected. [2023-03-20T02:04:59.871Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-536 [2023-03-20T02:04:59.871Z] project root: . [2023-03-20T02:04:59.871Z] --> token set from env [2023-03-20T02:04:59.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-20T02:04:59.871Z] ==> Running gcov in . (disable via -X gcov) [2023-03-20T02:04:59.871Z] ==> Python coveragepy not found [2023-03-20T02:04:59.871Z] ==> Searching for coverage reports in: [2023-03-20T02:04:59.871Z] + . [2023-03-20T02:05:00.131Z] -> Found 1 reports [2023-03-20T02:05:00.131Z] ==> Detecting git/mercurial file structure [2023-03-20T02:05:00.131Z] ==> Reading reports [2023-03-20T02:05:00.131Z] + ./coverage.out bytes=18047 [2023-03-20T02:05:00.131Z] ==> Appending adjustments [2023-03-20T02:05:00.131Z] https://docs.codecov.io/docs/fixing-reports [2023-03-20T02:05:00.131Z] + Found adjustments [2023-03-20T02:05:00.131Z] ==> Gzipping contents [2023-03-20T02:05:00.131Z] 4.0K /tmp/codecov.Y6vCqu.gz [2023-03-20T02:05:00.131Z] ==> Uploading reports [2023-03-20T02:05:00.131Z] url: https://codecov.io [2023-03-20T02:05:00.131Z] query: branch=PR-536&commit=86be8d59ddea7c9ee20aefa99f267e5d12aeb669&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-536%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=536&job=&cmd_args= [2023-03-20T02:05:00.131Z] -> Pinging Codecov [2023-03-20T02:05:00.131Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-536&commit=86be8d59ddea7c9ee20aefa99f267e5d12aeb669&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-536%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=536&job=&cmd_args= [2023-03-20T02:05:00.392Z] -> Uploading to [2023-03-20T02:05:00.392Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-20/7D719EC7BBE17E464838252E33014C33/86be8d59ddea7c9ee20aefa99f267e5d12aeb669/c81f1c5c-e7a9-4125-a4f7-130367168528.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T020500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=526d9a59b9731d52ef3e74fb6c0e4bd65c4c5666c38c81bae8b40f7e65d617df [2023-03-20T02:05:00.392Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T02:05:00.392Z] Dload Upload Total Spent Left Speed [2023-03-20T02:05:00.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 10865 --:--:-- --:--:-- --:--:-- 10865 [2023-03-20T02:05:00.656Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/86be8d59ddea7c9ee20aefa99f267e5d12aeb669 [Pipeline] } [2023-03-20T02:05:00.684Z] 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-20T02:05:02.660Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives ] [2023-03-20T02:05:02.660Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives [2023-03-20T02:05:02.660Z] total 16 [2023-03-20T02:05:02.660Z] drwxr-xr-x 3 root root 4096 Mar 20 01:54 . [2023-03-20T02:05:02.660Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 01:54 .. [2023-03-20T02:05:02.660Z] drwxr-xr-x 2 root root 4096 Mar 20 01:54 cost [2023-03-20T02:05:02.660Z] -rw-r--r-- 1 root root 86 Mar 20 01:54 cost.csv [2023-03-20T02:05:02.660Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives [2023-03-20T02:05:02.660Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives [2023-03-20T02:05:02.660Z] total 16 [2023-03-20T02:05:02.660Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 01:54 . [2023-03-20T02:05:02.660Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 01:54 .. [2023-03-20T02:05:02.660Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 01:54 cost [2023-03-20T02:05:02.660Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:02.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:03.871Z] ---> package-listing.sh [2023-03-20T02:05:03.871Z] ++ facter osfamily [2023-03-20T02:05:03.871Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-20T02:05:04.131Z] + OS_FAMILY=debian [2023-03-20T02:05:04.131Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-536 [2023-03-20T02:05:04.131Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-20T02:05:04.131Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-20T02:05:04.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-20T02:05:04.131Z] + PACKAGES=/tmp/packages_start.txt [2023-03-20T02:05:04.131Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-536 ']' [2023-03-20T02:05:04.131Z] + PACKAGES=/tmp/packages_end.txt [2023-03-20T02:05:04.131Z] + case "${OS_FAMILY}" in [2023-03-20T02:05:04.131Z] + dpkg -l [2023-03-20T02:05:04.131Z] + grep '^ii' [2023-03-20T02:05:04.131Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-20T02:05:04.131Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-20T02:05:04.131Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-20T02:05:04.131Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-536 ']' [2023-03-20T02:05:04.131Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives/ [2023-03-20T02:05:04.131Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-536/archives/ [Pipeline] echo [2023-03-20T02:05:04.163Z] 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-536/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-20T02:05:04.452Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T02:05:05.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T02:05:05.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T02:05:05.226Z] prd-ubuntu20.04-docker-8c-8g-4566 does not seem to be running inside a container [2023-03-20T02:05:05.248Z] $ 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-536/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-536 -v /w/workspace/gexfoundry_device-mqtt-go_PR-536:/w/workspace/gexfoundry_device-mqtt-go_PR-536:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-536@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T02:05:05.436Z] $ docker top 379aba2e847644f7099c49e74a9a5645b0c519ce02fae9b3930c91b92c71a629 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T02:05:05.821Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-20T02:05:06.130Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-20T02:05:06.439Z] + ls /var/log/sa-host [2023-03-20T02:05:06.439Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T02:05:06.578Z] provisioning config files... [2023-03-20T02:05:06.586Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-536@tmp/config12827692160007127943tmp [Pipeline] { [Pipeline] echo [2023-03-20T02:05:06.630Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:06.936Z] ---> create-netrc.sh [Pipeline] } [2023-03-20T02:05:06.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:07.393Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-20T02:05:07.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:07.742Z] ---> sudo-logs.sh [2023-03-20T02:05:07.742Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-20T02:05:07.841Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:08.154Z] ---> job-cost.sh [2023-03-20T02:05:08.154Z] lf-activate-venv: SKIPPING [2023-03-20T02:05:08.154Z] DEBUG: total: 0.2199999988079071 [2023-03-20T02:05:08.154Z] INFO: Retrieving Stack Cost... [2023-03-20T02:05:08.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T02:05:08.982Z] INFO: Archiving Costs [Pipeline] echo [2023-03-20T02:05:09.022Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T02:05:09.329Z] ---> logs-deploy.sh [2023-03-20T02:05:09.329Z] lf-activate-venv: SKIPPING [2023-03-20T02:05:09.329Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-536/1 [2023-03-20T02:05:09.329Z] INFO: archiving workspace using pattern(s): [2023-03-20T02:05:10.263Z] Archives upload complete. [2023-03-20T02:05:10.263Z] INFO: archiving logs to Nexus