Pull request #535 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 1fb1655c4682607559f25fffbf1682335a9ce812+4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa (cfc6fe04706550b25cf5f5596c7da60e99aea56b) 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-ssh6987364372815743401.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-ssh7237025313478222327.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-535/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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8822039538082821447.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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13282013303627271206.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-ssh2635951012152254873.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-535/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-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18423001230492483347.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 Running on prd-ubuntu20.04-docker-8c-8g-4383 in /w/workspace/gexfoundry_device-mqtt-go_PR-535 [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-535 # 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa into PR head commit 1fb1655c4682607559f25fffbf1682335a9ce812 Merge succeeded, producing 1fb1655c4682607559f25fffbf1682335a9ce812 Checking out Revision 1fb1655c4682607559f25fffbf1682335a9ce812 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb1655c4682607559f25fffbf1682335a9ce812 # 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 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb1655c4682607559f25fffbf1682335a9ce812 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" 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-17T12:53:54.994Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T12:53:55.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T12:53:55.250Z] ========================================================= [2023-03-17T12:53:55.250Z] EdgeX Global Pipelines Version Info [2023-03-17T12:53:55.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T12:53:56.024Z] ------------------- [2023-03-17T12:53:56.024Z] stable info: [2023-03-17T12:53:56.024Z] ------------------- [2023-03-17T12:53:56.024Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T12:53:56.024Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T12:53:56.024Z] Message: update stable to v1.0.245 [2023-03-17T12:53:56.607Z] ------------------- [2023-03-17T12:53:56.607Z] experimental info: [2023-03-17T12:53:56.607Z] ------------------- [2023-03-17T12:53:56.607Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T12:53:56.607Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T12:53:56.607Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T12:53:56.868Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-17T12:53:56.904Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-17T12:53:56.938Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T12:53:56.977Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T12:53:57.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T12:53:57.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T12:53:57.092Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T12:53:57.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T12:53:57.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T12:53:57.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T12:53:57.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T12:53:57.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-17T12:53:57.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T12:53:57.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T12:53:57.370Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T12:53:57.408Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T12:53:57.440Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T12:53:57.476Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T12:53:57.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T12:53:57.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T12:53:57.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-17T12:53:57.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-17T12:53:57.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T12:53:57.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T12:53:57.722Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T12:53:57.759Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T12:53:57.798Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T12:53:57.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo [2023-03-17T12:53:57.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo [2023-03-17T12:53:57.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo [2023-03-17T12:53:57.934Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1fb1655c4682607559f25fffbf1682335a9ce812 [Pipeline] echo [2023-03-17T12:53:57.971Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1fb1655 [Pipeline] echo [2023-03-17T12:53:58.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T12:53:58.111Z] provisioning config files... [2023-03-17T12:53:58.126Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/config2062463045113414056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T12:53:58.473Z] ---> docker-login.sh [2023-03-17T12:53:58.473Z] nexus3.edgexfoundry.org:10001 [2023-03-17T12:53:58.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:53:58.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:53:58.995Z] Configure a credential helper to remove this warning. See [2023-03-17T12:53:58.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:53:58.996Z] [2023-03-17T12:53:58.996Z] Login Succeeded [2023-03-17T12:53:58.996Z] nexus3.edgexfoundry.org:10002 [2023-03-17T12:53:58.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:53:58.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:53:58.996Z] Configure a credential helper to remove this warning. See [2023-03-17T12:53:58.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:53:58.996Z] [2023-03-17T12:53:58.996Z] Login Succeeded [2023-03-17T12:53:58.996Z] nexus3.edgexfoundry.org:10003 [2023-03-17T12:53:59.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:53:59.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:53:59.255Z] Configure a credential helper to remove this warning. See [2023-03-17T12:53:59.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:53:59.255Z] [2023-03-17T12:53:59.255Z] Login Succeeded [2023-03-17T12:53:59.255Z] nexus3.edgexfoundry.org:10004 [2023-03-17T12:53:59.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:53:59.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:53:59.255Z] Configure a credential helper to remove this warning. See [2023-03-17T12:53:59.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:53:59.255Z] [2023-03-17T12:53:59.255Z] Login Succeeded [2023-03-17T12:53:59.255Z] docker.io [2023-03-17T12:53:59.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:53:59.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:53:59.515Z] Configure a credential helper to remove this warning. See [2023-03-17T12:53:59.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:53:59.515Z] [2023-03-17T12:53:59.515Z] Login Succeeded [2023-03-17T12:53:59.515Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T12:53:59.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T12:54:00.108Z] + git rev-list -1 --merges 1fb1655c4682607559f25fffbf1682335a9ce812~1..1fb1655c4682607559f25fffbf1682335a9ce812 [Pipeline] echo [2023-03-17T12:54:00.166Z] -----------> git rev-list -1 --merges 1fb1655c4682607559f25fffbf1682335a9ce812~1..1fb1655c4682607559f25fffbf1682335a9ce812 1fb1655c4682607559f25fffbf1682335a9ce812 [false] [Pipeline] sh [2023-03-17T12:54:00.473Z] + git log --format=format:%s -1 1fb1655c4682607559f25fffbf1682335a9ce812 [Pipeline] echo [2023-03-17T12:54:00.506Z] ========================================================= [2023-03-17T12:54:00.506Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T12:54:00.506Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T12:54:00.923Z] + git log --format=format:%s -1 1fb1655c4682607559f25fffbf1682335a9ce812 [Pipeline] echo [2023-03-17T12:54:00.952Z] [semverPrep] GIT_COMMIT: 1fb1655c4682607559f25fffbf1682335a9ce812, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-17T12:54:00.982Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T12:54:01.363Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T12:54:01.363Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T12:54:01.363Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T12:54:01.363Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T12:54:01.363Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T12:54:01.363Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T12:54:01.363Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:54:01.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T12:54:01.837Z] [2023-03-17T12:54:01.837Z] 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-17T12:54:02.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T12:54:02.217Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T12:54:02.217Z] b85a868b505f: Pulling fs layer [2023-03-17T12:54:02.217Z] e2be974225ed: Pulling fs layer [2023-03-17T12:54:02.217Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T12:54:02.217Z] 988bab9f4d93: Pulling fs layer [2023-03-17T12:54:02.217Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T12:54:02.217Z] eaf3925da568: Pulling fs layer [2023-03-17T12:54:02.217Z] bab4dde63d76: Pulling fs layer [2023-03-17T12:54:02.217Z] bde34c3a00c8: Pulling fs layer [2023-03-17T12:54:02.217Z] b352a97aabf1: Pulling fs layer [2023-03-17T12:54:02.217Z] 4872d77fe225: Pulling fs layer [2023-03-17T12:54:02.217Z] 5851b861e8e6: Pulling fs layer [2023-03-17T12:54:02.217Z] bab4dde63d76: Waiting [2023-03-17T12:54:02.217Z] bde34c3a00c8: Waiting [2023-03-17T12:54:02.217Z] b352a97aabf1: Waiting [2023-03-17T12:54:02.217Z] 4872d77fe225: Waiting [2023-03-17T12:54:02.217Z] 5851b861e8e6: Waiting [2023-03-17T12:54:02.217Z] 988bab9f4d93: Waiting [2023-03-17T12:54:02.217Z] 1469e6f7b9e6: Waiting [2023-03-17T12:54:02.217Z] eaf3925da568: Waiting [2023-03-17T12:54:02.217Z] e2be974225ed: Verifying Checksum [2023-03-17T12:54:02.217Z] e2be974225ed: Download complete [2023-03-17T12:54:02.217Z] 988bab9f4d93: Verifying Checksum [2023-03-17T12:54:02.217Z] 988bab9f4d93: Download complete [2023-03-17T12:54:02.483Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T12:54:02.483Z] 1469e6f7b9e6: Download complete [2023-03-17T12:54:02.483Z] eaf3925da568: Verifying Checksum [2023-03-17T12:54:02.483Z] eaf3925da568: Download complete [2023-03-17T12:54:02.483Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T12:54:02.483Z] 339a4e72a1f5: Download complete [2023-03-17T12:54:02.483Z] bde34c3a00c8: Download complete [2023-03-17T12:54:02.483Z] b352a97aabf1: Download complete [2023-03-17T12:54:02.483Z] 4872d77fe225: Verifying Checksum [2023-03-17T12:54:02.483Z] 4872d77fe225: Download complete [2023-03-17T12:54:02.742Z] b85a868b505f: Verifying Checksum [2023-03-17T12:54:02.742Z] b85a868b505f: Download complete [2023-03-17T12:54:02.742Z] 5851b861e8e6: Verifying Checksum [2023-03-17T12:54:02.742Z] 5851b861e8e6: Download complete [2023-03-17T12:54:03.001Z] bab4dde63d76: Verifying Checksum [2023-03-17T12:54:03.001Z] bab4dde63d76: Download complete [2023-03-17T12:54:03.938Z] b85a868b505f: Pull complete [2023-03-17T12:54:03.938Z] e2be974225ed: Pull complete [2023-03-17T12:54:04.506Z] 339a4e72a1f5: Pull complete [2023-03-17T12:54:04.506Z] 988bab9f4d93: Pull complete [2023-03-17T12:54:04.766Z] 1469e6f7b9e6: Pull complete [2023-03-17T12:54:04.766Z] eaf3925da568: Pull complete [2023-03-17T12:54:06.678Z] bab4dde63d76: Pull complete [2023-03-17T12:54:06.678Z] bde34c3a00c8: Pull complete [2023-03-17T12:54:06.678Z] b352a97aabf1: Pull complete [2023-03-17T12:54:06.971Z] 4872d77fe225: Pull complete [2023-03-17T12:54:06.971Z] 5851b861e8e6: Pull complete [2023-03-17T12:54:06.971Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T12:54:06.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T12:54:06.971Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T12:54:07.207Z] prd-ubuntu20.04-docker-8c-8g-4383 does not seem to be running inside a container [2023-03-17T12:54:07.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-535 -v /w/workspace/gexfoundry_device-mqtt-go_PR-535:/w/workspace/gexfoundry_device-mqtt-go_PR-535:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-535@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-devops/py-git-semver:0.1.4 cat [2023-03-17T12:54:08.567Z] $ docker top 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 -eo pid,comm [2023-03-17T12:54:08.618Z] 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-17T12:54:08.618Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T12:54:08.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T12:54:08.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T12:54:08.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T12:54:08.866Z] $ docker exec 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 ssh-agent [2023-03-17T12:54:08.963Z] SSH_AUTH_SOCK=/tmp/ssh-7V3vRq25mnQi/agent.32 [2023-03-17T12:54:08.963Z] SSH_AGENT_PID=38 [2023-03-17T12:54:08.970Z] Running ssh-add (command line suppressed) [2023-03-17T12:54:09.069Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/private_key_4445030247644655619.key (/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/private_key_4445030247644655619.key) [2023-03-17T12:54:09.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T12:54:09.416Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T12:54:09.446Z] $ docker exec --env ******** --env ******** 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 ssh-agent -k [2023-03-17T12:54:09.567Z] unset SSH_AUTH_SOCK; [2023-03-17T12:54:09.567Z] unset SSH_AGENT_PID; [2023-03-17T12:54:09.567Z] echo Agent pid 38 killed; [2023-03-17T12:54:09.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T12:54:09.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T12:54:09.666Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T12:54:09.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T12:54:09.784Z] $ docker exec 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 ssh-agent [2023-03-17T12:54:09.884Z] SSH_AUTH_SOCK=/tmp/ssh-UPL33l464SJg/agent.70 [2023-03-17T12:54:09.884Z] SSH_AGENT_PID=76 [2023-03-17T12:54:09.890Z] Running ssh-add (command line suppressed) [2023-03-17T12:54:09.987Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/private_key_16244635085910682074.key (/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/private_key_16244635085910682074.key) [2023-03-17T12:54:09.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T12:54:10.319Z] + git semver init [2023-03-17T12:54:10.579Z] 2023-03-17 12:54:10,481 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T12:54:10.579Z] 2023-03-17 12:54:10,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver [2023-03-17T12:54:10.579Z] 2023-03-17 12:54:10,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver [2023-03-17T12:54:10.579Z] 2023-03-17 12:54:10,483 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-535, universal_newlines=False, shell=None, istream=None) [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,219 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-535/.git/info/exclude [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,220 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver/PR-535 with force:False [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,220 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver/PR-535 [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,223 [execute] INFO git cat-file --batch-check [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,229 [execute] INFO git cat-file --batch [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T12:54:11.517Z] 2023-03-17 12:54:11,235 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-535/.semver/PR-535 [2023-03-17T12:54:11.517Z] 0.0.0 [Pipeline] } [2023-03-17T12:54:11.547Z] $ docker exec --env ******** --env ******** 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 ssh-agent -k [2023-03-17T12:54:11.636Z] unset SSH_AUTH_SOCK; [2023-03-17T12:54:11.637Z] unset SSH_AGENT_PID; [2023-03-17T12:54:11.637Z] echo Agent pid 76 killed; [2023-03-17T12:54:11.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T12:54:12.052Z] + git semver [Pipeline] } [2023-03-17T12:54:12.343Z] $ docker stop --time=1 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 [2023-03-17T12:54:13.657Z] $ docker rm -f --volumes 2a2cecd38938693e7d600b6a87bce4ec9867834ee01061c394e666c3a5447c54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T12:54:14.037Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T12:54:14.277Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T12:54:14.295Z] [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-17T12:54:14.875Z] provisioning config files... [2023-03-17T12:54:14.885Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/config13530617574837621668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T12:54:15.228Z] ---> docker-login.sh [2023-03-17T12:54:15.228Z] nexus3.edgexfoundry.org:10001 [2023-03-17T12:54:15.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:54:15.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:54:15.228Z] Configure a credential helper to remove this warning. See [2023-03-17T12:54:15.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:54:15.228Z] [2023-03-17T12:54:15.228Z] Login Succeeded [2023-03-17T12:54:15.228Z] nexus3.edgexfoundry.org:10002 [2023-03-17T12:54:15.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:54:15.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:54:15.228Z] Configure a credential helper to remove this warning. See [2023-03-17T12:54:15.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:54:15.228Z] [2023-03-17T12:54:15.228Z] Login Succeeded [2023-03-17T12:54:15.228Z] nexus3.edgexfoundry.org:10003 [2023-03-17T12:54:15.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:54:15.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:54:15.487Z] Configure a credential helper to remove this warning. See [2023-03-17T12:54:15.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:54:15.487Z] [2023-03-17T12:54:15.487Z] Login Succeeded [2023-03-17T12:54:15.487Z] nexus3.edgexfoundry.org:10004 [2023-03-17T12:54:15.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:54:15.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:54:15.487Z] Configure a credential helper to remove this warning. See [2023-03-17T12:54:15.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:54:15.487Z] [2023-03-17T12:54:15.487Z] Login Succeeded [2023-03-17T12:54:15.487Z] docker.io [2023-03-17T12:54:15.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:54:15.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:54:15.746Z] Configure a credential helper to remove this warning. See [2023-03-17T12:54:15.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:54:15.746Z] [2023-03-17T12:54:15.746Z] Login Succeeded [2023-03-17T12:54:15.746Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T12:54:15.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T12:54:15.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T12:54:15.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T12:54:16.024Z] ========================================================= [2023-03-17T12:54:16.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T12:54:16.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:54:16.494Z] + 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-17T12:54:16.494Z] Sending build context to Docker daemon 6.396MB [2023-03-17T12:54:16.494Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T12:54:16.494Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-17T12:54:16.494Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T12:54:16.494Z] 63b65145d645: Pulling fs layer [2023-03-17T12:54:16.494Z] a2d21d5440eb: Pulling fs layer [2023-03-17T12:54:16.494Z] 935e6c44a52c: Pulling fs layer [2023-03-17T12:54:16.494Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T12:54:16.494Z] 30dea6a524f1: Pulling fs layer [2023-03-17T12:54:16.494Z] a2aff8979fd8: Pulling fs layer [2023-03-17T12:54:16.494Z] 6808be2612f2: Pulling fs layer [2023-03-17T12:54:16.494Z] f25807f1079a: Pulling fs layer [2023-03-17T12:54:16.494Z] 94cc34f8dd06: Waiting [2023-03-17T12:54:16.494Z] 30dea6a524f1: Waiting [2023-03-17T12:54:16.494Z] a2aff8979fd8: Waiting [2023-03-17T12:54:16.494Z] 6808be2612f2: Waiting [2023-03-17T12:54:16.494Z] f25807f1079a: Waiting [2023-03-17T12:54:16.494Z] a2d21d5440eb: Download complete [2023-03-17T12:54:16.494Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T12:54:16.494Z] 94cc34f8dd06: Download complete [2023-03-17T12:54:16.494Z] 30dea6a524f1: Verifying Checksum [2023-03-17T12:54:16.494Z] 30dea6a524f1: Download complete [2023-03-17T12:54:16.755Z] 63b65145d645: Download complete [2023-03-17T12:54:16.755Z] a2aff8979fd8: Verifying Checksum [2023-03-17T12:54:16.755Z] a2aff8979fd8: Download complete [2023-03-17T12:54:16.755Z] 63b65145d645: Pull complete [2023-03-17T12:54:17.023Z] a2d21d5440eb: Pull complete [2023-03-17T12:54:17.285Z] f25807f1079a: Verifying Checksum [2023-03-17T12:54:17.285Z] f25807f1079a: Download complete [2023-03-17T12:54:17.285Z] 935e6c44a52c: Download complete [2023-03-17T12:54:17.542Z] 6808be2612f2: Download complete [2023-03-17T12:54:20.832Z] 935e6c44a52c: Pull complete [2023-03-17T12:54:20.832Z] 94cc34f8dd06: Pull complete [2023-03-17T12:54:20.832Z] 30dea6a524f1: Pull complete [2023-03-17T12:54:20.832Z] a2aff8979fd8: Pull complete [2023-03-17T12:54:23.368Z] 6808be2612f2: Pull complete [2023-03-17T12:54:23.935Z] f25807f1079a: Pull complete [2023-03-17T12:54:23.935Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T12:54:23.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T12:54:23.935Z] ---> 3b553350e43f [2023-03-17T12:54:23.935Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-17T12:54:25.840Z] ---> Running in 05f1d838e8f7 [2023-03-17T12:54:25.840Z] Removing intermediate container 05f1d838e8f7 [2023-03-17T12:54:25.840Z] ---> ab539afed445 [2023-03-17T12:54:25.840Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T12:54:25.840Z] ---> Running in e0c9a099ad67 [2023-03-17T12:54:25.840Z] Removing intermediate container e0c9a099ad67 [2023-03-17T12:54:25.840Z] ---> 8ceaaf7bf6dc [2023-03-17T12:54:25.840Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-17T12:54:25.840Z] ---> Running in 9ea2a590be5f [2023-03-17T12:54:26.098Z] Removing intermediate container 9ea2a590be5f [2023-03-17T12:54:26.098Z] ---> 135c4996484d [2023-03-17T12:54:26.098Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T12:54:26.098Z] ---> Running in 0716c5e0d826 [2023-03-17T12:54:26.098Z] Removing intermediate container 0716c5e0d826 [2023-03-17T12:54:26.098Z] ---> 71176087cab9 [2023-03-17T12:54:26.098Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T12:54:26.098Z] ---> Running in 5fb55fdeb99a [2023-03-17T12:54:26.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T12:54:26.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T12:54:26.615Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-17T12:54:26.615Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-17T12:54:26.615Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-17T12:54:26.875Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-17T12:54:26.875Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T12:54:26.875Z] OK: 269 MiB in 57 packages [2023-03-17T12:54:27.135Z] Removing intermediate container 5fb55fdeb99a [2023-03-17T12:54:27.135Z] ---> 2c68729a158d [2023-03-17T12:54:27.135Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-17T12:54:27.135Z] ---> Running in 2cdb56e5820a [2023-03-17T12:54:27.395Z] Removing intermediate container 2cdb56e5820a [2023-03-17T12:54:27.395Z] ---> 687eb0cbcb10 [2023-03-17T12:54:27.395Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-17T12:54:27.395Z] ---> f43db4953a36 [2023-03-17T12:54:27.395Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T12:54:27.395Z] ---> Running in f74aee0176c4 [2023-03-17T12:54:29.694Z] Still waiting to schedule task [2023-03-17T12:54:29.694Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T12:55:06.124Z] Removing intermediate container f74aee0176c4 [2023-03-17T12:55:06.124Z] ---> f9710400091f [2023-03-17T12:55:06.124Z] Step 11/12 : COPY . . [2023-03-17T12:55:06.124Z] ---> 32dff34d09a4 [2023-03-17T12:55:06.124Z] Step 12/12 : RUN $MAKE [2023-03-17T12:55:06.124Z] ---> Running in 8726897bd948 [2023-03-17T12:55:06.124Z] noop [2023-03-17T12:55:06.124Z] Removing intermediate container 8726897bd948 [2023-03-17T12:55:06.124Z] ---> 40e82e21fcd4 [2023-03-17T12:55:06.124Z] Successfully built 40e82e21fcd4 [2023-03-17T12:55:06.124Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:55:06.558Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T12:55:06.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T12:55:06.700Z] prd-ubuntu20.04-docker-8c-8g-4383 does not seem to be running inside a container [2023-03-17T12:55:06.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-535 -v /w/workspace/gexfoundry_device-mqtt-go_PR-535:/w/workspace/gexfoundry_device-mqtt-go_PR-535:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T12:55:07.111Z] $ docker top f4efa6279b42e651dc910708129b05f51bc52c7fefa82595b814615925a78249 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T12:55:07.515Z] + go version [2023-03-17T12:55:07.515Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T12:55:07.548Z] $ docker stop --time=1 f4efa6279b42e651dc910708129b05f51bc52c7fefa82595b814615925a78249 [2023-03-17T12:55:08.815Z] $ docker rm -f --volumes f4efa6279b42e651dc910708129b05f51bc52c7fefa82595b814615925a78249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:55:09.515Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T12:55:09.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T12:55:09.662Z] prd-ubuntu20.04-docker-8c-8g-4383 does not seem to be running inside a container [2023-03-17T12:55:09.694Z] $ 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-535 -v /w/workspace/gexfoundry_device-mqtt-go_PR-535:/w/workspace/gexfoundry_device-mqtt-go_PR-535:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T12:55:10.008Z] $ docker top be4b29de755078f7dd8db12a82622c89de805efd2257126a4c9d28c58e0eaaa5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T12:55:10.395Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-535 [Pipeline] fileExists [Pipeline] sh [2023-03-17T12:55:10.758Z] + make test [2023-03-17T12:55:10.758Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T12:55:16.028Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-17T12:55:25.992Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-17T12:55:25.992Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-17T12:55:25.992Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.2% of statements [2023-03-17T12:55:32.546Z] go vet ./... [2023-03-17T12:55:35.831Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T12:55:35.831Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T12:55:35.831Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T12:55:35.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T12:55:35.899Z] $ docker stop --time=1 be4b29de755078f7dd8db12a82622c89de805efd2257126a4c9d28c58e0eaaa5 [2023-03-17T12:55:38.411Z] $ docker rm -f --volumes be4b29de755078f7dd8db12a82622c89de805efd2257126a4c9d28c58e0eaaa5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T12:55:38.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T12:55:39.000Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T12:55:39.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T12:55:39.927Z] + ls -al . [2023-03-17T12:55:39.927Z] total 180 [2023-03-17T12:55:39.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 12:55 . [2023-03-17T12:55:39.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:53 .. [2023-03-17T12:55:39.927Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 12:53 .dockerignore [2023-03-17T12:55:39.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 12:54 .git [2023-03-17T12:55:39.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 12:53 .github [2023-03-17T12:55:39.927Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 12:53 .gitignore [2023-03-17T12:55:39.927Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 12:53 .golangci.yml [2023-03-17T12:55:39.927Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 12:54 .semver [2023-03-17T12:55:39.927Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 17 12:53 Attribution.txt [2023-03-17T12:55:39.927Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 17 12:53 CHANGELOG.md [2023-03-17T12:55:39.927Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 17 12:53 Dockerfile [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 12:53 GOVERNANCE.md [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 17 12:53 Jenkinsfile [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 12:53 LICENSE [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 17 12:53 Makefile [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 12:53 OWNERS.md [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 17 12:53 README.md [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 12:54 VERSION [2023-03-17T12:55:39.928Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:53 bin [2023-03-17T12:55:39.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 12:53 cmd [2023-03-17T12:55:39.928Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 17 12:55 coverage.out [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 17 12:53 go.mod [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 17 12:53 go.sum [2023-03-17T12:55:39.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 12:53 internal [2023-03-17T12:55:39.928Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:53 mock [2023-03-17T12:55:39.928Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:53 snap [2023-03-17T12:55:39.928Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 17 12:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:55:40.300Z] + 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=1fb1655c4682607559f25fffbf1682335a9ce812 --label arch=amd64 --label version=0.0.0 . [2023-03-17T12:55:40.300Z] Sending build context to Docker daemon 6.415MB [2023-03-17T12:55:40.300Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T12:55:40.300Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-17T12:55:40.300Z] ---> 40e82e21fcd4 [2023-03-17T12:55:40.300Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-17T12:55:40.300Z] ---> Running in 0b7903cc9da4 [2023-03-17T12:55:40.300Z] Removing intermediate container 0b7903cc9da4 [2023-03-17T12:55:40.300Z] ---> 959d83bf052b [2023-03-17T12:55:40.300Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T12:55:40.560Z] ---> Running in beb0de979431 [2023-03-17T12:55:40.560Z] Removing intermediate container beb0de979431 [2023-03-17T12:55:40.560Z] ---> bdc85cd594e0 [2023-03-17T12:55:40.560Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-17T12:55:40.560Z] ---> Running in 06487ededa8d [2023-03-17T12:55:40.560Z] Removing intermediate container 06487ededa8d [2023-03-17T12:55:40.560Z] ---> 501b956cb5b3 [2023-03-17T12:55:40.560Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T12:55:40.560Z] ---> Running in edb11a8aba9a [2023-03-17T12:55:40.817Z] Removing intermediate container edb11a8aba9a [2023-03-17T12:55:40.817Z] ---> c3af47b01c51 [2023-03-17T12:55:40.817Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T12:55:40.817Z] ---> Running in c1f7a5d2e340 [2023-03-17T12:55:41.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T12:55:41.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T12:55:41.333Z] OK: 269 MiB in 57 packages [2023-03-17T12:55:41.592Z] Removing intermediate container c1f7a5d2e340 [2023-03-17T12:55:41.592Z] ---> 8d441a1b4dab [2023-03-17T12:55:41.592Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-17T12:55:41.592Z] ---> Running in 079a54bbeeee [2023-03-17T12:55:41.850Z] Removing intermediate container 079a54bbeeee [2023-03-17T12:55:41.850Z] ---> 8cd18522dc75 [2023-03-17T12:55:41.850Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-17T12:55:41.850Z] ---> 571d083c8e35 [2023-03-17T12:55:41.850Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T12:55:41.850Z] ---> Running in e43456c65ce3 [2023-03-17T12:55:42.785Z] Removing intermediate container e43456c65ce3 [2023-03-17T12:55:42.785Z] ---> 896cfd735221 [2023-03-17T12:55:42.785Z] Step 11/24 : COPY . . [2023-03-17T12:55:43.045Z] ---> b67dee1560a0 [2023-03-17T12:55:43.045Z] Step 12/24 : RUN $MAKE [2023-03-17T12:55:43.045Z] ---> Running in 6b7f6800bd8e [2023-03-17T12:55:43.303Z] 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-17T12:55:57.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4384 in /w/workspace/gexfoundry_device-mqtt-go_PR-535 [Pipeline] { [Pipeline] ws [2023-03-17T12:55:58.035Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-17T12:55:58.114Z] Selected Git installation does not exist. Using Default [2023-03-17T12:55:58.114Z] The recommended git tool is: NONE [2023-03-17T12:56:01.379Z] Removing intermediate container 6b7f6800bd8e [2023-03-17T12:56:01.379Z] ---> ae3e30e20ca6 [2023-03-17T12:56:01.379Z] Step 13/24 : FROM alpine:3.17 [2023-03-17T12:56:01.379Z] 3.17: Pulling from library/alpine [2023-03-17T12:56:01.379Z] 63b65145d645: Already exists [2023-03-17T12:56:01.379Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T12:56:01.636Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T12:56:01.636Z] ---> b2aa39c304c2 [2023-03-17T12:56:01.636Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-17T12:56:01.636Z] ---> Running in 4e7c4d09b7a3 [2023-03-17T12:56:01.636Z] Removing intermediate container 4e7c4d09b7a3 [2023-03-17T12:56:01.636Z] ---> 77d6c28ac3c9 [2023-03-17T12:56:01.636Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-17T12:56:01.636Z] ---> Running in cf48f90ada5e [2023-03-17T12:56:01.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T12:56:02.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T12:56:02.413Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-17T12:56:02.413Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T12:56:02.413Z] OK: 7 MiB in 16 packages [2023-03-17T12:56:02.672Z] Removing intermediate container cf48f90ada5e [2023-03-17T12:56:02.673Z] ---> 54c9d55be6b0 [2023-03-17T12:56:02.673Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-17T12:56:03.605Z] ---> f1db7c82ea35 [2023-03-17T12:56:03.605Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-17T12:56:03.605Z] ---> ca6605e5cc93 [2023-03-17T12:56:03.605Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-17T12:56:03.610Z] using credential edgex-jenkins-ssh [2023-03-17T12:56:03.630Z] Cloning the remote Git repository [2023-03-17T12:56:03.864Z] ---> 817016afceff [2023-03-17T12:56:03.864Z] Step 19/24 : EXPOSE 59982 [2023-03-17T12:56:03.864Z] ---> Running in cec5f7371135 [2023-03-17T12:56:03.864Z] Removing intermediate container cec5f7371135 [2023-03-17T12:56:03.864Z] ---> fa7a9e2deecd [2023-03-17T12:56:03.864Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-17T12:56:03.864Z] ---> Running in 67d9f7678c78 [2023-03-17T12:56:03.864Z] Removing intermediate container 67d9f7678c78 [2023-03-17T12:56:03.864Z] ---> b4a76db67723 [2023-03-17T12:56:03.864Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-17T12:56:04.126Z] ---> Running in a4aa2e1de636 [2023-03-17T12:56:04.126Z] Removing intermediate container a4aa2e1de636 [2023-03-17T12:56:04.126Z] ---> 5e09b7f80ca0 [2023-03-17T12:56:04.126Z] Step 22/24 : LABEL arch=amd64 [2023-03-17T12:56:04.126Z] ---> Running in 7fbdc6f36996 [2023-03-17T12:56:03.657Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-17T12:56:03.758Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-17T12:56:03.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-17T12:56:03.940Z] > git --version # timeout=10 [2023-03-17T12:56:03.962Z] > git --version # 'git version 2.25.1' [2023-03-17T12:56:03.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T12:56:04.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T12:56:04.387Z] Removing intermediate container 7fbdc6f36996 [2023-03-17T12:56:04.387Z] ---> 3c77870bed71 [2023-03-17T12:56:04.387Z] Step 23/24 : LABEL git_sha=1fb1655c4682607559f25fffbf1682335a9ce812 [2023-03-17T12:56:04.387Z] ---> Running in 045c5221fb3f [2023-03-17T12:56:04.387Z] Removing intermediate container 045c5221fb3f [2023-03-17T12:56:04.387Z] ---> e535001335dc [2023-03-17T12:56:04.387Z] Step 24/24 : LABEL version=0.0.0 [2023-03-17T12:56:04.387Z] ---> Running in 59feb1ec592c [2023-03-17T12:56:04.647Z] Removing intermediate container 59feb1ec592c [2023-03-17T12:56:04.647Z] ---> a9fa0be8e6de [2023-03-17T12:56:04.647Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T12:56:04.647Z] Successfully built a9fa0be8e6de [2023-03-17T12:56:04.647Z] 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-17T12:56:05.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T12:56:05.494Z] [2023-03-17T12:56:05.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:56:05.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-17T12:56:05.235Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T12:56:05.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T12:56:05.878Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T12:56:05.878Z] 5eb5b503b376: Pulling fs layer [2023-03-17T12:56:05.878Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T12:56:05.878Z] ec43610c2a17: Pulling fs layer [2023-03-17T12:56:05.878Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T12:56:05.878Z] 33b1e0a273af: Pulling fs layer [2023-03-17T12:56:05.878Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T12:56:05.878Z] 2f39f015ded8: Pulling fs layer [2023-03-17T12:56:05.878Z] 3a2ae6a8a46f: Waiting [2023-03-17T12:56:05.878Z] 5d3b04190fa2: Waiting [2023-03-17T12:56:05.878Z] 33b1e0a273af: Waiting [2023-03-17T12:56:05.878Z] 2f39f015ded8: Waiting [2023-03-17T12:56:05.878Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T12:56:05.878Z] 5c69ac0246d0: Download complete [2023-03-17T12:56:05.878Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T12:56:05.878Z] 3a2ae6a8a46f: Download complete [2023-03-17T12:56:06.137Z] 33b1e0a273af: Verifying Checksum [2023-03-17T12:56:06.137Z] 33b1e0a273af: Download complete [2023-03-17T12:56:06.137Z] ec43610c2a17: Verifying Checksum [2023-03-17T12:56:06.137Z] ec43610c2a17: Download complete [2023-03-17T12:56:06.137Z] 5d3b04190fa2: Download complete [2023-03-17T12:56:06.137Z] 5eb5b503b376: Verifying Checksum [2023-03-17T12:56:06.137Z] 5eb5b503b376: Download complete [2023-03-17T12:56:06.703Z] 2f39f015ded8: Download complete [2023-03-17T12:56:06.758Z] Merging remotes/origin/main commit 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa into PR head commit 1fb1655c4682607559f25fffbf1682335a9ce812 [2023-03-17T12:56:06.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-17T12:56:06.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-17T12:56:06.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T12:56:06.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T12:56:06.765Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T12:56:06.839Z] > git checkout -f 1fb1655c4682607559f25fffbf1682335a9ce812 # timeout=10 [2023-03-17T12:56:06.912Z] > git remote # timeout=10 [2023-03-17T12:56:07.020Z] Merge succeeded, producing 1fb1655c4682607559f25fffbf1682335a9ce812 [2023-03-17T12:56:07.021Z] Checking out Revision 1fb1655c4682607559f25fffbf1682335a9ce812 (PR-535) [2023-03-17T12:56:07.269Z] 5eb5b503b376: Pull complete [2023-03-17T12:56:07.527Z] 5c69ac0246d0: Pull complete [2023-03-17T12:56:07.784Z] ec43610c2a17: Pull complete [2023-03-17T12:56:08.044Z] 3a2ae6a8a46f: Pull complete [2023-03-17T12:56:08.044Z] 33b1e0a273af: Pull complete [2023-03-17T12:56:08.302Z] 5d3b04190fa2: Pull complete [2023-03-17T12:56:06.931Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T12:56:06.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T12:56:06.965Z] > git merge 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 [2023-03-17T12:56:06.992Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T12:56:07.019Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T12:56:07.037Z] > git checkout -f 1fb1655c4682607559f25fffbf1682335a9ce812 # timeout=10 [2023-03-17T12:56:10.512Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [2023-03-17T12:56:10.556Z] > git --version # timeout=10 [2023-03-17T12:56:10.571Z] > git --version # 'git version 2.25.1' [2023-03-17T12:56:10.599Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T12:56:11.090Z] [2023-03-17T12:56:11.090Z] GitHub has been notified of this commit’s build result [2023-03-17T12:56:11.090Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T12:56:11.796Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T12:56:11.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T12:56:11.796Z] Dload Upload Total Spent Left Speed [2023-03-17T12:56:11.796Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-03-17T12:56:12.484Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-03-17T12:56:12.491Z] 2f39f015ded8: Pull complete [2023-03-17T12:56:12.491Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T12:56:12.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T12:56:12.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T12:56:12.785Z] prd-ubuntu20.04-docker-8c-8g-4383 does not seem to be running inside a container [2023-03-17T12:56:12.818Z] $ 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-535 -v /w/workspace/gexfoundry_device-mqtt-go_PR-535:/w/workspace/gexfoundry_device-mqtt-go_PR-535:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T12:56:12.854Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T12:56:12.854Z] + sudo tee /etc/docker/daemon.new [2023-03-17T12:56:12.854Z] { [2023-03-17T12:56:12.854Z] "registry-mirrors": [ [2023-03-17T12:56:12.854Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T12:56:12.854Z] ], [2023-03-17T12:56:12.854Z] "bip": "10.250.0.254/24", [2023-03-17T12:56:12.854Z] "hosts": [ [2023-03-17T12:56:12.854Z] "tcp://0.0.0.0:5555", [2023-03-17T12:56:12.854Z] "unix:///var/run/docker.sock" [2023-03-17T12:56:12.854Z] ], [2023-03-17T12:56:12.854Z] "mtu": 1458, [2023-03-17T12:56:12.854Z] "selinux-enabled": true, [2023-03-17T12:56:12.854Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T12:56:12.854Z] } [2023-03-17T12:56:16.148Z] $ docker top dfe054f6623f9252232de9c2f570054675df5f41b7bed5d23174bac80cfe1ea6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T12:56:16.575Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T12:56:16.677Z] ---> job-cost.sh [2023-03-17T12:56:16.677Z] lf-activate-venv: SKIPPING [2023-03-17T12:56:16.677Z] INFO: No Stack... [2023-03-17T12:56:17.049Z] + sudo service docker restart [2023-03-17T12:56:17.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T12:56:17.514Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T12:56:17.832Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives/cost.csv [2023-03-17T12:56:17.832Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T12:56:17.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] [2023-03-17T12:56:17.873Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] did not exist. Created. [2023-03-17T12:56:17.874Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T12:56:18.256Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T12:56:18.307Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T12:56:18.333Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T12:56:18.406Z] $ docker stop --time=1 dfe054f6623f9252232de9c2f570054675df5f41b7bed5d23174bac80cfe1ea6 [2023-03-17T12:56:19.566Z] $ docker rm -f --volumes dfe054f6623f9252232de9c2f570054675df5f41b7bed5d23174bac80cfe1ea6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T12:56:35.376Z] provisioning config files... [2023-03-17T12:56:35.402Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config14509937907599205345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T12:56:35.803Z] ---> docker-login.sh [2023-03-17T12:56:35.803Z] nexus3.edgexfoundry.org:10001 [2023-03-17T12:56:36.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:56:36.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:56:36.348Z] Configure a credential helper to remove this warning. See [2023-03-17T12:56:36.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:56:36.348Z] [2023-03-17T12:56:36.348Z] Login Succeeded [2023-03-17T12:56:36.348Z] nexus3.edgexfoundry.org:10002 [2023-03-17T12:56:36.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:56:36.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:56:36.889Z] Configure a credential helper to remove this warning. See [2023-03-17T12:56:36.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:56:36.889Z] [2023-03-17T12:56:36.889Z] Login Succeeded [2023-03-17T12:56:36.889Z] nexus3.edgexfoundry.org:10003 [2023-03-17T12:56:37.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:56:37.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:56:37.158Z] Configure a credential helper to remove this warning. See [2023-03-17T12:56:37.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:56:37.158Z] [2023-03-17T12:56:37.158Z] Login Succeeded [2023-03-17T12:56:37.158Z] nexus3.edgexfoundry.org:10004 [2023-03-17T12:56:37.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:56:37.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:56:37.432Z] Configure a credential helper to remove this warning. See [2023-03-17T12:56:37.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:56:37.432Z] [2023-03-17T12:56:37.432Z] Login Succeeded [2023-03-17T12:56:37.432Z] docker.io [2023-03-17T12:56:37.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T12:56:37.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T12:56:37.970Z] Configure a credential helper to remove this warning. See [2023-03-17T12:56:37.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T12:56:37.970Z] [2023-03-17T12:56:37.970Z] Login Succeeded [2023-03-17T12:56:37.970Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T12:56:37.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T12:56:38.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T12:56:38.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T12:56:38.430Z] ========================================================= [2023-03-17T12:56:38.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T12:56:38.430Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:56:38.925Z] + 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-17T12:56:39.194Z] Sending build context to Docker daemon 3.323MB [2023-03-17T12:56:39.194Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T12:56:39.194Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-17T12:56:39.465Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T12:56:39.465Z] af6eaf76a39c: Pulling fs layer [2023-03-17T12:56:39.465Z] 55522c791124: Pulling fs layer [2023-03-17T12:56:39.465Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T12:56:39.465Z] 169dfbe0d373: Pulling fs layer [2023-03-17T12:56:39.465Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T12:56:39.465Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T12:56:39.465Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T12:56:39.465Z] e1ff8fa3b103: Waiting [2023-03-17T12:56:39.465Z] 52ebb69f0ebf: Waiting [2023-03-17T12:56:39.465Z] 5abe8eddf0d5: Waiting [2023-03-17T12:56:39.465Z] 169dfbe0d373: Waiting [2023-03-17T12:56:39.465Z] 55522c791124: Verifying Checksum [2023-03-17T12:56:39.465Z] 55522c791124: Download complete [2023-03-17T12:56:39.465Z] 169dfbe0d373: Download complete [2023-03-17T12:56:39.465Z] e1ff8fa3b103: Download complete [2023-03-17T12:56:39.465Z] af6eaf76a39c: Verifying Checksum [2023-03-17T12:56:39.465Z] af6eaf76a39c: Download complete [2023-03-17T12:56:40.466Z] af6eaf76a39c: Pull complete [2023-03-17T12:56:40.466Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T12:56:40.466Z] 5abe8eddf0d5: Download complete [2023-03-17T12:56:41.058Z] 55522c791124: Pull complete [2023-03-17T12:56:42.032Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T12:56:42.032Z] ce5c4a1c91eb: Download complete [2023-03-17T12:56:42.032Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T12:56:42.032Z] 52ebb69f0ebf: Download complete [2023-03-17T12:56:54.370Z] ce5c4a1c91eb: Pull complete [2023-03-17T12:56:54.370Z] 169dfbe0d373: Pull complete [2023-03-17T12:56:54.370Z] e1ff8fa3b103: Pull complete [2023-03-17T12:57:01.033Z] 52ebb69f0ebf: Pull complete [2023-03-17T12:57:02.998Z] 5abe8eddf0d5: Pull complete [2023-03-17T12:57:02.998Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T12:57:02.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T12:57:02.998Z] ---> 6cb57ee374ae [2023-03-17T12:57:02.998Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-17T12:57:04.948Z] ---> Running in a06003820565 [2023-03-17T12:57:04.948Z] Removing intermediate container a06003820565 [2023-03-17T12:57:04.948Z] ---> 95a023679467 [2023-03-17T12:57:04.948Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T12:57:04.948Z] ---> Running in 95be932cde39 [2023-03-17T12:57:05.219Z] Removing intermediate container 95be932cde39 [2023-03-17T12:57:05.219Z] ---> 0b5d2d717412 [2023-03-17T12:57:05.219Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-17T12:57:05.219Z] ---> Running in 9a5d6b78dd5b [2023-03-17T12:57:05.488Z] Removing intermediate container 9a5d6b78dd5b [2023-03-17T12:57:05.488Z] ---> 709a4fc2af35 [2023-03-17T12:57:05.488Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T12:57:05.758Z] ---> Running in b1c2fff95280 [2023-03-17T12:57:06.027Z] Removing intermediate container b1c2fff95280 [2023-03-17T12:57:06.027Z] ---> 6e43e6d078ca [2023-03-17T12:57:06.027Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T12:57:06.027Z] ---> Running in 0265521e0599 [2023-03-17T12:57:07.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T12:57:08.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T12:57:08.991Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-17T12:57:08.991Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-17T12:57:08.991Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-17T12:57:08.991Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-17T12:57:08.991Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T12:57:08.991Z] OK: 268 MiB in 57 packages [2023-03-17T12:57:09.954Z] Removing intermediate container 0265521e0599 [2023-03-17T12:57:09.954Z] ---> f293a65c7c33 [2023-03-17T12:57:09.954Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-17T12:57:10.222Z] ---> Running in c5940a0b7af0 [2023-03-17T12:57:10.504Z] Removing intermediate container c5940a0b7af0 [2023-03-17T12:57:10.504Z] ---> 93fa608af4fd [2023-03-17T12:57:10.504Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-17T12:57:11.088Z] ---> 663c9b67c9a9 [2023-03-17T12:57:11.088Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T12:57:11.088Z] ---> Running in 5ff7a89a10bd [2023-03-17T12:58:18.973Z] Removing intermediate container 5ff7a89a10bd [2023-03-17T12:58:18.973Z] ---> 26d18fcd844e [2023-03-17T12:58:18.973Z] Step 11/12 : COPY . . [2023-03-17T12:58:18.973Z] ---> 2410eaa44420 [2023-03-17T12:58:18.973Z] Step 12/12 : RUN $MAKE [2023-03-17T12:58:18.973Z] ---> Running in 2dfb0218d309 [2023-03-17T12:58:18.973Z] noop [2023-03-17T12:58:18.973Z] Removing intermediate container 2dfb0218d309 [2023-03-17T12:58:18.973Z] ---> e2b305e470a8 [2023-03-17T12:58:18.973Z] Successfully built e2b305e470a8 [2023-03-17T12:58:18.973Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:58:19.417Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T12:58:19.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T12:58:19.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-4384 does not seem to be running inside a container [2023-03-17T12:58:19.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T12:58:21.314Z] $ docker top 36a8adb6f0dc16c2248db57dcfb1989e5bc2f3661b67afdbb0e300cca2cd2e3a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T12:58:22.155Z] + go version [2023-03-17T12:58:22.156Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T12:58:22.197Z] $ docker stop --time=1 36a8adb6f0dc16c2248db57dcfb1989e5bc2f3661b67afdbb0e300cca2cd2e3a [2023-03-17T12:58:23.759Z] $ docker rm -f --volumes 36a8adb6f0dc16c2248db57dcfb1989e5bc2f3661b67afdbb0e300cca2cd2e3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T12:58:24.572Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T12:58:24.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T12:58:24.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-4384 does not seem to be running inside a container [2023-03-17T12:58:24.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T12:58:25.911Z] $ docker top d9d5c874eb395ae89cd0fb2dce324ea15e0b49790df2f8f7ca50a42f25543bdd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T12:58:26.420Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-17T12:58:27.059Z] + make test [2023-03-17T12:58:27.326Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T12:58:59.554Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-17T13:00:51.230Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-17T13:00:54.570Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-17T13:00:54.570Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 22.2% of statements [2023-03-17T13:00:55.150Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-17T13:00:55.150Z] go vet ./... [2023-03-17T13:01:33.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T13:01:33.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T13:01:33.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T13:01:34.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T13:01:34.073Z] $ docker stop --time=1 d9d5c874eb395ae89cd0fb2dce324ea15e0b49790df2f8f7ca50a42f25543bdd [2023-03-17T13:01:35.926Z] $ docker rm -f --volumes d9d5c874eb395ae89cd0fb2dce324ea15e0b49790df2f8f7ca50a42f25543bdd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T13:01:37.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T13:01:37.077Z] Warning: overwriting stash ‘coverage-report’ [2023-03-17T13:01:37.642Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T13:01:38.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T13:01:38.594Z] + ls -al . [2023-03-17T13:01:38.594Z] total 176 [2023-03-17T13:01:38.594Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 12:58 . [2023-03-17T13:01:38.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:56 .. [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 12:56 .dockerignore [2023-03-17T13:01:38.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 12:56 .git [2023-03-17T13:01:38.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 12:56 .github [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 12:56 .gitignore [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 12:56 .golangci.yml [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 17 12:56 Attribution.txt [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 17 12:56 CHANGELOG.md [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 17 12:56 Dockerfile [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 12:56 GOVERNANCE.md [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 17 12:56 Jenkinsfile [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 12:56 LICENSE [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 17 12:56 Makefile [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 12:56 OWNERS.md [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 17 12:56 README.md [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 12:54 VERSION [2023-03-17T13:01:38.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:56 bin [2023-03-17T13:01:38.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 12:56 cmd [2023-03-17T13:01:38.594Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 17 13:00 coverage.out [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 17 12:56 go.mod [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 17 12:56 go.sum [2023-03-17T13:01:38.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 12:56 internal [2023-03-17T13:01:38.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:56 mock [2023-03-17T13:01:38.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:56 snap [2023-03-17T13:01:38.594Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 17 12:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T13:01:39.029Z] + 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=1fb1655c4682607559f25fffbf1682335a9ce812 --label arch=arm64 --label version=0.0.0 . [2023-03-17T13:01:39.307Z] Sending build context to Docker daemon 3.342MB [2023-03-17T13:01:39.307Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T13:01:39.307Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-17T13:01:39.307Z] ---> e2b305e470a8 [2023-03-17T13:01:39.307Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-17T13:01:39.577Z] ---> Running in 228a4acb8e51 [2023-03-17T13:01:39.851Z] Removing intermediate container 228a4acb8e51 [2023-03-17T13:01:39.851Z] ---> 760436a23dde [2023-03-17T13:01:39.851Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T13:01:39.851Z] ---> Running in f6a062187050 [2023-03-17T13:01:40.131Z] Removing intermediate container f6a062187050 [2023-03-17T13:01:40.132Z] ---> ee280ae080c2 [2023-03-17T13:01:40.132Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-17T13:01:40.132Z] ---> Running in 8cea4cba8e08 [2023-03-17T13:01:40.719Z] Removing intermediate container 8cea4cba8e08 [2023-03-17T13:01:40.719Z] ---> 3271124299ae [2023-03-17T13:01:40.719Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T13:01:40.719Z] ---> Running in 11360b9289c4 [2023-03-17T13:01:40.991Z] Removing intermediate container 11360b9289c4 [2023-03-17T13:01:40.991Z] ---> c65d09b12c0e [2023-03-17T13:01:40.991Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T13:01:40.991Z] ---> Running in 4078be3009a0 [2023-03-17T13:01:41.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T13:01:42.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T13:01:43.512Z] OK: 268 MiB in 57 packages [2023-03-17T13:01:44.477Z] Removing intermediate container 4078be3009a0 [2023-03-17T13:01:44.477Z] ---> 898ec604fbad [2023-03-17T13:01:44.477Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-17T13:01:44.477Z] ---> Running in 253114affa9a [2023-03-17T13:01:44.746Z] Removing intermediate container 253114affa9a [2023-03-17T13:01:44.746Z] ---> b1385a52f89c [2023-03-17T13:01:44.746Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-17T13:01:45.332Z] ---> b7c2ee9410ac [2023-03-17T13:01:45.332Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T13:01:45.332Z] ---> Running in ba27532d8cb0 [2023-03-17T13:01:48.690Z] Removing intermediate container ba27532d8cb0 [2023-03-17T13:01:48.690Z] ---> 90bf6b658554 [2023-03-17T13:01:48.690Z] Step 11/24 : COPY . . [2023-03-17T13:01:49.656Z] ---> e07634abb353 [2023-03-17T13:01:49.656Z] Step 12/24 : RUN $MAKE [2023-03-17T13:01:49.656Z] ---> Running in 5c8b27254cc1 [2023-03-17T13:01:50.614Z] 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-17T13:04:00.209Z] Removing intermediate container 5c8b27254cc1 [2023-03-17T13:04:00.209Z] ---> 07b490a1ca59 [2023-03-17T13:04:00.209Z] Step 13/24 : FROM alpine:3.17 [2023-03-17T13:04:00.209Z] 3.17: Pulling from library/alpine [2023-03-17T13:04:00.209Z] af6eaf76a39c: Already exists [2023-03-17T13:04:00.209Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T13:04:00.209Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T13:04:00.209Z] ---> d74e625d9115 [2023-03-17T13:04:00.209Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-17T13:04:00.209Z] ---> Running in 693ac6b990d0 [2023-03-17T13:04:00.209Z] Removing intermediate container 693ac6b990d0 [2023-03-17T13:04:00.209Z] ---> a42796e62437 [2023-03-17T13:04:00.209Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-17T13:04:00.209Z] ---> Running in ce4cbdbe85f7 [2023-03-17T13:04:00.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T13:04:00.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T13:04:00.209Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-17T13:04:00.209Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T13:04:00.209Z] OK: 8 MiB in 16 packages [2023-03-17T13:04:00.209Z] Removing intermediate container ce4cbdbe85f7 [2023-03-17T13:04:00.209Z] ---> 3fab6b988a4c [2023-03-17T13:04:00.209Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-17T13:04:00.209Z] ---> ba2995c5a8a7 [2023-03-17T13:04:00.209Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-17T13:04:00.476Z] ---> 5f3c46731823 [2023-03-17T13:04:00.476Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-17T13:04:01.059Z] ---> 9d67403c7baf [2023-03-17T13:04:01.059Z] Step 19/24 : EXPOSE 59982 [2023-03-17T13:04:01.059Z] ---> Running in a533af4b47e8 [2023-03-17T13:04:01.326Z] Removing intermediate container a533af4b47e8 [2023-03-17T13:04:01.326Z] ---> 7cdac758b5cc [2023-03-17T13:04:01.326Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-17T13:04:01.326Z] ---> Running in 886f04012327 [2023-03-17T13:04:01.597Z] Removing intermediate container 886f04012327 [2023-03-17T13:04:01.597Z] ---> e050d28cd96e [2023-03-17T13:04:01.597Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-17T13:04:01.872Z] ---> Running in e2f76f2f44ba [2023-03-17T13:04:02.138Z] Removing intermediate container e2f76f2f44ba [2023-03-17T13:04:02.138Z] ---> 14d6497e9828 [2023-03-17T13:04:02.138Z] Step 22/24 : LABEL arch=arm64 [2023-03-17T13:04:02.138Z] ---> Running in 0608ffc4687d [2023-03-17T13:04:02.405Z] Removing intermediate container 0608ffc4687d [2023-03-17T13:04:02.405Z] ---> 370d8a13fe8b [2023-03-17T13:04:02.405Z] Step 23/24 : LABEL git_sha=1fb1655c4682607559f25fffbf1682335a9ce812 [2023-03-17T13:04:02.405Z] ---> Running in 06f433778240 [2023-03-17T13:04:02.671Z] Removing intermediate container 06f433778240 [2023-03-17T13:04:02.671Z] ---> daa7db05f780 [2023-03-17T13:04:02.671Z] Step 24/24 : LABEL version=0.0.0 [2023-03-17T13:04:02.671Z] ---> Running in e3127b712d3a [2023-03-17T13:04:02.937Z] Removing intermediate container e3127b712d3a [2023-03-17T13:04:02.937Z] ---> 6e0d1a0dd688 [2023-03-17T13:04:02.937Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T13:04:02.937Z] Successfully built 6e0d1a0dd688 [2023-03-17T13:04:02.937Z] 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-17T13:04:03.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T13:04:03.666Z] [2023-03-17T13:04:03.666Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T13:04:04.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T13:04:04.055Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T13:04:04.055Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T13:04:04.055Z] 04944245beec: Pulling fs layer [2023-03-17T13:04:04.055Z] 699f458cf7ca: Pulling fs layer [2023-03-17T13:04:04.055Z] 765212b225bb: Pulling fs layer [2023-03-17T13:04:04.055Z] f23df028b6ca: Pulling fs layer [2023-03-17T13:04:04.055Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T13:04:04.055Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T13:04:04.055Z] 765212b225bb: Waiting [2023-03-17T13:04:04.055Z] f23df028b6ca: Waiting [2023-03-17T13:04:04.055Z] d65c8cfc05b1: Waiting [2023-03-17T13:04:04.055Z] 2437ff75d9bd: Waiting [2023-03-17T13:04:04.321Z] 04944245beec: Verifying Checksum [2023-03-17T13:04:04.321Z] 04944245beec: Download complete [2023-03-17T13:04:04.321Z] 765212b225bb: Download complete [2023-03-17T13:04:04.321Z] f23df028b6ca: Verifying Checksum [2023-03-17T13:04:04.321Z] f23df028b6ca: Download complete [2023-03-17T13:04:04.321Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T13:04:04.321Z] d65c8cfc05b1: Download complete [2023-03-17T13:04:04.321Z] 699f458cf7ca: Verifying Checksum [2023-03-17T13:04:04.321Z] 699f458cf7ca: Download complete [2023-03-17T13:04:04.903Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T13:04:04.903Z] 8998bd30e6a1: Download complete [2023-03-17T13:04:06.850Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T13:04:06.850Z] 2437ff75d9bd: Download complete [2023-03-17T13:04:08.794Z] 8998bd30e6a1: Pull complete [2023-03-17T13:04:10.738Z] 04944245beec: Pull complete [2023-03-17T13:04:12.145Z] 699f458cf7ca: Pull complete [2023-03-17T13:04:12.145Z] 765212b225bb: Pull complete [2023-03-17T13:04:12.729Z] f23df028b6ca: Pull complete [2023-03-17T13:04:12.995Z] d65c8cfc05b1: Pull complete [2023-03-17T13:04:27.986Z] 2437ff75d9bd: Pull complete [2023-03-17T13:04:27.986Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T13:04:27.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T13:04:27.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T13:04:28.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-4384 does not seem to be running inside a container [2023-03-17T13:04:28.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T13:04:30.924Z] $ docker top 09a7b531482dd2fc404b39166c88df29063d670a785b4e6da857f7e4478d174c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:31.794Z] ---> job-cost.sh [2023-03-17T13:04:31.794Z] lf-activate-venv: SKIPPING [2023-03-17T13:04:31.794Z] INFO: No Stack... [2023-03-17T13:04:32.376Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T13:04:32.958Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T13:04:33.296Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-17T13:04:33.296Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T13:04:33.376Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] [2023-03-17T13:04:33.381Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] did not exist. Created. [2023-03-17T13:04:33.381Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T13:04:33.792Z] /w/workspace/device-mqtt-go/1@tmp/durable-f46261d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T13:04:34.147Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T13:04:34.183Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T13:04:34.228Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T13:04:34.242Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-535-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T13:04:34.328Z] $ docker stop --time=1 09a7b531482dd2fc404b39166c88df29063d670a785b4e6da857f7e4478d174c [2023-03-17T13:04:35.850Z] $ docker rm -f --volumes 09a7b531482dd2fc404b39166c88df29063d670a785b4e6da857f7e4478d174c [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-17T13:04:36.833Z] provisioning config files... [2023-03-17T13:04:36.841Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/config5316855373020979004tmp [Pipeline] { [Pipeline] sh [2023-03-17T13:04:37.179Z] + set +x [2023-03-17T13:04:37.179Z] + curl -s https://codecov.io/bash [2023-03-17T13:04:37.179Z] + bash -s -- [2023-03-17T13:04:37.179Z] [2023-03-17T13:04:37.179Z] _____ _ [2023-03-17T13:04:37.179Z] / ____| | | [2023-03-17T13:04:37.179Z] | | ___ __| | ___ ___ _____ __ [2023-03-17T13:04:37.179Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-17T13:04:37.179Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-17T13:04:37.179Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-17T13:04:37.179Z] Bash-1.0.6 [2023-03-17T13:04:37.179Z] [2023-03-17T13:04:37.179Z] [2023-03-17T13:04:37.179Z] ==> git version 2.25.1 found [2023-03-17T13:04:37.179Z] ==> 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-17T13:04:37.179Z] Release-Date: 2020-01-08 [2023-03-17T13:04:37.179Z] 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-17T13:04:37.179Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-17T13:04:37.179Z] ==> Jenkins CI detected. [2023-03-17T13:04:37.179Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-535 [2023-03-17T13:04:37.179Z] project root: . [2023-03-17T13:04:37.179Z] --> token set from env [2023-03-17T13:04:37.179Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-17T13:04:37.179Z] ==> Running gcov in . (disable via -X gcov) [2023-03-17T13:04:37.179Z] ==> Python coveragepy not found [2023-03-17T13:04:37.179Z] ==> Searching for coverage reports in: [2023-03-17T13:04:37.179Z] + . [2023-03-17T13:04:37.179Z] -> Found 1 reports [2023-03-17T13:04:37.179Z] ==> Detecting git/mercurial file structure [2023-03-17T13:04:37.179Z] ==> Reading reports [2023-03-17T13:04:37.179Z] + ./coverage.out bytes=18047 [2023-03-17T13:04:37.179Z] ==> Appending adjustments [2023-03-17T13:04:37.179Z] https://docs.codecov.io/docs/fixing-reports [2023-03-17T13:04:37.438Z] + Found adjustments [2023-03-17T13:04:37.438Z] ==> Gzipping contents [2023-03-17T13:04:37.438Z] 4.0K /tmp/codecov.T36PPC.gz [2023-03-17T13:04:37.438Z] ==> Uploading reports [2023-03-17T13:04:37.438Z] url: https://codecov.io [2023-03-17T13:04:37.438Z] query: branch=PR-535&commit=1fb1655c4682607559f25fffbf1682335a9ce812&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-535%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=535&job=&cmd_args= [2023-03-17T13:04:37.438Z] -> Pinging Codecov [2023-03-17T13:04:37.438Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-535&commit=1fb1655c4682607559f25fffbf1682335a9ce812&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-535%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=535&job=&cmd_args= [2023-03-17T13:04:37.438Z] -> Uploading to [2023-03-17T13:04:37.438Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7D719EC7BBE17E464838252E33014C33/1fb1655c4682607559f25fffbf1682335a9ce812/91ae4cdb-aa81-4584-9684-61d5a747b0e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T130437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=054a32a7f5de81463b08ccbb7a18e5396e748b178463ea98c5199893b3637eb2 [2023-03-17T13:04:37.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T13:04:37.438Z] Dload Upload Total Spent Left Speed [2023-03-17T13:04:37.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 12213 --:--:-- --:--:-- --:--:-- 12213 [2023-03-17T13:04:37.697Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1fb1655c4682607559f25fffbf1682335a9ce812 [Pipeline] } [2023-03-17T13:04:37.726Z] 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-17T13:04:39.398Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives ] [2023-03-17T13:04:39.398Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives [2023-03-17T13:04:39.398Z] total 16 [2023-03-17T13:04:39.398Z] drwxr-xr-x 3 root root 4096 Mar 17 12:56 . [2023-03-17T13:04:39.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 12:56 .. [2023-03-17T13:04:39.398Z] drwxr-xr-x 2 root root 4096 Mar 17 12:56 cost [2023-03-17T13:04:39.398Z] -rw-r--r-- 1 root root 86 Mar 17 12:56 cost.csv [2023-03-17T13:04:39.398Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives [2023-03-17T13:04:39.398Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives [2023-03-17T13:04:39.398Z] total 16 [2023-03-17T13:04:39.398Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 12:56 . [2023-03-17T13:04:39.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 12:56 .. [2023-03-17T13:04:39.398Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 12:56 cost [2023-03-17T13:04:39.398Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 12:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:39.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:40.605Z] ---> package-listing.sh [2023-03-17T13:04:40.605Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T13:04:40.605Z] ++ facter osfamily [2023-03-17T13:04:40.862Z] + OS_FAMILY=debian [2023-03-17T13:04:40.863Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-535 [2023-03-17T13:04:40.863Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T13:04:40.863Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T13:04:40.863Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T13:04:40.863Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T13:04:40.863Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-535 ']' [2023-03-17T13:04:40.863Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T13:04:40.863Z] + case "${OS_FAMILY}" in [2023-03-17T13:04:40.863Z] + dpkg -l [2023-03-17T13:04:40.863Z] + grep '^ii' [2023-03-17T13:04:40.863Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T13:04:40.863Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T13:04:40.863Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T13:04:40.863Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-535 ']' [2023-03-17T13:04:40.863Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives/ [2023-03-17T13:04:40.863Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-535/archives/ [Pipeline] echo [2023-03-17T13:04:40.894Z] 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T13:04:41.179Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T13:04:41.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T13:04:41.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T13:04:41.923Z] prd-ubuntu20.04-docker-8c-8g-4383 does not seem to be running inside a container [2023-03-17T13:04:41.953Z] $ 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-535/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-535 -v /w/workspace/gexfoundry_device-mqtt-go_PR-535:/w/workspace/gexfoundry_device-mqtt-go_PR-535:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T13:04:42.487Z] $ docker top ca3cbfff4bc9c1d1d2d96448973cffaee6253b570c60d47efedbfb00c68393cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T13:04:42.876Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T13:04:43.184Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T13:04:43.487Z] + ls /var/log/sa-host [2023-03-17T13:04:43.487Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T13:04:43.684Z] provisioning config files... [2023-03-17T13:04:43.693Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-535@tmp/config257579581017549837tmp [Pipeline] { [Pipeline] echo [2023-03-17T13:04:43.754Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:44.062Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T13:04:44.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:44.472Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T13:04:44.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:44.808Z] ---> sudo-logs.sh [2023-03-17T13:04:44.808Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T13:04:44.889Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:45.195Z] ---> job-cost.sh [2023-03-17T13:04:45.195Z] lf-activate-venv: SKIPPING [2023-03-17T13:04:45.195Z] DEBUG: total: 0.2199999988079071 [2023-03-17T13:04:45.195Z] INFO: Retrieving Stack Cost... [2023-03-17T13:04:45.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T13:04:46.023Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T13:04:46.054Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T13:04:46.364Z] ---> logs-deploy.sh [2023-03-17T13:04:46.364Z] lf-activate-venv: SKIPPING [2023-03-17T13:04:46.364Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-535/1 [2023-03-17T13:04:46.364Z] INFO: archiving workspace using pattern(s): [2023-03-17T13:04:47.305Z] Archives upload complete. [2023-03-17T13:04:47.565Z] INFO: archiving logs to Nexus