Pull request #523 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0273c593369b868daedb3165277cf31fcb94150d+229099614b4381a690093be203497270268560bd (7900545aeb86f6e4a6cd8f0f1e35011c06e1dd75) 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-ssh15401617032864804906.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7007275309781793805.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-523/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-523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13767963173542784478.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-523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12757989809712014530.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16972907195686038826.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-523/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-523/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13390739725885561279.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9819 in /w/workspace/gexfoundry_device-mqtt-go_PR-523 [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-523 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 229099614b4381a690093be203497270268560bd into PR head commit 0273c593369b868daedb3165277cf31fcb94150d Merge succeeded, producing 0273c593369b868daedb3165277cf31fcb94150d Checking out Revision 0273c593369b868daedb3165277cf31fcb94150d (PR-523) > 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/523/head:refs/remotes/origin/PR-523 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0273c593369b868daedb3165277cf31fcb94150d # 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 229099614b4381a690093be203497270268560bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0273c593369b868daedb3165277cf31fcb94150d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T02:02:21.672Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T02:02:21.851Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T02:02:21.949Z] ========================================================= [2023-03-13T02:02:21.949Z] EdgeX Global Pipelines Version Info [2023-03-13T02:02:21.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:02:22.685Z] ------------------- [2023-03-13T02:02:22.685Z] stable info: [2023-03-13T02:02:22.686Z] ------------------- [2023-03-13T02:02:22.686Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T02:02:22.686Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T02:02:22.686Z] Message: update stable to v1.0.244 [2023-03-13T02:02:23.257Z] ------------------- [2023-03-13T02:02:23.257Z] experimental info: [2023-03-13T02:02:23.257Z] ------------------- [2023-03-13T02:02:23.258Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T02:02:23.258Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T02:02:23.258Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T02:02:23.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-13T02:02:23.674Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-13T02:02:23.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T02:02:23.759Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T02:02:23.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T02:02:23.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T02:02:23.885Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T02:02:23.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T02:02:23.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T02:02:24.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T02:02:24.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T02:02:24.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-13T02:02:24.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T02:02:24.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T02:02:24.221Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T02:02:24.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T02:02:24.298Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T02:02:24.336Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T02:02:24.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T02:02:24.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T02:02:24.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T02:02:24.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T02:02:24.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T02:02:24.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T02:02:24.619Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T02:02:24.658Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T02:02:24.704Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T02:02:24.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-523 [Pipeline] echo [2023-03-13T02:02:24.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-523 [Pipeline] echo [2023-03-13T02:02:24.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-523 [Pipeline] echo [2023-03-13T02:02:24.873Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0273c593369b868daedb3165277cf31fcb94150d [Pipeline] echo [2023-03-13T02:02:24.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0273c59 [Pipeline] echo [2023-03-13T02:02:24.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T02:02:25.072Z] provisioning config files... [2023-03-13T02:02:25.088Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/config921368750368687452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:02:25.440Z] ---> docker-login.sh [2023-03-13T02:02:25.440Z] nexus3.edgexfoundry.org:10001 [2023-03-13T02:02:25.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:25.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:25.699Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:25.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:25.699Z] [2023-03-13T02:02:25.699Z] Login Succeeded [2023-03-13T02:02:25.699Z] nexus3.edgexfoundry.org:10002 [2023-03-13T02:02:25.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:25.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:25.699Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:25.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:25.699Z] [2023-03-13T02:02:25.699Z] Login Succeeded [2023-03-13T02:02:25.699Z] nexus3.edgexfoundry.org:10003 [2023-03-13T02:02:25.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:25.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:25.961Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:25.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:25.961Z] [2023-03-13T02:02:25.961Z] Login Succeeded [2023-03-13T02:02:25.961Z] nexus3.edgexfoundry.org:10004 [2023-03-13T02:02:25.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:25.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:25.961Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:25.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:25.961Z] [2023-03-13T02:02:25.961Z] Login Succeeded [2023-03-13T02:02:25.961Z] docker.io [2023-03-13T02:02:25.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:26.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:26.222Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:26.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:26.222Z] [2023-03-13T02:02:26.222Z] Login Succeeded [2023-03-13T02:02:26.222Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T02:02:26.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T02:02:26.913Z] + git rev-list -1 --merges 0273c593369b868daedb3165277cf31fcb94150d~1..0273c593369b868daedb3165277cf31fcb94150d [Pipeline] echo [2023-03-13T02:02:26.979Z] -----------> git rev-list -1 --merges 0273c593369b868daedb3165277cf31fcb94150d~1..0273c593369b868daedb3165277cf31fcb94150d 0273c593369b868daedb3165277cf31fcb94150d [false] [Pipeline] sh [2023-03-13T02:02:27.288Z] + git log --format=format:%s -1 0273c593369b868daedb3165277cf31fcb94150d [Pipeline] echo [2023-03-13T02:02:27.326Z] ========================================================= [2023-03-13T02:02:27.326Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T02:02:27.326Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T02:02:27.758Z] + git log --format=format:%s -1 0273c593369b868daedb3165277cf31fcb94150d [Pipeline] echo [2023-03-13T02:02:27.790Z] [semverPrep] GIT_COMMIT: 0273c593369b868daedb3165277cf31fcb94150d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-13T02:02:27.824Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T02:02:28.194Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T02:02:28.195Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T02:02:28.195Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T02:02:28.195Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T02:02:28.195Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T02:02:28.195Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T02:02:28.195Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:02:28.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T02:02:28.631Z] [2023-03-13T02:02:28.631Z] 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-13T02:02:29.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T02:02:29.001Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T02:02:29.001Z] b85a868b505f: Pulling fs layer [2023-03-13T02:02:29.001Z] e2be974225ed: Pulling fs layer [2023-03-13T02:02:29.001Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T02:02:29.001Z] 988bab9f4d93: Pulling fs layer [2023-03-13T02:02:29.001Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T02:02:29.001Z] eaf3925da568: Pulling fs layer [2023-03-13T02:02:29.001Z] bab4dde63d76: Pulling fs layer [2023-03-13T02:02:29.001Z] bde34c3a00c8: Pulling fs layer [2023-03-13T02:02:29.001Z] b352a97aabf1: Pulling fs layer [2023-03-13T02:02:29.001Z] 4872d77fe225: Pulling fs layer [2023-03-13T02:02:29.001Z] 5851b861e8e6: Pulling fs layer [2023-03-13T02:02:29.001Z] bab4dde63d76: Waiting [2023-03-13T02:02:29.001Z] 4872d77fe225: Waiting [2023-03-13T02:02:29.001Z] 5851b861e8e6: Waiting [2023-03-13T02:02:29.001Z] bde34c3a00c8: Waiting [2023-03-13T02:02:29.001Z] b352a97aabf1: Waiting [2023-03-13T02:02:29.001Z] 988bab9f4d93: Waiting [2023-03-13T02:02:29.001Z] 1469e6f7b9e6: Waiting [2023-03-13T02:02:29.001Z] eaf3925da568: Waiting [2023-03-13T02:02:29.272Z] e2be974225ed: Download complete [2023-03-13T02:02:29.272Z] 988bab9f4d93: Verifying Checksum [2023-03-13T02:02:29.272Z] 988bab9f4d93: Download complete [2023-03-13T02:02:29.272Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T02:02:29.272Z] 1469e6f7b9e6: Download complete [2023-03-13T02:02:29.272Z] eaf3925da568: Download complete [2023-03-13T02:02:29.272Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T02:02:29.272Z] 339a4e72a1f5: Download complete [2023-03-13T02:02:29.272Z] bde34c3a00c8: Download complete [2023-03-13T02:02:29.272Z] b352a97aabf1: Verifying Checksum [2023-03-13T02:02:29.272Z] b352a97aabf1: Download complete [2023-03-13T02:02:29.272Z] 4872d77fe225: Verifying Checksum [2023-03-13T02:02:29.272Z] 4872d77fe225: Download complete [2023-03-13T02:02:29.272Z] 5851b861e8e6: Verifying Checksum [2023-03-13T02:02:29.272Z] 5851b861e8e6: Download complete [2023-03-13T02:02:29.534Z] b85a868b505f: Verifying Checksum [2023-03-13T02:02:29.534Z] b85a868b505f: Download complete [2023-03-13T02:02:29.791Z] bab4dde63d76: Verifying Checksum [2023-03-13T02:02:29.791Z] bab4dde63d76: Download complete [2023-03-13T02:02:30.729Z] b85a868b505f: Pull complete [2023-03-13T02:02:30.988Z] e2be974225ed: Pull complete [2023-03-13T02:02:31.246Z] 339a4e72a1f5: Pull complete [2023-03-13T02:02:31.246Z] 988bab9f4d93: Pull complete [2023-03-13T02:02:31.507Z] 1469e6f7b9e6: Pull complete [2023-03-13T02:02:31.765Z] eaf3925da568: Pull complete [2023-03-13T02:02:33.668Z] bab4dde63d76: Pull complete [2023-03-13T02:02:33.668Z] bde34c3a00c8: Pull complete [2023-03-13T02:02:33.668Z] b352a97aabf1: Pull complete [2023-03-13T02:02:33.668Z] 4872d77fe225: Pull complete [2023-03-13T02:02:33.928Z] 5851b861e8e6: Pull complete [2023-03-13T02:02:33.928Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T02:02:33.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T02:02:33.928Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:02:34.139Z] prd-ubuntu20.04-docker-8c-8g-9819 does not seem to be running inside a container [2023-03-13T02:02:34.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-523 -v /w/workspace/gexfoundry_device-mqtt-go_PR-523:/w/workspace/gexfoundry_device-mqtt-go_PR-523:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T02:02:36.042Z] $ docker top 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 -eo pid,comm [2023-03-13T02:02:36.099Z] 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-13T02:02:36.099Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T02:02:36.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T02:02:36.226Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T02:02:36.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T02:02:36.344Z] $ docker exec 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 ssh-agent [2023-03-13T02:02:36.453Z] SSH_AUTH_SOCK=/tmp/ssh-Qz6V7xWudwgY/agent.34 [2023-03-13T02:02:36.453Z] SSH_AGENT_PID=40 [2023-03-13T02:02:36.459Z] Running ssh-add (command line suppressed) [2023-03-13T02:02:36.572Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/private_key_11463715734583293869.key (/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/private_key_11463715734583293869.key) [2023-03-13T02:02:36.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T02:02:36.918Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T02:02:36.943Z] $ docker exec --env ******** --env ******** 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 ssh-agent -k [2023-03-13T02:02:37.060Z] unset SSH_AUTH_SOCK; [2023-03-13T02:02:37.060Z] unset SSH_AGENT_PID; [2023-03-13T02:02:37.060Z] echo Agent pid 40 killed; [2023-03-13T02:02:37.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T02:02:37.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T02:02:37.162Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T02:02:37.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T02:02:37.280Z] $ docker exec 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 ssh-agent [2023-03-13T02:02:37.388Z] SSH_AUTH_SOCK=/tmp/ssh-NW0oIkgM8xZt/agent.72 [2023-03-13T02:02:37.388Z] SSH_AGENT_PID=78 [2023-03-13T02:02:37.392Z] Running ssh-add (command line suppressed) [2023-03-13T02:02:37.502Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/private_key_12862611070839645031.key (/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/private_key_12862611070839645031.key) [2023-03-13T02:02:37.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T02:02:37.862Z] + git semver init [2023-03-13T02:02:38.121Z] 2023-03-13 02:02:38,068 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T02:02:38.121Z] 2023-03-13 02:02:38,069 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver [2023-03-13T02:02:38.121Z] 2023-03-13 02:02:38,070 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver [2023-03-13T02:02:38.121Z] 2023-03-13 02:02:38,070 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-523, universal_newlines=False, shell=None, istream=None) [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,874 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-523/.git/info/exclude [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,874 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver/PR-523 with force:False [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,875 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver/PR-523 [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,879 [execute] INFO git cat-file --batch-check [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,885 [execute] INFO git cat-file --batch [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T02:02:39.061Z] 2023-03-13 02:02:38,890 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-523/.semver/PR-523 [2023-03-13T02:02:39.061Z] 0.0.0 [Pipeline] } [2023-03-13T02:02:39.087Z] $ docker exec --env ******** --env ******** 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 ssh-agent -k [2023-03-13T02:02:39.192Z] unset SSH_AUTH_SOCK; [2023-03-13T02:02:39.193Z] unset SSH_AGENT_PID; [2023-03-13T02:02:39.193Z] echo Agent pid 78 killed; [2023-03-13T02:02:39.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T02:02:39.617Z] + git semver [Pipeline] } [2023-03-13T02:02:39.900Z] $ docker stop --time=1 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 [2023-03-13T02:02:41.167Z] $ docker rm -f --volumes 8a33b56680d4eadbead656ea65bb4ddd747ff0593f3bae17c099b3cfc4e27387 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T02:02:41.576Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T02:02:41.824Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T02:02:41.843Z] [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-13T02:02:42.420Z] provisioning config files... [2023-03-13T02:02:42.430Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/config4601465274433489559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:02:42.773Z] ---> docker-login.sh [2023-03-13T02:02:42.773Z] nexus3.edgexfoundry.org:10001 [2023-03-13T02:02:42.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:42.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:42.773Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:42.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:42.773Z] [2023-03-13T02:02:42.773Z] Login Succeeded [2023-03-13T02:02:42.773Z] nexus3.edgexfoundry.org:10002 [2023-03-13T02:02:42.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:42.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:42.773Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:42.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:42.773Z] [2023-03-13T02:02:42.773Z] Login Succeeded [2023-03-13T02:02:42.773Z] nexus3.edgexfoundry.org:10003 [2023-03-13T02:02:43.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:43.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:43.032Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:43.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:43.032Z] [2023-03-13T02:02:43.032Z] Login Succeeded [2023-03-13T02:02:43.032Z] nexus3.edgexfoundry.org:10004 [2023-03-13T02:02:43.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:43.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:43.032Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:43.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:43.032Z] [2023-03-13T02:02:43.032Z] Login Succeeded [2023-03-13T02:02:43.032Z] docker.io [2023-03-13T02:02:43.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:02:43.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:02:43.292Z] Configure a credential helper to remove this warning. See [2023-03-13T02:02:43.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:02:43.292Z] [2023-03-13T02:02:43.292Z] Login Succeeded [2023-03-13T02:02:43.292Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T02:02:43.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T02:02:43.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T02:02:43.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T02:02:43.584Z] ========================================================= [2023-03-13T02:02:43.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T02:02:43.584Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:02:44.065Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T02:02:44.065Z] Sending build context to Docker daemon 6.346MB [2023-03-13T02:02:44.065Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T02:02:44.065Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T02:02:44.065Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T02:02:44.065Z] 213ec9aee27d: Pulling fs layer [2023-03-13T02:02:44.065Z] 4583459ba037: Pulling fs layer [2023-03-13T02:02:44.065Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T02:02:44.065Z] 53926ce57604: Pulling fs layer [2023-03-13T02:02:44.065Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T02:02:44.065Z] 22ff95d597cd: Pulling fs layer [2023-03-13T02:02:44.065Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T02:02:44.065Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T02:02:44.065Z] a7acece74701: Pulling fs layer [2023-03-13T02:02:44.065Z] 22ff95d597cd: Waiting [2023-03-13T02:02:44.065Z] a7acece74701: Waiting [2023-03-13T02:02:44.065Z] 53926ce57604: Waiting [2023-03-13T02:02:44.065Z] 12d6caf4c0d1: Waiting [2023-03-13T02:02:44.065Z] 21b2b0c7a3f4: Waiting [2023-03-13T02:02:44.065Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T02:02:44.065Z] 93c1e223e6f2: Download complete [2023-03-13T02:02:44.065Z] 4583459ba037: Verifying Checksum [2023-03-13T02:02:44.065Z] 4583459ba037: Download complete [2023-03-13T02:02:44.065Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T02:02:44.065Z] 21b2b0c7a3f4: Download complete [2023-03-13T02:02:44.326Z] 22ff95d597cd: Verifying Checksum [2023-03-13T02:02:44.326Z] 22ff95d597cd: Download complete [2023-03-13T02:02:44.326Z] 213ec9aee27d: Download complete [2023-03-13T02:02:44.326Z] 12d6caf4c0d1: Download complete [2023-03-13T02:02:44.326Z] 213ec9aee27d: Pull complete [2023-03-13T02:02:44.596Z] 4583459ba037: Pull complete [2023-03-13T02:02:44.596Z] 93c1e223e6f2: Pull complete [2023-03-13T02:02:44.856Z] a7acece74701: Verifying Checksum [2023-03-13T02:02:44.856Z] a7acece74701: Download complete [2023-03-13T02:02:45.115Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T02:02:45.115Z] 96b7cbca73a9: Download complete [2023-03-13T02:02:45.115Z] 53926ce57604: Verifying Checksum [2023-03-13T02:02:45.115Z] 53926ce57604: Download complete [2023-03-13T02:02:49.299Z] 53926ce57604: Pull complete [2023-03-13T02:02:49.299Z] 21b2b0c7a3f4: Pull complete [2023-03-13T02:02:49.299Z] 22ff95d597cd: Pull complete [2023-03-13T02:02:49.299Z] 12d6caf4c0d1: Pull complete [2023-03-13T02:02:51.200Z] 96b7cbca73a9: Pull complete [2023-03-13T02:02:52.134Z] a7acece74701: Pull complete [2023-03-13T02:02:52.134Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T02:02:52.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T02:02:52.134Z] ---> db6d94c90886 [2023-03-13T02:02:52.134Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T02:02:55.469Z] ---> Running in 403b8089302b [2023-03-13T02:02:55.469Z] Removing intermediate container 403b8089302b [2023-03-13T02:02:55.469Z] ---> 0bc1eaa03432 [2023-03-13T02:02:55.469Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T02:02:55.469Z] ---> Running in 16f52bc5482b [2023-03-13T02:02:55.469Z] Removing intermediate container 16f52bc5482b [2023-03-13T02:02:55.469Z] ---> 3c06f5e5fe69 [2023-03-13T02:02:55.469Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T02:02:55.469Z] ---> Running in deee23b8f54f [2023-03-13T02:02:55.727Z] Removing intermediate container deee23b8f54f [2023-03-13T02:02:55.727Z] ---> 9f7a538c083f [2023-03-13T02:02:55.727Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T02:02:55.727Z] ---> Running in 246a69e962c2 [2023-03-13T02:02:55.727Z] Removing intermediate container 246a69e962c2 [2023-03-13T02:02:55.727Z] ---> 0aa7b8fa29b9 [2023-03-13T02:02:55.727Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T02:02:55.727Z] ---> Running in 24ad0931d95c [2023-03-13T02:02:55.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T02:02:56.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T02:02:56.502Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T02:02:56.502Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T02:02:56.502Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T02:02:56.502Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T02:02:56.502Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T02:02:56.502Z] OK: 216 MiB in 55 packages [2023-03-13T02:02:57.068Z] Removing intermediate container 24ad0931d95c [2023-03-13T02:02:57.068Z] ---> b4007abd3b7e [2023-03-13T02:02:57.068Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-13T02:02:57.068Z] ---> Running in 4d9708a66653 [2023-03-13T02:02:57.068Z] Removing intermediate container 4d9708a66653 [2023-03-13T02:02:57.068Z] ---> 31c44c558f49 [2023-03-13T02:02:57.068Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T02:02:57.245Z] Still waiting to schedule task [2023-03-13T02:02:57.246Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-13T02:02:57.326Z] ---> 368497dc12a8 [2023-03-13T02:02:57.326Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T02:02:57.326Z] ---> Running in f508d0ca726a [2023-03-13T02:03:29.414Z] Removing intermediate container f508d0ca726a [2023-03-13T02:03:29.414Z] ---> 7e29f2b03f7d [2023-03-13T02:03:29.414Z] Step 11/12 : COPY . . [2023-03-13T02:03:29.414Z] ---> 3ada6d348f76 [2023-03-13T02:03:29.414Z] Step 12/12 : RUN $MAKE [2023-03-13T02:03:29.414Z] ---> Running in 33ae3b74804b [2023-03-13T02:03:29.414Z] noop [2023-03-13T02:03:29.414Z] Removing intermediate container 33ae3b74804b [2023-03-13T02:03:29.414Z] ---> 7f8e28ebed10 [2023-03-13T02:03:29.414Z] Successfully built 7f8e28ebed10 [2023-03-13T02:03:29.414Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:03:29.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T02:03:29.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:03:30.016Z] prd-ubuntu20.04-docker-8c-8g-9819 does not seem to be running inside a container [2023-03-13T02:03:30.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-523 -v /w/workspace/gexfoundry_device-mqtt-go_PR-523:/w/workspace/gexfoundry_device-mqtt-go_PR-523:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T02:03:30.419Z] $ docker top 3629c207cfc50904efcbc1dd657c70830eb1ac287ea70e9d71787c340a9b640b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:03:30.804Z] + go version [2023-03-13T02:03:30.804Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T02:03:30.841Z] $ docker stop --time=1 3629c207cfc50904efcbc1dd657c70830eb1ac287ea70e9d71787c340a9b640b [2023-03-13T02:03:32.115Z] $ docker rm -f --volumes 3629c207cfc50904efcbc1dd657c70830eb1ac287ea70e9d71787c340a9b640b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:03:32.848Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T02:03:32.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:03:33.007Z] prd-ubuntu20.04-docker-8c-8g-9819 does not seem to be running inside a container [2023-03-13T02:03:33.045Z] $ 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-523 -v /w/workspace/gexfoundry_device-mqtt-go_PR-523:/w/workspace/gexfoundry_device-mqtt-go_PR-523:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T02:03:33.378Z] $ docker top 134891c5d1ca06d545f9eeb070338cd1e09c90c46b2d343c14d1221e77f81715 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:03:33.774Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-523 [Pipeline] fileExists [Pipeline] sh [2023-03-13T02:03:34.152Z] + make test [2023-03-13T02:03:34.152Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T02:03:34.410Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-13T02:03:44.380Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-13T02:03:44.380Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements [2023-03-13T02:03:44.380Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-13T02:03:50.940Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-13T02:03:51.198Z] go vet ./... [2023-03-13T02:03:55.380Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T02:03:55.380Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T02:03:55.380Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T02:03:55.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T02:03:55.464Z] $ docker stop --time=1 134891c5d1ca06d545f9eeb070338cd1e09c90c46b2d343c14d1221e77f81715 [2023-03-13T02:03:57.417Z] $ docker rm -f --volumes 134891c5d1ca06d545f9eeb070338cd1e09c90c46b2d343c14d1221e77f81715 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T02:03:57.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T02:03:58.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T02:03:58.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T02:03:59.005Z] + ls -al . [2023-03-13T02:03:59.005Z] total 180 [2023-03-13T02:03:59.005Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 02:03 . [2023-03-13T02:03:59.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 02:02 .. [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 02:02 .dockerignore [2023-03-13T02:03:59.005Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 02:03 .git [2023-03-13T02:03:59.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:02 .github [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 02:02 .gitignore [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 02:02 .golangci.yml [2023-03-13T02:03:59.005Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 02:02 .semver [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 13 02:02 Attribution.txt [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 13 02:02 CHANGELOG.md [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 13 02:02 Dockerfile [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 02:02 GOVERNANCE.md [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 13 02:02 Jenkinsfile [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 02:02 LICENSE [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 13 02:02 Makefile [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 02:02 OWNERS.md [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 13 02:02 README.md [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 02:02 VERSION [2023-03-13T02:03:59.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 02:02 bin [2023-03-13T02:03:59.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:02 cmd [2023-03-13T02:03:59.005Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 13 02:03 coverage.out [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 13 02:02 go.mod [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 02:02 go.sum [2023-03-13T02:03:59.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:02 internal [2023-03-13T02:03:59.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 02:02 mock [2023-03-13T02:03:59.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 02:02 snap [2023-03-13T02:03:59.005Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 13 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:03:59.415Z] + 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=0273c593369b868daedb3165277cf31fcb94150d --label arch=amd64 --label version=0.0.0 . [2023-03-13T02:03:59.415Z] Sending build context to Docker daemon 6.365MB [2023-03-13T02:03:59.415Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T02:03:59.415Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-13T02:03:59.415Z] ---> 7f8e28ebed10 [2023-03-13T02:03:59.415Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-13T02:03:59.415Z] ---> Running in e1dfcb2c5d6e [2023-03-13T02:03:59.675Z] Removing intermediate container e1dfcb2c5d6e [2023-03-13T02:03:59.675Z] ---> 2a4072f35758 [2023-03-13T02:03:59.675Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T02:03:59.675Z] ---> Running in 5d70b6b99adf [2023-03-13T02:03:59.675Z] Removing intermediate container 5d70b6b99adf [2023-03-13T02:03:59.675Z] ---> f35152bef319 [2023-03-13T02:03:59.675Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T02:03:59.675Z] ---> Running in 6d5c9ce27c8e [2023-03-13T02:03:59.675Z] Removing intermediate container 6d5c9ce27c8e [2023-03-13T02:03:59.675Z] ---> 3e62ada38627 [2023-03-13T02:03:59.675Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T02:03:59.935Z] ---> Running in f8173ec758eb [2023-03-13T02:03:59.935Z] Removing intermediate container f8173ec758eb [2023-03-13T02:03:59.935Z] ---> 36a089b0c18f [2023-03-13T02:03:59.935Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T02:03:59.935Z] ---> Running in ed0f8c6d7930 [2023-03-13T02:04:00.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T02:04:00.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T02:04:00.715Z] OK: 216 MiB in 55 packages [2023-03-13T02:04:00.976Z] Removing intermediate container ed0f8c6d7930 [2023-03-13T02:04:00.976Z] ---> 1dc1c53204c6 [2023-03-13T02:04:00.976Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-13T02:04:00.976Z] ---> Running in 2144373ee422 [2023-03-13T02:04:00.976Z] Removing intermediate container 2144373ee422 [2023-03-13T02:04:00.976Z] ---> 51ce9a1bd016 [2023-03-13T02:04:00.976Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-13T02:04:01.236Z] ---> abd8d1dfae3e [2023-03-13T02:04:01.236Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T02:04:01.236Z] ---> Running in e723939cd362 [2023-03-13T02:04:02.332Z] Removing intermediate container e723939cd362 [2023-03-13T02:04:02.332Z] ---> 7b46deac51a8 [2023-03-13T02:04:02.332Z] Step 11/24 : COPY . . [2023-03-13T02:04:02.332Z] ---> 0201d7794ceb [2023-03-13T02:04:02.332Z] Step 12/24 : RUN $MAKE [2023-03-13T02:04:02.606Z] ---> Running in 3e71cc3e2886 [2023-03-13T02:04:02.886Z] 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-13T02:04:24.922Z] Removing intermediate container 3e71cc3e2886 [2023-03-13T02:04:24.922Z] ---> e2f46ca1f942 [2023-03-13T02:04:24.922Z] Step 13/24 : FROM alpine:3.16 [2023-03-13T02:04:24.922Z] 3.16: Pulling from library/alpine [2023-03-13T02:04:24.922Z] ef5531b6e74e: Pulling fs layer [2023-03-13T02:04:24.922Z] ef5531b6e74e: Verifying Checksum [2023-03-13T02:04:24.922Z] ef5531b6e74e: Download complete [2023-03-13T02:04:24.922Z] ef5531b6e74e: Pull complete [2023-03-13T02:04:24.922Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T02:04:24.922Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T02:04:24.922Z] ---> dfd21b5a31f5 [2023-03-13T02:04:24.922Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-13T02:04:24.922Z] ---> Running in 3e0f5ef761c9 [2023-03-13T02:04:24.922Z] Removing intermediate container 3e0f5ef761c9 [2023-03-13T02:04:24.922Z] ---> 1c63f4dfe6e7 [2023-03-13T02:04:24.922Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-13T02:04:24.922Z] ---> Running in 7e8caaef285f [2023-03-13T02:04:24.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T02:04:24.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T02:04:24.922Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T02:04:24.922Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T02:04:24.922Z] OK: 6 MiB in 15 packages [2023-03-13T02:04:24.922Z] Removing intermediate container 7e8caaef285f [2023-03-13T02:04:24.922Z] ---> 814ed699afe4 [2023-03-13T02:04:24.922Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-13T02:04:24.922Z] ---> afe6f18a2ec7 [2023-03-13T02:04:24.922Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-13T02:04:24.922Z] ---> 4984d414e36c [2023-03-13T02:04:24.922Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-13T02:04:24.922Z] ---> 88226ec3384e [2023-03-13T02:04:24.922Z] Step 19/24 : EXPOSE 59982 [2023-03-13T02:04:24.922Z] ---> Running in 5471a6e6815f [2023-03-13T02:04:24.922Z] Removing intermediate container 5471a6e6815f [2023-03-13T02:04:24.922Z] ---> acd67c65a171 [2023-03-13T02:04:24.922Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-13T02:04:24.922Z] ---> Running in 38ea8ab593fc [2023-03-13T02:04:24.922Z] Removing intermediate container 38ea8ab593fc [2023-03-13T02:04:24.922Z] ---> 7cf1b4042d9b [2023-03-13T02:04:24.922Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T02:04:24.922Z] ---> Running in 58029e5249a5 [2023-03-13T02:04:24.922Z] Removing intermediate container 58029e5249a5 [2023-03-13T02:04:24.922Z] ---> e6975ca9d8e5 [2023-03-13T02:04:24.922Z] Step 22/24 : LABEL arch=amd64 [2023-03-13T02:04:24.922Z] ---> Running in 8dd1f907e172 [2023-03-13T02:04:24.922Z] Removing intermediate container 8dd1f907e172 [2023-03-13T02:04:24.922Z] ---> 613e7b2c44b4 [2023-03-13T02:04:24.922Z] Step 23/24 : LABEL git_sha=0273c593369b868daedb3165277cf31fcb94150d [2023-03-13T02:04:24.922Z] ---> Running in b4106e1f0c15 [2023-03-13T02:04:24.922Z] Removing intermediate container b4106e1f0c15 [2023-03-13T02:04:24.922Z] ---> 142dd03db118 [2023-03-13T02:04:24.922Z] Step 24/24 : LABEL version=0.0.0 [2023-03-13T02:04:24.922Z] ---> Running in 8ea188fcc2c1 [2023-03-13T02:04:24.922Z] Removing intermediate container 8ea188fcc2c1 [2023-03-13T02:04:24.922Z] ---> b27ca212b4e0 [2023-03-13T02:04:24.922Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T02:04:24.922Z] Successfully built b27ca212b4e0 [2023-03-13T02:04:24.922Z] 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-13T02:04:25.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T02:04:25.798Z] [2023-03-13T02:04:25.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:04:26.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T02:04:26.177Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T02:04:26.177Z] 5eb5b503b376: Pulling fs layer [2023-03-13T02:04:26.177Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T02:04:26.177Z] ec43610c2a17: Pulling fs layer [2023-03-13T02:04:26.177Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T02:04:26.177Z] 33b1e0a273af: Pulling fs layer [2023-03-13T02:04:26.177Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T02:04:26.177Z] 2f39f015ded8: Pulling fs layer [2023-03-13T02:04:26.177Z] 33b1e0a273af: Waiting [2023-03-13T02:04:26.177Z] 5d3b04190fa2: Waiting [2023-03-13T02:04:26.177Z] 2f39f015ded8: Waiting [2023-03-13T02:04:26.177Z] 3a2ae6a8a46f: Waiting [2023-03-13T02:04:26.177Z] 5c69ac0246d0: Download complete [2023-03-13T02:04:26.177Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T02:04:26.177Z] 3a2ae6a8a46f: Download complete [2023-03-13T02:04:26.438Z] 33b1e0a273af: Verifying Checksum [2023-03-13T02:04:26.438Z] 33b1e0a273af: Download complete [2023-03-13T02:04:26.438Z] ec43610c2a17: Verifying Checksum [2023-03-13T02:04:26.438Z] ec43610c2a17: Download complete [2023-03-13T02:04:26.438Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T02:04:26.438Z] 5d3b04190fa2: Download complete [2023-03-13T02:04:26.438Z] 5eb5b503b376: Verifying Checksum [2023-03-13T02:04:26.438Z] 5eb5b503b376: Download complete [2023-03-13T02:04:27.005Z] 2f39f015ded8: Verifying Checksum [2023-03-13T02:04:27.005Z] 2f39f015ded8: Download complete [2023-03-13T02:04:27.575Z] 5eb5b503b376: Pull complete [2023-03-13T02:04:27.834Z] 5c69ac0246d0: Pull complete [2023-03-13T02:04:28.093Z] ec43610c2a17: Pull complete [2023-03-13T02:04:28.351Z] 3a2ae6a8a46f: Pull complete [2023-03-13T02:04:28.610Z] 33b1e0a273af: Pull complete [2023-03-13T02:04:28.610Z] 5d3b04190fa2: Pull complete [2023-03-13T02:04:32.793Z] 2f39f015ded8: Pull complete [2023-03-13T02:04:32.793Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T02:04:32.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T02:04:32.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:04:33.013Z] prd-ubuntu20.04-docker-8c-8g-9819 does not seem to be running inside a container [2023-03-13T02:04:33.056Z] $ 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-523 -v /w/workspace/gexfoundry_device-mqtt-go_PR-523:/w/workspace/gexfoundry_device-mqtt-go_PR-523:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T02:04:35.136Z] $ docker top 56f385d21511b81f906e6f558c0c675948984a2093a6b7d1a48800bad3c5d3db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:04:35.585Z] ---> job-cost.sh [2023-03-13T02:04:35.585Z] lf-activate-venv: SKIPPING [2023-03-13T02:04:35.585Z] INFO: No Stack... [2023-03-13T02:04:35.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T02:04:36.108Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T02:04:36.420Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives/cost.csv [2023-03-13T02:04:36.420Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T02:04:36.466Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] [2023-03-13T02:04:36.472Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] did not exist. Created. [2023-03-13T02:04:36.472Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T02:04:36.867Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T02:04:36.913Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T02:04:36.938Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T02:04:37.015Z] $ docker stop --time=1 56f385d21511b81f906e6f558c0c675948984a2093a6b7d1a48800bad3c5d3db [2023-03-13T02:04:38.170Z] $ docker rm -f --volumes 56f385d21511b81f906e6f558c0c675948984a2093a6b7d1a48800bad3c5d3db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T02:05:35.058Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9822 in /w/workspace/gexfoundry_device-mqtt-go_PR-523 [Pipeline] { [Pipeline] ws [2023-03-13T02:05:35.111Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-13T02:05:35.187Z] Selected Git installation does not exist. Using Default [2023-03-13T02:05:35.188Z] The recommended git tool is: NONE [2023-03-13T02:05:40.632Z] using credential edgex-jenkins-ssh [2023-03-13T02:05:40.651Z] Cloning the remote Git repository [2023-03-13T02:05:40.713Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-13T02:05:40.795Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-13T02:05:40.940Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-13T02:05:40.941Z] > git --version # timeout=10 [2023-03-13T02:05:40.960Z] > git --version # 'git version 2.25.1' [2023-03-13T02:05:40.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T02:05:41.022Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T02:05:42.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-13T02:05:42.081Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T02:05:43.504Z] Merging remotes/origin/main commit 229099614b4381a690093be203497270268560bd into PR head commit 0273c593369b868daedb3165277cf31fcb94150d [2023-03-13T02:05:43.741Z] Merge succeeded, producing 0273c593369b868daedb3165277cf31fcb94150d [2023-03-13T02:05:43.741Z] Checking out Revision 0273c593369b868daedb3165277cf31fcb94150d (PR-523) [2023-03-13T02:05:42.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-13T02:05:42.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-13T02:05:42.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T02:05:43.006Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T02:05:43.522Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T02:05:43.541Z] > git checkout -f 0273c593369b868daedb3165277cf31fcb94150d # timeout=10 [2023-03-13T02:05:43.632Z] > git remote # timeout=10 [2023-03-13T02:05:43.653Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T02:05:43.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T02:05:43.688Z] > git merge 229099614b4381a690093be203497270268560bd # timeout=10 [2023-03-13T02:05:43.717Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T02:05:43.747Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T02:05:43.762Z] > git checkout -f 0273c593369b868daedb3165277cf31fcb94150d # timeout=10 [2023-03-13T02:05:44.286Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-13T02:05:44.346Z] > git --version # timeout=10 [2023-03-13T02:05:44.359Z] > git --version # 'git version 2.25.1' [2023-03-13T02:05:44.377Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T02:05:45.385Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T02:05:45.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T02:05:45.386Z] Dload Upload Total Spent Left Speed [2023-03-13T02:05:45.386Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-13T02:05:46.064Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T02:05:46.412Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T02:05:46.412Z] + sudo tee /etc/docker/daemon.new [2023-03-13T02:05:46.412Z] { [2023-03-13T02:05:46.412Z] "registry-mirrors": [ [2023-03-13T02:05:46.413Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T02:05:46.413Z] ], [2023-03-13T02:05:46.413Z] "bip": "10.250.0.254/24", [2023-03-13T02:05:46.413Z] "hosts": [ [2023-03-13T02:05:46.413Z] "tcp://0.0.0.0:5555", [2023-03-13T02:05:46.413Z] "unix:///var/run/docker.sock" [2023-03-13T02:05:46.413Z] ], [2023-03-13T02:05:46.413Z] "mtu": 1458, [2023-03-13T02:05:46.413Z] "selinux-enabled": true, [2023-03-13T02:05:46.413Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T02:05:46.413Z] } [Pipeline] sh [2023-03-13T02:05:46.758Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T02:05:47.102Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T02:06:05.462Z] provisioning config files... [2023-03-13T02:06:05.494Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5260909186845103934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:06:05.907Z] ---> docker-login.sh [2023-03-13T02:06:05.907Z] nexus3.edgexfoundry.org:10001 [2023-03-13T02:06:06.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:06:06.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:06:06.505Z] Configure a credential helper to remove this warning. See [2023-03-13T02:06:06.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:06:06.505Z] [2023-03-13T02:06:06.505Z] Login Succeeded [2023-03-13T02:06:06.505Z] nexus3.edgexfoundry.org:10002 [2023-03-13T02:06:06.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:06:07.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:06:07.051Z] Configure a credential helper to remove this warning. See [2023-03-13T02:06:07.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:06:07.051Z] [2023-03-13T02:06:07.051Z] Login Succeeded [2023-03-13T02:06:07.051Z] nexus3.edgexfoundry.org:10003 [2023-03-13T02:06:07.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:06:07.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:06:07.324Z] Configure a credential helper to remove this warning. See [2023-03-13T02:06:07.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:06:07.324Z] [2023-03-13T02:06:07.324Z] Login Succeeded [2023-03-13T02:06:07.324Z] nexus3.edgexfoundry.org:10004 [2023-03-13T02:06:07.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:06:07.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:06:07.884Z] Configure a credential helper to remove this warning. See [2023-03-13T02:06:07.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:06:07.884Z] [2023-03-13T02:06:07.884Z] Login Succeeded [2023-03-13T02:06:07.884Z] docker.io [2023-03-13T02:06:08.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T02:06:08.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T02:06:08.433Z] Configure a credential helper to remove this warning. See [2023-03-13T02:06:08.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T02:06:08.433Z] [2023-03-13T02:06:08.433Z] Login Succeeded [2023-03-13T02:06:08.433Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T02:06:08.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T02:06:08.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T02:06:08.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T02:06:08.960Z] ========================================================= [2023-03-13T02:06:08.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T02:06:08.960Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:06:09.454Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T02:06:12.076Z] Sending build context to Docker daemon 3.303MB [2023-03-13T02:06:12.076Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T02:06:12.076Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T02:06:12.076Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T02:06:12.076Z] 9b18e9b68314: Pulling fs layer [2023-03-13T02:06:12.076Z] 35d82f9e3411: Pulling fs layer [2023-03-13T02:06:12.076Z] e16973657156: Pulling fs layer [2023-03-13T02:06:12.076Z] fc693d55d65f: Pulling fs layer [2023-03-13T02:06:12.076Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T02:06:12.076Z] dda99020689f: Pulling fs layer [2023-03-13T02:06:12.076Z] db1c61fa0a46: Pulling fs layer [2023-03-13T02:06:12.076Z] 891c053d2c06: Pulling fs layer [2023-03-13T02:06:12.076Z] dda99020689f: Waiting [2023-03-13T02:06:12.076Z] fc693d55d65f: Waiting [2023-03-13T02:06:12.076Z] db1c61fa0a46: Waiting [2023-03-13T02:06:12.076Z] 891c053d2c06: Waiting [2023-03-13T02:06:12.076Z] 7e9fc2657dce: Waiting [2023-03-13T02:06:12.076Z] e16973657156: Verifying Checksum [2023-03-13T02:06:12.076Z] e16973657156: Download complete [2023-03-13T02:06:12.076Z] 35d82f9e3411: Download complete [2023-03-13T02:06:12.076Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T02:06:12.076Z] 7e9fc2657dce: Download complete [2023-03-13T02:06:12.076Z] dda99020689f: Verifying Checksum [2023-03-13T02:06:12.076Z] dda99020689f: Download complete [2023-03-13T02:06:12.076Z] 9b18e9b68314: Verifying Checksum [2023-03-13T02:06:12.076Z] 9b18e9b68314: Download complete [2023-03-13T02:06:13.053Z] 9b18e9b68314: Pull complete [2023-03-13T02:06:13.053Z] 891c053d2c06: Verifying Checksum [2023-03-13T02:06:13.053Z] 891c053d2c06: Download complete [2023-03-13T02:06:13.677Z] 35d82f9e3411: Pull complete [2023-03-13T02:06:13.955Z] e16973657156: Pull complete [2023-03-13T02:06:14.551Z] db1c61fa0a46: Verifying Checksum [2023-03-13T02:06:14.551Z] db1c61fa0a46: Download complete [2023-03-13T02:06:15.143Z] fc693d55d65f: Verifying Checksum [2023-03-13T02:06:15.143Z] fc693d55d65f: Download complete [2023-03-13T02:06:30.181Z] fc693d55d65f: Pull complete [2023-03-13T02:06:30.181Z] 7e9fc2657dce: Pull complete [2023-03-13T02:06:30.181Z] dda99020689f: Pull complete [2023-03-13T02:06:34.568Z] db1c61fa0a46: Pull complete [2023-03-13T02:06:37.174Z] 891c053d2c06: Pull complete [2023-03-13T02:06:37.174Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T02:06:37.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T02:06:37.174Z] ---> f96f9c87975a [2023-03-13T02:06:37.174Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T02:06:39.147Z] ---> Running in 1bbe3ae6e233 [2023-03-13T02:06:39.418Z] Removing intermediate container 1bbe3ae6e233 [2023-03-13T02:06:39.418Z] ---> f1c1ca7be796 [2023-03-13T02:06:39.418Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T02:06:39.418Z] ---> Running in 89a344ee777f [2023-03-13T02:06:39.687Z] Removing intermediate container 89a344ee777f [2023-03-13T02:06:39.687Z] ---> 675c63c3f36f [2023-03-13T02:06:39.687Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T02:06:39.961Z] ---> Running in 13e173b4558c [2023-03-13T02:06:40.236Z] Removing intermediate container 13e173b4558c [2023-03-13T02:06:40.236Z] ---> 354e4b2541fb [2023-03-13T02:06:40.236Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T02:06:40.236Z] ---> Running in c029aea6d3a6 [2023-03-13T02:06:40.828Z] Removing intermediate container c029aea6d3a6 [2023-03-13T02:06:40.828Z] ---> c9d15b845d15 [2023-03-13T02:06:40.828Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T02:06:40.828Z] ---> Running in 15763cf48d4e [2023-03-13T02:06:42.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T02:06:42.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T02:06:43.661Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T02:06:43.661Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T02:06:43.661Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T02:06:43.661Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T02:06:43.661Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T02:06:43.661Z] OK: 226 MiB in 55 packages [2023-03-13T02:06:44.634Z] Removing intermediate container 15763cf48d4e [2023-03-13T02:06:44.634Z] ---> d14efe6e06f9 [2023-03-13T02:06:44.634Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-13T02:06:44.634Z] ---> Running in 29bc6bd6b031 [2023-03-13T02:06:44.902Z] Removing intermediate container 29bc6bd6b031 [2023-03-13T02:06:44.902Z] ---> a8f0f0f73d03 [2023-03-13T02:06:44.902Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T02:06:45.487Z] ---> 6aece4a7e1e8 [2023-03-13T02:06:45.487Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T02:06:45.487Z] ---> Running in 3b9287d637a2 [2023-03-13T02:08:07.154Z] Removing intermediate container 3b9287d637a2 [2023-03-13T02:08:07.154Z] ---> 353e0ce6e269 [2023-03-13T02:08:07.154Z] Step 11/12 : COPY . . [2023-03-13T02:08:07.154Z] ---> 076cc87ab85c [2023-03-13T02:08:07.154Z] Step 12/12 : RUN $MAKE [2023-03-13T02:08:07.154Z] ---> Running in fd7091510d40 [2023-03-13T02:08:07.154Z] noop [2023-03-13T02:08:07.154Z] Removing intermediate container fd7091510d40 [2023-03-13T02:08:07.154Z] ---> 4b1461b4ff86 [2023-03-13T02:08:07.154Z] Successfully built 4b1461b4ff86 [2023-03-13T02:08:07.154Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:08:07.641Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T02:08:07.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:08:07.908Z] prd-ubuntu20.04-docker-arm64-4c-16g-9822 does not seem to be running inside a container [2023-03-13T02:08:07.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T02:08:09.885Z] $ docker top f81b5ed59f79dfd04e8b54b337a87e0080c5060ea81acbbaaf5874437e8bc243 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:08:10.789Z] + go version [2023-03-13T02:08:10.789Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T02:08:10.834Z] $ docker stop --time=1 f81b5ed59f79dfd04e8b54b337a87e0080c5060ea81acbbaaf5874437e8bc243 [2023-03-13T02:08:12.481Z] $ docker rm -f --volumes f81b5ed59f79dfd04e8b54b337a87e0080c5060ea81acbbaaf5874437e8bc243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:08:13.330Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T02:08:13.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:08:13.613Z] prd-ubuntu20.04-docker-arm64-4c-16g-9822 does not seem to be running inside a container [2023-03-13T02:08:13.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T02:08:14.899Z] $ docker top 98c9cdd92bf75a93fbb14f9f9624f3c97064e84991e842e3d181f4c804a02bcd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:08:15.868Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T02:08:16.588Z] + make test [2023-03-13T02:08:16.588Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T02:08:18.011Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-13T02:09:54.698Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-13T02:09:54.698Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.060s coverage: 22.2% of statements [2023-03-13T02:09:54.698Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-13T02:09:54.698Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T02:09:54.698Z] go vet ./... [2023-03-13T02:10:16.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T02:10:16.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T02:10:16.786Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T02:10:16.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T02:10:16.863Z] $ docker stop --time=1 98c9cdd92bf75a93fbb14f9f9624f3c97064e84991e842e3d181f4c804a02bcd [2023-03-13T02:10:19.565Z] $ docker rm -f --volumes 98c9cdd92bf75a93fbb14f9f9624f3c97064e84991e842e3d181f4c804a02bcd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T02:10:20.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T02:10:20.621Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T02:10:21.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T02:10:21.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T02:10:22.115Z] + ls -al . [2023-03-13T02:10:22.115Z] total 176 [2023-03-13T02:10:22.115Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 02:08 . [2023-03-13T02:10:22.115Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 02:05 .. [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 02:05 .dockerignore [2023-03-13T02:10:22.115Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 02:05 .git [2023-03-13T02:10:22.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:05 .github [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 02:05 .gitignore [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 02:05 .golangci.yml [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 13 02:05 Attribution.txt [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 13 02:05 CHANGELOG.md [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 13 02:05 Dockerfile [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 02:05 GOVERNANCE.md [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 13 02:05 Jenkinsfile [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 02:05 LICENSE [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 13 02:05 Makefile [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 02:05 OWNERS.md [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 13 02:05 README.md [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 02:02 VERSION [2023-03-13T02:10:22.115Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 02:05 bin [2023-03-13T02:10:22.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:05 cmd [2023-03-13T02:10:22.115Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 13 02:09 coverage.out [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 13 02:05 go.mod [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 02:05 go.sum [2023-03-13T02:10:22.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 02:05 internal [2023-03-13T02:10:22.115Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 02:05 mock [2023-03-13T02:10:22.115Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 02:05 snap [2023-03-13T02:10:22.115Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 13 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:10:22.653Z] + 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=0273c593369b868daedb3165277cf31fcb94150d --label arch=arm64 --label version=0.0.0 . [2023-03-13T02:10:22.921Z] Sending build context to Docker daemon 3.322MB [2023-03-13T02:10:22.921Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T02:10:22.921Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-13T02:10:22.921Z] ---> 4b1461b4ff86 [2023-03-13T02:10:22.921Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-13T02:10:23.189Z] ---> Running in 4e2c6b104461 [2023-03-13T02:10:23.458Z] Removing intermediate container 4e2c6b104461 [2023-03-13T02:10:23.458Z] ---> 1af47d986954 [2023-03-13T02:10:23.458Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T02:10:23.727Z] ---> Running in 0f1b185e4516 [2023-03-13T02:10:23.993Z] Removing intermediate container 0f1b185e4516 [2023-03-13T02:10:23.993Z] ---> 8a37622e5249 [2023-03-13T02:10:23.993Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-13T02:10:23.993Z] ---> Running in c74bd365775c [2023-03-13T02:10:25.949Z] Removing intermediate container c74bd365775c [2023-03-13T02:10:25.949Z] ---> d359d8202619 [2023-03-13T02:10:25.949Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T02:10:25.949Z] ---> Running in 2e9a4ee2de62 [2023-03-13T02:10:26.218Z] Removing intermediate container 2e9a4ee2de62 [2023-03-13T02:10:26.218Z] ---> ea31785a067e [2023-03-13T02:10:26.218Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T02:10:26.218Z] ---> Running in 4ca8ae15aed9 [2023-03-13T02:10:27.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T02:10:27.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T02:10:28.736Z] OK: 226 MiB in 55 packages [2023-03-13T02:10:29.698Z] Removing intermediate container 4ca8ae15aed9 [2023-03-13T02:10:29.698Z] ---> 1f34680aa591 [2023-03-13T02:10:29.698Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-13T02:10:29.698Z] ---> Running in 4c00713434eb [2023-03-13T02:10:30.291Z] Removing intermediate container 4c00713434eb [2023-03-13T02:10:30.291Z] ---> 83bc2945a571 [2023-03-13T02:10:30.291Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-13T02:10:31.704Z] ---> 23b22076a4bc [2023-03-13T02:10:31.704Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T02:10:31.704Z] ---> Running in 236ee3094a68 [2023-03-13T02:10:35.135Z] Removing intermediate container 236ee3094a68 [2023-03-13T02:10:35.135Z] ---> 5e21f4f25249 [2023-03-13T02:10:35.135Z] Step 11/24 : COPY . . [2023-03-13T02:10:36.102Z] ---> 5a8a55ba6655 [2023-03-13T02:10:36.102Z] Step 12/24 : RUN $MAKE [2023-03-13T02:10:36.102Z] ---> Running in 25470d5afd73 [2023-03-13T02:10:37.063Z] 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-13T02:12:43.767Z] Removing intermediate container 25470d5afd73 [2023-03-13T02:12:43.767Z] ---> 36ce7df1824f [2023-03-13T02:12:43.767Z] Step 13/24 : FROM alpine:3.16 [2023-03-13T02:12:43.767Z] 3.16: Pulling from library/alpine [2023-03-13T02:12:43.767Z] 3760b48202b3: Pulling fs layer [2023-03-13T02:12:43.767Z] 3760b48202b3: Verifying Checksum [2023-03-13T02:12:43.767Z] 3760b48202b3: Download complete [2023-03-13T02:12:43.767Z] 3760b48202b3: Pull complete [2023-03-13T02:12:43.767Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T02:12:43.767Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T02:12:43.767Z] ---> 4c81e5bf8899 [2023-03-13T02:12:43.767Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-13T02:12:43.767Z] ---> Running in 56a89c9bd696 [2023-03-13T02:12:43.767Z] Removing intermediate container 56a89c9bd696 [2023-03-13T02:12:43.767Z] ---> dcf22d711103 [2023-03-13T02:12:43.767Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-13T02:12:43.767Z] ---> Running in 2f475f5a301d [2023-03-13T02:12:43.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T02:12:43.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T02:12:43.767Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T02:12:43.767Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T02:12:43.767Z] OK: 5 MiB in 15 packages [2023-03-13T02:12:44.035Z] Removing intermediate container 2f475f5a301d [2023-03-13T02:12:44.035Z] ---> cd3b26bac806 [2023-03-13T02:12:44.035Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-13T02:12:45.441Z] ---> f7b840ed7c9e [2023-03-13T02:12:45.441Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-13T02:12:46.026Z] ---> b612e20075a0 [2023-03-13T02:12:46.026Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-13T02:12:46.295Z] ---> 4b5af46fe191 [2023-03-13T02:12:46.295Z] Step 19/24 : EXPOSE 59982 [2023-03-13T02:12:46.295Z] ---> Running in 3c5a297c8aea [2023-03-13T02:12:46.572Z] Removing intermediate container 3c5a297c8aea [2023-03-13T02:12:46.572Z] ---> 5a541286c658 [2023-03-13T02:12:46.572Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-13T02:12:46.841Z] ---> Running in b4552e4eb508 [2023-03-13T02:12:47.108Z] Removing intermediate container b4552e4eb508 [2023-03-13T02:12:47.108Z] ---> f305f5abc006 [2023-03-13T02:12:47.108Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T02:12:47.108Z] ---> Running in 2504379a1167 [2023-03-13T02:12:47.375Z] Removing intermediate container 2504379a1167 [2023-03-13T02:12:47.375Z] ---> 26767a7e1cfc [2023-03-13T02:12:47.375Z] Step 22/24 : LABEL arch=arm64 [2023-03-13T02:12:47.375Z] ---> Running in 2c73bde022af [2023-03-13T02:12:47.648Z] Removing intermediate container 2c73bde022af [2023-03-13T02:12:47.648Z] ---> a28f5ddf2e8e [2023-03-13T02:12:47.648Z] Step 23/24 : LABEL git_sha=0273c593369b868daedb3165277cf31fcb94150d [2023-03-13T02:12:47.917Z] ---> Running in d1fdf33f9b9b [2023-03-13T02:12:48.184Z] Removing intermediate container d1fdf33f9b9b [2023-03-13T02:12:48.184Z] ---> 4c2bd699db7c [2023-03-13T02:12:48.184Z] Step 24/24 : LABEL version=0.0.0 [2023-03-13T02:12:48.184Z] ---> Running in 4478d3a54bd0 [2023-03-13T02:12:48.450Z] Removing intermediate container 4478d3a54bd0 [2023-03-13T02:12:48.450Z] ---> 7035860a1eef [2023-03-13T02:12:48.450Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T02:12:48.450Z] Successfully built 7035860a1eef [2023-03-13T02:12:48.450Z] 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-13T02:12:49.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T02:12:49.252Z] [2023-03-13T02:12:49.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:12:49.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T02:12:49.655Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T02:12:49.655Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T02:12:49.920Z] 04944245beec: Pulling fs layer [2023-03-13T02:12:49.920Z] 699f458cf7ca: Pulling fs layer [2023-03-13T02:12:49.920Z] 765212b225bb: Pulling fs layer [2023-03-13T02:12:49.920Z] f23df028b6ca: Pulling fs layer [2023-03-13T02:12:49.920Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T02:12:49.920Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T02:12:49.920Z] f23df028b6ca: Waiting [2023-03-13T02:12:49.920Z] d65c8cfc05b1: Waiting [2023-03-13T02:12:49.920Z] 2437ff75d9bd: Waiting [2023-03-13T02:12:49.920Z] 04944245beec: Verifying Checksum [2023-03-13T02:12:49.920Z] 04944245beec: Download complete [2023-03-13T02:12:49.920Z] 765212b225bb: Download complete [2023-03-13T02:12:49.920Z] f23df028b6ca: Verifying Checksum [2023-03-13T02:12:49.920Z] f23df028b6ca: Download complete [2023-03-13T02:12:49.920Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T02:12:49.920Z] d65c8cfc05b1: Download complete [2023-03-13T02:12:50.189Z] 699f458cf7ca: Verifying Checksum [2023-03-13T02:12:50.189Z] 699f458cf7ca: Download complete [2023-03-13T02:12:50.455Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T02:12:50.455Z] 8998bd30e6a1: Download complete [2023-03-13T02:12:52.394Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T02:12:52.394Z] 2437ff75d9bd: Download complete [2023-03-13T02:12:54.331Z] 8998bd30e6a1: Pull complete [2023-03-13T02:12:54.331Z] 04944245beec: Pull complete [2023-03-13T02:12:55.736Z] 699f458cf7ca: Pull complete [2023-03-13T02:12:55.736Z] 765212b225bb: Pull complete [2023-03-13T02:12:56.769Z] f23df028b6ca: Pull complete [2023-03-13T02:12:56.769Z] d65c8cfc05b1: Pull complete [2023-03-13T02:13:09.152Z] 2437ff75d9bd: Pull complete [2023-03-13T02:13:09.152Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T02:13:09.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T02:13:09.152Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:13:09.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-9822 does not seem to be running inside a container [2023-03-13T02:13:09.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T02:13:12.043Z] $ docker top 7732742545fec783134c006d8c3f4ee41d989059a35c9172bece0b24a44a22bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:12.601Z] ---> job-cost.sh [2023-03-13T02:13:12.866Z] lf-activate-venv: SKIPPING [2023-03-13T02:13:12.866Z] INFO: No Stack... [2023-03-13T02:13:13.131Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T02:13:14.087Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T02:13:14.423Z] + cut -d, -f6 [2023-03-13T02:13:14.423Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-03-13T02:13:14.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] [2023-03-13T02:13:14.504Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] did not exist. Created. [2023-03-13T02:13:14.504Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T02:13:14.912Z] /w/workspace/device-mqtt-go/1@tmp/durable-1a5b4580/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T02:13:15.584Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T02:13:15.620Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T02:13:15.664Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T02:13:15.681Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-523-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T02:13:15.778Z] $ docker stop --time=1 7732742545fec783134c006d8c3f4ee41d989059a35c9172bece0b24a44a22bd [2023-03-13T02:13:17.266Z] $ docker rm -f --volumes 7732742545fec783134c006d8c3f4ee41d989059a35c9172bece0b24a44a22bd [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-13T02:13:18.194Z] provisioning config files... [2023-03-13T02:13:18.202Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/config10542172201068666209tmp [Pipeline] { [Pipeline] sh [2023-03-13T02:13:18.547Z] + set +x [2023-03-13T02:13:18.547Z] + + curl -s https://codecov.io/bash [2023-03-13T02:13:18.547Z] bash -s -- [2023-03-13T02:13:18.547Z] [2023-03-13T02:13:18.547Z] _____ _ [2023-03-13T02:13:18.547Z] / ____| | | [2023-03-13T02:13:18.547Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T02:13:18.547Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T02:13:18.547Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T02:13:18.547Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T02:13:18.547Z] Bash-1.0.6 [2023-03-13T02:13:18.547Z] [2023-03-13T02:13:18.547Z] [2023-03-13T02:13:18.547Z] ==> git version 2.25.1 found [2023-03-13T02:13:18.547Z] ==> 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-13T02:13:18.547Z] Release-Date: 2020-01-08 [2023-03-13T02:13:18.547Z] 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-13T02:13:18.547Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T02:13:18.547Z] ==> Jenkins CI detected. [2023-03-13T02:13:18.547Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-523 [2023-03-13T02:13:18.547Z] project root: . [2023-03-13T02:13:18.547Z] --> token set from env [2023-03-13T02:13:18.547Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T02:13:18.547Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T02:13:18.547Z] ==> Python coveragepy not found [2023-03-13T02:13:18.547Z] ==> Searching for coverage reports in: [2023-03-13T02:13:18.547Z] + . [2023-03-13T02:13:18.547Z] -> Found 1 reports [2023-03-13T02:13:18.547Z] ==> Detecting git/mercurial file structure [2023-03-13T02:13:18.547Z] ==> Reading reports [2023-03-13T02:13:18.547Z] + ./coverage.out bytes=18047 [2023-03-13T02:13:18.547Z] ==> Appending adjustments [2023-03-13T02:13:18.547Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T02:13:18.806Z] + Found adjustments [2023-03-13T02:13:18.806Z] ==> Gzipping contents [2023-03-13T02:13:18.806Z] 4.0K /tmp/codecov.NYxkjo.gz [2023-03-13T02:13:18.806Z] ==> Uploading reports [2023-03-13T02:13:18.806Z] url: https://codecov.io [2023-03-13T02:13:18.806Z] query: branch=PR-523&commit=0273c593369b868daedb3165277cf31fcb94150d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-523%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=523&job=&cmd_args= [2023-03-13T02:13:18.806Z] -> Pinging Codecov [2023-03-13T02:13:18.806Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-523&commit=0273c593369b868daedb3165277cf31fcb94150d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-523%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=523&job=&cmd_args= [2023-03-13T02:13:18.806Z] -> Uploading to [2023-03-13T02:13:18.806Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/7D719EC7BBE17E464838252E33014C33/0273c593369b868daedb3165277cf31fcb94150d/6744febe-6fa2-4152-81d8-89b6f10626c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T021318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8f872751910bd41236d9da387e7f2423cd8044e69428fbd793a287fa663c2531 [2023-03-13T02:13:19.065Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T02:13:19.065Z] Dload Upload Total Spent Left Speed [2023-03-13T02:13:19.324Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3160 0 0 100 3160 0 11366 --:--:-- --:--:-- --:--:-- 11366 [2023-03-13T02:13:19.324Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0273c593369b868daedb3165277cf31fcb94150d [Pipeline] } [2023-03-13T02:13:19.353Z] 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-13T02:13:21.102Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives ] [2023-03-13T02:13:21.102Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives [2023-03-13T02:13:21.102Z] total 16 [2023-03-13T02:13:21.102Z] drwxr-xr-x 3 root root 4096 Mar 13 02:04 . [2023-03-13T02:13:21.102Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 02:04 .. [2023-03-13T02:13:21.102Z] drwxr-xr-x 2 root root 4096 Mar 13 02:04 cost [2023-03-13T02:13:21.102Z] -rw-r--r-- 1 root root 86 Mar 13 02:04 cost.csv [2023-03-13T02:13:21.102Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives [2023-03-13T02:13:21.102Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives [2023-03-13T02:13:21.102Z] total 16 [2023-03-13T02:13:21.102Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 02:04 . [2023-03-13T02:13:21.102Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 02:04 .. [2023-03-13T02:13:21.102Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 02:04 cost [2023-03-13T02:13:21.102Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 02:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:21.427Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:22.315Z] ---> package-listing.sh [2023-03-13T02:13:22.315Z] ++ facter osfamily [2023-03-13T02:13:22.315Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T02:13:22.574Z] + OS_FAMILY=debian [2023-03-13T02:13:22.574Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-523 [2023-03-13T02:13:22.574Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T02:13:22.575Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T02:13:22.575Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T02:13:22.575Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T02:13:22.575Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-523 ']' [2023-03-13T02:13:22.575Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T02:13:22.575Z] + case "${OS_FAMILY}" in [2023-03-13T02:13:22.575Z] + dpkg -l [2023-03-13T02:13:22.575Z] + grep '^ii' [2023-03-13T02:13:22.575Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T02:13:22.575Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T02:13:22.575Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T02:13:22.575Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-523 ']' [2023-03-13T02:13:22.575Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives/ [2023-03-13T02:13:22.575Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-523/archives/ [Pipeline] echo [2023-03-13T02:13:22.607Z] 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-523/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T02:13:22.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T02:13:23.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T02:13:23.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T02:13:23.683Z] prd-ubuntu20.04-docker-8c-8g-9819 does not seem to be running inside a container [2023-03-13T02:13:23.722Z] $ 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-523/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-523 -v /w/workspace/gexfoundry_device-mqtt-go_PR-523:/w/workspace/gexfoundry_device-mqtt-go_PR-523:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T02:13:23.923Z] $ docker top 28527e7016ab3cb5223acbadfd5578fce3ccaee2ac0aa7cf16a1acd3654fecd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T02:13:24.304Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T02:13:24.613Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T02:13:24.929Z] + ls /var/log/sa-host [2023-03-13T02:13:24.929Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T02:13:25.083Z] provisioning config files... [2023-03-13T02:13:25.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-523@tmp/config12206112261716828916tmp [Pipeline] { [Pipeline] echo [2023-03-13T02:13:25.148Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:25.463Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T02:13:25.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:25.882Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T02:13:25.912Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:26.230Z] ---> sudo-logs.sh [2023-03-13T02:13:26.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T02:13:26.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:26.632Z] ---> job-cost.sh [2023-03-13T02:13:26.632Z] lf-activate-venv: SKIPPING [2023-03-13T02:13:26.632Z] DEBUG: total: 0.2199999988079071 [2023-03-13T02:13:26.632Z] INFO: Retrieving Stack Cost... [2023-03-13T02:13:27.201Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T02:13:27.461Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T02:13:27.503Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T02:13:27.814Z] ---> logs-deploy.sh [2023-03-13T02:13:27.814Z] lf-activate-venv: SKIPPING [2023-03-13T02:13:27.814Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-523/1 [2023-03-13T02:13:27.815Z] INFO: archiving workspace using pattern(s): [2023-03-13T02:13:28.751Z] Archives upload complete. [2023-03-13T02:13:28.751Z] INFO: archiving logs to Nexus