Pull request #454 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 2a64c26da2fbdf7c51facce22d8bd4a0027b793b+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (cb8d18086db911b00c695fb0b72b65cad97cee58) 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-ssh11842929434995147539.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-ssh814186231435797009.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-454/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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14336987565235090610.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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10862087250200435238.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-ssh6707867064525450313.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-454/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-454/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11761153203607672334.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 ‘prd-ubuntu20.04-docker-8c-8g-2239’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2241 in /w/workspace/gexfoundry_device-mqtt-go_PR-454 [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-454 # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 2a64c26da2fbdf7c51facce22d8bd4a0027b793b > 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/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 2a64c26da2fbdf7c51facce22d8bd4a0027b793b Checking out Revision 2a64c26da2fbdf7c51facce22d8bd4a0027b793b (PR-454) > git checkout -f 2a64c26da2fbdf7c51facce22d8bd4a0027b793b # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a64c26da2fbdf7c51facce22d8bd4a0027b793b # timeout=10 Commit message: "refactor(snap)!: Remove support for legacy env options BREAKING CHANGE: Drop the support for deprecated snap options starting with `env.`" 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-01-13T18:29:15.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-13T18:29:15.718Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-13T18:29:15.815Z] ========================================================= [2023-01-13T18:29:15.815Z] EdgeX Global Pipelines Version Info [2023-01-13T18:29:15.815Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:29:16.559Z] ------------------- [2023-01-13T18:29:16.560Z] stable info: [2023-01-13T18:29:16.560Z] ------------------- [2023-01-13T18:29:16.560Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-13T18:29:16.560Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T18:29:16.560Z] Message: update stable to v1.0.244 [2023-01-13T18:29:17.131Z] ------------------- [2023-01-13T18:29:17.131Z] experimental info: [2023-01-13T18:29:17.131Z] ------------------- [2023-01-13T18:29:17.131Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-13T18:29:17.131Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T18:29:17.131Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-13T18:29:17.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-13T18:29:17.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-13T18:29:17.463Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-13T18:29:17.499Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-13T18:29:17.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-13T18:29:17.571Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-13T18:29:17.612Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-13T18:29:17.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-13T18:29:17.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-13T18:29:17.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-13T18:29:17.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-13T18:29:17.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-13T18:29:17.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-13T18:29:17.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-13T18:29:17.893Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T18:29:17.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T18:29:17.959Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T18:29:18.000Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T18:29:18.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-13T18:29:18.070Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-13T18:29:18.107Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-13T18:29:18.144Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-13T18:29:18.181Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-13T18:29:18.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-13T18:29:18.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-13T18:29:18.304Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-13T18:29:18.344Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-13T18:29:18.388Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-454 [Pipeline] echo [2023-01-13T18:29:18.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-454 [Pipeline] echo [2023-01-13T18:29:18.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-454 [Pipeline] echo [2023-01-13T18:29:18.512Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a64c26da2fbdf7c51facce22d8bd4a0027b793b [Pipeline] echo [2023-01-13T18:29:18.550Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a64c26 [Pipeline] echo [2023-01-13T18:29:18.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T18:29:18.699Z] provisioning config files... [2023-01-13T18:29:18.712Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/config17118298741441506529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:29:19.059Z] ---> docker-login.sh [2023-01-13T18:29:19.059Z] nexus3.edgexfoundry.org:10001 [2023-01-13T18:29:19.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:19.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:19.319Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:19.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:19.319Z] [2023-01-13T18:29:19.319Z] Login Succeeded [2023-01-13T18:29:19.319Z] nexus3.edgexfoundry.org:10002 [2023-01-13T18:29:19.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:19.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:19.319Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:19.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:19.319Z] [2023-01-13T18:29:19.319Z] Login Succeeded [2023-01-13T18:29:19.580Z] nexus3.edgexfoundry.org:10003 [2023-01-13T18:29:19.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:19.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:19.580Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:19.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:19.580Z] [2023-01-13T18:29:19.580Z] Login Succeeded [2023-01-13T18:29:19.580Z] nexus3.edgexfoundry.org:10004 [2023-01-13T18:29:19.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:19.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:19.580Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:19.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:19.580Z] [2023-01-13T18:29:19.580Z] Login Succeeded [2023-01-13T18:29:19.580Z] docker.io [2023-01-13T18:29:19.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:20.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:20.098Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:20.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:20.098Z] [2023-01-13T18:29:20.098Z] Login Succeeded [2023-01-13T18:29:20.098Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T18:29:20.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-13T18:29:20.762Z] + git rev-list -1 --merges 2a64c26da2fbdf7c51facce22d8bd4a0027b793b~1..2a64c26da2fbdf7c51facce22d8bd4a0027b793b [Pipeline] echo [2023-01-13T18:29:20.828Z] -----------> git rev-list -1 --merges 2a64c26da2fbdf7c51facce22d8bd4a0027b793b~1..2a64c26da2fbdf7c51facce22d8bd4a0027b793b 2a64c26da2fbdf7c51facce22d8bd4a0027b793b [false] [Pipeline] sh [2023-01-13T18:29:21.153Z] + git log --format=format:%s -1 2a64c26da2fbdf7c51facce22d8bd4a0027b793b [Pipeline] echo [2023-01-13T18:29:21.192Z] ========================================================= [2023-01-13T18:29:21.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-13T18:29:21.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T18:29:21.631Z] + git log --format=format:%s -1 2a64c26da2fbdf7c51facce22d8bd4a0027b793b [Pipeline] echo [2023-01-13T18:29:21.672Z] [semverPrep] GIT_COMMIT: 2a64c26da2fbdf7c51facce22d8bd4a0027b793b, Commit Message: refactor(snap)!: Remove support for legacy env options BREAKING CHANGE: Drop the support for deprecated snap options starting with `env.` [Pipeline] echo [2023-01-13T18:29:21.700Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-13T18:29:22.074Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T18:29:22.074Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-13T18:29:22.074Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-13T18:29:22.074Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-13T18:29:22.074Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-13T18:29:22.074Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-13T18:29:22.074Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:29:22.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T18:29:22.496Z] [2023-01-13T18:29:22.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:29:22.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T18:29:22.874Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-13T18:29:22.874Z] b85a868b505f: Pulling fs layer [2023-01-13T18:29:22.874Z] e2be974225ed: Pulling fs layer [2023-01-13T18:29:22.874Z] 339a4e72a1f5: Pulling fs layer [2023-01-13T18:29:22.874Z] 988bab9f4d93: Pulling fs layer [2023-01-13T18:29:22.874Z] 1469e6f7b9e6: Pulling fs layer [2023-01-13T18:29:22.874Z] eaf3925da568: Pulling fs layer [2023-01-13T18:29:22.874Z] bab4dde63d76: Pulling fs layer [2023-01-13T18:29:22.874Z] bde34c3a00c8: Pulling fs layer [2023-01-13T18:29:22.874Z] b352a97aabf1: Pulling fs layer [2023-01-13T18:29:22.874Z] 4872d77fe225: Pulling fs layer [2023-01-13T18:29:22.874Z] 5851b861e8e6: Pulling fs layer [2023-01-13T18:29:22.874Z] bab4dde63d76: Waiting [2023-01-13T18:29:22.874Z] bde34c3a00c8: Waiting [2023-01-13T18:29:22.874Z] b352a97aabf1: Waiting [2023-01-13T18:29:22.874Z] 4872d77fe225: Waiting [2023-01-13T18:29:22.874Z] 988bab9f4d93: Waiting [2023-01-13T18:29:22.874Z] eaf3925da568: Waiting [2023-01-13T18:29:22.874Z] 5851b861e8e6: Waiting [2023-01-13T18:29:22.874Z] 1469e6f7b9e6: Waiting [2023-01-13T18:29:22.874Z] e2be974225ed: Verifying Checksum [2023-01-13T18:29:22.874Z] e2be974225ed: Download complete [2023-01-13T18:29:22.874Z] 988bab9f4d93: Verifying Checksum [2023-01-13T18:29:22.874Z] 988bab9f4d93: Download complete [2023-01-13T18:29:23.136Z] 339a4e72a1f5: Verifying Checksum [2023-01-13T18:29:23.136Z] 339a4e72a1f5: Download complete [2023-01-13T18:29:23.136Z] 1469e6f7b9e6: Verifying Checksum [2023-01-13T18:29:23.136Z] 1469e6f7b9e6: Download complete [2023-01-13T18:29:23.136Z] eaf3925da568: Verifying Checksum [2023-01-13T18:29:23.136Z] eaf3925da568: Download complete [2023-01-13T18:29:23.136Z] bde34c3a00c8: Verifying Checksum [2023-01-13T18:29:23.136Z] bde34c3a00c8: Download complete [2023-01-13T18:29:23.136Z] b352a97aabf1: Download complete [2023-01-13T18:29:23.136Z] 4872d77fe225: Verifying Checksum [2023-01-13T18:29:23.136Z] 4872d77fe225: Download complete [2023-01-13T18:29:23.136Z] 5851b861e8e6: Verifying Checksum [2023-01-13T18:29:23.136Z] 5851b861e8e6: Download complete [2023-01-13T18:29:23.136Z] b85a868b505f: Download complete [2023-01-13T18:29:23.395Z] bab4dde63d76: Verifying Checksum [2023-01-13T18:29:23.395Z] bab4dde63d76: Download complete [2023-01-13T18:29:24.335Z] b85a868b505f: Pull complete [2023-01-13T18:29:24.594Z] e2be974225ed: Pull complete [2023-01-13T18:29:25.163Z] 339a4e72a1f5: Pull complete [2023-01-13T18:29:25.163Z] 988bab9f4d93: Pull complete [2023-01-13T18:29:25.422Z] 1469e6f7b9e6: Pull complete [2023-01-13T18:29:25.422Z] eaf3925da568: Pull complete [2023-01-13T18:29:27.332Z] bab4dde63d76: Pull complete [2023-01-13T18:29:27.332Z] bde34c3a00c8: Pull complete [2023-01-13T18:29:27.591Z] b352a97aabf1: Pull complete [2023-01-13T18:29:27.591Z] 4872d77fe225: Pull complete [2023-01-13T18:29:27.591Z] 5851b861e8e6: Pull complete [2023-01-13T18:29:27.591Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-13T18:29:27.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T18:29:27.592Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:29:27.805Z] prd-ubuntu20.04-docker-8c-8g-2241 does not seem to be running inside a container [2023-01-13T18:29:27.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-454 -v /w/workspace/gexfoundry_device-mqtt-go_PR-454:/w/workspace/gexfoundry_device-mqtt-go_PR-454:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-454@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-devops/py-git-semver:0.1.4 cat [2023-01-13T18:29:29.326Z] $ docker top 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b -eo pid,comm [2023-01-13T18:29:29.389Z] 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-01-13T18:29:29.389Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T18:29:29.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T18:29:29.512Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T18:29:29.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T18:29:29.613Z] $ docker exec 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b ssh-agent [2023-01-13T18:29:29.730Z] SSH_AUTH_SOCK=/tmp/ssh-bPv3KXhKHimF/agent.33 [2023-01-13T18:29:29.730Z] SSH_AGENT_PID=39 [2023-01-13T18:29:29.736Z] Running ssh-add (command line suppressed) [2023-01-13T18:29:29.827Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/private_key_18279887904286133067.key (/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/private_key_18279887904286133067.key) [2023-01-13T18:29:29.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T18:29:30.245Z] + git tag --points-at HEAD [Pipeline] } [2023-01-13T18:29:30.263Z] $ docker exec --env ******** --env ******** 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b ssh-agent -k [2023-01-13T18:29:30.367Z] unset SSH_AUTH_SOCK; [2023-01-13T18:29:30.368Z] unset SSH_AGENT_PID; [2023-01-13T18:29:30.368Z] echo Agent pid 39 killed; [2023-01-13T18:29:30.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-13T18:29:30.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T18:29:30.473Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T18:29:30.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T18:29:30.589Z] $ docker exec 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b ssh-agent [2023-01-13T18:29:30.710Z] SSH_AUTH_SOCK=/tmp/ssh-2W3Xe51TAkKb/agent.72 [2023-01-13T18:29:30.710Z] SSH_AGENT_PID=78 [2023-01-13T18:29:30.714Z] Running ssh-add (command line suppressed) [2023-01-13T18:29:30.811Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/private_key_15695488706022359443.key (/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/private_key_15695488706022359443.key) [2023-01-13T18:29:30.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T18:29:31.162Z] + git semver init [2023-01-13T18:29:31.422Z] 2023-01-13 18:29:31,342 [run_init] DEBUG init version:0.0.0 force:False [2023-01-13T18:29:31.422Z] 2023-01-13 18:29:31,343 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver [2023-01-13T18:29:31.422Z] 2023-01-13 18:29:31,343 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver [2023-01-13T18:29:31.422Z] 2023-01-13 18:29:31,343 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-454, universal_newlines=False, shell=None, istream=None) [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,168 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-454/.git/info/exclude [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver/PR-454 with force:False [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,169 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver/PR-454 [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,173 [execute] INFO git cat-file --batch-check [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,181 [execute] INFO git cat-file --batch [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T18:29:32.361Z] 2023-01-13 18:29:32,186 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-454/.semver/PR-454 [2023-01-13T18:29:32.361Z] 0.0.0 [Pipeline] } [2023-01-13T18:29:32.379Z] $ docker exec --env ******** --env ******** 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b ssh-agent -k [2023-01-13T18:29:32.485Z] unset SSH_AUTH_SOCK; [2023-01-13T18:29:32.486Z] unset SSH_AGENT_PID; [2023-01-13T18:29:32.486Z] echo Agent pid 78 killed; [2023-01-13T18:29:32.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T18:29:32.908Z] + git semver [Pipeline] } [2023-01-13T18:29:33.191Z] $ docker stop --time=1 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b [2023-01-13T18:29:34.502Z] $ docker rm -f --volumes 9ac11fecc9c097306c8226569d25f84229bab008bc22fb38e45f73035c37081b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T18:29:34.909Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-13T18:29:35.178Z] Stashed 1 file(s) [Pipeline] echo [2023-01-13T18:29:35.194Z] [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-01-13T18:29:35.791Z] provisioning config files... [2023-01-13T18:29:35.800Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/config2576780775716000432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:29:36.148Z] ---> docker-login.sh [2023-01-13T18:29:36.148Z] nexus3.edgexfoundry.org:10001 [2023-01-13T18:29:36.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:36.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:36.148Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:36.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:36.148Z] [2023-01-13T18:29:36.148Z] Login Succeeded [2023-01-13T18:29:36.148Z] nexus3.edgexfoundry.org:10002 [2023-01-13T18:29:36.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:36.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:36.148Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:36.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:36.149Z] [2023-01-13T18:29:36.149Z] Login Succeeded [2023-01-13T18:29:36.149Z] nexus3.edgexfoundry.org:10003 [2023-01-13T18:29:36.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:36.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:36.409Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:36.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:36.409Z] [2023-01-13T18:29:36.409Z] Login Succeeded [2023-01-13T18:29:36.409Z] nexus3.edgexfoundry.org:10004 [2023-01-13T18:29:36.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:36.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:36.409Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:36.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:36.409Z] [2023-01-13T18:29:36.409Z] Login Succeeded [2023-01-13T18:29:36.409Z] docker.io [2023-01-13T18:29:36.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:29:36.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:29:36.668Z] Configure a credential helper to remove this warning. See [2023-01-13T18:29:36.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:29:36.668Z] [2023-01-13T18:29:36.668Z] Login Succeeded [2023-01-13T18:29:36.668Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T18:29:36.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T18:29:36.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:29:36.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:29:36.954Z] ========================================================= [2023-01-13T18:29:36.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-13T18:29:36.954Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:29:37.408Z] + 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-01-13T18:29:37.408Z] Sending build context to Docker daemon 6.334MB [2023-01-13T18:29:37.408Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:29:37.408Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T18:29:37.408Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-13T18:29:37.408Z] 213ec9aee27d: Pulling fs layer [2023-01-13T18:29:37.408Z] 4583459ba037: Pulling fs layer [2023-01-13T18:29:37.408Z] 93c1e223e6f2: Pulling fs layer [2023-01-13T18:29:37.408Z] 53926ce57604: Pulling fs layer [2023-01-13T18:29:37.408Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-13T18:29:37.408Z] 22ff95d597cd: Pulling fs layer [2023-01-13T18:29:37.408Z] 12d6caf4c0d1: Pulling fs layer [2023-01-13T18:29:37.408Z] 96b7cbca73a9: Pulling fs layer [2023-01-13T18:29:37.408Z] a7acece74701: Pulling fs layer [2023-01-13T18:29:37.408Z] 22ff95d597cd: Waiting [2023-01-13T18:29:37.408Z] 53926ce57604: Waiting [2023-01-13T18:29:37.408Z] 12d6caf4c0d1: Waiting [2023-01-13T18:29:37.408Z] 21b2b0c7a3f4: Waiting [2023-01-13T18:29:37.408Z] 96b7cbca73a9: Waiting [2023-01-13T18:29:37.408Z] a7acece74701: Waiting [2023-01-13T18:29:37.667Z] 93c1e223e6f2: Verifying Checksum [2023-01-13T18:29:37.667Z] 93c1e223e6f2: Download complete [2023-01-13T18:29:37.667Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-13T18:29:37.667Z] 22ff95d597cd: Verifying Checksum [2023-01-13T18:29:37.667Z] 22ff95d597cd: Download complete [2023-01-13T18:29:37.667Z] 213ec9aee27d: Verifying Checksum [2023-01-13T18:29:37.667Z] 12d6caf4c0d1: Download complete [2023-01-13T18:29:37.667Z] 213ec9aee27d: Pull complete [2023-01-13T18:29:37.937Z] 4583459ba037: Pull complete [2023-01-13T18:29:37.937Z] 93c1e223e6f2: Pull complete [2023-01-13T18:29:38.199Z] a7acece74701: Verifying Checksum [2023-01-13T18:29:38.199Z] a7acece74701: Download complete [2023-01-13T18:29:38.457Z] 96b7cbca73a9: Verifying Checksum [2023-01-13T18:29:38.457Z] 96b7cbca73a9: Download complete [2023-01-13T18:29:38.457Z] 53926ce57604: Verifying Checksum [2023-01-13T18:29:38.457Z] 53926ce57604: Download complete [2023-01-13T18:29:42.639Z] 53926ce57604: Pull complete [2023-01-13T18:29:42.639Z] 21b2b0c7a3f4: Pull complete [2023-01-13T18:29:42.639Z] 22ff95d597cd: Pull complete [2023-01-13T18:29:42.639Z] 12d6caf4c0d1: Pull complete [2023-01-13T18:29:44.537Z] 96b7cbca73a9: Pull complete [2023-01-13T18:29:45.475Z] a7acece74701: Pull complete [2023-01-13T18:29:45.475Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-13T18:29:45.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-13T18:29:45.475Z] ---> db6d94c90886 [2023-01-13T18:29:45.475Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:29:47.391Z] ---> Running in 54209fd70c22 [2023-01-13T18:29:47.391Z] Removing intermediate container 54209fd70c22 [2023-01-13T18:29:47.391Z] ---> 9fdb9a77b023 [2023-01-13T18:29:47.391Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:29:47.391Z] ---> Running in 19e1671ca9d0 [2023-01-13T18:29:47.391Z] Removing intermediate container 19e1671ca9d0 [2023-01-13T18:29:47.391Z] ---> 1bc98cf0ad2c [2023-01-13T18:29:47.391Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:29:47.391Z] ---> Running in aca71804fbe1 [2023-01-13T18:29:47.649Z] Removing intermediate container aca71804fbe1 [2023-01-13T18:29:47.649Z] ---> a98ef602b09f [2023-01-13T18:29:47.649Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:29:47.650Z] ---> Running in aad410e1723a [2023-01-13T18:29:47.650Z] Removing intermediate container aad410e1723a [2023-01-13T18:29:47.650Z] ---> 612fe650ba78 [2023-01-13T18:29:47.650Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:29:47.650Z] ---> Running in 5267524853b8 [2023-01-13T18:29:47.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T18:29:48.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T18:29:48.427Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T18:29:48.428Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T18:29:48.428Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T18:29:48.428Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T18:29:48.428Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:29:48.428Z] OK: 216 MiB in 55 packages [2023-01-13T18:29:49.366Z] Removing intermediate container 5267524853b8 [2023-01-13T18:29:49.366Z] ---> 9071d96c5188 [2023-01-13T18:29:49.366Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-13T18:29:49.366Z] ---> Running in 6b79b9c119ff [2023-01-13T18:29:49.366Z] Removing intermediate container 6b79b9c119ff [2023-01-13T18:29:49.366Z] ---> 124f4c166297 [2023-01-13T18:29:49.366Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-13T18:29:49.366Z] ---> 6226407788f9 [2023-01-13T18:29:49.366Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:29:49.366Z] ---> Running in c66a9727bf9c [2023-01-13T18:29:50.602Z] Still waiting to schedule task [2023-01-13T18:29:50.602Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2240’ is offline [2023-01-13T18:30:15.927Z] Removing intermediate container c66a9727bf9c [2023-01-13T18:30:15.927Z] ---> 379bd52a3ef4 [2023-01-13T18:30:15.927Z] Step 11/12 : COPY . . [2023-01-13T18:30:15.927Z] ---> c0ee4ac073be [2023-01-13T18:30:15.927Z] Step 12/12 : RUN $MAKE [2023-01-13T18:30:15.927Z] ---> Running in 6ab389d73504 [2023-01-13T18:30:15.927Z] noop [2023-01-13T18:30:15.927Z] Removing intermediate container 6ab389d73504 [2023-01-13T18:30:15.927Z] ---> 25ea8e0fa9fc [2023-01-13T18:30:15.927Z] Successfully built 25ea8e0fa9fc [2023-01-13T18:30:15.927Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:30:16.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T18:30:16.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:30:16.499Z] prd-ubuntu20.04-docker-8c-8g-2241 does not seem to be running inside a container [2023-01-13T18:30:16.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-454 -v /w/workspace/gexfoundry_device-mqtt-go_PR-454:/w/workspace/gexfoundry_device-mqtt-go_PR-454:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-13T18:30:16.904Z] $ docker top c163c1942b140dfb752284ad61fb5f23ef96c7bd2841ce91dc09fd73ec3a9ba1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:30:17.293Z] + go version [2023-01-13T18:30:17.293Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-13T18:30:17.326Z] $ docker stop --time=1 c163c1942b140dfb752284ad61fb5f23ef96c7bd2841ce91dc09fd73ec3a9ba1 [2023-01-13T18:30:18.652Z] $ docker rm -f --volumes c163c1942b140dfb752284ad61fb5f23ef96c7bd2841ce91dc09fd73ec3a9ba1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:30:19.357Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T18:30:19.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:30:19.505Z] prd-ubuntu20.04-docker-8c-8g-2241 does not seem to be running inside a container [2023-01-13T18:30:19.537Z] $ 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-454 -v /w/workspace/gexfoundry_device-mqtt-go_PR-454:/w/workspace/gexfoundry_device-mqtt-go_PR-454:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-13T18:30:19.905Z] $ docker top ed161882a38739569973a4f8e958bf1a285ba09d70af0fed3ce7248f81e779e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:30:20.300Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-454 [Pipeline] fileExists [Pipeline] sh [2023-01-13T18:30:20.655Z] + make test [2023-01-13T18:30:20.656Z] go test ./... -coverprofile=coverage.out ./... [2023-01-13T18:30:20.917Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-13T18:30:30.891Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-13T18:30:30.891Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-01-13T18:30:30.891Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-13T18:30:37.461Z] 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-01-13T18:30:37.461Z] go vet ./... [2023-01-13T18:30:39.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T18:30:39.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T18:30:39.993Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T18:30:40.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T18:30:40.063Z] $ docker stop --time=1 ed161882a38739569973a4f8e958bf1a285ba09d70af0fed3ce7248f81e779e4 [2023-01-13T18:30:41.876Z] $ docker rm -f --volumes ed161882a38739569973a4f8e958bf1a285ba09d70af0fed3ce7248f81e779e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T18:30:42.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T18:30:42.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-13T18:30:43.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T18:30:43.351Z] + ls -al . [2023-01-13T18:30:43.351Z] total 192 [2023-01-13T18:30:43.351Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 18:30 . [2023-01-13T18:30:43.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:29 .. [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 18:29 .dockerignore [2023-01-13T18:30:43.351Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:30 .git [2023-01-13T18:30:43.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:29 .github [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 13 18:29 .gitignore [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 18:29 .golangci.yml [2023-01-13T18:30:43.351Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 18:29 .semver [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 13 18:29 Attribution.txt [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 13 18:29 CHANGELOG.md [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 13 18:29 Dockerfile [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 18:29 GOVERNANCE.md [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 13 18:29 Jenkinsfile [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 18:29 LICENSE [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 13 18:29 Makefile [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 18:29 OWNERS.md [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 13 18:29 README.md [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 18:29 VERSION [2023-01-13T18:30:43.351Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:29 bin [2023-01-13T18:30:43.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:29 cmd [2023-01-13T18:30:43.351Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 13 18:30 coverage.out [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 13 18:29 go.mod [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 13 18:29 go.sum [2023-01-13T18:30:43.351Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:29 internal [2023-01-13T18:30:43.351Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:29 mock [2023-01-13T18:30:43.351Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:29 snap [2023-01-13T18:30:43.351Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 13 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:30:43.741Z] + 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=2a64c26da2fbdf7c51facce22d8bd4a0027b793b --label arch=amd64 --label version=0.0.0 . [2023-01-13T18:30:43.741Z] Sending build context to Docker daemon 6.352MB [2023-01-13T18:30:43.741Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:30:43.741Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-13T18:30:43.741Z] ---> 25ea8e0fa9fc [2023-01-13T18:30:43.741Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:30:43.741Z] ---> Running in f225aba68a63 [2023-01-13T18:30:44.000Z] Removing intermediate container f225aba68a63 [2023-01-13T18:30:44.000Z] ---> d07849ebc960 [2023-01-13T18:30:44.000Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:30:44.000Z] ---> Running in 9b9d3d414c83 [2023-01-13T18:30:44.000Z] Removing intermediate container 9b9d3d414c83 [2023-01-13T18:30:44.000Z] ---> bfee25a876f1 [2023-01-13T18:30:44.000Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:30:44.000Z] ---> Running in bd462bdac7b2 [2023-01-13T18:30:44.259Z] Removing intermediate container bd462bdac7b2 [2023-01-13T18:30:44.259Z] ---> add48dd94ef7 [2023-01-13T18:30:44.259Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:30:44.259Z] ---> Running in 99ae72288568 [2023-01-13T18:30:44.259Z] Removing intermediate container 99ae72288568 [2023-01-13T18:30:44.259Z] ---> e339c742d59d [2023-01-13T18:30:44.259Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:30:44.259Z] ---> Running in fb9bb6dd7ddb [2023-01-13T18:30:44.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T18:30:44.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T18:30:45.036Z] OK: 216 MiB in 55 packages [2023-01-13T18:30:45.295Z] Removing intermediate container fb9bb6dd7ddb [2023-01-13T18:30:45.296Z] ---> f9135c7487f7 [2023-01-13T18:30:45.296Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-13T18:30:45.574Z] ---> Running in 3b211128e007 [2023-01-13T18:30:45.574Z] Removing intermediate container 3b211128e007 [2023-01-13T18:30:45.574Z] ---> 101255d47b0f [2023-01-13T18:30:45.574Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-13T18:30:45.574Z] ---> 2ccd1b7c5239 [2023-01-13T18:30:45.574Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:30:45.833Z] ---> Running in 7add0293e256 [2023-01-13T18:30:46.401Z] Removing intermediate container 7add0293e256 [2023-01-13T18:30:46.401Z] ---> 25a89588557d [2023-01-13T18:30:46.401Z] Step 11/24 : COPY . . [2023-01-13T18:30:46.659Z] ---> a6e870760389 [2023-01-13T18:30:46.659Z] Step 12/24 : RUN $MAKE [2023-01-13T18:30:46.659Z] ---> Running in d50f7f580d72 [2023-01-13T18:30:46.918Z] 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-01-13T18:31:05.024Z] Removing intermediate container d50f7f580d72 [2023-01-13T18:31:05.024Z] ---> d723eb190f97 [2023-01-13T18:31:05.024Z] Step 13/24 : FROM alpine:3.16 [2023-01-13T18:31:05.024Z] 3.16: Pulling from library/alpine [2023-01-13T18:31:05.024Z] ca7dd9ec2225: Pulling fs layer [2023-01-13T18:31:05.024Z] ca7dd9ec2225: Verifying Checksum [2023-01-13T18:31:05.024Z] ca7dd9ec2225: Download complete [2023-01-13T18:31:05.024Z] ca7dd9ec2225: Pull complete [2023-01-13T18:31:05.024Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-13T18:31:05.024Z] Status: Downloaded newer image for alpine:3.16 [2023-01-13T18:31:05.024Z] ---> bfe296a52501 [2023-01-13T18:31:05.024Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-13T18:31:05.024Z] ---> Running in 00c0cf414e4a [2023-01-13T18:31:05.024Z] Removing intermediate container 00c0cf414e4a [2023-01-13T18:31:05.024Z] ---> a13becd37b30 [2023-01-13T18:31:05.024Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-13T18:31:05.024Z] ---> Running in de4b5a86a973 [2023-01-13T18:31:05.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T18:31:05.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T18:31:05.024Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T18:31:05.024Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:31:05.024Z] OK: 6 MiB in 15 packages [2023-01-13T18:31:05.024Z] Removing intermediate container de4b5a86a973 [2023-01-13T18:31:05.024Z] ---> 021383a0c495 [2023-01-13T18:31:05.024Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-13T18:31:05.588Z] ---> 6d1ed594712f [2023-01-13T18:31:05.588Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-13T18:31:05.588Z] ---> e8a7fb9f70f6 [2023-01-13T18:31:05.588Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-13T18:31:05.847Z] ---> d4f926bc0445 [2023-01-13T18:31:05.847Z] Step 19/24 : EXPOSE 59982 [2023-01-13T18:31:05.847Z] ---> Running in fd700d97e541 [2023-01-13T18:31:05.847Z] Removing intermediate container fd700d97e541 [2023-01-13T18:31:05.847Z] ---> 5392176493d5 [2023-01-13T18:31:05.847Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-13T18:31:06.105Z] ---> Running in 56db2beb5b9c [2023-01-13T18:31:06.105Z] Removing intermediate container 56db2beb5b9c [2023-01-13T18:31:06.105Z] ---> 03c5f28e350b [2023-01-13T18:31:06.105Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-13T18:31:06.105Z] ---> Running in 3fc388b19fa7 [2023-01-13T18:31:06.105Z] Removing intermediate container 3fc388b19fa7 [2023-01-13T18:31:06.105Z] ---> ce20607b026d [2023-01-13T18:31:06.105Z] Step 22/24 : LABEL arch=amd64 [2023-01-13T18:31:06.105Z] ---> Running in c8e9b94b4452 [2023-01-13T18:31:06.362Z] Removing intermediate container c8e9b94b4452 [2023-01-13T18:31:06.362Z] ---> 4917abed39f4 [2023-01-13T18:31:06.362Z] Step 23/24 : LABEL git_sha=2a64c26da2fbdf7c51facce22d8bd4a0027b793b [2023-01-13T18:31:06.362Z] ---> Running in 45a35f3001ed [2023-01-13T18:31:06.362Z] Removing intermediate container 45a35f3001ed [2023-01-13T18:31:06.362Z] ---> cdf39885e75b [2023-01-13T18:31:06.362Z] Step 24/24 : LABEL version=0.0.0 [2023-01-13T18:31:06.362Z] ---> Running in 9c7e69abab99 [2023-01-13T18:31:06.620Z] Removing intermediate container 9c7e69abab99 [2023-01-13T18:31:06.620Z] ---> ac666abf6b3f [2023-01-13T18:31:06.620Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T18:31:06.620Z] Successfully built ac666abf6b3f [2023-01-13T18:31:06.620Z] 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-01-13T18:31:07.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:31:07.437Z] [2023-01-13T18:31:07.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:31:07.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:31:07.817Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-13T18:31:07.817Z] 5eb5b503b376: Pulling fs layer [2023-01-13T18:31:07.817Z] 5c69ac0246d0: Pulling fs layer [2023-01-13T18:31:07.817Z] ec43610c2a17: Pulling fs layer [2023-01-13T18:31:07.817Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-13T18:31:07.817Z] 33b1e0a273af: Pulling fs layer [2023-01-13T18:31:07.817Z] 3a2ae6a8a46f: Waiting [2023-01-13T18:31:07.817Z] 5d3b04190fa2: Pulling fs layer [2023-01-13T18:31:07.817Z] 2f39f015ded8: Pulling fs layer [2023-01-13T18:31:07.817Z] 5d3b04190fa2: Waiting [2023-01-13T18:31:07.817Z] 5c69ac0246d0: Verifying Checksum [2023-01-13T18:31:07.817Z] 5c69ac0246d0: Download complete [2023-01-13T18:31:07.817Z] 3a2ae6a8a46f: Download complete [2023-01-13T18:31:08.074Z] 33b1e0a273af: Verifying Checksum [2023-01-13T18:31:08.074Z] 33b1e0a273af: Download complete [2023-01-13T18:31:08.074Z] 5d3b04190fa2: Verifying Checksum [2023-01-13T18:31:08.074Z] 5d3b04190fa2: Download complete [2023-01-13T18:31:08.074Z] ec43610c2a17: Verifying Checksum [2023-01-13T18:31:08.074Z] ec43610c2a17: Download complete [2023-01-13T18:31:08.074Z] 5eb5b503b376: Verifying Checksum [2023-01-13T18:31:08.074Z] 5eb5b503b376: Download complete [2023-01-13T18:31:08.640Z] 2f39f015ded8: Verifying Checksum [2023-01-13T18:31:08.640Z] 2f39f015ded8: Download complete [2023-01-13T18:31:09.208Z] 5eb5b503b376: Pull complete [2023-01-13T18:31:09.208Z] 5c69ac0246d0: Pull complete [2023-01-13T18:31:09.777Z] ec43610c2a17: Pull complete [2023-01-13T18:31:09.777Z] 3a2ae6a8a46f: Pull complete [2023-01-13T18:31:10.036Z] 33b1e0a273af: Pull complete [2023-01-13T18:31:10.036Z] 5d3b04190fa2: Pull complete [2023-01-13T18:31:14.226Z] 2f39f015ded8: Pull complete [2023-01-13T18:31:14.226Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-13T18:31:14.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:31:14.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:31:14.424Z] prd-ubuntu20.04-docker-8c-8g-2241 does not seem to be running inside a container [2023-01-13T18:31:14.449Z] $ 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-454 -v /w/workspace/gexfoundry_device-mqtt-go_PR-454:/w/workspace/gexfoundry_device-mqtt-go_PR-454:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-13T18:31:16.107Z] $ docker top 6a2385e78ebea101037567424e4c7f6620e6bbe0f310164934350ed6a0d06a3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:31:16.535Z] ---> job-cost.sh [2023-01-13T18:31:16.535Z] lf-activate-venv: SKIPPING [2023-01-13T18:31:16.535Z] INFO: No Stack... [2023-01-13T18:31:17.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T18:31:17.378Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T18:31:17.697Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives/cost.csv [2023-01-13T18:31:17.697Z] + cut -d, -f6 [Pipeline] lock [2023-01-13T18:31:17.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] [2023-01-13T18:31:17.745Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] did not exist. Created. [2023-01-13T18:31:17.745Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T18:31:18.125Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-13T18:31:18.170Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T18:31:18.202Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T18:31:18.282Z] $ docker stop --time=1 6a2385e78ebea101037567424e4c7f6620e6bbe0f310164934350ed6a0d06a3f [2023-01-13T18:31:19.445Z] $ docker rm -f --volumes 6a2385e78ebea101037567424e4c7f6620e6bbe0f310164934350ed6a0d06a3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-13T18:31:23.199Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2242 in /w/workspace/gexfoundry_device-mqtt-go_PR-454 [Pipeline] { [Pipeline] ws [2023-01-13T18:31:23.255Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-13T18:31:23.333Z] Selected Git installation does not exist. Using Default [2023-01-13T18:31:23.334Z] The recommended git tool is: NONE [2023-01-13T18:31:28.315Z] using credential edgex-jenkins-ssh [2023-01-13T18:31:28.334Z] Cloning the remote Git repository [2023-01-13T18:31:28.379Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-13T18:31:28.461Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-13T18:31:28.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-13T18:31:28.597Z] > git --version # timeout=10 [2023-01-13T18:31:28.619Z] > git --version # 'git version 2.25.1' [2023-01-13T18:31:28.621Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T18:31:28.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T18:31:29.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-13T18:31:29.798Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T18:31:30.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-13T18:31:30.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-13T18:31:30.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T18:31:30.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-13T18:31:31.234Z] Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 2a64c26da2fbdf7c51facce22d8bd4a0027b793b [2023-01-13T18:31:31.443Z] Merge succeeded, producing 2a64c26da2fbdf7c51facce22d8bd4a0027b793b [2023-01-13T18:31:31.444Z] Checking out Revision 2a64c26da2fbdf7c51facce22d8bd4a0027b793b (PR-454) [2023-01-13T18:31:31.254Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T18:31:31.280Z] > git checkout -f 2a64c26da2fbdf7c51facce22d8bd4a0027b793b # timeout=10 [2023-01-13T18:31:31.358Z] > git remote # timeout=10 [2023-01-13T18:31:31.375Z] > git config --get remote.origin.url # timeout=10 [2023-01-13T18:31:31.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T18:31:31.403Z] > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 [2023-01-13T18:31:31.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-13T18:31:31.453Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T18:31:31.464Z] > git checkout -f 2a64c26da2fbdf7c51facce22d8bd4a0027b793b # timeout=10 [2023-01-13T18:31:34.911Z] Commit message: "refactor(snap)!: Remove support for legacy env options BREAKING CHANGE: Drop the support for deprecated snap options starting with `env.`" [2023-01-13T18:31:34.961Z] > git --version # timeout=10 [2023-01-13T18:31:34.972Z] > git --version # 'git version 2.25.1' [2023-01-13T18:31:34.984Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T18:31:36.034Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-13T18:31:36.034Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T18:31:36.034Z] Dload Upload Total Spent Left Speed [2023-01-13T18:31:36.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-01-13T18:31:36.736Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-13T18:31:37.077Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-13T18:31:37.077Z] + sudo tee /etc/docker/daemon.new [2023-01-13T18:31:37.077Z] { [2023-01-13T18:31:37.077Z] "registry-mirrors": [ [2023-01-13T18:31:37.077Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-13T18:31:37.077Z] ], [2023-01-13T18:31:37.077Z] "bip": "10.250.0.254/24", [2023-01-13T18:31:37.077Z] "hosts": [ [2023-01-13T18:31:37.077Z] "tcp://0.0.0.0:5555", [2023-01-13T18:31:37.077Z] "unix:///var/run/docker.sock" [2023-01-13T18:31:37.077Z] ], [2023-01-13T18:31:37.077Z] "mtu": 1458, [2023-01-13T18:31:37.077Z] "selinux-enabled": true, [2023-01-13T18:31:37.077Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-13T18:31:37.077Z] } [Pipeline] sh [2023-01-13T18:31:37.414Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-13T18:31:37.753Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T18:31:56.078Z] provisioning config files... [2023-01-13T18:31:56.105Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config11551866291193587016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:31:56.492Z] ---> docker-login.sh [2023-01-13T18:31:56.492Z] nexus3.edgexfoundry.org:10001 [2023-01-13T18:31:56.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:31:57.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:31:57.351Z] Configure a credential helper to remove this warning. See [2023-01-13T18:31:57.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:31:57.351Z] [2023-01-13T18:31:57.351Z] Login Succeeded [2023-01-13T18:31:57.351Z] nexus3.edgexfoundry.org:10002 [2023-01-13T18:31:57.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:31:57.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:31:57.619Z] Configure a credential helper to remove this warning. See [2023-01-13T18:31:57.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:31:57.619Z] [2023-01-13T18:31:57.619Z] Login Succeeded [2023-01-13T18:31:57.619Z] nexus3.edgexfoundry.org:10003 [2023-01-13T18:31:57.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:31:57.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:31:57.890Z] Configure a credential helper to remove this warning. See [2023-01-13T18:31:57.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:31:57.890Z] [2023-01-13T18:31:57.890Z] Login Succeeded [2023-01-13T18:31:57.890Z] nexus3.edgexfoundry.org:10004 [2023-01-13T18:31:58.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:31:58.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:31:58.164Z] Configure a credential helper to remove this warning. See [2023-01-13T18:31:58.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:31:58.164Z] [2023-01-13T18:31:58.164Z] Login Succeeded [2023-01-13T18:31:58.164Z] docker.io [2023-01-13T18:31:58.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T18:31:58.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T18:31:58.704Z] Configure a credential helper to remove this warning. See [2023-01-13T18:31:58.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T18:31:58.704Z] [2023-01-13T18:31:58.704Z] Login Succeeded [2023-01-13T18:31:58.704Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T18:31:58.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T18:31:59.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:31:59.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T18:31:59.160Z] ========================================================= [2023-01-13T18:31:59.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-13T18:31:59.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:31:59.682Z] + 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-01-13T18:31:59.952Z] Sending build context to Docker daemon 3.299MB [2023-01-13T18:31:59.952Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:31:59.952Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-13T18:32:00.225Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-13T18:32:00.225Z] 9b18e9b68314: Pulling fs layer [2023-01-13T18:32:00.225Z] 35d82f9e3411: Pulling fs layer [2023-01-13T18:32:00.225Z] e16973657156: Pulling fs layer [2023-01-13T18:32:00.225Z] fc693d55d65f: Pulling fs layer [2023-01-13T18:32:00.225Z] 7e9fc2657dce: Pulling fs layer [2023-01-13T18:32:00.225Z] dda99020689f: Pulling fs layer [2023-01-13T18:32:00.225Z] db1c61fa0a46: Pulling fs layer [2023-01-13T18:32:00.225Z] 891c053d2c06: Pulling fs layer [2023-01-13T18:32:00.225Z] fc693d55d65f: Waiting [2023-01-13T18:32:00.225Z] 7e9fc2657dce: Waiting [2023-01-13T18:32:00.225Z] dda99020689f: Waiting [2023-01-13T18:32:00.225Z] db1c61fa0a46: Waiting [2023-01-13T18:32:00.225Z] 891c053d2c06: Waiting [2023-01-13T18:32:00.225Z] e16973657156: Verifying Checksum [2023-01-13T18:32:00.225Z] e16973657156: Download complete [2023-01-13T18:32:00.225Z] 35d82f9e3411: Verifying Checksum [2023-01-13T18:32:00.225Z] 35d82f9e3411: Download complete [2023-01-13T18:32:00.225Z] 7e9fc2657dce: Verifying Checksum [2023-01-13T18:32:00.225Z] 7e9fc2657dce: Download complete [2023-01-13T18:32:00.225Z] dda99020689f: Download complete [2023-01-13T18:32:00.225Z] 9b18e9b68314: Download complete [2023-01-13T18:32:01.206Z] 9b18e9b68314: Pull complete [2023-01-13T18:32:01.474Z] 891c053d2c06: Verifying Checksum [2023-01-13T18:32:01.474Z] 891c053d2c06: Download complete [2023-01-13T18:32:01.749Z] 35d82f9e3411: Pull complete [2023-01-13T18:32:02.022Z] e16973657156: Pull complete [2023-01-13T18:32:02.621Z] db1c61fa0a46: Verifying Checksum [2023-01-13T18:32:02.621Z] db1c61fa0a46: Download complete [2023-01-13T18:32:03.209Z] fc693d55d65f: Verifying Checksum [2023-01-13T18:32:03.209Z] fc693d55d65f: Download complete [2023-01-13T18:32:15.545Z] fc693d55d65f: Pull complete [2023-01-13T18:32:15.545Z] 7e9fc2657dce: Pull complete [2023-01-13T18:32:15.814Z] dda99020689f: Pull complete [2023-01-13T18:32:22.489Z] db1c61fa0a46: Pull complete [2023-01-13T18:32:24.438Z] 891c053d2c06: Pull complete [2023-01-13T18:32:24.438Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-13T18:32:24.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-13T18:32:24.438Z] ---> f96f9c87975a [2023-01-13T18:32:24.438Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:32:25.024Z] ---> Running in a588fc0e33d0 [2023-01-13T18:32:25.292Z] Removing intermediate container a588fc0e33d0 [2023-01-13T18:32:25.292Z] ---> 30bdd4a6252b [2023-01-13T18:32:25.292Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:32:25.564Z] ---> Running in 31dff54cb9be [2023-01-13T18:32:25.832Z] Removing intermediate container 31dff54cb9be [2023-01-13T18:32:25.832Z] ---> ba4d71a88985 [2023-01-13T18:32:25.832Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:32:25.832Z] ---> Running in 4bf7a2e16f41 [2023-01-13T18:32:26.099Z] Removing intermediate container 4bf7a2e16f41 [2023-01-13T18:32:26.099Z] ---> 669e02204803 [2023-01-13T18:32:26.099Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:32:26.099Z] ---> Running in ea5a223053ff [2023-01-13T18:32:26.368Z] Removing intermediate container ea5a223053ff [2023-01-13T18:32:26.368Z] ---> 0acdd8abae56 [2023-01-13T18:32:26.368Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:32:26.638Z] ---> Running in d4878fee86ba [2023-01-13T18:32:27.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T18:32:27.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T18:32:28.844Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T18:32:28.844Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-13T18:32:28.844Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T18:32:28.844Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T18:32:28.844Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:32:28.844Z] OK: 226 MiB in 55 packages [2023-01-13T18:32:29.816Z] Removing intermediate container d4878fee86ba [2023-01-13T18:32:29.816Z] ---> fcfe20a6bc9a [2023-01-13T18:32:29.816Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-13T18:32:30.086Z] ---> Running in 1d6aa34828a2 [2023-01-13T18:32:30.357Z] Removing intermediate container 1d6aa34828a2 [2023-01-13T18:32:30.357Z] ---> af21a794920a [2023-01-13T18:32:30.357Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-13T18:32:30.627Z] ---> a51d4679fc9a [2023-01-13T18:32:30.627Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:32:30.895Z] ---> Running in e28c3871dada [2023-01-13T18:33:27.612Z] Removing intermediate container e28c3871dada [2023-01-13T18:33:27.612Z] ---> 21a06a48537e [2023-01-13T18:33:27.612Z] Step 11/12 : COPY . . [2023-01-13T18:33:27.882Z] ---> 25b87806d557 [2023-01-13T18:33:27.882Z] Step 12/12 : RUN $MAKE [2023-01-13T18:33:27.882Z] ---> Running in 74caf8a6fce3 [2023-01-13T18:33:28.844Z] noop [2023-01-13T18:33:29.433Z] Removing intermediate container 74caf8a6fce3 [2023-01-13T18:33:29.433Z] ---> b35fe99684c6 [2023-01-13T18:33:29.433Z] Successfully built b35fe99684c6 [2023-01-13T18:33:29.433Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:33:29.903Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T18:33:29.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:33:30.146Z] prd-ubuntu20.04-docker-arm64-4c-16g-2242 does not seem to be running inside a container [2023-01-13T18:33:30.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-13T18:33:31.342Z] $ docker top 4ba5e2131c8605caec2427f2d43b8d22c36310b06a13022236c8bd48baaccdf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:33:32.208Z] + go version [2023-01-13T18:33:32.209Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-13T18:33:32.244Z] $ docker stop --time=1 4ba5e2131c8605caec2427f2d43b8d22c36310b06a13022236c8bd48baaccdf2 [2023-01-13T18:33:33.867Z] $ docker rm -f --volumes 4ba5e2131c8605caec2427f2d43b8d22c36310b06a13022236c8bd48baaccdf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:33:34.735Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T18:33:34.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:33:34.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-2242 does not seem to be running inside a container [2023-01-13T18:33:35.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-13T18:33:36.193Z] $ docker top 0b95945331031f3ed1dbb35242d5cc4aa8db87c926f71f0aba93eceb50430498 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:33:36.766Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-13T18:33:37.159Z] + make test [2023-01-13T18:33:37.160Z] go test ./... -coverprofile=coverage.out ./... [2023-01-13T18:33:39.106Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-13T18:35:00.743Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-13T18:35:00.743Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 21.8% of statements [2023-01-13T18:35:00.743Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-13T18:35:00.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-13T18:35:00.743Z] go vet ./... [2023-01-13T18:35:18.968Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T18:35:18.968Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T18:35:18.968Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T18:35:19.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T18:35:19.033Z] $ docker stop --time=1 0b95945331031f3ed1dbb35242d5cc4aa8db87c926f71f0aba93eceb50430498 [2023-01-13T18:35:21.162Z] $ docker rm -f --volumes 0b95945331031f3ed1dbb35242d5cc4aa8db87c926f71f0aba93eceb50430498 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T18:35:22.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T18:35:22.187Z] Warning: overwriting stash ‘coverage-report’ [2023-01-13T18:35:22.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T18:35:23.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T18:35:23.542Z] + ls -al . [2023-01-13T18:35:23.542Z] total 188 [2023-01-13T18:35:23.542Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 18:33 . [2023-01-13T18:35:23.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:31 .. [2023-01-13T18:35:23.542Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 18:31 .dockerignore [2023-01-13T18:35:23.542Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 18:31 .git [2023-01-13T18:35:23.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:31 .github [2023-01-13T18:35:23.542Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 13 18:31 .gitignore [2023-01-13T18:35:23.542Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 18:31 .golangci.yml [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 13 18:31 Attribution.txt [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 13 18:31 CHANGELOG.md [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 13 18:31 Dockerfile [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 18:31 GOVERNANCE.md [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 13 18:31 Jenkinsfile [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 18:31 LICENSE [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 13 18:31 Makefile [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 13 18:31 OWNERS.md [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 13 18:31 README.md [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 18:29 VERSION [2023-01-13T18:35:23.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:31 bin [2023-01-13T18:35:23.543Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:31 cmd [2023-01-13T18:35:23.543Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 13 18:34 coverage.out [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 13 18:31 go.mod [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 13 18:31 go.sum [2023-01-13T18:35:23.543Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 18:31 internal [2023-01-13T18:35:23.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 18:31 mock [2023-01-13T18:35:23.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 18:31 snap [2023-01-13T18:35:23.543Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 13 18:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:35:23.966Z] + 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=2a64c26da2fbdf7c51facce22d8bd4a0027b793b --label arch=arm64 --label version=0.0.0 . [2023-01-13T18:35:24.233Z] Sending build context to Docker daemon 3.318MB [2023-01-13T18:35:24.233Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T18:35:24.233Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-13T18:35:24.233Z] ---> b35fe99684c6 [2023-01-13T18:35:24.233Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-13T18:35:24.500Z] ---> Running in 5f7251aeef35 [2023-01-13T18:35:24.768Z] Removing intermediate container 5f7251aeef35 [2023-01-13T18:35:24.768Z] ---> 63e08b39d474 [2023-01-13T18:35:24.768Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T18:35:24.768Z] ---> Running in d7b2d86a3ed1 [2023-01-13T18:35:25.035Z] Removing intermediate container d7b2d86a3ed1 [2023-01-13T18:35:25.035Z] ---> 57fdbca3870b [2023-01-13T18:35:25.035Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-13T18:35:25.035Z] ---> Running in 35de49ff634f [2023-01-13T18:35:25.311Z] Removing intermediate container 35de49ff634f [2023-01-13T18:35:25.311Z] ---> 086e8889d9c4 [2023-01-13T18:35:25.311Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-13T18:35:25.580Z] ---> Running in dd91b5930f19 [2023-01-13T18:35:25.851Z] Removing intermediate container dd91b5930f19 [2023-01-13T18:35:25.851Z] ---> 8a56a25c02cf [2023-01-13T18:35:25.851Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-13T18:35:25.851Z] ---> Running in 510fa4033b67 [2023-01-13T18:35:27.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T18:35:27.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T18:35:28.806Z] OK: 226 MiB in 55 packages [2023-01-13T18:35:29.796Z] Removing intermediate container 510fa4033b67 [2023-01-13T18:35:29.796Z] ---> fed9eb5680ef [2023-01-13T18:35:29.796Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-13T18:35:29.796Z] ---> Running in 464d14a844af [2023-01-13T18:35:30.065Z] Removing intermediate container 464d14a844af [2023-01-13T18:35:30.065Z] ---> 28144eb8ee01 [2023-01-13T18:35:30.065Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-13T18:35:32.010Z] ---> 8706d7a8c309 [2023-01-13T18:35:32.010Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T18:35:32.010Z] ---> Running in 77b0ec784858 [2023-01-13T18:35:33.966Z] Removing intermediate container 77b0ec784858 [2023-01-13T18:35:33.966Z] ---> 36100bae834b [2023-01-13T18:35:33.966Z] Step 11/24 : COPY . . [2023-01-13T18:35:34.930Z] ---> 4e89e2c6d262 [2023-01-13T18:35:34.930Z] Step 12/24 : RUN $MAKE [2023-01-13T18:35:34.930Z] ---> Running in 5cc5a46dd530 [2023-01-13T18:35:35.891Z] 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-01-13T18:38:12.642Z] Removing intermediate container 5cc5a46dd530 [2023-01-13T18:38:12.642Z] ---> 1fd20b090369 [2023-01-13T18:38:12.642Z] Step 13/24 : FROM alpine:3.16 [2023-01-13T18:38:12.642Z] 3.16: Pulling from library/alpine [2023-01-13T18:38:12.642Z] 6875df1f5354: Pulling fs layer [2023-01-13T18:38:12.642Z] 6875df1f5354: Verifying Checksum [2023-01-13T18:38:12.642Z] 6875df1f5354: Download complete [2023-01-13T18:38:12.642Z] 6875df1f5354: Pull complete [2023-01-13T18:38:12.642Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-13T18:38:12.642Z] Status: Downloaded newer image for alpine:3.16 [2023-01-13T18:38:12.642Z] ---> 2b4661558fb8 [2023-01-13T18:38:12.642Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-13T18:38:12.642Z] ---> Running in 447c6ac2dc86 [2023-01-13T18:38:12.642Z] Removing intermediate container 447c6ac2dc86 [2023-01-13T18:38:12.642Z] ---> cd3e3ce8b443 [2023-01-13T18:38:12.642Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-13T18:38:12.642Z] ---> Running in 266db6265ebb [2023-01-13T18:38:12.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T18:38:12.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T18:38:12.642Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T18:38:12.642Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T18:38:12.642Z] OK: 5 MiB in 15 packages [2023-01-13T18:38:12.642Z] Removing intermediate container 266db6265ebb [2023-01-13T18:38:12.642Z] ---> 0acb319b3f0e [2023-01-13T18:38:12.642Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-13T18:38:12.642Z] ---> 8233eae32f71 [2023-01-13T18:38:12.642Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-13T18:38:12.642Z] ---> 927e82d3cca4 [2023-01-13T18:38:12.642Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-13T18:38:12.642Z] ---> d4c6fcabbfae [2023-01-13T18:38:12.642Z] Step 19/24 : EXPOSE 59982 [2023-01-13T18:38:12.642Z] ---> Running in 73ab3331d857 [2023-01-13T18:38:12.642Z] Removing intermediate container 73ab3331d857 [2023-01-13T18:38:12.642Z] ---> 17b5e154fd41 [2023-01-13T18:38:12.642Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-13T18:38:12.642Z] ---> Running in 55bc406ddebd [2023-01-13T18:38:12.642Z] Removing intermediate container 55bc406ddebd [2023-01-13T18:38:12.642Z] ---> 68238e3de336 [2023-01-13T18:38:12.642Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-13T18:38:12.642Z] ---> Running in c99cfd850512 [2023-01-13T18:38:12.642Z] Removing intermediate container c99cfd850512 [2023-01-13T18:38:12.642Z] ---> d2954b5bf04f [2023-01-13T18:38:12.642Z] Step 22/24 : LABEL arch=arm64 [2023-01-13T18:38:12.642Z] ---> Running in 7b57ff336e53 [2023-01-13T18:38:12.642Z] Removing intermediate container 7b57ff336e53 [2023-01-13T18:38:12.642Z] ---> e104ac0d3d2e [2023-01-13T18:38:12.642Z] Step 23/24 : LABEL git_sha=2a64c26da2fbdf7c51facce22d8bd4a0027b793b [2023-01-13T18:38:12.642Z] ---> Running in d66e0754a73c [2023-01-13T18:38:12.642Z] Removing intermediate container d66e0754a73c [2023-01-13T18:38:12.642Z] ---> b30ce0ef3e9e [2023-01-13T18:38:12.642Z] Step 24/24 : LABEL version=0.0.0 [2023-01-13T18:38:12.642Z] ---> Running in bb0c3003ca98 [2023-01-13T18:38:12.642Z] Removing intermediate container bb0c3003ca98 [2023-01-13T18:38:12.642Z] ---> 27a242f223eb [2023-01-13T18:38:12.642Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T18:38:12.642Z] Successfully built 27a242f223eb [2023-01-13T18:38:12.642Z] 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-01-13T18:38:13.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T18:38:13.466Z] [2023-01-13T18:38:13.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:38:13.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T18:38:13.875Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-13T18:38:13.875Z] 8998bd30e6a1: Pulling fs layer [2023-01-13T18:38:13.875Z] 04944245beec: Pulling fs layer [2023-01-13T18:38:13.875Z] 699f458cf7ca: Pulling fs layer [2023-01-13T18:38:13.875Z] 765212b225bb: Pulling fs layer [2023-01-13T18:38:13.875Z] f23df028b6ca: Pulling fs layer [2023-01-13T18:38:13.875Z] d65c8cfc05b1: Pulling fs layer [2023-01-13T18:38:13.875Z] 2437ff75d9bd: Pulling fs layer [2023-01-13T18:38:13.875Z] f23df028b6ca: Waiting [2023-01-13T18:38:13.875Z] d65c8cfc05b1: Waiting [2023-01-13T18:38:13.875Z] 765212b225bb: Waiting [2023-01-13T18:38:13.875Z] 2437ff75d9bd: Waiting [2023-01-13T18:38:14.150Z] 04944245beec: Download complete [2023-01-13T18:38:14.150Z] 765212b225bb: Verifying Checksum [2023-01-13T18:38:14.150Z] 765212b225bb: Download complete [2023-01-13T18:38:14.150Z] f23df028b6ca: Verifying Checksum [2023-01-13T18:38:14.150Z] f23df028b6ca: Download complete [2023-01-13T18:38:14.150Z] d65c8cfc05b1: Verifying Checksum [2023-01-13T18:38:14.150Z] d65c8cfc05b1: Download complete [2023-01-13T18:38:14.423Z] 699f458cf7ca: Verifying Checksum [2023-01-13T18:38:14.423Z] 699f458cf7ca: Download complete [2023-01-13T18:38:14.700Z] 8998bd30e6a1: Download complete [2023-01-13T18:38:17.294Z] 2437ff75d9bd: Verifying Checksum [2023-01-13T18:38:17.294Z] 2437ff75d9bd: Download complete [2023-01-13T18:38:18.702Z] 8998bd30e6a1: Pull complete [2023-01-13T18:38:19.286Z] 04944245beec: Pull complete [2023-01-13T18:38:20.699Z] 699f458cf7ca: Pull complete [2023-01-13T18:38:20.699Z] 765212b225bb: Pull complete [2023-01-13T18:38:21.658Z] f23df028b6ca: Pull complete [2023-01-13T18:38:21.658Z] d65c8cfc05b1: Pull complete [2023-01-13T18:38:36.649Z] 2437ff75d9bd: Pull complete [2023-01-13T18:38:36.649Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-13T18:38:36.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T18:38:36.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:38:37.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-2242 does not seem to be running inside a container [2023-01-13T18:38:37.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-13T18:38:39.780Z] $ docker top 48730229edf42fdae85fd1cc871002cd925eed3959f1c92ea34fb3f30efd6ae3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:40.681Z] ---> job-cost.sh [2023-01-13T18:38:40.681Z] lf-activate-venv: SKIPPING [2023-01-13T18:38:40.681Z] INFO: No Stack... [2023-01-13T18:38:40.949Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-13T18:38:41.907Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T18:38:42.582Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-13T18:38:42.582Z] + cut -d, -f6 [Pipeline] lock [2023-01-13T18:38:42.679Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] [2023-01-13T18:38:42.684Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] did not exist. Created. [2023-01-13T18:38:42.684Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T18:38:43.411Z] /w/workspace/device-mqtt-go/1@tmp/durable-b8b2c54d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-13T18:38:44.083Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-13T18:38:44.138Z] Warning: overwriting stash ‘stack-cost’ [2023-01-13T18:38:44.184Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T18:38:44.207Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T18:38:44.284Z] $ docker stop --time=1 48730229edf42fdae85fd1cc871002cd925eed3959f1c92ea34fb3f30efd6ae3 [2023-01-13T18:38:45.808Z] $ docker rm -f --volumes 48730229edf42fdae85fd1cc871002cd925eed3959f1c92ea34fb3f30efd6ae3 [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-01-13T18:38:46.814Z] provisioning config files... [2023-01-13T18:38:46.821Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/config9033571174058691496tmp [Pipeline] { [Pipeline] sh [2023-01-13T18:38:47.152Z] + set +x [2023-01-13T18:38:47.152Z] + curl -s https://codecov.io/bash [2023-01-13T18:38:47.152Z] + bash -s -- [2023-01-13T18:38:47.152Z] [2023-01-13T18:38:47.152Z] _____ _ [2023-01-13T18:38:47.152Z] / ____| | | [2023-01-13T18:38:47.152Z] | | ___ __| | ___ ___ _____ __ [2023-01-13T18:38:47.152Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-13T18:38:47.152Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-13T18:38:47.152Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-13T18:38:47.152Z] Bash-1.0.6 [2023-01-13T18:38:47.152Z] [2023-01-13T18:38:47.152Z] [2023-01-13T18:38:47.152Z] ==> git version 2.25.1 found [2023-01-13T18:38:47.152Z] ==> 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-01-13T18:38:47.152Z] Release-Date: 2020-01-08 [2023-01-13T18:38:47.152Z] 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-01-13T18:38:47.152Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-13T18:38:47.152Z] ==> Jenkins CI detected. [2023-01-13T18:38:47.152Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-454 [2023-01-13T18:38:47.152Z] project root: . [2023-01-13T18:38:47.152Z] --> token set from env [2023-01-13T18:38:47.152Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-13T18:38:47.152Z] ==> Running gcov in . (disable via -X gcov) [2023-01-13T18:38:47.152Z] ==> Python coveragepy not found [2023-01-13T18:38:47.152Z] ==> Searching for coverage reports in: [2023-01-13T18:38:47.152Z] + . [2023-01-13T18:38:47.152Z] -> Found 1 reports [2023-01-13T18:38:47.152Z] ==> Detecting git/mercurial file structure [2023-01-13T18:38:47.152Z] ==> Reading reports [2023-01-13T18:38:47.152Z] + ./coverage.out bytes=17887 [2023-01-13T18:38:47.152Z] ==> Appending adjustments [2023-01-13T18:38:47.152Z] https://docs.codecov.io/docs/fixing-reports [2023-01-13T18:38:47.411Z] + Found adjustments [2023-01-13T18:38:47.411Z] ==> Gzipping contents [2023-01-13T18:38:47.411Z] 4.0K /tmp/codecov.E9L2Oj.gz [2023-01-13T18:38:47.411Z] ==> Uploading reports [2023-01-13T18:38:47.411Z] url: https://codecov.io [2023-01-13T18:38:47.411Z] query: branch=PR-454&commit=2a64c26da2fbdf7c51facce22d8bd4a0027b793b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=454&job=&cmd_args= [2023-01-13T18:38:47.411Z] -> Pinging Codecov [2023-01-13T18:38:47.411Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-454&commit=2a64c26da2fbdf7c51facce22d8bd4a0027b793b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=454&job=&cmd_args= [2023-01-13T18:38:47.669Z] -> Uploading to [2023-01-13T18:38:47.669Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-13/7D719EC7BBE17E464838252E33014C33/2a64c26da2fbdf7c51facce22d8bd4a0027b793b/870d9857-f7d3-4453-9516-45d82efdf159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T183847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3687c09c57ef898cb1444059112bc1fb9554927dd002f01cf319e5ac1df6103d [2023-01-13T18:38:47.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T18:38:47.930Z] Dload Upload Total Spent Left Speed [2023-01-13T18:38:48.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 12080 --:--:-- --:--:-- --:--:-- 12080 [2023-01-13T18:38:48.189Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2a64c26da2fbdf7c51facce22d8bd4a0027b793b [Pipeline] } [2023-01-13T18:38:48.217Z] 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-01-13T18:38:49.939Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives ] [2023-01-13T18:38:49.939Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives [2023-01-13T18:38:49.939Z] total 16 [2023-01-13T18:38:49.939Z] drwxr-xr-x 3 root root 4096 Jan 13 18:31 . [2023-01-13T18:38:49.939Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 13 18:31 .. [2023-01-13T18:38:49.939Z] drwxr-xr-x 2 root root 4096 Jan 13 18:31 cost [2023-01-13T18:38:49.939Z] -rw-r--r-- 1 root root 86 Jan 13 18:31 cost.csv [2023-01-13T18:38:49.939Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives [2023-01-13T18:38:49.939Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives [2023-01-13T18:38:49.939Z] total 16 [2023-01-13T18:38:49.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 18:31 . [2023-01-13T18:38:49.939Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 13 18:31 .. [2023-01-13T18:38:49.939Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 18:31 cost [2023-01-13T18:38:49.939Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 13 18:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:50.265Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:51.148Z] ---> package-listing.sh [2023-01-13T18:38:51.148Z] ++ facter osfamily [2023-01-13T18:38:51.148Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-13T18:38:51.407Z] + OS_FAMILY=debian [2023-01-13T18:38:51.407Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-454 [2023-01-13T18:38:51.407Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-13T18:38:51.407Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-13T18:38:51.407Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-13T18:38:51.407Z] + PACKAGES=/tmp/packages_start.txt [2023-01-13T18:38:51.407Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-454 ']' [2023-01-13T18:38:51.407Z] + PACKAGES=/tmp/packages_end.txt [2023-01-13T18:38:51.407Z] + case "${OS_FAMILY}" in [2023-01-13T18:38:51.407Z] + dpkg -l [2023-01-13T18:38:51.407Z] + grep '^ii' [2023-01-13T18:38:51.407Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-13T18:38:51.407Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-13T18:38:51.407Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-13T18:38:51.407Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-454 ']' [2023-01-13T18:38:51.407Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives/ [2023-01-13T18:38:51.407Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-454/archives/ [Pipeline] echo [2023-01-13T18:38:51.440Z] 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-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-13T18:38:51.729Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T18:38:52.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T18:38:52.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T18:38:52.496Z] prd-ubuntu20.04-docker-8c-8g-2241 does not seem to be running inside a container [2023-01-13T18:38:52.526Z] $ 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-454/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-454 -v /w/workspace/gexfoundry_device-mqtt-go_PR-454:/w/workspace/gexfoundry_device-mqtt-go_PR-454:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-13T18:38:52.746Z] $ docker top 5b6477ae4eae7e6c20c6681f9010b6636ccb81a393cc7e4fb32a08f97ea1901b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T18:38:53.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-13T18:38:53.430Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-13T18:38:53.735Z] + ls /var/log/sa-host [2023-01-13T18:38:53.736Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T18:38:53.863Z] provisioning config files... [2023-01-13T18:38:53.873Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-454@tmp/config661542818729870482tmp [Pipeline] { [Pipeline] echo [2023-01-13T18:38:53.927Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:54.239Z] ---> create-netrc.sh [Pipeline] } [2023-01-13T18:38:54.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:54.676Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-13T18:38:54.709Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:55.020Z] ---> sudo-logs.sh [2023-01-13T18:38:55.020Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-13T18:38:55.122Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:55.436Z] ---> job-cost.sh [2023-01-13T18:38:55.436Z] lf-activate-venv: SKIPPING [2023-01-13T18:38:55.436Z] DEBUG: total: 0.2199999988079071 [2023-01-13T18:38:55.436Z] INFO: Retrieving Stack Cost... [2023-01-13T18:38:56.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T18:38:56.266Z] INFO: Archiving Costs [Pipeline] echo [2023-01-13T18:38:56.300Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T18:38:56.611Z] ---> logs-deploy.sh [2023-01-13T18:38:56.611Z] lf-activate-venv: SKIPPING [2023-01-13T18:38:56.611Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-454/1 [2023-01-13T18:38:56.611Z] INFO: archiving workspace using pattern(s): [2023-01-13T18:38:57.547Z] Archives upload complete. [2023-01-13T18:38:57.547Z] INFO: archiving logs to Nexus