Pull request #497 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eae5fedbc740f309db0e66a1c51cba971dd5c693+bc7652beee9a90296fe0b57947c4589a421f5e02 (0e1ee42f78d10abcadac9f5d9df28855307d66c0) 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-ssh5906638600714848104.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-ssh1763459639540702254.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-497/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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3694094727312250538.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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11547008670835602983.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-ssh17660799300934167102.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-497/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-497/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9937623540209356165.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7207’ Running on prd-ubuntu20.04-docker-8c-8g-7211 in /w/workspace/gexfoundry_device-mqtt-go_PR-497 [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-497 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit eae5fedbc740f309db0e66a1c51cba971dd5c693 Merge succeeded, producing eae5fedbc740f309db0e66a1c51cba971dd5c693 Checking out Revision eae5fedbc740f309db0e66a1c51cba971dd5c693 (PR-497) Commit message: "build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8" 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-02-23T09:04:37.324Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f eae5fedbc740f309db0e66a1c51cba971dd5c693 # 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 bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eae5fedbc740f309db0e66a1c51cba971dd5c693 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-23T09:04:37.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-23T09:04:37.605Z] ========================================================= [2023-02-23T09:04:37.605Z] EdgeX Global Pipelines Version Info [2023-02-23T09:04:37.605Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:04:38.341Z] ------------------- [2023-02-23T09:04:38.341Z] stable info: [2023-02-23T09:04:38.341Z] ------------------- [2023-02-23T09:04:38.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-23T09:04:38.341Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T09:04:38.341Z] Message: update stable to v1.0.244 [2023-02-23T09:04:38.920Z] ------------------- [2023-02-23T09:04:38.920Z] experimental info: [2023-02-23T09:04:38.920Z] ------------------- [2023-02-23T09:04:38.920Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-23T09:04:38.920Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T09:04:38.920Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-23T09:04:39.278Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-23T09:04:39.320Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-23T09:04:39.355Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-23T09:04:39.397Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-23T09:04:39.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-23T09:04:39.473Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-23T09:04:39.511Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-23T09:04:39.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-23T09:04:39.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-23T09:04:39.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-23T09:04:39.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-23T09:04:39.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-23T09:04:39.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-23T09:04:39.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-23T09:04:39.838Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T09:04:39.878Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T09:04:39.919Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T09:04:39.963Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T09:04:40.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-23T09:04:40.040Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-23T09:04:40.075Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-23T09:04:40.120Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-23T09:04:40.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-23T09:04:40.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-23T09:04:40.242Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-23T09:04:40.278Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-23T09:04:40.315Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-23T09:04:40.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-497 [Pipeline] echo [2023-02-23T09:04:40.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-497 [Pipeline] echo [2023-02-23T09:04:40.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-497 [Pipeline] echo [2023-02-23T09:04:40.468Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eae5fedbc740f309db0e66a1c51cba971dd5c693 [Pipeline] echo [2023-02-23T09:04:40.505Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eae5fed [Pipeline] echo [2023-02-23T09:04:40.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T09:04:40.665Z] provisioning config files... [2023-02-23T09:04:40.707Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/config5380601663321389538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:04:41.055Z] ---> docker-login.sh [2023-02-23T09:04:41.055Z] nexus3.edgexfoundry.org:10001 [2023-02-23T09:04:41.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:41.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:41.316Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:41.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:41.316Z] [2023-02-23T09:04:41.316Z] Login Succeeded [2023-02-23T09:04:41.316Z] nexus3.edgexfoundry.org:10002 [2023-02-23T09:04:41.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:41.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:41.576Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:41.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:41.576Z] [2023-02-23T09:04:41.576Z] Login Succeeded [2023-02-23T09:04:41.576Z] nexus3.edgexfoundry.org:10003 [2023-02-23T09:04:41.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:41.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:41.576Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:41.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:41.576Z] [2023-02-23T09:04:41.576Z] Login Succeeded [2023-02-23T09:04:41.576Z] nexus3.edgexfoundry.org:10004 [2023-02-23T09:04:41.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:41.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:41.836Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:41.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:41.836Z] [2023-02-23T09:04:41.836Z] Login Succeeded [2023-02-23T09:04:41.836Z] docker.io [2023-02-23T09:04:41.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:42.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:42.097Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:42.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:42.097Z] [2023-02-23T09:04:42.097Z] Login Succeeded [2023-02-23T09:04:42.097Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T09:04:42.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-23T09:04:42.728Z] + git rev-list -1 --merges eae5fedbc740f309db0e66a1c51cba971dd5c693~1..eae5fedbc740f309db0e66a1c51cba971dd5c693 [Pipeline] echo [2023-02-23T09:04:42.796Z] -----------> git rev-list -1 --merges eae5fedbc740f309db0e66a1c51cba971dd5c693~1..eae5fedbc740f309db0e66a1c51cba971dd5c693 eae5fedbc740f309db0e66a1c51cba971dd5c693 [false] [Pipeline] sh [2023-02-23T09:04:43.105Z] + git log --format=format:%s -1 eae5fedbc740f309db0e66a1c51cba971dd5c693 [Pipeline] echo [2023-02-23T09:04:43.144Z] ========================================================= [2023-02-23T09:04:43.144Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-23T09:04:43.144Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T09:04:43.586Z] + git log --format=format:%s -1 eae5fedbc740f309db0e66a1c51cba971dd5c693 [Pipeline] echo [2023-02-23T09:04:43.617Z] [semverPrep] GIT_COMMIT: eae5fedbc740f309db0e66a1c51cba971dd5c693, Commit Message: build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 [Pipeline] echo [2023-02-23T09:04:43.645Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-23T09:04:44.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-23T09:04:44.105Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-23T09:04:44.105Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-23T09:04:44.105Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-23T09:04:44.105Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-23T09:04:44.105Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-23T09:04:44.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:04:44.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T09:04:44.547Z] [2023-02-23T09:04:44.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:04:44.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T09:04:44.920Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-23T09:04:44.920Z] b85a868b505f: Pulling fs layer [2023-02-23T09:04:44.920Z] e2be974225ed: Pulling fs layer [2023-02-23T09:04:44.920Z] 339a4e72a1f5: Pulling fs layer [2023-02-23T09:04:44.920Z] 988bab9f4d93: Pulling fs layer [2023-02-23T09:04:44.920Z] 1469e6f7b9e6: Pulling fs layer [2023-02-23T09:04:44.920Z] eaf3925da568: Pulling fs layer [2023-02-23T09:04:44.920Z] bab4dde63d76: Pulling fs layer [2023-02-23T09:04:44.920Z] bde34c3a00c8: Pulling fs layer [2023-02-23T09:04:44.920Z] 1469e6f7b9e6: Waiting [2023-02-23T09:04:44.920Z] 988bab9f4d93: Waiting [2023-02-23T09:04:44.920Z] eaf3925da568: Waiting [2023-02-23T09:04:44.920Z] bab4dde63d76: Waiting [2023-02-23T09:04:44.920Z] b352a97aabf1: Pulling fs layer [2023-02-23T09:04:44.920Z] bde34c3a00c8: Waiting [2023-02-23T09:04:44.920Z] 4872d77fe225: Pulling fs layer [2023-02-23T09:04:44.920Z] 5851b861e8e6: Pulling fs layer [2023-02-23T09:04:44.920Z] e2be974225ed: Verifying Checksum [2023-02-23T09:04:44.920Z] e2be974225ed: Download complete [2023-02-23T09:04:44.920Z] 988bab9f4d93: Download complete [2023-02-23T09:04:45.181Z] 339a4e72a1f5: Verifying Checksum [2023-02-23T09:04:45.181Z] 339a4e72a1f5: Download complete [2023-02-23T09:04:45.181Z] 1469e6f7b9e6: Verifying Checksum [2023-02-23T09:04:45.181Z] 1469e6f7b9e6: Download complete [2023-02-23T09:04:45.181Z] eaf3925da568: Verifying Checksum [2023-02-23T09:04:45.181Z] eaf3925da568: Download complete [2023-02-23T09:04:45.181Z] bde34c3a00c8: Verifying Checksum [2023-02-23T09:04:45.181Z] bde34c3a00c8: Download complete [2023-02-23T09:04:45.181Z] b352a97aabf1: Download complete [2023-02-23T09:04:45.181Z] 4872d77fe225: Verifying Checksum [2023-02-23T09:04:45.181Z] 4872d77fe225: Download complete [2023-02-23T09:04:45.181Z] b85a868b505f: Verifying Checksum [2023-02-23T09:04:45.181Z] b85a868b505f: Download complete [2023-02-23T09:04:45.181Z] 5851b861e8e6: Verifying Checksum [2023-02-23T09:04:45.181Z] 5851b861e8e6: Download complete [2023-02-23T09:04:45.440Z] bab4dde63d76: Verifying Checksum [2023-02-23T09:04:45.440Z] bab4dde63d76: Download complete [2023-02-23T09:04:46.378Z] b85a868b505f: Pull complete [2023-02-23T09:04:46.637Z] e2be974225ed: Pull complete [2023-02-23T09:04:47.206Z] 339a4e72a1f5: Pull complete [2023-02-23T09:04:47.206Z] 988bab9f4d93: Pull complete [2023-02-23T09:04:47.466Z] 1469e6f7b9e6: Pull complete [2023-02-23T09:04:47.466Z] eaf3925da568: Pull complete [2023-02-23T09:04:49.397Z] bab4dde63d76: Pull complete [2023-02-23T09:04:49.397Z] bde34c3a00c8: Pull complete [2023-02-23T09:04:49.658Z] b352a97aabf1: Pull complete [2023-02-23T09:04:49.658Z] 4872d77fe225: Pull complete [2023-02-23T09:04:49.658Z] 5851b861e8e6: Pull complete [2023-02-23T09:04:49.658Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-23T09:04:49.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T09:04:49.658Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:04:49.891Z] prd-ubuntu20.04-docker-8c-8g-7211 does not seem to be running inside a container [2023-02-23T09:04:49.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-497 -v /w/workspace/gexfoundry_device-mqtt-go_PR-497:/w/workspace/gexfoundry_device-mqtt-go_PR-497:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-23T09:04:52.495Z] $ docker top e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d -eo pid,comm [2023-02-23T09:04:52.550Z] 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-02-23T09:04:52.550Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-23T09:04:52.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T09:04:52.680Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T09:04:52.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T09:04:52.817Z] $ docker exec e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d ssh-agent [2023-02-23T09:04:52.927Z] SSH_AUTH_SOCK=/tmp/ssh-Kx5rWSX6r94f/agent.31 [2023-02-23T09:04:52.927Z] SSH_AGENT_PID=37 [2023-02-23T09:04:52.935Z] Running ssh-add (command line suppressed) [2023-02-23T09:04:53.040Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/private_key_6668117630561712598.key (/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/private_key_6668117630561712598.key) [2023-02-23T09:04:53.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T09:04:53.381Z] + git tag --points-at HEAD [Pipeline] } [2023-02-23T09:04:53.413Z] $ docker exec --env ******** --env ******** e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d ssh-agent -k [2023-02-23T09:04:53.520Z] unset SSH_AUTH_SOCK; [2023-02-23T09:04:53.521Z] unset SSH_AGENT_PID; [2023-02-23T09:04:53.521Z] echo Agent pid 37 killed; [2023-02-23T09:04:53.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-23T09:04:53.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T09:04:53.614Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T09:04:53.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T09:04:53.729Z] $ docker exec e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d ssh-agent [2023-02-23T09:04:53.842Z] SSH_AUTH_SOCK=/tmp/ssh-zi8MEQK12eKA/agent.69 [2023-02-23T09:04:53.842Z] SSH_AGENT_PID=76 [2023-02-23T09:04:53.848Z] Running ssh-add (command line suppressed) [2023-02-23T09:04:53.952Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/private_key_14048829463114665365.key (/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/private_key_14048829463114665365.key) [2023-02-23T09:04:53.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T09:04:54.289Z] + git semver init [2023-02-23T09:04:54.547Z] 2023-02-23 09:04:54,496 [run_init] DEBUG init version:0.0.0 force:False [2023-02-23T09:04:54.547Z] 2023-02-23 09:04:54,496 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver [2023-02-23T09:04:54.547Z] 2023-02-23 09:04:54,497 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver [2023-02-23T09:04:54.547Z] 2023-02-23 09:04:54,497 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-497, universal_newlines=False, shell=None, istream=None) [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,448 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-497/.git/info/exclude [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,448 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver/PR-497 with force:False [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,448 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver/PR-497 [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,453 [execute] INFO git cat-file --batch-check [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,459 [execute] INFO git cat-file --batch [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T09:04:55.487Z] 2023-02-23 09:04:55,463 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-497/.semver/PR-497 [2023-02-23T09:04:55.487Z] 0.0.0 [Pipeline] } [2023-02-23T09:04:55.522Z] $ docker exec --env ******** --env ******** e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d ssh-agent -k [2023-02-23T09:04:55.622Z] unset SSH_AUTH_SOCK; [2023-02-23T09:04:55.623Z] unset SSH_AGENT_PID; [2023-02-23T09:04:55.623Z] echo Agent pid 76 killed; [2023-02-23T09:04:55.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-23T09:04:56.068Z] + git semver [Pipeline] } [2023-02-23T09:04:56.361Z] $ docker stop --time=1 e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d [2023-02-23T09:04:57.742Z] $ docker rm -f --volumes e50b55b6b457cb3dede10755df84d7fa0cc271cfbaadea7ea5448d76cada727d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T09:04:58.159Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-23T09:04:58.425Z] Stashed 1 file(s) [Pipeline] echo [2023-02-23T09:04:58.443Z] [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-02-23T09:04:59.030Z] provisioning config files... [2023-02-23T09:04:59.040Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/config9991803692295984121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:04:59.395Z] ---> docker-login.sh [2023-02-23T09:04:59.395Z] nexus3.edgexfoundry.org:10001 [2023-02-23T09:04:59.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:59.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:59.395Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:59.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:59.395Z] [2023-02-23T09:04:59.395Z] Login Succeeded [2023-02-23T09:04:59.395Z] nexus3.edgexfoundry.org:10002 [2023-02-23T09:04:59.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:59.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:59.395Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:59.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:59.395Z] [2023-02-23T09:04:59.395Z] Login Succeeded [2023-02-23T09:04:59.395Z] nexus3.edgexfoundry.org:10003 [2023-02-23T09:04:59.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:59.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:59.659Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:59.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:59.659Z] [2023-02-23T09:04:59.659Z] Login Succeeded [2023-02-23T09:04:59.659Z] nexus3.edgexfoundry.org:10004 [2023-02-23T09:04:59.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:04:59.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:04:59.659Z] Configure a credential helper to remove this warning. See [2023-02-23T09:04:59.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:04:59.659Z] [2023-02-23T09:04:59.659Z] Login Succeeded [2023-02-23T09:04:59.659Z] docker.io [2023-02-23T09:04:59.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:05:01.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:05:01.388Z] Configure a credential helper to remove this warning. See [2023-02-23T09:05:01.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:05:01.388Z] [2023-02-23T09:05:01.388Z] Login Succeeded [2023-02-23T09:05:01.388Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T09:05:01.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T09:05:01.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T09:05:01.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T09:05:01.714Z] ========================================================= [2023-02-23T09:05:01.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-23T09:05:01.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:05:02.261Z] + 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-02-23T09:05:02.261Z] Sending build context to Docker daemon 6.326MB [2023-02-23T09:05:02.261Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T09:05:02.261Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-23T09:05:02.261Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-23T09:05:02.261Z] 213ec9aee27d: Pulling fs layer [2023-02-23T09:05:02.261Z] 4583459ba037: Pulling fs layer [2023-02-23T09:05:02.261Z] 93c1e223e6f2: Pulling fs layer [2023-02-23T09:05:02.261Z] 53926ce57604: Pulling fs layer [2023-02-23T09:05:02.261Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-23T09:05:02.261Z] 22ff95d597cd: Pulling fs layer [2023-02-23T09:05:02.261Z] 12d6caf4c0d1: Pulling fs layer [2023-02-23T09:05:02.261Z] 96b7cbca73a9: Pulling fs layer [2023-02-23T09:05:02.261Z] a7acece74701: Pulling fs layer [2023-02-23T09:05:02.261Z] 22ff95d597cd: Waiting [2023-02-23T09:05:02.261Z] 12d6caf4c0d1: Waiting [2023-02-23T09:05:02.261Z] 96b7cbca73a9: Waiting [2023-02-23T09:05:02.261Z] 21b2b0c7a3f4: Waiting [2023-02-23T09:05:02.261Z] 53926ce57604: Waiting [2023-02-23T09:05:02.261Z] a7acece74701: Waiting [2023-02-23T09:05:02.261Z] 93c1e223e6f2: Verifying Checksum [2023-02-23T09:05:02.261Z] 93c1e223e6f2: Download complete [2023-02-23T09:05:02.526Z] 4583459ba037: Verifying Checksum [2023-02-23T09:05:02.526Z] 4583459ba037: Download complete [2023-02-23T09:05:02.526Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-23T09:05:02.526Z] 21b2b0c7a3f4: Download complete [2023-02-23T09:05:02.526Z] 22ff95d597cd: Download complete [2023-02-23T09:05:02.526Z] 213ec9aee27d: Verifying Checksum [2023-02-23T09:05:02.526Z] 12d6caf4c0d1: Verifying Checksum [2023-02-23T09:05:02.526Z] 12d6caf4c0d1: Download complete [2023-02-23T09:05:02.526Z] 213ec9aee27d: Pull complete [2023-02-23T09:05:02.795Z] 4583459ba037: Pull complete [2023-02-23T09:05:03.065Z] 93c1e223e6f2: Pull complete [2023-02-23T09:05:03.340Z] a7acece74701: Verifying Checksum [2023-02-23T09:05:03.340Z] a7acece74701: Download complete [2023-02-23T09:05:03.340Z] 53926ce57604: Download complete [2023-02-23T09:05:03.598Z] 96b7cbca73a9: Verifying Checksum [2023-02-23T09:05:03.598Z] 96b7cbca73a9: Download complete [2023-02-23T09:05:07.781Z] 53926ce57604: Pull complete [2023-02-23T09:05:07.782Z] 21b2b0c7a3f4: Pull complete [2023-02-23T09:05:07.782Z] 22ff95d597cd: Pull complete [2023-02-23T09:05:07.782Z] 12d6caf4c0d1: Pull complete [2023-02-23T09:05:09.690Z] 96b7cbca73a9: Pull complete [2023-02-23T09:05:10.627Z] a7acece74701: Pull complete [2023-02-23T09:05:10.627Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-23T09:05:10.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-23T09:05:10.627Z] ---> db6d94c90886 [2023-02-23T09:05:10.627Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-23T09:05:13.853Z] Still waiting to schedule task [2023-02-23T09:05:13.853Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7208’ is offline [2023-02-23T09:05:14.826Z] ---> Running in fbc1ce62fd4c [2023-02-23T09:05:15.084Z] Removing intermediate container fbc1ce62fd4c [2023-02-23T09:05:15.084Z] ---> 372bc46afc48 [2023-02-23T09:05:15.084Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T09:05:15.084Z] ---> Running in b9ce6f821792 [2023-02-23T09:05:15.085Z] Removing intermediate container b9ce6f821792 [2023-02-23T09:05:15.085Z] ---> 3c959826f869 [2023-02-23T09:05:15.085Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T09:05:15.085Z] ---> Running in 66f4484cb30e [2023-02-23T09:05:15.343Z] Removing intermediate container 66f4484cb30e [2023-02-23T09:05:15.343Z] ---> e3dba33449ee [2023-02-23T09:05:15.343Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T09:05:15.343Z] ---> Running in d79b0ad35391 [2023-02-23T09:05:15.343Z] Removing intermediate container d79b0ad35391 [2023-02-23T09:05:15.343Z] ---> 6d4264b583d6 [2023-02-23T09:05:15.343Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T09:05:15.343Z] ---> Running in 60c9cdba61bd [2023-02-23T09:05:15.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T09:05:15.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T09:05:16.121Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-23T09:05:16.121Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-23T09:05:16.121Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-23T09:05:16.121Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-23T09:05:16.121Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T09:05:16.121Z] OK: 216 MiB in 55 packages [2023-02-23T09:05:16.688Z] Removing intermediate container 60c9cdba61bd [2023-02-23T09:05:16.688Z] ---> dec01c74bb8c [2023-02-23T09:05:16.688Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-23T09:05:16.688Z] ---> Running in 715056d14801 [2023-02-23T09:05:16.688Z] Removing intermediate container 715056d14801 [2023-02-23T09:05:16.688Z] ---> b3dac315a8bc [2023-02-23T09:05:16.688Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-23T09:05:16.947Z] ---> 7011efb0b245 [2023-02-23T09:05:16.947Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T09:05:16.947Z] ---> Running in acc610cb0e1e [2023-02-23T09:05:43.613Z] Removing intermediate container acc610cb0e1e [2023-02-23T09:05:43.613Z] ---> 860c11f9144c [2023-02-23T09:05:43.613Z] Step 11/12 : COPY . . [2023-02-23T09:05:43.613Z] ---> 41f466d38144 [2023-02-23T09:05:43.613Z] Step 12/12 : RUN $MAKE [2023-02-23T09:05:43.613Z] ---> Running in e6b9b05260d0 [2023-02-23T09:05:43.613Z] noop [2023-02-23T09:05:43.613Z] Removing intermediate container e6b9b05260d0 [2023-02-23T09:05:43.613Z] ---> ec7fa5c820c5 [2023-02-23T09:05:43.613Z] Successfully built ec7fa5c820c5 [2023-02-23T09:05:43.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:05:44.082Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T09:05:44.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:05:44.237Z] prd-ubuntu20.04-docker-8c-8g-7211 does not seem to be running inside a container [2023-02-23T09:05:44.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-497 -v /w/workspace/gexfoundry_device-mqtt-go_PR-497:/w/workspace/gexfoundry_device-mqtt-go_PR-497:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-23T09:05:44.651Z] $ docker top b8b5f5ac9ac015bf29fb817bd9a5c0686b401376e5d8e966f2c687c8545a3740 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T09:05:45.111Z] + go version [2023-02-23T09:05:45.111Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-23T09:05:45.142Z] $ docker stop --time=1 b8b5f5ac9ac015bf29fb817bd9a5c0686b401376e5d8e966f2c687c8545a3740 [2023-02-23T09:05:46.410Z] $ docker rm -f --volumes b8b5f5ac9ac015bf29fb817bd9a5c0686b401376e5d8e966f2c687c8545a3740 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:05:47.107Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T09:05:47.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:05:47.269Z] prd-ubuntu20.04-docker-8c-8g-7211 does not seem to be running inside a container [2023-02-23T09:05:47.302Z] $ 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-497 -v /w/workspace/gexfoundry_device-mqtt-go_PR-497:/w/workspace/gexfoundry_device-mqtt-go_PR-497:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-23T09:05:47.629Z] $ docker top ed9141f3314cc9bd1846c49ea20e07f015a52945ec090cedf3779e3c1221556e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T09:05:48.020Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-497 [Pipeline] fileExists [Pipeline] sh [2023-02-23T09:05:48.398Z] + make test [2023-02-23T09:05:48.398Z] go test ./... -coverprofile=coverage.out ./... [2023-02-23T09:05:48.658Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-23T09:05:58.626Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-23T09:05:58.626Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2023-02-23T09:05:58.626Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-23T09:06:05.237Z] 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-02-23T09:06:05.237Z] go vet ./... [2023-02-23T09:06:07.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-23T09:06:07.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-23T09:06:07.761Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-23T09:06:07.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-23T09:06:07.829Z] $ docker stop --time=1 ed9141f3314cc9bd1846c49ea20e07f015a52945ec090cedf3779e3c1221556e [2023-02-23T09:06:09.859Z] $ docker rm -f --volumes ed9141f3314cc9bd1846c49ea20e07f015a52945ec090cedf3779e3c1221556e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T09:06:10.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-23T09:06:10.420Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-23T09:06:11.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-23T09:06:11.604Z] + ls -al . [2023-02-23T09:06:11.604Z] total 196 [2023-02-23T09:06:11.604Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 09:05 . [2023-02-23T09:06:11.604Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:04 .. [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 09:04 .dockerignore [2023-02-23T09:06:11.604Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 09:05 .git [2023-02-23T09:06:11.604Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:04 .github [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 23 09:04 .gitignore [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 09:04 .golangci.yml [2023-02-23T09:06:11.604Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 09:04 .semver [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 23 09:04 Attribution.txt [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 23 09:04 CHANGELOG.md [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 23 09:04 Dockerfile [2023-02-23T09:06:11.604Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 09:04 GOVERNANCE.md [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 23 09:04 Jenkinsfile [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 09:04 LICENSE [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 23 09:04 Makefile [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 23 09:04 OWNERS.md [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 23 09:04 README.md [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 09:04 VERSION [2023-02-23T09:06:11.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 09:04 bin [2023-02-23T09:06:11.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:04 cmd [2023-02-23T09:06:11.605Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 23 09:05 coverage.out [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 3464 Feb 23 09:04 go.mod [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 45093 Feb 23 09:04 go.sum [2023-02-23T09:06:11.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:04 internal [2023-02-23T09:06:11.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 09:04 mock [2023-02-23T09:06:11.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:04 snap [2023-02-23T09:06:11.605Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 23 09:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:06:11.985Z] + 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=eae5fedbc740f309db0e66a1c51cba971dd5c693 --label arch=amd64 --label version=0.0.0 . [2023-02-23T09:06:11.985Z] Sending build context to Docker daemon 6.345MB [2023-02-23T09:06:11.985Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T09:06:11.985Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-23T09:06:11.985Z] ---> ec7fa5c820c5 [2023-02-23T09:06:11.985Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-23T09:06:11.985Z] ---> Running in b8885d9604f4 [2023-02-23T09:06:12.246Z] Removing intermediate container b8885d9604f4 [2023-02-23T09:06:12.246Z] ---> f52e3b869f5b [2023-02-23T09:06:12.246Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T09:06:12.246Z] ---> Running in d8172be8cfbd [2023-02-23T09:06:12.246Z] Removing intermediate container d8172be8cfbd [2023-02-23T09:06:12.246Z] ---> 7b621f240db7 [2023-02-23T09:06:12.246Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T09:06:12.246Z] ---> Running in 5a3df92cb663 [2023-02-23T09:06:12.246Z] Removing intermediate container 5a3df92cb663 [2023-02-23T09:06:12.246Z] ---> 407f23ddbd50 [2023-02-23T09:06:12.246Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T09:06:12.505Z] ---> Running in 020fd06e2c9b [2023-02-23T09:06:12.505Z] Removing intermediate container 020fd06e2c9b [2023-02-23T09:06:12.505Z] ---> 7d48e3f4a0a5 [2023-02-23T09:06:12.505Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T09:06:12.505Z] ---> Running in 5d5909c05444 [2023-02-23T09:06:12.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T09:06:13.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T09:06:13.282Z] OK: 216 MiB in 55 packages [2023-02-23T09:06:13.541Z] Removing intermediate container 5d5909c05444 [2023-02-23T09:06:13.541Z] ---> 01349802eecf [2023-02-23T09:06:13.541Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-23T09:06:13.541Z] ---> Running in 934c04e3a565 [2023-02-23T09:06:13.541Z] Removing intermediate container 934c04e3a565 [2023-02-23T09:06:13.541Z] ---> 70784e98e153 [2023-02-23T09:06:13.541Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-23T09:06:13.802Z] ---> 32a23079f0af [2023-02-23T09:06:13.802Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T09:06:13.802Z] ---> Running in 99d1b1737116 [2023-02-23T09:06:14.372Z] Removing intermediate container 99d1b1737116 [2023-02-23T09:06:14.372Z] ---> 4b6a4df3bd04 [2023-02-23T09:06:14.372Z] Step 11/24 : COPY . . [2023-02-23T09:06:14.629Z] ---> bf0e548005e9 [2023-02-23T09:06:14.629Z] Step 12/24 : RUN $MAKE [2023-02-23T09:06:14.629Z] ---> Running in c954eff6eca0 [2023-02-23T09:06:14.886Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-02-23T09:06:36.824Z] Removing intermediate container c954eff6eca0 [2023-02-23T09:06:36.824Z] ---> eb15a597de7d [2023-02-23T09:06:36.824Z] Step 13/24 : FROM alpine:3.16 [2023-02-23T09:06:36.824Z] 3.16: Pulling from library/alpine [2023-02-23T09:06:36.824Z] ef5531b6e74e: Pulling fs layer [2023-02-23T09:06:36.824Z] ef5531b6e74e: Verifying Checksum [2023-02-23T09:06:36.824Z] ef5531b6e74e: Download complete [2023-02-23T09:06:36.824Z] ef5531b6e74e: Pull complete [2023-02-23T09:06:36.824Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-23T09:06:36.824Z] Status: Downloaded newer image for alpine:3.16 [2023-02-23T09:06:36.824Z] ---> dfd21b5a31f5 [2023-02-23T09:06:36.824Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-23T09:06:36.824Z] ---> Running in d231b7b25fd4 [2023-02-23T09:06:36.824Z] Removing intermediate container d231b7b25fd4 [2023-02-23T09:06:36.824Z] ---> 1638884cbce2 [2023-02-23T09:06:36.824Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-23T09:06:36.824Z] ---> Running in 4d4eaa935cc4 [2023-02-23T09:06:36.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T09:06:36.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T09:06:36.824Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-23T09:06:36.824Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T09:06:36.824Z] OK: 6 MiB in 15 packages [2023-02-23T09:06:36.824Z] Removing intermediate container 4d4eaa935cc4 [2023-02-23T09:06:36.824Z] ---> c7a6ab5e610b [2023-02-23T09:06:36.824Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-23T09:06:36.824Z] ---> 80c733ed533a [2023-02-23T09:06:36.824Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-23T09:06:37.082Z] ---> f7f3900b441f [2023-02-23T09:06:37.082Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-23T09:06:37.082Z] ---> abea27472e2e [2023-02-23T09:06:37.082Z] Step 19/24 : EXPOSE 59982 [2023-02-23T09:06:37.082Z] ---> Running in b92bb4d14f46 [2023-02-23T09:06:37.082Z] Removing intermediate container b92bb4d14f46 [2023-02-23T09:06:37.082Z] ---> cca8513bfed7 [2023-02-23T09:06:37.082Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-23T09:06:37.082Z] ---> Running in 2e8e359c0a4d [2023-02-23T09:06:37.341Z] Removing intermediate container 2e8e359c0a4d [2023-02-23T09:06:37.341Z] ---> a7cf3e01e119 [2023-02-23T09:06:37.341Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-23T09:06:37.341Z] ---> Running in d83c39e9964a [2023-02-23T09:06:37.341Z] Removing intermediate container d83c39e9964a [2023-02-23T09:06:37.341Z] ---> b327e6ffd24f [2023-02-23T09:06:37.341Z] Step 22/24 : LABEL arch=amd64 [2023-02-23T09:06:37.341Z] ---> Running in 4df445f0c1d3 [2023-02-23T09:06:37.341Z] Removing intermediate container 4df445f0c1d3 [2023-02-23T09:06:37.341Z] ---> 4c8962244c51 [2023-02-23T09:06:37.341Z] Step 23/24 : LABEL git_sha=eae5fedbc740f309db0e66a1c51cba971dd5c693 [2023-02-23T09:06:37.600Z] ---> Running in 409ee07a1637 [2023-02-23T09:06:37.600Z] Removing intermediate container 409ee07a1637 [2023-02-23T09:06:37.600Z] ---> 81b92e53dfba [2023-02-23T09:06:37.600Z] Step 24/24 : LABEL version=0.0.0 [2023-02-23T09:06:37.600Z] ---> Running in 6f9d0885aa29 [2023-02-23T09:06:37.600Z] Removing intermediate container 6f9d0885aa29 [2023-02-23T09:06:37.600Z] ---> 24a387bb358d [2023-02-23T09:06:37.600Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-23T09:06:37.600Z] Successfully built 24a387bb358d [2023-02-23T09:06:37.600Z] 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-02-23T09:06:38.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T09:06:38.410Z] [2023-02-23T09:06:38.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:06:38.572Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7212 in /w/workspace/gexfoundry_device-mqtt-go_PR-497 [Pipeline] { [Pipeline] ws [2023-02-23T09:06:38.626Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-23T09:06:38.707Z] Selected Git installation does not exist. Using Default [2023-02-23T09:06:38.707Z] The recommended git tool is: NONE [2023-02-23T09:06:38.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T09:06:38.783Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-23T09:06:38.783Z] 5eb5b503b376: Pulling fs layer [2023-02-23T09:06:38.783Z] 5c69ac0246d0: Pulling fs layer [2023-02-23T09:06:38.783Z] ec43610c2a17: Pulling fs layer [2023-02-23T09:06:38.783Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-23T09:06:38.783Z] 33b1e0a273af: Pulling fs layer [2023-02-23T09:06:38.783Z] 5d3b04190fa2: Pulling fs layer [2023-02-23T09:06:38.783Z] 2f39f015ded8: Pulling fs layer [2023-02-23T09:06:38.783Z] 3a2ae6a8a46f: Waiting [2023-02-23T09:06:38.783Z] 33b1e0a273af: Waiting [2023-02-23T09:06:38.783Z] 5d3b04190fa2: Waiting [2023-02-23T09:06:38.783Z] 2f39f015ded8: Waiting [2023-02-23T09:06:38.783Z] 5c69ac0246d0: Verifying Checksum [2023-02-23T09:06:38.783Z] 5c69ac0246d0: Download complete [2023-02-23T09:06:38.783Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-23T09:06:38.783Z] 3a2ae6a8a46f: Download complete [2023-02-23T09:06:39.043Z] 33b1e0a273af: Verifying Checksum [2023-02-23T09:06:39.043Z] 33b1e0a273af: Download complete [2023-02-23T09:06:39.043Z] 5d3b04190fa2: Verifying Checksum [2023-02-23T09:06:39.043Z] 5d3b04190fa2: Download complete [2023-02-23T09:06:39.043Z] ec43610c2a17: Verifying Checksum [2023-02-23T09:06:39.043Z] ec43610c2a17: Download complete [2023-02-23T09:06:39.043Z] 5eb5b503b376: Verifying Checksum [2023-02-23T09:06:39.043Z] 5eb5b503b376: Download complete [2023-02-23T09:06:39.610Z] 2f39f015ded8: Verifying Checksum [2023-02-23T09:06:39.610Z] 2f39f015ded8: Download complete [2023-02-23T09:06:40.176Z] 5eb5b503b376: Pull complete [2023-02-23T09:06:40.435Z] 5c69ac0246d0: Pull complete [2023-02-23T09:06:41.002Z] ec43610c2a17: Pull complete [2023-02-23T09:06:41.002Z] 3a2ae6a8a46f: Pull complete [2023-02-23T09:06:41.260Z] 33b1e0a273af: Pull complete [2023-02-23T09:06:41.260Z] 5d3b04190fa2: Pull complete [2023-02-23T09:06:43.935Z] using credential edgex-jenkins-ssh [2023-02-23T09:06:43.955Z] Cloning the remote Git repository [2023-02-23T09:06:43.996Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T09:06:44.063Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-23T09:06:44.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T09:06:44.210Z] > git --version # timeout=10 [2023-02-23T09:06:44.235Z] > git --version # 'git version 2.25.1' [2023-02-23T09:06:44.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T09:06:44.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T09:06:45.439Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-23T09:06:45.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T09:06:46.569Z] 2f39f015ded8: Pull complete [2023-02-23T09:06:46.569Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-23T09:06:46.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T09:06:46.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:06:46.804Z] prd-ubuntu20.04-docker-8c-8g-7211 does not seem to be running inside a container [2023-02-23T09:06:46.837Z] $ 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-497 -v /w/workspace/gexfoundry_device-mqtt-go_PR-497:/w/workspace/gexfoundry_device-mqtt-go_PR-497:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-23T09:06:46.900Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit eae5fedbc740f309db0e66a1c51cba971dd5c693 [2023-02-23T09:06:47.123Z] Merge succeeded, producing eae5fedbc740f309db0e66a1c51cba971dd5c693 [2023-02-23T09:06:47.123Z] Checking out Revision eae5fedbc740f309db0e66a1c51cba971dd5c693 (PR-497) [2023-02-23T09:06:46.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-23T09:06:46.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T09:06:46.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T09:06:46.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-23T09:06:46.920Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T09:06:46.941Z] > git checkout -f eae5fedbc740f309db0e66a1c51cba971dd5c693 # timeout=10 [2023-02-23T09:06:47.021Z] > git remote # timeout=10 [2023-02-23T09:06:47.042Z] > git config --get remote.origin.url # timeout=10 [2023-02-23T09:06:47.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T09:06:47.080Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-23T09:06:47.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-23T09:06:47.130Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T09:06:47.154Z] > git checkout -f eae5fedbc740f309db0e66a1c51cba971dd5c693 # timeout=10 [2023-02-23T09:06:47.584Z] Commit message: "build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8" [2023-02-23T09:06:47.633Z] > git --version # timeout=10 [2023-02-23T09:06:47.646Z] > git --version # 'git version 2.25.1' [2023-02-23T09:06:47.663Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T09:06:49.122Z] [2023-02-23T09:06:49.122Z] GitHub has been notified of this commit’s build result [2023-02-23T09:06:49.122Z] [2023-02-23T09:06:50.822Z] $ docker top a57b4ee4daf19801746f817244f0df3a4f00cb0185f30c8ddc88f18d5d420d0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T09:06:51.268Z] ---> job-cost.sh [2023-02-23T09:06:51.268Z] lf-activate-venv: SKIPPING [2023-02-23T09:06:51.268Z] INFO: No Stack... [2023-02-23T09:06:51.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T09:06:51.738Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-23T09:06:51.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T09:06:51.738Z] Dload Upload Total Spent Left Speed [2023-02-23T09:06:51.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh [2023-02-23T09:06:52.095Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T09:06:52.400Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-23T09:06:52.482Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives/cost.csv [2023-02-23T09:06:52.482Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T09:06:52.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] [2023-02-23T09:06:52.551Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] did not exist. Created. [2023-02-23T09:06:52.551Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T09:06:52.748Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-23T09:06:52.748Z] + sudo tee /etc/docker/daemon.new [2023-02-23T09:06:52.748Z] { [2023-02-23T09:06:52.748Z] "registry-mirrors": [ [2023-02-23T09:06:52.748Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-23T09:06:52.748Z] ], [2023-02-23T09:06:52.748Z] "bip": "10.250.0.254/24", [2023-02-23T09:06:52.748Z] "hosts": [ [2023-02-23T09:06:52.748Z] "tcp://0.0.0.0:5555", [2023-02-23T09:06:52.748Z] "unix:///var/run/docker.sock" [2023-02-23T09:06:52.748Z] ], [2023-02-23T09:06:52.748Z] "mtu": 1458, [2023-02-23T09:06:52.748Z] "selinux-enabled": true, [2023-02-23T09:06:52.748Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-23T09:06:52.748Z] } [Pipeline] sh [2023-02-23T09:06:52.930Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-23T09:06:52.979Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T09:06:53.005Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T09:06:53.089Z] $ docker stop --time=1 a57b4ee4daf19801746f817244f0df3a4f00cb0185f30c8ddc88f18d5d420d0d [2023-02-23T09:06:53.090Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-02-23T09:06:54.245Z] $ docker rm -f --volumes a57b4ee4daf19801746f817244f0df3a4f00cb0185f30c8ddc88f18d5d420d0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-23T09:06:54.669Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T09:07:12.965Z] provisioning config files... [2023-02-23T09:07:12.992Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7020912179891753851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:07:13.369Z] ---> docker-login.sh [2023-02-23T09:07:13.369Z] nexus3.edgexfoundry.org:10001 [2023-02-23T09:07:13.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:07:13.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:07:13.904Z] Configure a credential helper to remove this warning. See [2023-02-23T09:07:13.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:07:13.904Z] [2023-02-23T09:07:13.904Z] Login Succeeded [2023-02-23T09:07:13.904Z] nexus3.edgexfoundry.org:10002 [2023-02-23T09:07:14.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:07:14.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:07:14.171Z] Configure a credential helper to remove this warning. See [2023-02-23T09:07:14.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:07:14.171Z] [2023-02-23T09:07:14.171Z] Login Succeeded [2023-02-23T09:07:14.171Z] nexus3.edgexfoundry.org:10003 [2023-02-23T09:07:14.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:07:14.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:07:14.712Z] Configure a credential helper to remove this warning. See [2023-02-23T09:07:14.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:07:14.712Z] [2023-02-23T09:07:14.712Z] Login Succeeded [2023-02-23T09:07:14.712Z] nexus3.edgexfoundry.org:10004 [2023-02-23T09:07:14.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:07:14.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:07:14.983Z] Configure a credential helper to remove this warning. See [2023-02-23T09:07:14.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:07:14.983Z] [2023-02-23T09:07:14.983Z] Login Succeeded [2023-02-23T09:07:14.983Z] docker.io [2023-02-23T09:07:15.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T09:07:15.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T09:07:15.521Z] Configure a credential helper to remove this warning. See [2023-02-23T09:07:15.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T09:07:15.521Z] [2023-02-23T09:07:15.521Z] Login Succeeded [2023-02-23T09:07:15.521Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T09:07:15.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T09:07:15.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T09:07:15.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T09:07:15.967Z] ========================================================= [2023-02-23T09:07:15.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-23T09:07:15.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:07:16.445Z] + 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-02-23T09:07:16.713Z] Sending build context to Docker daemon 3.283MB [2023-02-23T09:07:16.713Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T09:07:16.713Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-23T09:07:16.984Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-23T09:07:16.984Z] 9b18e9b68314: Pulling fs layer [2023-02-23T09:07:16.984Z] 35d82f9e3411: Pulling fs layer [2023-02-23T09:07:16.984Z] e16973657156: Pulling fs layer [2023-02-23T09:07:16.984Z] fc693d55d65f: Pulling fs layer [2023-02-23T09:07:16.984Z] 7e9fc2657dce: Pulling fs layer [2023-02-23T09:07:16.984Z] fc693d55d65f: Waiting [2023-02-23T09:07:16.984Z] dda99020689f: Pulling fs layer [2023-02-23T09:07:16.984Z] db1c61fa0a46: Pulling fs layer [2023-02-23T09:07:16.984Z] 891c053d2c06: Pulling fs layer [2023-02-23T09:07:16.984Z] 7e9fc2657dce: Waiting [2023-02-23T09:07:16.984Z] dda99020689f: Waiting [2023-02-23T09:07:16.984Z] db1c61fa0a46: Waiting [2023-02-23T09:07:16.984Z] 891c053d2c06: Waiting [2023-02-23T09:07:16.984Z] e16973657156: Verifying Checksum [2023-02-23T09:07:16.984Z] e16973657156: Download complete [2023-02-23T09:07:16.984Z] 35d82f9e3411: Verifying Checksum [2023-02-23T09:07:16.984Z] 35d82f9e3411: Download complete [2023-02-23T09:07:16.984Z] 7e9fc2657dce: Verifying Checksum [2023-02-23T09:07:16.984Z] 7e9fc2657dce: Download complete [2023-02-23T09:07:16.984Z] dda99020689f: Verifying Checksum [2023-02-23T09:07:16.984Z] dda99020689f: Download complete [2023-02-23T09:07:16.984Z] 9b18e9b68314: Verifying Checksum [2023-02-23T09:07:16.984Z] 9b18e9b68314: Download complete [2023-02-23T09:07:17.974Z] 9b18e9b68314: Pull complete [2023-02-23T09:07:17.974Z] 891c053d2c06: Verifying Checksum [2023-02-23T09:07:18.561Z] 35d82f9e3411: Pull complete [2023-02-23T09:07:18.832Z] e16973657156: Pull complete [2023-02-23T09:07:19.426Z] db1c61fa0a46: Verifying Checksum [2023-02-23T09:07:19.426Z] db1c61fa0a46: Download complete [2023-02-23T09:07:20.021Z] fc693d55d65f: Verifying Checksum [2023-02-23T09:07:35.028Z] fc693d55d65f: Pull complete [2023-02-23T09:07:35.028Z] 7e9fc2657dce: Pull complete [2023-02-23T09:07:35.028Z] dda99020689f: Pull complete [2023-02-23T09:07:40.390Z] db1c61fa0a46: Pull complete [2023-02-23T09:07:42.428Z] 891c053d2c06: Pull complete [2023-02-23T09:07:42.428Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-23T09:07:42.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-23T09:07:42.428Z] ---> f96f9c87975a [2023-02-23T09:07:42.428Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-23T09:07:43.038Z] ---> Running in f0eeab051168 [2023-02-23T09:07:43.310Z] Removing intermediate container f0eeab051168 [2023-02-23T09:07:43.310Z] ---> ec218e68eaaf [2023-02-23T09:07:43.310Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T09:07:43.310Z] ---> Running in 8aff5ffa613c [2023-02-23T09:07:43.582Z] Removing intermediate container 8aff5ffa613c [2023-02-23T09:07:43.582Z] ---> b9a24c8c25bd [2023-02-23T09:07:43.582Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T09:07:43.856Z] ---> Running in 2e7a506a98ed [2023-02-23T09:07:44.123Z] Removing intermediate container 2e7a506a98ed [2023-02-23T09:07:44.123Z] ---> 60226a60030f [2023-02-23T09:07:44.123Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T09:07:44.123Z] ---> Running in 21c6b9c7bbdd [2023-02-23T09:07:44.395Z] Removing intermediate container 21c6b9c7bbdd [2023-02-23T09:07:44.395Z] ---> 2a8d7c5b6275 [2023-02-23T09:07:44.395Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T09:07:44.395Z] ---> Running in 7c515bc9ecb7 [2023-02-23T09:07:45.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T09:07:46.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T09:07:47.043Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-23T09:07:47.043Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-23T09:07:47.043Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-23T09:07:47.043Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-23T09:07:47.043Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T09:07:47.043Z] OK: 226 MiB in 55 packages [2023-02-23T09:07:48.024Z] Removing intermediate container 7c515bc9ecb7 [2023-02-23T09:07:48.024Z] ---> c23351530778 [2023-02-23T09:07:48.024Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-23T09:07:48.291Z] ---> Running in da4d3b29d580 [2023-02-23T09:07:50.245Z] Removing intermediate container da4d3b29d580 [2023-02-23T09:07:50.245Z] ---> 567c095554ad [2023-02-23T09:07:50.245Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-23T09:07:50.834Z] ---> a055200fbf03 [2023-02-23T09:07:50.834Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T09:07:50.834Z] ---> Running in 6db17ffdbf83 [2023-02-23T09:08:47.258Z] Removing intermediate container 6db17ffdbf83 [2023-02-23T09:08:47.258Z] ---> fa41af1ea97f [2023-02-23T09:08:47.258Z] Step 11/12 : COPY . . [2023-02-23T09:08:47.258Z] ---> d0d78595ac9c [2023-02-23T09:08:47.258Z] Step 12/12 : RUN $MAKE [2023-02-23T09:08:47.258Z] ---> Running in f441f13eb4d2 [2023-02-23T09:08:47.258Z] noop [2023-02-23T09:08:47.258Z] Removing intermediate container f441f13eb4d2 [2023-02-23T09:08:47.258Z] ---> 15c703545da1 [2023-02-23T09:08:47.258Z] Successfully built 15c703545da1 [2023-02-23T09:08:47.258Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:08:47.754Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T09:08:47.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:08:48.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-7212 does not seem to be running inside a container [2023-02-23T09:08:48.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-23T09:08:49.211Z] $ docker top 98ca8f28bad2a030e1a7eea74d8028f4636a4f51089dd5f5ca89570c80768fcc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T09:08:50.079Z] + go version [2023-02-23T09:08:50.079Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-23T09:08:50.117Z] $ docker stop --time=1 98ca8f28bad2a030e1a7eea74d8028f4636a4f51089dd5f5ca89570c80768fcc [2023-02-23T09:08:51.737Z] $ docker rm -f --volumes 98ca8f28bad2a030e1a7eea74d8028f4636a4f51089dd5f5ca89570c80768fcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:08:53.944Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T09:08:53.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:08:54.245Z] prd-ubuntu20.04-docker-arm64-4c-16g-7212 does not seem to be running inside a container [2023-02-23T09:08:54.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-23T09:08:55.460Z] $ docker top a24f2692201117ec067d56ce5c8896cf1edc587b63aa3675db344d6814a26861 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T09:08:55.995Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-23T09:08:56.631Z] + make test [2023-02-23T09:08:56.631Z] go test ./... -coverprofile=coverage.out ./... [2023-02-23T09:08:58.591Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-23T09:10:20.190Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-23T09:10:20.190Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.060s coverage: 21.8% of statements [2023-02-23T09:10:20.190Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-23T09:10:20.190Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-23T09:10:20.190Z] go vet ./... [2023-02-23T09:10:38.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-23T09:10:38.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-23T09:10:38.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-23T09:10:38.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-23T09:10:38.477Z] $ docker stop --time=1 a24f2692201117ec067d56ce5c8896cf1edc587b63aa3675db344d6814a26861 [2023-02-23T09:10:40.136Z] $ docker rm -f --volumes a24f2692201117ec067d56ce5c8896cf1edc587b63aa3675db344d6814a26861 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T09:10:41.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-23T09:10:41.084Z] Warning: overwriting stash ‘coverage-report’ [2023-02-23T09:10:41.496Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T09:10:42.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-23T09:10:42.424Z] + ls -al . [2023-02-23T09:10:42.424Z] total 192 [2023-02-23T09:10:42.424Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 09:08 . [2023-02-23T09:10:42.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:06 .. [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 09:06 .dockerignore [2023-02-23T09:10:42.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 09:06 .git [2023-02-23T09:10:42.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:06 .github [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 23 09:06 .gitignore [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 09:06 .golangci.yml [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 23 09:06 Attribution.txt [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 23 09:06 CHANGELOG.md [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 23 09:06 Dockerfile [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 09:06 GOVERNANCE.md [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 23 09:06 Jenkinsfile [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 09:06 LICENSE [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 23 09:06 Makefile [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 23 09:06 OWNERS.md [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 23 09:06 README.md [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 09:04 VERSION [2023-02-23T09:10:42.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 09:06 bin [2023-02-23T09:10:42.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:06 cmd [2023-02-23T09:10:42.424Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 23 09:10 coverage.out [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 3464 Feb 23 09:06 go.mod [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 45093 Feb 23 09:06 go.sum [2023-02-23T09:10:42.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 09:06 internal [2023-02-23T09:10:42.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 09:06 mock [2023-02-23T09:10:42.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 09:06 snap [2023-02-23T09:10:42.424Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 23 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:10:42.829Z] + 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=eae5fedbc740f309db0e66a1c51cba971dd5c693 --label arch=arm64 --label version=0.0.0 . [2023-02-23T09:10:43.095Z] Sending build context to Docker daemon 3.301MB [2023-02-23T09:10:43.095Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T09:10:43.095Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-23T09:10:43.095Z] ---> 15c703545da1 [2023-02-23T09:10:43.095Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-23T09:10:43.095Z] ---> Running in dbb6a19255fd [2023-02-23T09:10:43.369Z] Removing intermediate container dbb6a19255fd [2023-02-23T09:10:43.369Z] ---> 711f65185b08 [2023-02-23T09:10:43.369Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T09:10:43.634Z] ---> Running in 14152024f350 [2023-02-23T09:10:43.904Z] Removing intermediate container 14152024f350 [2023-02-23T09:10:43.904Z] ---> 2af34878dbcf [2023-02-23T09:10:43.904Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T09:10:43.904Z] ---> Running in 6feeb9b1e18b [2023-02-23T09:10:44.171Z] Removing intermediate container 6feeb9b1e18b [2023-02-23T09:10:44.171Z] ---> 69179b23734d [2023-02-23T09:10:44.171Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T09:10:44.171Z] ---> Running in 22417ee351d6 [2023-02-23T09:10:44.440Z] Removing intermediate container 22417ee351d6 [2023-02-23T09:10:44.440Z] ---> 0f4d3d3de9d4 [2023-02-23T09:10:44.440Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T09:10:44.440Z] ---> Running in 9f9bd4e6afe0 [2023-02-23T09:10:45.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T09:10:45.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T09:10:46.617Z] OK: 226 MiB in 55 packages [2023-02-23T09:10:47.216Z] Removing intermediate container 9f9bd4e6afe0 [2023-02-23T09:10:47.216Z] ---> ab49e14f9d28 [2023-02-23T09:10:47.216Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-23T09:10:47.483Z] ---> Running in 2da0a75dc768 [2023-02-23T09:10:47.748Z] Removing intermediate container 2da0a75dc768 [2023-02-23T09:10:47.748Z] ---> ddc87d48accb [2023-02-23T09:10:47.748Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-23T09:10:48.015Z] ---> 3eb07501bfa6 [2023-02-23T09:10:48.015Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T09:10:48.284Z] ---> Running in 9902c12bcdb0 [2023-02-23T09:10:50.229Z] Removing intermediate container 9902c12bcdb0 [2023-02-23T09:10:50.229Z] ---> 613c09286cd5 [2023-02-23T09:10:50.229Z] Step 11/24 : COPY . . [2023-02-23T09:10:51.631Z] ---> f75f3d37c8d9 [2023-02-23T09:10:51.631Z] Step 12/24 : RUN $MAKE [2023-02-23T09:10:51.631Z] ---> Running in 6bf2b44a65e6 [2023-02-23T09:10:52.215Z] 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-02-23T09:12:58.900Z] Removing intermediate container 6bf2b44a65e6 [2023-02-23T09:12:58.900Z] ---> 7cc75a2f6fef [2023-02-23T09:12:58.900Z] Step 13/24 : FROM alpine:3.16 [2023-02-23T09:12:58.900Z] 3.16: Pulling from library/alpine [2023-02-23T09:12:58.900Z] 3760b48202b3: Pulling fs layer [2023-02-23T09:12:58.900Z] 3760b48202b3: Verifying Checksum [2023-02-23T09:12:58.900Z] 3760b48202b3: Download complete [2023-02-23T09:12:58.900Z] 3760b48202b3: Pull complete [2023-02-23T09:12:58.900Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-23T09:12:58.900Z] Status: Downloaded newer image for alpine:3.16 [2023-02-23T09:12:58.900Z] ---> 4c81e5bf8899 [2023-02-23T09:12:58.900Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-23T09:12:58.900Z] ---> Running in af16da9fa63e [2023-02-23T09:12:58.900Z] Removing intermediate container af16da9fa63e [2023-02-23T09:12:58.900Z] ---> cc13a3803f91 [2023-02-23T09:12:58.900Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-23T09:12:58.900Z] ---> Running in 47af6e4f64dc [2023-02-23T09:12:58.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T09:12:58.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T09:12:58.900Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-23T09:12:58.900Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T09:12:58.900Z] OK: 5 MiB in 15 packages [2023-02-23T09:12:59.166Z] Removing intermediate container 47af6e4f64dc [2023-02-23T09:12:59.166Z] ---> 9dc40d889423 [2023-02-23T09:12:59.166Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-23T09:13:02.511Z] ---> ad8a6f24a704 [2023-02-23T09:13:02.511Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-23T09:13:03.096Z] ---> cac556d70390 [2023-02-23T09:13:03.096Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-23T09:13:03.678Z] ---> 0dd97c8eb3c6 [2023-02-23T09:13:03.678Z] Step 19/24 : EXPOSE 59982 [2023-02-23T09:13:03.678Z] ---> Running in eb0115d454a9 [2023-02-23T09:13:03.943Z] Removing intermediate container eb0115d454a9 [2023-02-23T09:13:03.943Z] ---> 07848236141d [2023-02-23T09:13:03.943Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-23T09:13:03.943Z] ---> Running in b8fcec008eac [2023-02-23T09:13:04.210Z] Removing intermediate container b8fcec008eac [2023-02-23T09:13:04.210Z] ---> 23a4d8d3011d [2023-02-23T09:13:04.210Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-23T09:13:04.210Z] ---> Running in d24b472c648f [2023-02-23T09:13:04.478Z] Removing intermediate container d24b472c648f [2023-02-23T09:13:04.478Z] ---> 7d7c9fa27ec0 [2023-02-23T09:13:04.478Z] Step 22/24 : LABEL arch=arm64 [2023-02-23T09:13:04.478Z] ---> Running in c01691fc78b9 [2023-02-23T09:13:04.745Z] Removing intermediate container c01691fc78b9 [2023-02-23T09:13:04.745Z] ---> 36c6dba30204 [2023-02-23T09:13:04.745Z] Step 23/24 : LABEL git_sha=eae5fedbc740f309db0e66a1c51cba971dd5c693 [2023-02-23T09:13:05.011Z] ---> Running in ab4a1072ee43 [2023-02-23T09:13:05.277Z] Removing intermediate container ab4a1072ee43 [2023-02-23T09:13:05.277Z] ---> 5e3ee1c4ee5f [2023-02-23T09:13:05.277Z] Step 24/24 : LABEL version=0.0.0 [2023-02-23T09:13:05.277Z] ---> Running in b76f19a88e0e [2023-02-23T09:13:05.543Z] Removing intermediate container b76f19a88e0e [2023-02-23T09:13:05.543Z] ---> 9d1e3e2d6564 [2023-02-23T09:13:05.543Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-23T09:13:05.543Z] Successfully built 9d1e3e2d6564 [2023-02-23T09:13:05.543Z] 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-02-23T09:13:06.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T09:13:06.343Z] [2023-02-23T09:13:06.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:13:06.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T09:13:06.729Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-23T09:13:06.729Z] 8998bd30e6a1: Pulling fs layer [2023-02-23T09:13:06.729Z] 04944245beec: Pulling fs layer [2023-02-23T09:13:06.729Z] 699f458cf7ca: Pulling fs layer [2023-02-23T09:13:06.729Z] 765212b225bb: Pulling fs layer [2023-02-23T09:13:06.729Z] f23df028b6ca: Pulling fs layer [2023-02-23T09:13:06.729Z] d65c8cfc05b1: Pulling fs layer [2023-02-23T09:13:06.729Z] 2437ff75d9bd: Pulling fs layer [2023-02-23T09:13:06.729Z] 765212b225bb: Waiting [2023-02-23T09:13:06.729Z] f23df028b6ca: Waiting [2023-02-23T09:13:06.729Z] d65c8cfc05b1: Waiting [2023-02-23T09:13:06.729Z] 2437ff75d9bd: Waiting [2023-02-23T09:13:06.997Z] 04944245beec: Verifying Checksum [2023-02-23T09:13:06.997Z] 04944245beec: Download complete [2023-02-23T09:13:06.997Z] 765212b225bb: Verifying Checksum [2023-02-23T09:13:06.997Z] 765212b225bb: Download complete [2023-02-23T09:13:06.997Z] f23df028b6ca: Download complete [2023-02-23T09:13:06.997Z] d65c8cfc05b1: Verifying Checksum [2023-02-23T09:13:06.997Z] d65c8cfc05b1: Download complete [2023-02-23T09:13:06.997Z] 699f458cf7ca: Verifying Checksum [2023-02-23T09:13:06.997Z] 699f458cf7ca: Download complete [2023-02-23T09:13:07.585Z] 8998bd30e6a1: Verifying Checksum [2023-02-23T09:13:07.585Z] 8998bd30e6a1: Download complete [2023-02-23T09:13:09.524Z] 2437ff75d9bd: Verifying Checksum [2023-02-23T09:13:09.524Z] 2437ff75d9bd: Download complete [2023-02-23T09:13:11.461Z] 8998bd30e6a1: Pull complete [2023-02-23T09:13:11.729Z] 04944245beec: Pull complete [2023-02-23T09:13:15.772Z] 699f458cf7ca: Pull complete [2023-02-23T09:13:15.772Z] 765212b225bb: Pull complete [2023-02-23T09:13:16.039Z] f23df028b6ca: Pull complete [2023-02-23T09:13:16.305Z] d65c8cfc05b1: Pull complete [2023-02-23T09:13:28.603Z] 2437ff75d9bd: Pull complete [2023-02-23T09:13:28.603Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-23T09:13:28.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T09:13:28.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:13:28.939Z] prd-ubuntu20.04-docker-arm64-4c-16g-7212 does not seem to be running inside a container [2023-02-23T09:13:29.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-23T09:13:31.605Z] $ docker top 235890d2f9c63466c44d7343bc7445375c2c67721a8f53284692981f2f73279d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:32.519Z] ---> job-cost.sh [2023-02-23T09:13:32.519Z] lf-activate-venv: SKIPPING [2023-02-23T09:13:32.519Z] INFO: No Stack... [2023-02-23T09:13:33.102Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-23T09:13:33.682Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T09:13:34.424Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-23T09:13:34.424Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T09:13:34.525Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] [2023-02-23T09:13:34.530Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] did not exist. Created. [2023-02-23T09:13:34.530Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T09:13:35.281Z] /w/workspace/device-mqtt-go/1@tmp/durable-ea5dd6e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-23T09:13:35.995Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-23T09:13:36.042Z] Warning: overwriting stash ‘stack-cost’ [2023-02-23T09:13:36.087Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T09:13:36.109Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T09:13:36.179Z] $ docker stop --time=1 235890d2f9c63466c44d7343bc7445375c2c67721a8f53284692981f2f73279d [2023-02-23T09:13:37.708Z] $ docker rm -f --volumes 235890d2f9c63466c44d7343bc7445375c2c67721a8f53284692981f2f73279d [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-02-23T09:13:38.637Z] provisioning config files... [2023-02-23T09:13:38.644Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/config7131838814485045548tmp [Pipeline] { [Pipeline] sh [2023-02-23T09:13:38.979Z] + set +x [2023-02-23T09:13:38.979Z] + curl -s https://codecov.io/bash [2023-02-23T09:13:38.979Z] + bash -s -- [2023-02-23T09:13:38.979Z] [2023-02-23T09:13:38.979Z] _____ _ [2023-02-23T09:13:38.979Z] / ____| | | [2023-02-23T09:13:38.979Z] | | ___ __| | ___ ___ _____ __ [2023-02-23T09:13:38.979Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-23T09:13:38.979Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-23T09:13:38.979Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-23T09:13:38.979Z] Bash-1.0.6 [2023-02-23T09:13:38.979Z] [2023-02-23T09:13:38.979Z] [2023-02-23T09:13:38.979Z] ==> git version 2.25.1 found [2023-02-23T09:13:38.979Z] ==> 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-02-23T09:13:38.979Z] Release-Date: 2020-01-08 [2023-02-23T09:13:38.979Z] 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-02-23T09:13:38.979Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-23T09:13:38.979Z] ==> Jenkins CI detected. [2023-02-23T09:13:38.979Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-497 [2023-02-23T09:13:38.979Z] project root: . [2023-02-23T09:13:38.979Z] --> token set from env [2023-02-23T09:13:38.979Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-23T09:13:38.979Z] ==> Running gcov in . (disable via -X gcov) [2023-02-23T09:13:38.979Z] ==> Python coveragepy not found [2023-02-23T09:13:38.979Z] ==> Searching for coverage reports in: [2023-02-23T09:13:38.979Z] + . [2023-02-23T09:13:38.979Z] -> Found 1 reports [2023-02-23T09:13:38.979Z] ==> Detecting git/mercurial file structure [2023-02-23T09:13:38.979Z] ==> Reading reports [2023-02-23T09:13:38.979Z] + ./coverage.out bytes=17887 [2023-02-23T09:13:38.979Z] ==> Appending adjustments [2023-02-23T09:13:38.979Z] https://docs.codecov.io/docs/fixing-reports [2023-02-23T09:13:39.238Z] + Found adjustments [2023-02-23T09:13:39.238Z] ==> Gzipping contents [2023-02-23T09:13:39.238Z] 4.0K /tmp/codecov.boPat5.gz [2023-02-23T09:13:39.238Z] ==> Uploading reports [2023-02-23T09:13:39.238Z] url: https://codecov.io [2023-02-23T09:13:39.238Z] query: branch=PR-497&commit=eae5fedbc740f309db0e66a1c51cba971dd5c693&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=497&job=&cmd_args= [2023-02-23T09:13:39.238Z] -> Pinging Codecov [2023-02-23T09:13:39.238Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-497&commit=eae5fedbc740f309db0e66a1c51cba971dd5c693&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=497&job=&cmd_args= [2023-02-23T09:13:39.496Z] -> Uploading to [2023-02-23T09:13:39.496Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-23/7D719EC7BBE17E464838252E33014C33/eae5fedbc740f309db0e66a1c51cba971dd5c693/2bedb810-fac4-4b54-a176-e0136abd232a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230223T091339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fa8ba306530f7155c14cb86db97e4197d30625112d76a8656d2e650632e0f22 [2023-02-23T09:13:39.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T09:13:39.496Z] Dload Upload Total Spent Left Speed [2023-02-23T09:13:39.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3144 0 0 100 3144 0 10515 --:--:-- --:--:-- --:--:-- 10480 100 3144 0 0 100 3144 0 10410 --:--:-- --:--:-- --:--:-- 10410 [2023-02-23T09:13:39.755Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/eae5fedbc740f309db0e66a1c51cba971dd5c693 [Pipeline] } [2023-02-23T09:13:39.790Z] 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-02-23T09:13:41.603Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives ] [2023-02-23T09:13:41.603Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives [2023-02-23T09:13:41.603Z] total 16 [2023-02-23T09:13:41.603Z] drwxr-xr-x 3 root root 4096 Feb 23 09:06 . [2023-02-23T09:13:41.603Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 09:06 .. [2023-02-23T09:13:41.603Z] drwxr-xr-x 2 root root 4096 Feb 23 09:06 cost [2023-02-23T09:13:41.603Z] -rw-r--r-- 1 root root 86 Feb 23 09:06 cost.csv [2023-02-23T09:13:41.603Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives [2023-02-23T09:13:41.603Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives [2023-02-23T09:13:41.603Z] total 16 [2023-02-23T09:13:41.603Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 09:06 . [2023-02-23T09:13:41.603Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 09:06 .. [2023-02-23T09:13:41.603Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 09:06 cost [2023-02-23T09:13:41.603Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 23 09:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:41.928Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:42.836Z] ---> package-listing.sh [2023-02-23T09:13:42.836Z] ++ facter osfamily [2023-02-23T09:13:42.836Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-23T09:13:43.094Z] + OS_FAMILY=debian [2023-02-23T09:13:43.094Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-497 [2023-02-23T09:13:43.094Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-23T09:13:43.094Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-23T09:13:43.094Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-23T09:13:43.094Z] + PACKAGES=/tmp/packages_start.txt [2023-02-23T09:13:43.094Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-497 ']' [2023-02-23T09:13:43.094Z] + PACKAGES=/tmp/packages_end.txt [2023-02-23T09:13:43.094Z] + case "${OS_FAMILY}" in [2023-02-23T09:13:43.094Z] + dpkg -l [2023-02-23T09:13:43.094Z] + grep '^ii' [2023-02-23T09:13:43.094Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-23T09:13:43.094Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-23T09:13:43.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-23T09:13:43.094Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-497 ']' [2023-02-23T09:13:43.094Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives/ [2023-02-23T09:13:43.094Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-497/archives/ [Pipeline] echo [2023-02-23T09:13:43.125Z] 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-497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-23T09:13:43.416Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T09:13:44.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T09:13:44.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T09:13:44.177Z] prd-ubuntu20.04-docker-8c-8g-7211 does not seem to be running inside a container [2023-02-23T09:13:44.209Z] $ 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-497/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-497 -v /w/workspace/gexfoundry_device-mqtt-go_PR-497:/w/workspace/gexfoundry_device-mqtt-go_PR-497:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-23T09:13:44.427Z] $ docker top 478adbef151a6cba3c1c8f8f96f1696d0e3f92320a4dd7d2df9e78a241fb9512 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T09:13:44.806Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-23T09:13:45.112Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-23T09:13:45.423Z] + ls /var/log/sa-host [2023-02-23T09:13:45.423Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T09:13:45.631Z] provisioning config files... [2023-02-23T09:13:45.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-497@tmp/config2670683495202629065tmp [Pipeline] { [Pipeline] echo [2023-02-23T09:13:45.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:46.014Z] ---> create-netrc.sh [Pipeline] } [2023-02-23T09:13:46.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:46.445Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-23T09:13:46.490Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:46.798Z] ---> sudo-logs.sh [2023-02-23T09:13:46.798Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-23T09:13:46.888Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:47.198Z] ---> job-cost.sh [2023-02-23T09:13:47.198Z] lf-activate-venv: SKIPPING [2023-02-23T09:13:47.198Z] DEBUG: total: 0.2199999988079071 [2023-02-23T09:13:47.198Z] INFO: Retrieving Stack Cost... [2023-02-23T09:13:47.458Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T09:13:47.717Z] INFO: Archiving Costs [Pipeline] echo [2023-02-23T09:13:48.005Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T09:13:48.317Z] ---> logs-deploy.sh [2023-02-23T09:13:48.317Z] lf-activate-venv: SKIPPING [2023-02-23T09:13:48.317Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-497/1 [2023-02-23T09:13:48.317Z] INFO: archiving workspace using pattern(s): [2023-02-23T09:13:49.253Z] Archives upload complete. [2023-02-23T09:13:49.253Z] INFO: archiving logs to Nexus