Pull request #451 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 5c1f2ce46133253723bb2df5ba99f3b69c76a38a+08f894f6759a1d01e47be8be883e82626f2c5ca7 (d111d7ca8e812810e7906082683e759b63626aa2) 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-ssh4024538985203007156.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-ssh265457656073136682.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-451/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-451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15218511651552680658.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-451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17304662852426270381.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-ssh1706434979091236872.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-451/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-451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh930484862269043132.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1900 in /w/workspace/gexfoundry_device-mqtt-go_PR-451 [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-451 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 08f894f6759a1d01e47be8be883e82626f2c5ca7 into PR head commit 5c1f2ce46133253723bb2df5ba99f3b69c76a38a > 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/451/head:refs/remotes/origin/PR-451 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c1f2ce46133253723bb2df5ba99f3b69c76a38a # timeout=10 Merge succeeded, producing 5c1f2ce46133253723bb2df5ba99f3b69c76a38a Checking out Revision 5c1f2ce46133253723bb2df5ba99f3b69c76a38a (PR-451) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 08f894f6759a1d01e47be8be883e82626f2c5ca7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c1f2ce46133253723bb2df5ba99f3b69c76a38a # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T18:02:27.418Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T18:02:27.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T18:02:27.699Z] ========================================================= [2023-01-11T18:02:27.699Z] EdgeX Global Pipelines Version Info [2023-01-11T18:02:27.699Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:02:28.440Z] ------------------- [2023-01-11T18:02:28.440Z] stable info: [2023-01-11T18:02:28.440Z] ------------------- [2023-01-11T18:02:28.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T18:02:28.440Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:02:28.440Z] Message: update stable to v1.0.244 [2023-01-11T18:02:29.008Z] ------------------- [2023-01-11T18:02:29.008Z] experimental info: [2023-01-11T18:02:29.008Z] ------------------- [2023-01-11T18:02:29.008Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T18:02:29.008Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:02:29.008Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T18:02:29.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-11T18:02:29.434Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-11T18:02:29.479Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T18:02:29.517Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T18:02:29.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T18:02:29.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T18:02:29.631Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T18:02:29.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T18:02:29.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T18:02:29.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T18:02:29.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T18:02:29.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-11T18:02:29.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T18:02:29.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T18:02:30.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T18:02:30.046Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T18:02:30.088Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T18:02:30.128Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T18:02:30.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T18:02:30.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T18:02:30.261Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T18:02:30.304Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T18:02:30.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T18:02:30.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T18:02:30.420Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T18:02:30.460Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T18:02:30.504Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T18:02:30.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-451 [Pipeline] echo [2023-01-11T18:02:30.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-451 [Pipeline] echo [2023-01-11T18:02:30.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-451 [Pipeline] echo [2023-01-11T18:02:30.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c1f2ce46133253723bb2df5ba99f3b69c76a38a [Pipeline] echo [2023-01-11T18:02:30.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c1f2ce [Pipeline] echo [2023-01-11T18:02:30.757Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:02:30.871Z] provisioning config files... [2023-01-11T18:02:30.884Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/config7530401416905350581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:02:31.229Z] ---> docker-login.sh [2023-01-11T18:02:31.229Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:02:31.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:31.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:31.490Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:31.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:31.490Z] [2023-01-11T18:02:31.490Z] Login Succeeded [2023-01-11T18:02:31.490Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:02:31.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:31.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:31.751Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:31.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:31.752Z] [2023-01-11T18:02:31.752Z] Login Succeeded [2023-01-11T18:02:31.752Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:02:31.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:31.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:31.752Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:31.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:31.752Z] [2023-01-11T18:02:31.752Z] Login Succeeded [2023-01-11T18:02:31.752Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:02:32.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:32.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:32.011Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:32.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:32.011Z] [2023-01-11T18:02:32.011Z] Login Succeeded [2023-01-11T18:02:32.011Z] docker.io [2023-01-11T18:02:32.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:32.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:32.272Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:32.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:32.272Z] [2023-01-11T18:02:32.272Z] Login Succeeded [2023-01-11T18:02:32.272Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:02:32.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T18:02:32.907Z] + git rev-list -1 --merges 5c1f2ce46133253723bb2df5ba99f3b69c76a38a~1..5c1f2ce46133253723bb2df5ba99f3b69c76a38a [Pipeline] echo [2023-01-11T18:02:32.969Z] -----------> git rev-list -1 --merges 5c1f2ce46133253723bb2df5ba99f3b69c76a38a~1..5c1f2ce46133253723bb2df5ba99f3b69c76a38a 5c1f2ce46133253723bb2df5ba99f3b69c76a38a [false] [Pipeline] sh [2023-01-11T18:02:33.273Z] + git log --format=format:%s -1 5c1f2ce46133253723bb2df5ba99f3b69c76a38a [Pipeline] echo [2023-01-11T18:02:33.304Z] ========================================================= [2023-01-11T18:02:33.304Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T18:02:33.304Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:02:33.714Z] + git log --format=format:%s -1 5c1f2ce46133253723bb2df5ba99f3b69c76a38a [Pipeline] echo [2023-01-11T18:02:33.742Z] [semverPrep] GIT_COMMIT: 5c1f2ce46133253723bb2df5ba99f3b69c76a38a, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T18:02:33.770Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T18:02:34.225Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T18:02:34.225Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T18:02:34.225Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T18:02:34.225Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T18:02:34.225Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T18:02:34.225Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T18:02:34.225Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:02:34.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:02:34.726Z] [2023-01-11T18:02:34.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:02:35.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:02:35.107Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T18:02:35.107Z] b85a868b505f: Pulling fs layer [2023-01-11T18:02:35.107Z] e2be974225ed: Pulling fs layer [2023-01-11T18:02:35.107Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T18:02:35.107Z] 988bab9f4d93: Pulling fs layer [2023-01-11T18:02:35.107Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T18:02:35.107Z] eaf3925da568: Pulling fs layer [2023-01-11T18:02:35.107Z] bab4dde63d76: Pulling fs layer [2023-01-11T18:02:35.107Z] bde34c3a00c8: Pulling fs layer [2023-01-11T18:02:35.107Z] b352a97aabf1: Pulling fs layer [2023-01-11T18:02:35.107Z] 4872d77fe225: Pulling fs layer [2023-01-11T18:02:35.107Z] 5851b861e8e6: Pulling fs layer [2023-01-11T18:02:35.107Z] b352a97aabf1: Waiting [2023-01-11T18:02:35.107Z] 4872d77fe225: Waiting [2023-01-11T18:02:35.107Z] 5851b861e8e6: Waiting [2023-01-11T18:02:35.107Z] 988bab9f4d93: Waiting [2023-01-11T18:02:35.107Z] bde34c3a00c8: Waiting [2023-01-11T18:02:35.107Z] bab4dde63d76: Waiting [2023-01-11T18:02:35.107Z] 1469e6f7b9e6: Waiting [2023-01-11T18:02:35.107Z] eaf3925da568: Waiting [2023-01-11T18:02:35.107Z] e2be974225ed: Verifying Checksum [2023-01-11T18:02:35.107Z] e2be974225ed: Download complete [2023-01-11T18:02:35.107Z] 988bab9f4d93: Verifying Checksum [2023-01-11T18:02:35.107Z] 988bab9f4d93: Download complete [2023-01-11T18:02:35.368Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T18:02:35.368Z] 339a4e72a1f5: Download complete [2023-01-11T18:02:35.368Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T18:02:35.368Z] 1469e6f7b9e6: Download complete [2023-01-11T18:02:35.368Z] eaf3925da568: Verifying Checksum [2023-01-11T18:02:35.368Z] eaf3925da568: Download complete [2023-01-11T18:02:35.368Z] bde34c3a00c8: Download complete [2023-01-11T18:02:35.368Z] b352a97aabf1: Download complete [2023-01-11T18:02:35.368Z] 4872d77fe225: Verifying Checksum [2023-01-11T18:02:35.368Z] 4872d77fe225: Download complete [2023-01-11T18:02:35.368Z] 5851b861e8e6: Verifying Checksum [2023-01-11T18:02:35.368Z] 5851b861e8e6: Download complete [2023-01-11T18:02:35.368Z] b85a868b505f: Verifying Checksum [2023-01-11T18:02:35.368Z] b85a868b505f: Download complete [2023-01-11T18:02:35.941Z] bab4dde63d76: Verifying Checksum [2023-01-11T18:02:35.941Z] bab4dde63d76: Download complete [2023-01-11T18:02:36.880Z] b85a868b505f: Pull complete [2023-01-11T18:02:36.880Z] e2be974225ed: Pull complete [2023-01-11T18:02:37.448Z] 339a4e72a1f5: Pull complete [2023-01-11T18:02:37.448Z] 988bab9f4d93: Pull complete [2023-01-11T18:02:37.707Z] 1469e6f7b9e6: Pull complete [2023-01-11T18:02:37.707Z] eaf3925da568: Pull complete [2023-01-11T18:02:39.634Z] bab4dde63d76: Pull complete [2023-01-11T18:02:39.634Z] bde34c3a00c8: Pull complete [2023-01-11T18:02:39.634Z] b352a97aabf1: Pull complete [2023-01-11T18:02:39.893Z] 4872d77fe225: Pull complete [2023-01-11T18:02:39.893Z] 5851b861e8e6: Pull complete [2023-01-11T18:02:39.893Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T18:02:39.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T18:02:39.893Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:02:40.194Z] prd-ubuntu20.04-docker-8c-8g-1900 does not seem to be running inside a container [2023-01-11T18:02:40.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-451 -v /w/workspace/gexfoundry_device-mqtt-go_PR-451:/w/workspace/gexfoundry_device-mqtt-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T18:02:42.689Z] $ docker top e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 -eo pid,comm [2023-01-11T18:02:42.754Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T18:02:42.754Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T18:02:42.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:02:42.879Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:02:42.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:02:42.992Z] $ docker exec e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 ssh-agent [2023-01-11T18:02:43.100Z] SSH_AUTH_SOCK=/tmp/ssh-SBN5CIvnBZTy/agent.33 [2023-01-11T18:02:43.100Z] SSH_AGENT_PID=39 [2023-01-11T18:02:43.108Z] Running ssh-add (command line suppressed) [2023-01-11T18:02:43.219Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/private_key_10458931178461849718.key (/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/private_key_10458931178461849718.key) [2023-01-11T18:02:43.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:02:43.557Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T18:02:43.583Z] $ docker exec --env ******** --env ******** e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 ssh-agent -k [2023-01-11T18:02:43.688Z] unset SSH_AUTH_SOCK; [2023-01-11T18:02:43.688Z] unset SSH_AGENT_PID; [2023-01-11T18:02:43.689Z] echo Agent pid 39 killed; [2023-01-11T18:02:43.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T18:02:43.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T18:02:43.787Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T18:02:43.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T18:02:43.929Z] $ docker exec e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 ssh-agent [2023-01-11T18:02:44.041Z] SSH_AUTH_SOCK=/tmp/ssh-hgl8No9Rn6Sx/agent.71 [2023-01-11T18:02:44.041Z] SSH_AGENT_PID=77 [2023-01-11T18:02:44.046Z] Running ssh-add (command line suppressed) [2023-01-11T18:02:44.161Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/private_key_2283825859636462716.key (/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/private_key_2283825859636462716.key) [2023-01-11T18:02:44.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T18:02:44.501Z] + git semver init [2023-01-11T18:02:44.761Z] 2023-01-11 18:02:44,705 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T18:02:44.761Z] 2023-01-11 18:02:44,706 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver [2023-01-11T18:02:44.761Z] 2023-01-11 18:02:44,706 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver [2023-01-11T18:02:44.762Z] 2023-01-11 18:02:44,706 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-451, universal_newlines=False, shell=None, istream=None) [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,509 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-451/.git/info/exclude [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,509 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver/PR-451 with force:False [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,510 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver/PR-451 [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,514 [execute] INFO git cat-file --batch-check [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,520 [execute] INFO git cat-file --batch [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T18:02:45.702Z] 2023-01-11 18:02:45,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-451/.semver/PR-451 [2023-01-11T18:02:45.702Z] 0.0.0 [Pipeline] } [2023-01-11T18:02:45.730Z] $ docker exec --env ******** --env ******** e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 ssh-agent -k [2023-01-11T18:02:45.835Z] unset SSH_AUTH_SOCK; [2023-01-11T18:02:45.835Z] unset SSH_AGENT_PID; [2023-01-11T18:02:45.836Z] echo Agent pid 77 killed; [2023-01-11T18:02:45.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T18:02:46.248Z] + git semver [Pipeline] } [2023-01-11T18:02:46.534Z] $ docker stop --time=1 e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 [2023-01-11T18:02:47.850Z] $ docker rm -f --volumes e6891ca5c821c924478afb4f2831754071d715e5379fb9ae4fa4952963920256 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:02:48.248Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T18:02:48.496Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T18:02:48.517Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:02:49.044Z] provisioning config files... [2023-01-11T18:02:49.053Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/config10667379928351333244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:02:49.388Z] ---> docker-login.sh [2023-01-11T18:02:49.388Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:02:49.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:49.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:49.388Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:49.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:49.388Z] [2023-01-11T18:02:49.388Z] Login Succeeded [2023-01-11T18:02:49.388Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:02:49.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:49.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:49.388Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:49.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:49.388Z] [2023-01-11T18:02:49.388Z] Login Succeeded [2023-01-11T18:02:49.388Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:02:49.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:49.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:49.646Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:49.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:49.646Z] [2023-01-11T18:02:49.646Z] Login Succeeded [2023-01-11T18:02:49.646Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:02:49.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:49.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:49.646Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:49.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:49.646Z] [2023-01-11T18:02:49.646Z] Login Succeeded [2023-01-11T18:02:49.646Z] docker.io [2023-01-11T18:02:49.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:02:49.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:02:49.905Z] Configure a credential helper to remove this warning. See [2023-01-11T18:02:49.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:02:49.905Z] [2023-01-11T18:02:49.905Z] Login Succeeded [2023-01-11T18:02:49.905Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:02:49.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T18:02:50.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:02:50.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:02:50.164Z] ========================================================= [2023-01-11T18:02:50.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T18:02:50.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:02:50.599Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T18:02:50.599Z] Sending build context to Docker daemon 6.388MB [2023-01-11T18:02:50.599Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:02:50.599Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T18:02:50.599Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T18:02:50.599Z] 213ec9aee27d: Pulling fs layer [2023-01-11T18:02:50.599Z] 4583459ba037: Pulling fs layer [2023-01-11T18:02:50.599Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T18:02:50.599Z] 53926ce57604: Pulling fs layer [2023-01-11T18:02:50.599Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T18:02:50.599Z] 22ff95d597cd: Pulling fs layer [2023-01-11T18:02:50.599Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T18:02:50.599Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T18:02:50.599Z] a7acece74701: Pulling fs layer [2023-01-11T18:02:50.599Z] 53926ce57604: Waiting [2023-01-11T18:02:50.599Z] 21b2b0c7a3f4: Waiting [2023-01-11T18:02:50.599Z] 22ff95d597cd: Waiting [2023-01-11T18:02:50.599Z] 12d6caf4c0d1: Waiting [2023-01-11T18:02:50.599Z] 96b7cbca73a9: Waiting [2023-01-11T18:02:50.599Z] a7acece74701: Waiting [2023-01-11T18:02:50.862Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T18:02:50.862Z] 93c1e223e6f2: Download complete [2023-01-11T18:02:50.862Z] 4583459ba037: Verifying Checksum [2023-01-11T18:02:50.862Z] 4583459ba037: Download complete [2023-01-11T18:02:50.862Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T18:02:50.862Z] 21b2b0c7a3f4: Download complete [2023-01-11T18:02:50.862Z] 22ff95d597cd: Verifying Checksum [2023-01-11T18:02:50.862Z] 22ff95d597cd: Download complete [2023-01-11T18:02:50.862Z] 213ec9aee27d: Verifying Checksum [2023-01-11T18:02:50.862Z] 213ec9aee27d: Download complete [2023-01-11T18:02:50.862Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T18:02:50.862Z] 12d6caf4c0d1: Download complete [2023-01-11T18:02:50.862Z] 213ec9aee27d: Pull complete [2023-01-11T18:02:51.137Z] 4583459ba037: Pull complete [2023-01-11T18:02:51.137Z] 93c1e223e6f2: Pull complete [2023-01-11T18:02:52.149Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T18:02:52.149Z] 96b7cbca73a9: Download complete [2023-01-11T18:02:52.149Z] 53926ce57604: Verifying Checksum [2023-01-11T18:02:52.149Z] 53926ce57604: Download complete [2023-01-11T18:02:52.149Z] a7acece74701: Verifying Checksum [2023-01-11T18:02:56.329Z] 53926ce57604: Pull complete [2023-01-11T18:02:56.329Z] 21b2b0c7a3f4: Pull complete [2023-01-11T18:02:56.329Z] 22ff95d597cd: Pull complete [2023-01-11T18:02:56.329Z] 12d6caf4c0d1: Pull complete [2023-01-11T18:02:58.229Z] 96b7cbca73a9: Pull complete [2023-01-11T18:02:59.164Z] a7acece74701: Pull complete [2023-01-11T18:02:59.164Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T18:02:59.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T18:02:59.164Z] ---> db6d94c90886 [2023-01-11T18:02:59.164Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:03:03.886Z] Still waiting to schedule task [2023-01-11T18:03:03.886Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1897’ is offline [2023-01-11T18:03:04.531Z] ---> Running in 7f498da1448e [2023-01-11T18:03:04.531Z] Removing intermediate container 7f498da1448e [2023-01-11T18:03:04.531Z] ---> 5568942b7f99 [2023-01-11T18:03:04.531Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:03:04.531Z] ---> Running in 2f388dd0bc3c [2023-01-11T18:03:04.531Z] Removing intermediate container 2f388dd0bc3c [2023-01-11T18:03:04.531Z] ---> a084e5b8db45 [2023-01-11T18:03:04.531Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T18:03:04.793Z] ---> Running in 4cea3b228eff [2023-01-11T18:03:04.793Z] Removing intermediate container 4cea3b228eff [2023-01-11T18:03:04.793Z] ---> 3f663f04e1a9 [2023-01-11T18:03:04.793Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:03:04.793Z] ---> Running in 865dabe86e1b [2023-01-11T18:03:04.793Z] Removing intermediate container 865dabe86e1b [2023-01-11T18:03:04.793Z] ---> 2afbabb78234 [2023-01-11T18:03:04.793Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:03:05.051Z] ---> Running in 70a0def25f1e [2023-01-11T18:03:05.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:03:05.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:03:05.569Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T18:03:05.569Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T18:03:05.569Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T18:03:05.828Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T18:03:05.828Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:03:05.828Z] OK: 216 MiB in 55 packages [2023-01-11T18:03:06.396Z] Removing intermediate container 70a0def25f1e [2023-01-11T18:03:06.396Z] ---> 4aac06bd137b [2023-01-11T18:03:06.396Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T18:03:06.396Z] ---> Running in 8208e4890764 [2023-01-11T18:03:06.396Z] Removing intermediate container 8208e4890764 [2023-01-11T18:03:06.396Z] ---> 38f6802a4a58 [2023-01-11T18:03:06.396Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T18:03:06.396Z] ---> d00ae068603a [2023-01-11T18:03:06.396Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:03:06.396Z] ---> Running in 5b6ffc4e7e3b [2023-01-11T18:03:32.957Z] Removing intermediate container 5b6ffc4e7e3b [2023-01-11T18:03:32.957Z] ---> adf73daa0621 [2023-01-11T18:03:32.957Z] Step 11/12 : COPY . . [2023-01-11T18:03:33.525Z] ---> 28e655897fbd [2023-01-11T18:03:33.525Z] Step 12/12 : RUN $MAKE [2023-01-11T18:03:33.525Z] ---> Running in 74f33131a6d6 [2023-01-11T18:03:33.785Z] noop [2023-01-11T18:03:34.046Z] Removing intermediate container 74f33131a6d6 [2023-01-11T18:03:34.046Z] ---> 6699c9e85ab2 [2023-01-11T18:03:34.046Z] Successfully built 6699c9e85ab2 [2023-01-11T18:03:34.046Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:03:34.486Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T18:03:34.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:03:34.642Z] prd-ubuntu20.04-docker-8c-8g-1900 does not seem to be running inside a container [2023-01-11T18:03:34.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-451 -v /w/workspace/gexfoundry_device-mqtt-go_PR-451:/w/workspace/gexfoundry_device-mqtt-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T18:03:35.528Z] $ docker top 35818fca174b291bd74f09a2434813b22da2a73e0f322b16507e12efee19b234 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:03:35.932Z] + go version [2023-01-11T18:03:35.932Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T18:03:35.965Z] $ docker stop --time=1 35818fca174b291bd74f09a2434813b22da2a73e0f322b16507e12efee19b234 [2023-01-11T18:03:37.485Z] $ docker rm -f --volumes 35818fca174b291bd74f09a2434813b22da2a73e0f322b16507e12efee19b234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:03:38.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T18:03:38.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:03:38.334Z] prd-ubuntu20.04-docker-8c-8g-1900 does not seem to be running inside a container [2023-01-11T18:03:38.365Z] $ 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-451 -v /w/workspace/gexfoundry_device-mqtt-go_PR-451:/w/workspace/gexfoundry_device-mqtt-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T18:03:38.730Z] $ docker top dd1b7edfb4003ca12f941416c37134a7a50776447647718cb17a2082a5002d1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:03:39.136Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-451 [Pipeline] fileExists [Pipeline] sh [2023-01-11T18:03:39.492Z] + make test [2023-01-11T18:03:39.492Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T18:03:39.751Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T18:03:49.749Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T18:03:50.315Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2023-01-11T18:03:50.315Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T18:04:01.500Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T18:04:01.500Z] go vet ./... [2023-01-11T18:04:01.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T18:04:01.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T18:04:01.500Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T18:04:01.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T18:04:02.014Z] $ docker stop --time=1 dd1b7edfb4003ca12f941416c37134a7a50776447647718cb17a2082a5002d1c [2023-01-11T18:04:04.525Z] $ docker rm -f --volumes dd1b7edfb4003ca12f941416c37134a7a50776447647718cb17a2082a5002d1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:04:05.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T18:04:05.746Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T18:04:06.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T18:04:06.823Z] + ls -al . [2023-01-11T18:04:06.823Z] total 192 [2023-01-11T18:04:06.823Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:03 . [2023-01-11T18:04:06.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:02 .. [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 18:02 .dockerignore [2023-01-11T18:04:06.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:03 .git [2023-01-11T18:04:06.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:02 .github [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 18:02 .gitignore [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:02 .golangci.yml [2023-01-11T18:04:06.823Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:02 .semver [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 18:02 Attribution.txt [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 18:02 CHANGELOG.md [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 18:02 Dockerfile [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:02 GOVERNANCE.md [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 18:02 Jenkinsfile [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:02 LICENSE [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 18:02 Makefile [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 18:02 OWNERS.md [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 18:02 README.md [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:02 VERSION [2023-01-11T18:04:06.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:02 bin [2023-01-11T18:04:06.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:02 cmd [2023-01-11T18:04:06.823Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 18:03 coverage.out [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 18:02 go.mod [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 18:02 go.sum [2023-01-11T18:04:06.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:02 internal [2023-01-11T18:04:06.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:02 mock [2023-01-11T18:04:06.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:02 snap [2023-01-11T18:04:06.823Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:04:07.239Z] + 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=5c1f2ce46133253723bb2df5ba99f3b69c76a38a --label arch=amd64 --label version=0.0.0 . [2023-01-11T18:04:07.239Z] Sending build context to Docker daemon 6.407MB [2023-01-11T18:04:07.239Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:04:07.239Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T18:04:07.239Z] ---> 6699c9e85ab2 [2023-01-11T18:04:07.239Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:04:07.498Z] ---> Running in c1faff830adc [2023-01-11T18:04:07.498Z] Removing intermediate container c1faff830adc [2023-01-11T18:04:07.498Z] ---> f46522f14072 [2023-01-11T18:04:07.498Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:04:07.498Z] ---> Running in ccca53c1583b [2023-01-11T18:04:07.498Z] Removing intermediate container ccca53c1583b [2023-01-11T18:04:07.498Z] ---> 1556aab5721b [2023-01-11T18:04:07.498Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T18:04:07.498Z] ---> Running in 6f7ca9415b1e [2023-01-11T18:04:07.755Z] Removing intermediate container 6f7ca9415b1e [2023-01-11T18:04:07.755Z] ---> 7dee858d3260 [2023-01-11T18:04:07.755Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:04:07.755Z] ---> Running in 5ab20854fb03 [2023-01-11T18:04:07.755Z] Removing intermediate container 5ab20854fb03 [2023-01-11T18:04:07.755Z] ---> 4a2babadaabc [2023-01-11T18:04:07.755Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:04:07.755Z] ---> Running in a7278bf8ca0f [2023-01-11T18:04:08.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:04:08.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:04:08.274Z] OK: 216 MiB in 55 packages [2023-01-11T18:04:08.533Z] Removing intermediate container a7278bf8ca0f [2023-01-11T18:04:08.533Z] ---> 726acea37b98 [2023-01-11T18:04:08.533Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T18:04:08.792Z] ---> Running in 7c05b451685f [2023-01-11T18:04:08.792Z] Removing intermediate container 7c05b451685f [2023-01-11T18:04:08.792Z] ---> f8859963b66c [2023-01-11T18:04:08.792Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T18:04:08.792Z] ---> 802aee9a1290 [2023-01-11T18:04:08.792Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:04:08.792Z] ---> Running in df5319abead3 [2023-01-11T18:04:09.770Z] Removing intermediate container df5319abead3 [2023-01-11T18:04:09.770Z] ---> 026a673d8516 [2023-01-11T18:04:09.770Z] Step 11/24 : COPY . . [2023-01-11T18:04:10.033Z] ---> 6c0f209b303d [2023-01-11T18:04:10.033Z] Step 12/24 : RUN $MAKE [2023-01-11T18:04:10.033Z] ---> Running in a964aa2d56a5 [2023-01-11T18:04:10.292Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-11T18:04:32.216Z] Removing intermediate container a964aa2d56a5 [2023-01-11T18:04:32.216Z] ---> 48b6a9c07c98 [2023-01-11T18:04:32.216Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T18:04:32.216Z] 3.16: Pulling from library/alpine [2023-01-11T18:04:32.216Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T18:04:32.216Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T18:04:32.216Z] ca7dd9ec2225: Download complete [2023-01-11T18:04:32.216Z] ca7dd9ec2225: Pull complete [2023-01-11T18:04:32.216Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T18:04:32.216Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T18:04:32.216Z] ---> bfe296a52501 [2023-01-11T18:04:32.216Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T18:04:32.216Z] ---> Running in 9e6e6767023d [2023-01-11T18:04:32.216Z] Removing intermediate container 9e6e6767023d [2023-01-11T18:04:32.216Z] ---> 9ce48e661861 [2023-01-11T18:04:32.216Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T18:04:32.216Z] ---> Running in c8d29f9b03ee [2023-01-11T18:04:32.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T18:04:32.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T18:04:32.216Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T18:04:32.216Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:04:32.216Z] OK: 6 MiB in 15 packages [2023-01-11T18:04:32.216Z] Removing intermediate container c8d29f9b03ee [2023-01-11T18:04:32.216Z] ---> 34df832cd8e4 [2023-01-11T18:04:32.216Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T18:04:32.221Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1901 in /w/workspace/gexfoundry_device-mqtt-go_PR-451 [Pipeline] { [Pipeline] ws [2023-01-11T18:04:32.293Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-11T18:04:32.371Z] Selected Git installation does not exist. Using Default [2023-01-11T18:04:32.371Z] The recommended git tool is: NONE [2023-01-11T18:04:32.782Z] ---> b6947606c407 [2023-01-11T18:04:32.782Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T18:04:33.040Z] ---> 40cd0b805e08 [2023-01-11T18:04:33.040Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T18:04:33.040Z] ---> 3df7ae36ce11 [2023-01-11T18:04:33.040Z] Step 19/24 : EXPOSE 59982 [2023-01-11T18:04:33.040Z] ---> Running in 2600f270e80d [2023-01-11T18:04:33.040Z] Removing intermediate container 2600f270e80d [2023-01-11T18:04:33.040Z] ---> 8eb10ecafaf2 [2023-01-11T18:04:33.040Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T18:04:33.298Z] ---> Running in 23ff70206345 [2023-01-11T18:04:33.298Z] Removing intermediate container 23ff70206345 [2023-01-11T18:04:33.298Z] ---> 9555721aaab9 [2023-01-11T18:04:33.298Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T18:04:33.298Z] ---> Running in bcacdba7d7bb [2023-01-11T18:04:33.298Z] Removing intermediate container bcacdba7d7bb [2023-01-11T18:04:33.299Z] ---> abed910a280d [2023-01-11T18:04:33.299Z] Step 22/24 : LABEL arch=amd64 [2023-01-11T18:04:33.299Z] ---> Running in e7106baa360e [2023-01-11T18:04:33.299Z] Removing intermediate container e7106baa360e [2023-01-11T18:04:33.299Z] ---> 82a2189d1ca5 [2023-01-11T18:04:33.299Z] Step 23/24 : LABEL git_sha=5c1f2ce46133253723bb2df5ba99f3b69c76a38a [2023-01-11T18:04:33.555Z] ---> Running in f85df17ad467 [2023-01-11T18:04:33.555Z] Removing intermediate container f85df17ad467 [2023-01-11T18:04:33.555Z] ---> 353ee5defcaf [2023-01-11T18:04:33.555Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T18:04:33.555Z] ---> Running in d23ad67f9ea5 [2023-01-11T18:04:33.555Z] Removing intermediate container d23ad67f9ea5 [2023-01-11T18:04:33.555Z] ---> 2ca573ed7fd6 [2023-01-11T18:04:33.555Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:04:33.555Z] Successfully built 2ca573ed7fd6 [2023-01-11T18:04:33.555Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:04:34.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:04:34.381Z] [2023-01-11T18:04:34.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:04:34.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:04:34.751Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T18:04:34.751Z] 5eb5b503b376: Pulling fs layer [2023-01-11T18:04:34.751Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T18:04:34.751Z] ec43610c2a17: Pulling fs layer [2023-01-11T18:04:34.751Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T18:04:34.751Z] 33b1e0a273af: Pulling fs layer [2023-01-11T18:04:34.751Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T18:04:34.751Z] 2f39f015ded8: Pulling fs layer [2023-01-11T18:04:34.751Z] 3a2ae6a8a46f: Waiting [2023-01-11T18:04:34.751Z] 33b1e0a273af: Waiting [2023-01-11T18:04:34.751Z] 5d3b04190fa2: Waiting [2023-01-11T18:04:34.751Z] 2f39f015ded8: Waiting [2023-01-11T18:04:34.751Z] 5c69ac0246d0: Download complete [2023-01-11T18:04:34.751Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T18:04:34.751Z] 3a2ae6a8a46f: Download complete [2023-01-11T18:04:34.751Z] 33b1e0a273af: Verifying Checksum [2023-01-11T18:04:34.751Z] 33b1e0a273af: Download complete [2023-01-11T18:04:34.751Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T18:04:34.751Z] 5d3b04190fa2: Download complete [2023-01-11T18:04:35.012Z] ec43610c2a17: Verifying Checksum [2023-01-11T18:04:35.012Z] ec43610c2a17: Download complete [2023-01-11T18:04:35.012Z] 5eb5b503b376: Verifying Checksum [2023-01-11T18:04:35.012Z] 5eb5b503b376: Download complete [2023-01-11T18:04:35.580Z] 2f39f015ded8: Verifying Checksum [2023-01-11T18:04:36.145Z] 5eb5b503b376: Pull complete [2023-01-11T18:04:36.145Z] 5c69ac0246d0: Pull complete [2023-01-11T18:04:36.713Z] ec43610c2a17: Pull complete [2023-01-11T18:04:36.713Z] 3a2ae6a8a46f: Pull complete [2023-01-11T18:04:36.971Z] 33b1e0a273af: Pull complete [2023-01-11T18:04:36.971Z] 5d3b04190fa2: Pull complete [2023-01-11T18:04:37.150Z] using credential edgex-jenkins-ssh [2023-01-11T18:04:37.168Z] Cloning the remote Git repository [2023-01-11T18:04:37.209Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T18:04:37.276Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-11T18:04:37.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T18:04:37.406Z] > git --version # timeout=10 [2023-01-11T18:04:37.433Z] > git --version # 'git version 2.25.1' [2023-01-11T18:04:37.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:04:37.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T18:04:38.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T18:04:38.608Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T18:04:39.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T18:04:39.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T18:04:39.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:04:39.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/451/head:refs/remotes/origin/PR-451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T18:04:40.026Z] Merging remotes/origin/main commit 08f894f6759a1d01e47be8be883e82626f2c5ca7 into PR head commit 5c1f2ce46133253723bb2df5ba99f3b69c76a38a [2023-01-11T18:04:40.207Z] Merge succeeded, producing 5c1f2ce46133253723bb2df5ba99f3b69c76a38a [2023-01-11T18:04:40.208Z] Checking out Revision 5c1f2ce46133253723bb2df5ba99f3b69c76a38a (PR-451) [2023-01-11T18:04:41.158Z] 2f39f015ded8: Pull complete [2023-01-11T18:04:41.158Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T18:04:41.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:04:41.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:04:40.042Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T18:04:40.059Z] > git checkout -f 5c1f2ce46133253723bb2df5ba99f3b69c76a38a # timeout=10 [2023-01-11T18:04:40.130Z] > git remote # timeout=10 [2023-01-11T18:04:40.144Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T18:04:40.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T18:04:40.173Z] > git merge 08f894f6759a1d01e47be8be883e82626f2c5ca7 # timeout=10 [2023-01-11T18:04:40.194Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T18:04:40.213Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T18:04:40.222Z] > git checkout -f 5c1f2ce46133253723bb2df5ba99f3b69c76a38a # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:04:41.377Z] prd-ubuntu20.04-docker-8c-8g-1900 does not seem to be running inside a container [2023-01-11T18:04:41.409Z] $ 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-451 -v /w/workspace/gexfoundry_device-mqtt-go_PR-451:/w/workspace/gexfoundry_device-mqtt-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T18:04:43.637Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [2023-01-11T18:04:43.685Z] > git --version # timeout=10 [2023-01-11T18:04:43.698Z] > git --version # 'git version 2.25.1' [2023-01-11T18:04:43.715Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T18:04:44.012Z] [2023-01-11T18:04:44.012Z] GitHub has been notified of this commit’s build result [2023-01-11T18:04:44.012Z] [2023-01-11T18:04:44.682Z] $ docker top a441154ab2f2a16957869ef49b79f6d3fa50239d54150825310303654a193e6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:04:45.129Z] ---> job-cost.sh [2023-01-11T18:04:45.129Z] lf-activate-venv: SKIPPING [2023-01-11T18:04:45.129Z] INFO: No Stack... [2023-01-11T18:04:45.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:04:45.556Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T18:04:45.556Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:04:45.556Z] Dload Upload Total Spent Left Speed [2023-01-11T18:04:45.556Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76813 0 --:--:-- --:--:-- --:--:-- 77278 [2023-01-11T18:04:45.956Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-01-11T18:04:46.272Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T18:04:46.354Z] + + cut -d, -f6cat [2023-01-11T18:04:46.354Z] /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives/cost.csv [Pipeline] lock [2023-01-11T18:04:46.433Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] [2023-01-11T18:04:46.438Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] did not exist. Created. [2023-01-11T18:04:46.438Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:04:46.621Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T18:04:46.621Z] + sudo tee /etc/docker/daemon.new [2023-01-11T18:04:46.621Z] { [2023-01-11T18:04:46.621Z] "registry-mirrors": [ [2023-01-11T18:04:46.621Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T18:04:46.621Z] ], [2023-01-11T18:04:46.621Z] "bip": "10.250.0.254/24", [2023-01-11T18:04:46.621Z] "hosts": [ [2023-01-11T18:04:46.621Z] "tcp://0.0.0.0:5555", [2023-01-11T18:04:46.621Z] "unix:///var/run/docker.sock" [2023-01-11T18:04:46.621Z] ], [2023-01-11T18:04:46.621Z] "mtu": 1458, [2023-01-11T18:04:46.621Z] "selinux-enabled": true, [2023-01-11T18:04:46.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T18:04:46.621Z] } [Pipeline] sh [2023-01-11T18:04:46.848Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T18:04:46.898Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:04:46.926Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] [2023-01-11T18:04:46.953Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2023-01-11T18:04:47.008Z] $ docker stop --time=1 a441154ab2f2a16957869ef49b79f6d3fa50239d54150825310303654a193e6f [2023-01-11T18:04:48.158Z] $ docker rm -f --volumes a441154ab2f2a16957869ef49b79f6d3fa50239d54150825310303654a193e6f [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-01-11T18:04:48.534Z] + sudo service docker restart [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:05:06.837Z] provisioning config files... [2023-01-11T18:05:06.861Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3206234511376040942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:05:07.239Z] ---> docker-login.sh [2023-01-11T18:05:07.239Z] nexus3.edgexfoundry.org:10001 [2023-01-11T18:05:07.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:05:07.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:05:07.779Z] Configure a credential helper to remove this warning. See [2023-01-11T18:05:07.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:05:07.779Z] [2023-01-11T18:05:07.779Z] Login Succeeded [2023-01-11T18:05:07.779Z] nexus3.edgexfoundry.org:10002 [2023-01-11T18:05:08.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:05:08.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:05:08.046Z] Configure a credential helper to remove this warning. See [2023-01-11T18:05:08.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:05:08.046Z] [2023-01-11T18:05:08.046Z] Login Succeeded [2023-01-11T18:05:08.320Z] nexus3.edgexfoundry.org:10003 [2023-01-11T18:05:08.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:05:08.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:05:08.591Z] Configure a credential helper to remove this warning. See [2023-01-11T18:05:08.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:05:08.591Z] [2023-01-11T18:05:08.591Z] Login Succeeded [2023-01-11T18:05:08.591Z] nexus3.edgexfoundry.org:10004 [2023-01-11T18:05:08.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:05:08.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:05:08.868Z] Configure a credential helper to remove this warning. See [2023-01-11T18:05:08.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:05:08.868Z] [2023-01-11T18:05:08.868Z] Login Succeeded [2023-01-11T18:05:08.868Z] docker.io [2023-01-11T18:05:09.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T18:05:09.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T18:05:09.411Z] Configure a credential helper to remove this warning. See [2023-01-11T18:05:09.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T18:05:09.411Z] [2023-01-11T18:05:09.411Z] Login Succeeded [2023-01-11T18:05:09.411Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T18:05:09.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T18:05:09.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:05:09.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T18:05:09.837Z] ========================================================= [2023-01-11T18:05:09.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T18:05:09.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:05:10.324Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T18:05:10.591Z] Sending build context to Docker daemon 3.319MB [2023-01-11T18:05:10.591Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:05:10.591Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T18:05:10.862Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T18:05:10.862Z] 9b18e9b68314: Pulling fs layer [2023-01-11T18:05:10.862Z] 35d82f9e3411: Pulling fs layer [2023-01-11T18:05:10.862Z] e16973657156: Pulling fs layer [2023-01-11T18:05:10.862Z] fc693d55d65f: Pulling fs layer [2023-01-11T18:05:10.862Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T18:05:10.862Z] dda99020689f: Pulling fs layer [2023-01-11T18:05:10.862Z] db1c61fa0a46: Pulling fs layer [2023-01-11T18:05:10.862Z] 891c053d2c06: Pulling fs layer [2023-01-11T18:05:10.862Z] fc693d55d65f: Waiting [2023-01-11T18:05:10.862Z] 7e9fc2657dce: Waiting [2023-01-11T18:05:10.862Z] dda99020689f: Waiting [2023-01-11T18:05:10.862Z] 891c053d2c06: Waiting [2023-01-11T18:05:10.862Z] e16973657156: Verifying Checksum [2023-01-11T18:05:10.862Z] e16973657156: Download complete [2023-01-11T18:05:10.862Z] 35d82f9e3411: Download complete [2023-01-11T18:05:10.862Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T18:05:10.862Z] 7e9fc2657dce: Download complete [2023-01-11T18:05:10.862Z] dda99020689f: Verifying Checksum [2023-01-11T18:05:10.862Z] dda99020689f: Download complete [2023-01-11T18:05:10.862Z] 9b18e9b68314: Verifying Checksum [2023-01-11T18:05:10.862Z] 9b18e9b68314: Download complete [2023-01-11T18:05:11.839Z] 9b18e9b68314: Pull complete [2023-01-11T18:05:11.839Z] 891c053d2c06: Verifying Checksum [2023-01-11T18:05:11.839Z] 891c053d2c06: Download complete [2023-01-11T18:05:12.106Z] 35d82f9e3411: Pull complete [2023-01-11T18:05:12.374Z] e16973657156: Pull complete [2023-01-11T18:05:12.973Z] db1c61fa0a46: Verifying Checksum [2023-01-11T18:05:12.973Z] db1c61fa0a46: Download complete [2023-01-11T18:05:13.553Z] fc693d55d65f: Download complete [2023-01-11T18:05:23.622Z] fc693d55d65f: Pull complete [2023-01-11T18:05:23.892Z] 7e9fc2657dce: Pull complete [2023-01-11T18:05:24.158Z] dda99020689f: Pull complete [2023-01-11T18:05:29.497Z] db1c61fa0a46: Pull complete [2023-01-11T18:05:30.906Z] 891c053d2c06: Pull complete [2023-01-11T18:05:30.906Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T18:05:30.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T18:05:30.907Z] ---> f96f9c87975a [2023-01-11T18:05:30.907Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:05:32.319Z] ---> Running in 936406da7328 [2023-01-11T18:05:32.585Z] Removing intermediate container 936406da7328 [2023-01-11T18:05:32.585Z] ---> 98442f73705c [2023-01-11T18:05:32.585Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:05:32.851Z] ---> Running in 1ab5151409bd [2023-01-11T18:05:33.117Z] Removing intermediate container 1ab5151409bd [2023-01-11T18:05:33.117Z] ---> 6ece79f57979 [2023-01-11T18:05:33.117Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T18:05:33.117Z] ---> Running in ba2658620e56 [2023-01-11T18:05:33.385Z] Removing intermediate container ba2658620e56 [2023-01-11T18:05:33.385Z] ---> 97ec21607d74 [2023-01-11T18:05:33.385Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:05:33.664Z] ---> Running in 11f553b46f1b [2023-01-11T18:05:33.932Z] Removing intermediate container 11f553b46f1b [2023-01-11T18:05:33.932Z] ---> b0886417e65e [2023-01-11T18:05:33.932Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:05:33.932Z] ---> Running in 3f2fb467407f [2023-01-11T18:05:34.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:05:35.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:05:36.066Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T18:05:36.066Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T18:05:36.066Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T18:05:36.335Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T18:05:36.335Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:05:36.335Z] OK: 226 MiB in 55 packages [2023-01-11T18:05:37.297Z] Removing intermediate container 3f2fb467407f [2023-01-11T18:05:37.297Z] ---> 26e0826f4c9b [2023-01-11T18:05:37.297Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T18:05:37.297Z] ---> Running in 5aa77e169d79 [2023-01-11T18:05:37.564Z] Removing intermediate container 5aa77e169d79 [2023-01-11T18:05:37.564Z] ---> 3c7e216e496c [2023-01-11T18:05:37.564Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T18:05:38.161Z] ---> f1bc70f2bd92 [2023-01-11T18:05:38.162Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:05:38.162Z] ---> Running in a4b307b853e6 [2023-01-11T18:06:34.591Z] Removing intermediate container a4b307b853e6 [2023-01-11T18:06:34.591Z] ---> 42bb58f2e88b [2023-01-11T18:06:34.591Z] Step 11/12 : COPY . . [2023-01-11T18:06:34.591Z] ---> ba207f7d3b85 [2023-01-11T18:06:34.591Z] Step 12/12 : RUN $MAKE [2023-01-11T18:06:34.591Z] ---> Running in 68783fb18f49 [2023-01-11T18:06:34.591Z] noop [2023-01-11T18:06:35.171Z] Removing intermediate container 68783fb18f49 [2023-01-11T18:06:35.171Z] ---> 8547bab9ec37 [2023-01-11T18:06:35.171Z] Successfully built 8547bab9ec37 [2023-01-11T18:06:35.171Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:06:35.648Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T18:06:35.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:06:35.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-1901 does not seem to be running inside a container [2023-01-11T18:06:35.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T18:06:37.874Z] $ docker top c4820b26c6ed14aa2a818d5f784204c7e8d747fcb57ab88c49c021c166cdc456 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:06:38.744Z] + go version [2023-01-11T18:06:38.744Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T18:06:38.781Z] $ docker stop --time=1 c4820b26c6ed14aa2a818d5f784204c7e8d747fcb57ab88c49c021c166cdc456 [2023-01-11T18:06:40.352Z] $ docker rm -f --volumes c4820b26c6ed14aa2a818d5f784204c7e8d747fcb57ab88c49c021c166cdc456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:06:41.186Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T18:06:41.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:06:41.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-1901 does not seem to be running inside a container [2023-01-11T18:06:41.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T18:06:42.627Z] $ docker top 81a98775228cae007edb6f364ddc23d441502ec60bc06d30ad5b95c1fbd6d8bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:06:43.175Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-11T18:06:43.565Z] + make test [2023-01-11T18:06:43.565Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T18:06:45.518Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T18:08:07.172Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T18:08:07.172Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2023-01-11T18:08:07.172Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T18:08:07.172Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T18:08:07.172Z] go vet ./... [2023-01-11T18:08:25.414Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T18:08:25.414Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T18:08:25.414Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T18:08:25.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T18:08:25.480Z] $ docker stop --time=1 81a98775228cae007edb6f364ddc23d441502ec60bc06d30ad5b95c1fbd6d8bd [2023-01-11T18:08:27.285Z] $ docker rm -f --volumes 81a98775228cae007edb6f364ddc23d441502ec60bc06d30ad5b95c1fbd6d8bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T18:08:28.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T18:08:28.346Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T18:08:28.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T18:08:29.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T18:08:29.755Z] + ls -al . [2023-01-11T18:08:29.755Z] total 188 [2023-01-11T18:08:29.755Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:06 . [2023-01-11T18:08:29.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:04 .. [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 18:04 .dockerignore [2023-01-11T18:08:29.755Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:04 .git [2023-01-11T18:08:29.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:04 .github [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 18:04 .gitignore [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:04 .golangci.yml [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 18:04 Attribution.txt [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 18:04 CHANGELOG.md [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 18:04 Dockerfile [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:04 GOVERNANCE.md [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 18:04 Jenkinsfile [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:04 LICENSE [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 18:04 Makefile [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 18:04 OWNERS.md [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 18:04 README.md [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:02 VERSION [2023-01-11T18:08:29.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:04 bin [2023-01-11T18:08:29.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:04 cmd [2023-01-11T18:08:29.755Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 18:08 coverage.out [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 18:04 go.mod [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 18:04 go.sum [2023-01-11T18:08:29.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:04 internal [2023-01-11T18:08:29.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:04 mock [2023-01-11T18:08:29.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:04 snap [2023-01-11T18:08:29.755Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 18:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:08:30.166Z] + 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=5c1f2ce46133253723bb2df5ba99f3b69c76a38a --label arch=arm64 --label version=0.0.0 . [2023-01-11T18:08:30.436Z] Sending build context to Docker daemon 3.338MB [2023-01-11T18:08:30.436Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T18:08:30.436Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T18:08:30.436Z] ---> 8547bab9ec37 [2023-01-11T18:08:30.436Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T18:08:30.703Z] ---> Running in e0d1f8264cfc [2023-01-11T18:08:30.969Z] Removing intermediate container e0d1f8264cfc [2023-01-11T18:08:30.969Z] ---> 4e5117ca5f8c [2023-01-11T18:08:30.969Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T18:08:30.969Z] ---> Running in 570a4ba7c52f [2023-01-11T18:08:31.235Z] Removing intermediate container 570a4ba7c52f [2023-01-11T18:08:31.235Z] ---> 4abe53e952ed [2023-01-11T18:08:31.235Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T18:08:31.235Z] ---> Running in 1acb1f5e5444 [2023-01-11T18:08:31.507Z] Removing intermediate container 1acb1f5e5444 [2023-01-11T18:08:31.507Z] ---> 9fa2036ea49a [2023-01-11T18:08:31.507Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T18:08:31.776Z] ---> Running in 511b3792d444 [2023-01-11T18:08:32.044Z] Removing intermediate container 511b3792d444 [2023-01-11T18:08:32.044Z] ---> c13de0869ebe [2023-01-11T18:08:32.044Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T18:08:32.044Z] ---> Running in e2d9edcfc3ec [2023-01-11T18:08:33.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:08:33.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:08:34.680Z] OK: 226 MiB in 55 packages [2023-01-11T18:08:35.297Z] Removing intermediate container e2d9edcfc3ec [2023-01-11T18:08:35.297Z] ---> 7ddfd0a60d68 [2023-01-11T18:08:35.297Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T18:08:35.563Z] ---> Running in 429137ed9605 [2023-01-11T18:08:36.148Z] Removing intermediate container 429137ed9605 [2023-01-11T18:08:36.148Z] ---> bf7ad737d91f [2023-01-11T18:08:36.148Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T18:08:36.416Z] ---> b0173f1d9a23 [2023-01-11T18:08:36.416Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T18:08:36.696Z] ---> Running in 1d6bf48df4ee [2023-01-11T18:08:38.650Z] Removing intermediate container 1d6bf48df4ee [2023-01-11T18:08:38.650Z] ---> e1e204b312c9 [2023-01-11T18:08:38.650Z] Step 11/24 : COPY . . [2023-01-11T18:08:39.647Z] ---> e76b2da6eabb [2023-01-11T18:08:39.647Z] Step 12/24 : RUN $MAKE [2023-01-11T18:08:39.647Z] ---> Running in 4c58c0b3cdc9 [2023-01-11T18:08:40.611Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-11T18:11:17.364Z] Removing intermediate container 4c58c0b3cdc9 [2023-01-11T18:11:17.364Z] ---> 7ed822213a70 [2023-01-11T18:11:17.364Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T18:11:17.364Z] 3.16: Pulling from library/alpine [2023-01-11T18:11:17.364Z] 6875df1f5354: Pulling fs layer [2023-01-11T18:11:17.364Z] 6875df1f5354: Download complete [2023-01-11T18:11:17.364Z] 6875df1f5354: Pull complete [2023-01-11T18:11:17.364Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T18:11:17.364Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T18:11:17.364Z] ---> 2b4661558fb8 [2023-01-11T18:11:17.364Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T18:11:17.364Z] ---> Running in 478e61d3ad2b [2023-01-11T18:11:17.364Z] Removing intermediate container 478e61d3ad2b [2023-01-11T18:11:17.364Z] ---> 97fcbfe830f6 [2023-01-11T18:11:17.364Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T18:11:17.364Z] ---> Running in 134c80f2b8b2 [2023-01-11T18:11:17.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T18:11:17.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T18:11:17.364Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T18:11:17.364Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T18:11:17.364Z] OK: 5 MiB in 15 packages [2023-01-11T18:11:17.364Z] Removing intermediate container 134c80f2b8b2 [2023-01-11T18:11:17.364Z] ---> d976bb231695 [2023-01-11T18:11:17.364Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T18:11:17.364Z] ---> 6a304a288dad [2023-01-11T18:11:17.364Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T18:11:17.950Z] ---> d052b412dd6b [2023-01-11T18:11:17.950Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T18:11:18.536Z] ---> a9821c0f14d1 [2023-01-11T18:11:18.536Z] Step 19/24 : EXPOSE 59982 [2023-01-11T18:11:18.536Z] ---> Running in f32b75f38bed [2023-01-11T18:11:18.805Z] Removing intermediate container f32b75f38bed [2023-01-11T18:11:18.805Z] ---> 7d2088f7145c [2023-01-11T18:11:18.805Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T18:11:18.805Z] ---> Running in 60c8cc1e1246 [2023-01-11T18:11:19.073Z] Removing intermediate container 60c8cc1e1246 [2023-01-11T18:11:19.073Z] ---> 704bdd162735 [2023-01-11T18:11:19.073Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T18:11:19.340Z] ---> Running in c67f1205068f [2023-01-11T18:11:19.609Z] Removing intermediate container c67f1205068f [2023-01-11T18:11:19.609Z] ---> 319eda460cdb [2023-01-11T18:11:19.609Z] Step 22/24 : LABEL arch=arm64 [2023-01-11T18:11:19.609Z] ---> Running in 284e7c9caa43 [2023-01-11T18:11:19.878Z] Removing intermediate container 284e7c9caa43 [2023-01-11T18:11:19.878Z] ---> 06180d2b4eea [2023-01-11T18:11:19.878Z] Step 23/24 : LABEL git_sha=5c1f2ce46133253723bb2df5ba99f3b69c76a38a [2023-01-11T18:11:19.878Z] ---> Running in e45943cd46d3 [2023-01-11T18:11:20.144Z] Removing intermediate container e45943cd46d3 [2023-01-11T18:11:20.144Z] ---> 1d1489ec159d [2023-01-11T18:11:20.144Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T18:11:20.415Z] ---> Running in fbe1ecb5ccaf [2023-01-11T18:11:20.686Z] Removing intermediate container fbe1ecb5ccaf [2023-01-11T18:11:20.686Z] ---> 2f5662578f39 [2023-01-11T18:11:20.686Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T18:11:20.686Z] Successfully built 2f5662578f39 [2023-01-11T18:11:20.686Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:11:21.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:11:21.485Z] [2023-01-11T18:11:21.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:11:21.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:11:22.168Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T18:11:22.168Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T18:11:22.168Z] 04944245beec: Pulling fs layer [2023-01-11T18:11:22.168Z] 699f458cf7ca: Pulling fs layer [2023-01-11T18:11:22.168Z] 765212b225bb: Pulling fs layer [2023-01-11T18:11:22.168Z] f23df028b6ca: Pulling fs layer [2023-01-11T18:11:22.168Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T18:11:22.168Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T18:11:22.168Z] 765212b225bb: Waiting [2023-01-11T18:11:22.168Z] f23df028b6ca: Waiting [2023-01-11T18:11:22.168Z] d65c8cfc05b1: Waiting [2023-01-11T18:11:22.168Z] 2437ff75d9bd: Waiting [2023-01-11T18:11:22.168Z] 04944245beec: Verifying Checksum [2023-01-11T18:11:22.168Z] 04944245beec: Download complete [2023-01-11T18:11:22.168Z] 765212b225bb: Verifying Checksum [2023-01-11T18:11:22.168Z] 765212b225bb: Download complete [2023-01-11T18:11:22.439Z] f23df028b6ca: Verifying Checksum [2023-01-11T18:11:22.439Z] f23df028b6ca: Download complete [2023-01-11T18:11:22.439Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T18:11:22.439Z] d65c8cfc05b1: Download complete [2023-01-11T18:11:22.439Z] 699f458cf7ca: Verifying Checksum [2023-01-11T18:11:22.439Z] 699f458cf7ca: Download complete [2023-01-11T18:11:23.024Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T18:11:23.024Z] 8998bd30e6a1: Download complete [2023-01-11T18:11:25.616Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T18:11:25.616Z] 2437ff75d9bd: Download complete [2023-01-11T18:11:27.033Z] 8998bd30e6a1: Pull complete [2023-01-11T18:11:27.301Z] 04944245beec: Pull complete [2023-01-11T18:11:28.733Z] 699f458cf7ca: Pull complete [2023-01-11T18:11:29.003Z] 765212b225bb: Pull complete [2023-01-11T18:11:31.587Z] f23df028b6ca: Pull complete [2023-01-11T18:11:31.587Z] d65c8cfc05b1: Pull complete [2023-01-11T18:11:46.590Z] 2437ff75d9bd: Pull complete [2023-01-11T18:11:46.590Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T18:11:46.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T18:11:46.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:11:46.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-1901 does not seem to be running inside a container [2023-01-11T18:11:46.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T18:11:49.843Z] $ docker top ca1f25f788229632798097075f2311cc0bad00d68f706f61fd6b9abe3c4cabdc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:11:50.763Z] ---> job-cost.sh [2023-01-11T18:11:50.763Z] lf-activate-venv: SKIPPING [2023-01-11T18:11:50.763Z] INFO: No Stack... [2023-01-11T18:11:51.348Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T18:11:52.310Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T18:11:52.975Z] + cut -d, -f6 [2023-01-11T18:11:52.975Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-01-11T18:11:53.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] [2023-01-11T18:11:53.041Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] did not exist. Created. [2023-01-11T18:11:53.041Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T18:11:53.768Z] /w/workspace/device-mqtt-go/1@tmp/durable-d8f0b5e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T18:11:54.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T18:11:54.481Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T18:11:54.528Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T18:11:54.542Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-451-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T18:11:54.623Z] $ docker stop --time=1 ca1f25f788229632798097075f2311cc0bad00d68f706f61fd6b9abe3c4cabdc [2023-01-11T18:11:56.176Z] $ docker rm -f --volumes ca1f25f788229632798097075f2311cc0bad00d68f706f61fd6b9abe3c4cabdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-11T18:11:57.249Z] provisioning config files... [2023-01-11T18:11:57.258Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/config17393214309298756775tmp [Pipeline] { [Pipeline] sh [2023-01-11T18:11:57.586Z] + set +x [2023-01-11T18:11:57.586Z] + bash -s -- [2023-01-11T18:11:57.586Z] + curl -s https://codecov.io/bash [2023-01-11T18:11:57.586Z] [2023-01-11T18:11:57.586Z] _____ _ [2023-01-11T18:11:57.586Z] / ____| | | [2023-01-11T18:11:57.586Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T18:11:57.586Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T18:11:57.586Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T18:11:57.586Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T18:11:57.586Z] Bash-1.0.6 [2023-01-11T18:11:57.586Z] [2023-01-11T18:11:57.586Z] [2023-01-11T18:11:57.586Z] ==> git version 2.25.1 found [2023-01-11T18:11:57.586Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-11T18:11:57.586Z] Release-Date: 2020-01-08 [2023-01-11T18:11:57.586Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T18:11:57.586Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T18:11:57.586Z] ==> Jenkins CI detected. [2023-01-11T18:11:57.586Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-451 [2023-01-11T18:11:57.586Z] project root: . [2023-01-11T18:11:57.586Z] --> token set from env [2023-01-11T18:11:57.586Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T18:11:57.586Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T18:11:57.586Z] ==> Python coveragepy not found [2023-01-11T18:11:57.586Z] ==> Searching for coverage reports in: [2023-01-11T18:11:57.586Z] + . [2023-01-11T18:11:57.586Z] -> Found 1 reports [2023-01-11T18:11:57.586Z] ==> Detecting git/mercurial file structure [2023-01-11T18:11:57.586Z] ==> Reading reports [2023-01-11T18:11:57.586Z] + ./coverage.out bytes=17887 [2023-01-11T18:11:57.586Z] ==> Appending adjustments [2023-01-11T18:11:57.586Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T18:11:57.845Z] + Found adjustments [2023-01-11T18:11:57.845Z] ==> Gzipping contents [2023-01-11T18:11:57.845Z] 4.0K /tmp/codecov.Iqhk2e.gz [2023-01-11T18:11:57.845Z] ==> Uploading reports [2023-01-11T18:11:57.845Z] url: https://codecov.io [2023-01-11T18:11:57.845Z] query: branch=PR-451&commit=5c1f2ce46133253723bb2df5ba99f3b69c76a38a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-451%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=451&job=&cmd_args= [2023-01-11T18:11:57.845Z] -> Pinging Codecov [2023-01-11T18:11:57.845Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-451&commit=5c1f2ce46133253723bb2df5ba99f3b69c76a38a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-451%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=451&job=&cmd_args= [2023-01-11T18:11:58.104Z] -> Uploading to [2023-01-11T18:11:58.104Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7D719EC7BBE17E464838252E33014C33/5c1f2ce46133253723bb2df5ba99f3b69c76a38a/5437c6f0-0893-41db-9daf-0853aa366e2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T181157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2adf6bd3b0b0bf271896e9e06c99ddc6b952283063f7e33612c80c596a0b8464 [2023-01-11T18:11:58.104Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T18:11:58.104Z] Dload Upload Total Spent Left Speed [2023-01-11T18:11:58.363Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3181 0 0 100 3181 0 14525 --:--:-- --:--:-- --:--:-- 14525 [2023-01-11T18:11:58.363Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5c1f2ce46133253723bb2df5ba99f3b69c76a38a [Pipeline] } [2023-01-11T18:11:58.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T18:11:59.995Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives ] [2023-01-11T18:11:59.995Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives [2023-01-11T18:11:59.995Z] total 16 [2023-01-11T18:11:59.995Z] drwxr-xr-x 3 root root 4096 Jan 11 18:04 . [2023-01-11T18:11:59.995Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:04 .. [2023-01-11T18:11:59.995Z] drwxr-xr-x 2 root root 4096 Jan 11 18:04 cost [2023-01-11T18:11:59.995Z] -rw-r--r-- 1 root root 86 Jan 11 18:04 cost.csv [2023-01-11T18:11:59.995Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives [2023-01-11T18:11:59.995Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives [2023-01-11T18:11:59.995Z] total 16 [2023-01-11T18:11:59.995Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:04 . [2023-01-11T18:11:59.995Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:04 .. [2023-01-11T18:11:59.995Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:04 cost [2023-01-11T18:11:59.995Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:00.323Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:01.216Z] ---> package-listing.sh [2023-01-11T18:12:01.217Z] ++ facter osfamily [2023-01-11T18:12:01.217Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T18:12:01.477Z] + OS_FAMILY=debian [2023-01-11T18:12:01.477Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-451 [2023-01-11T18:12:01.477Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T18:12:01.477Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T18:12:01.477Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T18:12:01.477Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T18:12:01.477Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-451 ']' [2023-01-11T18:12:01.477Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T18:12:01.477Z] + case "${OS_FAMILY}" in [2023-01-11T18:12:01.477Z] + dpkg -l [2023-01-11T18:12:01.477Z] + grep '^ii' [2023-01-11T18:12:01.477Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T18:12:01.477Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T18:12:01.477Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T18:12:01.477Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-451 ']' [2023-01-11T18:12:01.477Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives/ [2023-01-11T18:12:01.477Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-451/archives/ [Pipeline] echo [2023-01-11T18:12:01.509Z] 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-451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T18:12:01.799Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T18:12:02.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T18:12:02.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T18:12:02.559Z] prd-ubuntu20.04-docker-8c-8g-1900 does not seem to be running inside a container [2023-01-11T18:12:02.590Z] $ 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-451/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-451 -v /w/workspace/gexfoundry_device-mqtt-go_PR-451:/w/workspace/gexfoundry_device-mqtt-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T18:12:02.774Z] $ docker top e3772ef5f025e8a6c59df7df8463191f22e1b80fc3bc365c99249b42407054d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T18:12:03.157Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T18:12:03.467Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T18:12:03.769Z] + ls /var/log/sa-host [2023-01-11T18:12:03.769Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T18:12:03.891Z] provisioning config files... [2023-01-11T18:12:03.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-451@tmp/config13588024159632779732tmp [Pipeline] { [Pipeline] echo [2023-01-11T18:12:03.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:04.255Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T18:12:04.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:04.662Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T18:12:04.694Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:05.006Z] ---> sudo-logs.sh [2023-01-11T18:12:05.006Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T18:12:05.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:05.401Z] ---> job-cost.sh [2023-01-11T18:12:05.401Z] lf-activate-venv: SKIPPING [2023-01-11T18:12:05.401Z] DEBUG: total: 0.2199999988079071 [2023-01-11T18:12:05.401Z] INFO: Retrieving Stack Cost... [2023-01-11T18:12:05.971Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T18:12:06.231Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T18:12:06.267Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T18:12:06.582Z] ---> logs-deploy.sh [2023-01-11T18:12:06.582Z] lf-activate-venv: SKIPPING [2023-01-11T18:12:06.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-451/1 [2023-01-11T18:12:06.582Z] INFO: archiving workspace using pattern(s): [2023-01-11T18:12:07.521Z] Archives upload complete. [2023-01-11T18:12:07.521Z] INFO: archiving logs to Nexus