Pull request #468 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f2e12ce081b87c439765bd806387cb7d8b9703c+bc7652beee9a90296fe0b57947c4589a421f5e02 (65b79b7867c9c51f8345141d3e4fc0ce5cfa7625) 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-ssh17066526765755083637.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-ssh16538486101446977311.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-468/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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13817617349446865707.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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10530082242369476064.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-ssh7507967437576218915.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-468/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-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9017549819055477280.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4063 in /w/workspace/gexfoundry_device-mqtt-go_PR-468 [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-468 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 7f2e12ce081b87c439765bd806387cb7d8b9703c Merge succeeded, producing 7f2e12ce081b87c439765bd806387cb7d8b9703c Checking out Revision 7f2e12ce081b87c439765bd806387cb7d8b9703c (PR-468) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-31T01:02:38.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-31T01:02:38.260Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-31T01:02:38.355Z] ========================================================= [2023-01-31T01:02:38.355Z] EdgeX Global Pipelines Version Info [2023-01-31T01:02:38.355Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f 7f2e12ce081b87c439765bd806387cb7d8b9703c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f2e12ce081b87c439765bd806387cb7d8b9703c # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:02:39.099Z] ------------------- [2023-01-31T01:02:39.099Z] stable info: [2023-01-31T01:02:39.099Z] ------------------- [2023-01-31T01:02:39.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-31T01:02:39.099Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T01:02:39.099Z] Message: update stable to v1.0.244 [2023-01-31T01:02:39.671Z] ------------------- [2023-01-31T01:02:39.671Z] experimental info: [2023-01-31T01:02:39.671Z] ------------------- [2023-01-31T01:02:39.671Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-31T01:02:39.671Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T01:02:39.671Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-31T01:02:39.963Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-31T01:02:40.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-31T01:02:40.046Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-31T01:02:40.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-31T01:02:40.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-31T01:02:40.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-31T01:02:40.211Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-31T01:02:40.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-31T01:02:40.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-31T01:02:40.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-31T01:02:40.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-31T01:02:40.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-31T01:02:40.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-31T01:02:40.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-31T01:02:40.504Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T01:02:40.541Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T01:02:40.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T01:02:40.614Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T01:02:40.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-31T01:02:40.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-31T01:02:40.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-31T01:02:40.768Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-31T01:02:40.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-31T01:02:40.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-31T01:02:40.881Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-31T01:02:40.917Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-31T01:02:40.955Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-31T01:02:40.990Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-468 [Pipeline] echo [2023-01-31T01:02:41.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-468 [Pipeline] echo [2023-01-31T01:02:41.062Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-468 [Pipeline] echo [2023-01-31T01:02:41.100Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f2e12ce081b87c439765bd806387cb7d8b9703c [Pipeline] echo [2023-01-31T01:02:41.135Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f2e12c [Pipeline] echo [2023-01-31T01:02:41.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T01:02:41.287Z] provisioning config files... [2023-01-31T01:02:41.303Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/config7082221958155832529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:02:41.639Z] ---> docker-login.sh [2023-01-31T01:02:41.639Z] nexus3.edgexfoundry.org:10001 [2023-01-31T01:02:42.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:02:42.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:02:42.477Z] Configure a credential helper to remove this warning. See [2023-01-31T01:02:42.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:02:42.477Z] [2023-01-31T01:02:42.477Z] Login Succeeded [2023-01-31T01:02:42.477Z] nexus3.edgexfoundry.org:10002 [2023-01-31T01:02:42.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:02:42.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:02:42.477Z] Configure a credential helper to remove this warning. See [2023-01-31T01:02:42.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:02:42.477Z] [2023-01-31T01:02:42.477Z] Login Succeeded [2023-01-31T01:02:42.477Z] nexus3.edgexfoundry.org:10003 [2023-01-31T01:02:42.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:02:42.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:02:42.738Z] Configure a credential helper to remove this warning. See [2023-01-31T01:02:42.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:02:42.738Z] [2023-01-31T01:02:42.738Z] Login Succeeded [2023-01-31T01:02:42.738Z] nexus3.edgexfoundry.org:10004 [2023-01-31T01:02:42.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:02:42.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:02:42.738Z] Configure a credential helper to remove this warning. See [2023-01-31T01:02:42.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:02:42.738Z] [2023-01-31T01:02:42.738Z] Login Succeeded [2023-01-31T01:02:42.738Z] docker.io [2023-01-31T01:02:42.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:02:43.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:02:43.007Z] Configure a credential helper to remove this warning. See [2023-01-31T01:02:43.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:02:43.007Z] [2023-01-31T01:02:43.007Z] Login Succeeded [2023-01-31T01:02:43.007Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T01:02:43.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-31T01:02:43.682Z] + git rev-list -1 --merges 7f2e12ce081b87c439765bd806387cb7d8b9703c~1..7f2e12ce081b87c439765bd806387cb7d8b9703c [Pipeline] echo [2023-01-31T01:02:43.754Z] -----------> git rev-list -1 --merges 7f2e12ce081b87c439765bd806387cb7d8b9703c~1..7f2e12ce081b87c439765bd806387cb7d8b9703c 7f2e12ce081b87c439765bd806387cb7d8b9703c [false] [Pipeline] sh [2023-01-31T01:02:44.065Z] + git log --format=format:%s -1 7f2e12ce081b87c439765bd806387cb7d8b9703c [Pipeline] echo [2023-01-31T01:02:44.100Z] ========================================================= [2023-01-31T01:02:44.100Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-31T01:02:44.100Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T01:02:44.534Z] + git log --format=format:%s -1 7f2e12ce081b87c439765bd806387cb7d8b9703c [Pipeline] echo [2023-01-31T01:02:44.570Z] [semverPrep] GIT_COMMIT: 7f2e12ce081b87c439765bd806387cb7d8b9703c, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-31T01:02:44.602Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-31T01:02:45.019Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T01:02:45.019Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-31T01:02:45.019Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-31T01:02:45.019Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-31T01:02:45.019Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-31T01:02:45.019Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-31T01:02:45.019Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:02:45.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T01:02:45.503Z] [2023-01-31T01:02:45.503Z] 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-31T01:02:45.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T01:02:45.891Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-31T01:02:45.891Z] b85a868b505f: Pulling fs layer [2023-01-31T01:02:45.891Z] e2be974225ed: Pulling fs layer [2023-01-31T01:02:45.891Z] 339a4e72a1f5: Pulling fs layer [2023-01-31T01:02:45.891Z] 988bab9f4d93: Pulling fs layer [2023-01-31T01:02:45.891Z] 1469e6f7b9e6: Pulling fs layer [2023-01-31T01:02:45.891Z] eaf3925da568: Pulling fs layer [2023-01-31T01:02:45.891Z] bab4dde63d76: Pulling fs layer [2023-01-31T01:02:45.891Z] bde34c3a00c8: Pulling fs layer [2023-01-31T01:02:45.891Z] b352a97aabf1: Pulling fs layer [2023-01-31T01:02:45.891Z] 4872d77fe225: Pulling fs layer [2023-01-31T01:02:45.891Z] 5851b861e8e6: Pulling fs layer [2023-01-31T01:02:45.891Z] 1469e6f7b9e6: Waiting [2023-01-31T01:02:45.891Z] b352a97aabf1: Waiting [2023-01-31T01:02:45.891Z] 4872d77fe225: Waiting [2023-01-31T01:02:45.891Z] eaf3925da568: Waiting [2023-01-31T01:02:45.891Z] bab4dde63d76: Waiting [2023-01-31T01:02:45.891Z] bde34c3a00c8: Waiting [2023-01-31T01:02:45.891Z] 988bab9f4d93: Waiting [2023-01-31T01:02:45.891Z] e2be974225ed: Verifying Checksum [2023-01-31T01:02:45.891Z] e2be974225ed: Download complete [2023-01-31T01:02:45.891Z] 988bab9f4d93: Verifying Checksum [2023-01-31T01:02:45.891Z] 988bab9f4d93: Download complete [2023-01-31T01:02:46.163Z] 339a4e72a1f5: Verifying Checksum [2023-01-31T01:02:46.163Z] 339a4e72a1f5: Download complete [2023-01-31T01:02:46.163Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-01-31T01:02:46.163Z] eaf3925da568: Verifying Checksum [2023-01-31T01:02:46.163Z] eaf3925da568: Download complete [2023-01-31T01:02:46.767Z] b85a868b505f: Verifying Checksum [2023-01-31T01:02:46.767Z] b85a868b505f: Download complete [2023-01-31T01:02:46.767Z] bde34c3a00c8: Download complete [2023-01-31T01:02:46.767Z] b352a97aabf1: Verifying Checksum [2023-01-31T01:02:46.767Z] b352a97aabf1: Download complete [2023-01-31T01:02:46.767Z] 4872d77fe225: Verifying Checksum [2023-01-31T01:02:46.767Z] 4872d77fe225: Download complete [2023-01-31T01:02:46.767Z] 5851b861e8e6: Download complete [2023-01-31T01:02:47.362Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-01-31T01:02:47.362Z] bab4dde63d76: Verifying Checksum [2023-01-31T01:02:47.362Z] bab4dde63d76: Download complete [2023-01-31T01:02:47.932Z] b85a868b505f: Pull complete [2023-01-31T01:02:47.932Z] e2be974225ed: Pull complete [2023-01-31T01:02:48.190Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-01-31T01:02:48.449Z] 339a4e72a1f5: Pull complete [2023-01-31T01:02:48.709Z] 988bab9f4d93: Pull complete [2023-01-31T01:02:49.278Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-01-31T01:02:50.219Z] 1469e6f7b9e6: Retrying in 1 second [2023-01-31T01:02:51.162Z] 1469e6f7b9e6: Retrying in 10 seconds [2023-01-31T01:02:52.543Z] 1469e6f7b9e6: Retrying in 9 seconds [2023-01-31T01:02:53.483Z] 1469e6f7b9e6: Retrying in 8 seconds [2023-01-31T01:02:54.426Z] 1469e6f7b9e6: Retrying in 7 seconds [2023-01-31T01:02:55.370Z] 1469e6f7b9e6: Retrying in 6 seconds [2023-01-31T01:02:56.310Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-01-31T01:02:57.252Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-01-31T01:02:58.189Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-01-31T01:02:59.574Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-01-31T01:03:00.517Z] 1469e6f7b9e6: Retrying in 1 second [2023-01-31T01:03:01.459Z] 1469e6f7b9e6: Verifying Checksum [2023-01-31T01:03:01.459Z] 1469e6f7b9e6: Download complete [2023-01-31T01:03:01.719Z] 1469e6f7b9e6: Pull complete [2023-01-31T01:03:01.719Z] eaf3925da568: Pull complete [2023-01-31T01:03:04.254Z] bab4dde63d76: Pull complete [2023-01-31T01:03:04.254Z] bde34c3a00c8: Pull complete [2023-01-31T01:03:04.254Z] b352a97aabf1: Pull complete [2023-01-31T01:03:04.255Z] 4872d77fe225: Pull complete [2023-01-31T01:03:04.255Z] 5851b861e8e6: Pull complete [2023-01-31T01:03:04.255Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-31T01:03:04.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T01:03:04.255Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:03:04.524Z] prd-ubuntu20.04-docker-8c-8g-4063 does not seem to be running inside a container [2023-01-31T01:03:04.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-468 -v /w/workspace/gexfoundry_device-mqtt-go_PR-468:/w/workspace/gexfoundry_device-mqtt-go_PR-468:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-31T01:03:08.170Z] $ docker top 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e -eo pid,comm [2023-01-31T01:03:08.237Z] 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-31T01:03:08.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T01:03:08.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T01:03:08.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T01:03:08.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T01:03:08.484Z] $ docker exec 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e ssh-agent [2023-01-31T01:03:08.589Z] SSH_AUTH_SOCK=/tmp/ssh-ErFUCNFdWb97/agent.32 [2023-01-31T01:03:08.589Z] SSH_AGENT_PID=38 [2023-01-31T01:03:08.596Z] Running ssh-add (command line suppressed) [2023-01-31T01:03:08.717Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/private_key_6325648889011440296.key (/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/private_key_6325648889011440296.key) [2023-01-31T01:03:08.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T01:03:09.062Z] + git tag --points-at HEAD [Pipeline] } [2023-01-31T01:03:09.088Z] $ docker exec --env ******** --env ******** 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e ssh-agent -k [2023-01-31T01:03:09.175Z] unset SSH_AUTH_SOCK; [2023-01-31T01:03:09.176Z] unset SSH_AGENT_PID; [2023-01-31T01:03:09.176Z] echo Agent pid 38 killed; [2023-01-31T01:03:09.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-31T01:03:09.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T01:03:09.265Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T01:03:09.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T01:03:09.386Z] $ docker exec 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e ssh-agent [2023-01-31T01:03:09.483Z] SSH_AUTH_SOCK=/tmp/ssh-MVenJ5TVinIh/agent.71 [2023-01-31T01:03:09.483Z] SSH_AGENT_PID=77 [2023-01-31T01:03:09.488Z] Running ssh-add (command line suppressed) [2023-01-31T01:03:09.592Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/private_key_4352125831513762116.key (/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/private_key_4352125831513762116.key) [2023-01-31T01:03:09.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T01:03:09.939Z] + git semver init [2023-01-31T01:03:10.198Z] 2023-01-31 01:03:10,152 [run_init] DEBUG init version:0.0.0 force:False [2023-01-31T01:03:10.198Z] 2023-01-31 01:03:10,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver [2023-01-31T01:03:10.198Z] 2023-01-31 01:03:10,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver [2023-01-31T01:03:10.198Z] 2023-01-31 01:03:10,154 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-468, universal_newlines=False, shell=None, istream=None) [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,157 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-468/.git/info/exclude [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,157 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver/PR-468 with force:False [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,158 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver/PR-468 [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,162 [execute] INFO git cat-file --batch-check [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,167 [execute] INFO git cat-file --batch [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T01:03:11.580Z] 2023-01-31 01:03:11,172 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-468/.semver/PR-468 [2023-01-31T01:03:11.580Z] 0.0.0 [Pipeline] } [2023-01-31T01:03:11.607Z] $ docker exec --env ******** --env ******** 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e ssh-agent -k [2023-01-31T01:03:11.700Z] unset SSH_AUTH_SOCK; [2023-01-31T01:03:11.700Z] unset SSH_AGENT_PID; [2023-01-31T01:03:11.701Z] echo Agent pid 77 killed; [2023-01-31T01:03:11.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T01:03:12.112Z] + git semver [Pipeline] } [2023-01-31T01:03:12.399Z] $ docker stop --time=1 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e [2023-01-31T01:03:13.758Z] $ docker rm -f --volumes 5a4d2841d91258c497ab1388e05b5dc53d6b971df9d1117cd07bb5990f533d6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T01:03:14.169Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-31T01:03:14.534Z] Stashed 1 file(s) [Pipeline] echo [2023-01-31T01:03:14.553Z] [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-31T01:03:15.246Z] provisioning config files... [2023-01-31T01:03:15.255Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/config14076052287211826203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:03:15.607Z] ---> docker-login.sh [2023-01-31T01:03:15.607Z] nexus3.edgexfoundry.org:10001 [2023-01-31T01:03:15.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:03:15.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:03:15.607Z] Configure a credential helper to remove this warning. See [2023-01-31T01:03:15.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:03:15.607Z] [2023-01-31T01:03:15.607Z] Login Succeeded [2023-01-31T01:03:15.607Z] nexus3.edgexfoundry.org:10002 [2023-01-31T01:03:15.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:03:15.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:03:15.607Z] Configure a credential helper to remove this warning. See [2023-01-31T01:03:15.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:03:15.607Z] [2023-01-31T01:03:15.607Z] Login Succeeded [2023-01-31T01:03:15.607Z] nexus3.edgexfoundry.org:10003 [2023-01-31T01:03:15.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:03:15.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:03:15.866Z] Configure a credential helper to remove this warning. See [2023-01-31T01:03:15.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:03:15.866Z] [2023-01-31T01:03:15.866Z] Login Succeeded [2023-01-31T01:03:15.866Z] nexus3.edgexfoundry.org:10004 [2023-01-31T01:03:15.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:03:15.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:03:15.866Z] Configure a credential helper to remove this warning. See [2023-01-31T01:03:15.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:03:15.866Z] [2023-01-31T01:03:15.866Z] Login Succeeded [2023-01-31T01:03:15.866Z] docker.io [2023-01-31T01:03:16.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:03:16.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:03:16.125Z] Configure a credential helper to remove this warning. See [2023-01-31T01:03:16.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:03:16.125Z] [2023-01-31T01:03:16.125Z] Login Succeeded [2023-01-31T01:03:16.125Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T01:03:16.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T01:03:16.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T01:03:16.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T01:03:16.437Z] ========================================================= [2023-01-31T01:03:16.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-31T01:03:16.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:03:16.927Z] + 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-31T01:03:16.927Z] Sending build context to Docker daemon 6.316MB [2023-01-31T01:03:16.927Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T01:03:16.927Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-31T01:03:16.927Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-31T01:03:16.927Z] 213ec9aee27d: Pulling fs layer [2023-01-31T01:03:16.927Z] 4583459ba037: Pulling fs layer [2023-01-31T01:03:16.927Z] 93c1e223e6f2: Pulling fs layer [2023-01-31T01:03:16.927Z] 53926ce57604: Pulling fs layer [2023-01-31T01:03:16.927Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-31T01:03:16.927Z] 22ff95d597cd: Pulling fs layer [2023-01-31T01:03:16.927Z] 12d6caf4c0d1: Pulling fs layer [2023-01-31T01:03:16.927Z] 96b7cbca73a9: Pulling fs layer [2023-01-31T01:03:16.927Z] a7acece74701: Pulling fs layer [2023-01-31T01:03:16.927Z] 21b2b0c7a3f4: Waiting [2023-01-31T01:03:16.927Z] 22ff95d597cd: Waiting [2023-01-31T01:03:16.927Z] 12d6caf4c0d1: Waiting [2023-01-31T01:03:16.927Z] 96b7cbca73a9: Waiting [2023-01-31T01:03:16.927Z] a7acece74701: Waiting [2023-01-31T01:03:16.927Z] 53926ce57604: Waiting [2023-01-31T01:03:16.927Z] 93c1e223e6f2: Verifying Checksum [2023-01-31T01:03:16.927Z] 93c1e223e6f2: Download complete [2023-01-31T01:03:16.927Z] 4583459ba037: Download complete [2023-01-31T01:03:17.190Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-31T01:03:17.190Z] 21b2b0c7a3f4: Download complete [2023-01-31T01:03:17.190Z] 22ff95d597cd: Verifying Checksum [2023-01-31T01:03:17.190Z] 22ff95d597cd: Download complete [2023-01-31T01:03:17.190Z] 213ec9aee27d: Verifying Checksum [2023-01-31T01:03:17.190Z] 213ec9aee27d: Download complete [2023-01-31T01:03:17.190Z] 12d6caf4c0d1: Download complete [2023-01-31T01:03:17.190Z] 213ec9aee27d: Pull complete [2023-01-31T01:03:17.456Z] 4583459ba037: Pull complete [2023-01-31T01:03:17.456Z] 93c1e223e6f2: Pull complete [2023-01-31T01:03:18.063Z] a7acece74701: Verifying Checksum [2023-01-31T01:03:18.063Z] a7acece74701: Download complete [2023-01-31T01:03:18.331Z] 53926ce57604: Verifying Checksum [2023-01-31T01:03:18.331Z] 53926ce57604: Download complete [2023-01-31T01:03:18.591Z] 96b7cbca73a9: Verifying Checksum [2023-01-31T01:03:18.591Z] 96b7cbca73a9: Download complete [2023-01-31T01:03:22.774Z] 53926ce57604: Pull complete [2023-01-31T01:03:23.343Z] 21b2b0c7a3f4: Pull complete [2023-01-31T01:03:23.343Z] 22ff95d597cd: Pull complete [2023-01-31T01:03:23.601Z] 12d6caf4c0d1: Pull complete [2023-01-31T01:03:26.135Z] 96b7cbca73a9: Pull complete [2023-01-31T01:03:27.526Z] a7acece74701: Pull complete [2023-01-31T01:03:27.526Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-31T01:03:27.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-31T01:03:27.526Z] ---> db6d94c90886 [2023-01-31T01:03:27.526Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-31T01:03:30.067Z] Still waiting to schedule task [2023-01-31T01:03:30.067Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-31T01:03:34.164Z] ---> Running in aa4c6d3e949c [2023-01-31T01:03:34.164Z] Removing intermediate container aa4c6d3e949c [2023-01-31T01:03:34.164Z] ---> 12ac8d532abf [2023-01-31T01:03:34.164Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T01:03:34.164Z] ---> Running in c4656227d29f [2023-01-31T01:03:34.164Z] Removing intermediate container c4656227d29f [2023-01-31T01:03:34.164Z] ---> f0a9fbce7344 [2023-01-31T01:03:34.164Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T01:03:34.164Z] ---> Running in 309b401dee32 [2023-01-31T01:03:34.164Z] Removing intermediate container 309b401dee32 [2023-01-31T01:03:34.164Z] ---> 648d2c61a226 [2023-01-31T01:03:34.164Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T01:03:34.164Z] ---> Running in 9b50e29bba7c [2023-01-31T01:03:34.164Z] Removing intermediate container 9b50e29bba7c [2023-01-31T01:03:34.164Z] ---> e0d1f19309be [2023-01-31T01:03:34.164Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T01:03:34.164Z] ---> Running in ad3b8a11eec5 [2023-01-31T01:03:34.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T01:03:34.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T01:03:34.682Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-31T01:03:34.682Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-31T01:03:34.682Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-31T01:03:34.682Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-31T01:03:34.682Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T01:03:34.682Z] OK: 216 MiB in 55 packages [2023-01-31T01:03:35.248Z] Removing intermediate container ad3b8a11eec5 [2023-01-31T01:03:35.248Z] ---> e2c422103cbf [2023-01-31T01:03:35.248Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-31T01:03:35.248Z] ---> Running in a123cc95379e [2023-01-31T01:03:35.248Z] Removing intermediate container a123cc95379e [2023-01-31T01:03:35.248Z] ---> 4d7f5b43c8ee [2023-01-31T01:03:35.248Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-31T01:03:35.507Z] ---> ff8446909931 [2023-01-31T01:03:35.507Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T01:03:35.507Z] ---> Running in c14bfe320c85 [2023-01-31T01:04:22.237Z] Removing intermediate container c14bfe320c85 [2023-01-31T01:04:22.237Z] ---> ef82cd598a8e [2023-01-31T01:04:22.237Z] Step 11/12 : COPY . . [2023-01-31T01:04:22.237Z] ---> e79f09024c20 [2023-01-31T01:04:22.237Z] Step 12/12 : RUN $MAKE [2023-01-31T01:04:22.237Z] ---> Running in 56e4930e469d [2023-01-31T01:04:22.237Z] noop [2023-01-31T01:04:22.237Z] Removing intermediate container 56e4930e469d [2023-01-31T01:04:22.237Z] ---> 05fe46aab7e9 [2023-01-31T01:04:22.237Z] Successfully built 05fe46aab7e9 [2023-01-31T01:04:22.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:04:22.843Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T01:04:22.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:04:23.111Z] prd-ubuntu20.04-docker-8c-8g-4063 does not seem to be running inside a container [2023-01-31T01:04:23.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-468 -v /w/workspace/gexfoundry_device-mqtt-go_PR-468:/w/workspace/gexfoundry_device-mqtt-go_PR-468:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-31T01:04:23.575Z] $ docker top ecb893d146bf8fe5e059b29f901d3b5560c46f91e314b025e1018fcbd52c27de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T01:04:23.966Z] + go version [2023-01-31T01:04:23.966Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-31T01:04:24.001Z] $ docker stop --time=1 ecb893d146bf8fe5e059b29f901d3b5560c46f91e314b025e1018fcbd52c27de [2023-01-31T01:04:25.395Z] $ docker rm -f --volumes ecb893d146bf8fe5e059b29f901d3b5560c46f91e314b025e1018fcbd52c27de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:04:26.113Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T01:04:26.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:04:26.267Z] prd-ubuntu20.04-docker-8c-8g-4063 does not seem to be running inside a container [2023-01-31T01:04:26.299Z] $ 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-468 -v /w/workspace/gexfoundry_device-mqtt-go_PR-468:/w/workspace/gexfoundry_device-mqtt-go_PR-468:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-31T01:04:26.735Z] $ docker top d245481acef1a9545954249f078048b53699389fa773eb2e9e671dd35086073e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T01:04:27.224Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-468 [Pipeline] fileExists [Pipeline] sh [2023-01-31T01:04:27.572Z] + make test [2023-01-31T01:04:27.572Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T01:04:27.831Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-31T01:04:35.947Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-31T01:04:36.883Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-01-31T01:04:36.883Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-31T01:04:43.441Z] 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-31T01:04:43.441Z] go vet ./... [2023-01-31T01:04:46.726Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T01:04:46.726Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T01:04:46.726Z] ./bin/test-attribution-txt.sh [2023-01-31T01:04:46.726Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-31T01:04:46.726Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-31T01:04:46.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T01:04:46.833Z] $ docker stop --time=1 d245481acef1a9545954249f078048b53699389fa773eb2e9e671dd35086073e [2023-01-31T01:04:49.402Z] $ docker rm -f --volumes d245481acef1a9545954249f078048b53699389fa773eb2e9e671dd35086073e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T01:04:49.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T01:04:50.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-31T01:04:50.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T01:04:51.065Z] + ls -al . [2023-01-31T01:04:51.065Z] total 184 [2023-01-31T01:04:51.065Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 01:04 . [2023-01-31T01:04:51.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 01:02 .. [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 01:02 .dockerignore [2023-01-31T01:04:51.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 01:04 .git [2023-01-31T01:04:51.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 01:02 .github [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 01:02 .gitignore [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 01:02 .golangci.yml [2023-01-31T01:04:51.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 01:03 .semver [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 31 01:02 Attribution.txt [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 31 01:02 CHANGELOG.md [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 31 01:02 Dockerfile [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 01:02 GOVERNANCE.md [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 31 01:02 Jenkinsfile [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 01:02 LICENSE [2023-01-31T01:04:51.065Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 31 01:02 Makefile [2023-01-31T01:04:51.066Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 01:02 OWNERS.md [2023-01-31T01:04:51.066Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 31 01:02 README.md [2023-01-31T01:04:51.066Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 01:03 VERSION [2023-01-31T01:04:51.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 01:02 bin [2023-01-31T01:04:51.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 01:02 cmd [2023-01-31T01:04:51.066Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 31 01:04 coverage.out [2023-01-31T01:04:51.066Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 31 01:02 go.mod [2023-01-31T01:04:51.066Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 31 01:02 go.sum [2023-01-31T01:04:51.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 01:02 internal [2023-01-31T01:04:51.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 01:02 mock [2023-01-31T01:04:51.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 01:02 snap [2023-01-31T01:04:51.066Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 31 01:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:04:51.477Z] + 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=7f2e12ce081b87c439765bd806387cb7d8b9703c --label arch=amd64 --label version=0.0.0 . [2023-01-31T01:04:51.477Z] Sending build context to Docker daemon 6.334MB [2023-01-31T01:04:51.477Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T01:04:51.477Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-31T01:04:51.477Z] ---> 05fe46aab7e9 [2023-01-31T01:04:51.477Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-31T01:04:51.736Z] ---> Running in 5c691c054793 [2023-01-31T01:04:51.736Z] Removing intermediate container 5c691c054793 [2023-01-31T01:04:51.736Z] ---> f1a1a7035d72 [2023-01-31T01:04:51.736Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T01:04:51.736Z] ---> Running in 7fe2b0f2ef9a [2023-01-31T01:04:51.736Z] Removing intermediate container 7fe2b0f2ef9a [2023-01-31T01:04:51.736Z] ---> c930c4a33e2e [2023-01-31T01:04:51.736Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T01:04:51.736Z] ---> Running in d7e93717f586 [2023-01-31T01:04:51.994Z] Removing intermediate container d7e93717f586 [2023-01-31T01:04:51.994Z] ---> 84ef569d2715 [2023-01-31T01:04:51.994Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T01:04:51.994Z] ---> Running in 1ce923d73333 [2023-01-31T01:04:51.994Z] Removing intermediate container 1ce923d73333 [2023-01-31T01:04:51.994Z] ---> a54542ad1438 [2023-01-31T01:04:51.994Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T01:04:51.994Z] ---> Running in 034173ca68dd [2023-01-31T01:04:52.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T01:04:52.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T01:04:52.770Z] OK: 216 MiB in 55 packages [2023-01-31T01:04:53.029Z] Removing intermediate container 034173ca68dd [2023-01-31T01:04:53.029Z] ---> f05e6aaa45d1 [2023-01-31T01:04:53.029Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-31T01:04:53.029Z] ---> Running in b553503cae5c [2023-01-31T01:04:53.029Z] Removing intermediate container b553503cae5c [2023-01-31T01:04:53.029Z] ---> 1507e1501b3d [2023-01-31T01:04:53.029Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-31T01:04:53.029Z] ---> 90326dd473d6 [2023-01-31T01:04:53.029Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T01:04:53.288Z] ---> Running in cd0d3b53394b [2023-01-31T01:04:53.859Z] Removing intermediate container cd0d3b53394b [2023-01-31T01:04:53.859Z] ---> 9fb4693d63c3 [2023-01-31T01:04:53.859Z] Step 11/24 : COPY . . [2023-01-31T01:04:54.430Z] ---> d456bcc59999 [2023-01-31T01:04:54.430Z] Step 12/24 : RUN $MAKE [2023-01-31T01:04:54.430Z] ---> Running in 843b735aab70 [2023-01-31T01:04:54.688Z] 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-31T01:05:05.233Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4065 in /w/workspace/gexfoundry_device-mqtt-go_PR-468 [Pipeline] { [Pipeline] ws [2023-01-31T01:05:05.296Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-31T01:05:05.373Z] Selected Git installation does not exist. Using Default [2023-01-31T01:05:05.373Z] The recommended git tool is: NONE [2023-01-31T01:05:10.365Z] using credential edgex-jenkins-ssh [2023-01-31T01:05:10.378Z] Cloning the remote Git repository [2023-01-31T01:05:10.410Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-31T01:05:10.477Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-31T01:05:10.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-31T01:05:10.611Z] > git --version # timeout=10 [2023-01-31T01:05:10.631Z] > git --version # 'git version 2.25.1' [2023-01-31T01:05:10.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T01:05:10.691Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T01:05:11.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-31T01:05:11.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T01:05:12.560Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-31T01:05:12.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-31T01:05:12.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T01:05:12.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-31T01:05:13.102Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 7f2e12ce081b87c439765bd806387cb7d8b9703c [2023-01-31T01:05:13.336Z] Merge succeeded, producing 7f2e12ce081b87c439765bd806387cb7d8b9703c [2023-01-31T01:05:13.337Z] Checking out Revision 7f2e12ce081b87c439765bd806387cb7d8b9703c (PR-468) [2023-01-31T01:05:13.796Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-31T01:05:13.841Z] > git --version # timeout=10 [2023-01-31T01:05:13.855Z] > git --version # 'git version 2.25.1' [2023-01-31T01:05:13.883Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T01:05:13.117Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T01:05:13.137Z] > git checkout -f 7f2e12ce081b87c439765bd806387cb7d8b9703c # timeout=10 [2023-01-31T01:05:13.221Z] > git remote # timeout=10 [2023-01-31T01:05:13.240Z] > git config --get remote.origin.url # timeout=10 [2023-01-31T01:05:13.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T01:05:13.283Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-01-31T01:05:13.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-31T01:05:13.339Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T01:05:13.359Z] > git checkout -f 7f2e12ce081b87c439765bd806387cb7d8b9703c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T01:05:15.077Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-31T01:05:15.077Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T01:05:15.077Z] Dload Upload Total Spent Left Speed [2023-01-31T01:05:15.077Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-01-31T01:05:15.623Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-31T01:05:15.961Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-31T01:05:15.961Z] + sudo tee /etc/docker/daemon.new [2023-01-31T01:05:15.961Z] { [2023-01-31T01:05:15.961Z] "registry-mirrors": [ [2023-01-31T01:05:15.961Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-31T01:05:15.961Z] ], [2023-01-31T01:05:15.961Z] "bip": "10.250.0.254/24", [2023-01-31T01:05:15.961Z] "hosts": [ [2023-01-31T01:05:15.961Z] "tcp://0.0.0.0:5555", [2023-01-31T01:05:15.961Z] "unix:///var/run/docker.sock" [2023-01-31T01:05:15.961Z] ], [2023-01-31T01:05:15.961Z] "mtu": 1458, [2023-01-31T01:05:15.961Z] "selinux-enabled": true, [2023-01-31T01:05:15.961Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-31T01:05:15.961Z] } [Pipeline] sh [2023-01-31T01:05:16.300Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-31T01:05:16.611Z] Removing intermediate container 843b735aab70 [2023-01-31T01:05:16.612Z] ---> 59ce0d2d8559 [2023-01-31T01:05:16.612Z] Step 13/24 : FROM alpine:3.16 [2023-01-31T01:05:16.612Z] 3.16: Pulling from library/alpine [2023-01-31T01:05:16.612Z] ca7dd9ec2225: Pulling fs layer [2023-01-31T01:05:16.612Z] ca7dd9ec2225: Download complete [2023-01-31T01:05:16.612Z] ca7dd9ec2225: Pull complete [2023-01-31T01:05:16.612Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T01:05:16.612Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T01:05:16.612Z] ---> bfe296a52501 [2023-01-31T01:05:16.612Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-31T01:05:16.612Z] ---> Running in aab369f82a33 [2023-01-31T01:05:16.612Z] Removing intermediate container aab369f82a33 [2023-01-31T01:05:16.612Z] ---> d74ef7218d73 [2023-01-31T01:05:16.612Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-31T01:05:16.612Z] ---> Running in 297a23369967 [2023-01-31T01:05:16.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T01:05:16.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T01:05:16.612Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-31T01:05:16.612Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T01:05:16.612Z] OK: 6 MiB in 15 packages [2023-01-31T01:05:16.612Z] Removing intermediate container 297a23369967 [2023-01-31T01:05:16.612Z] ---> 24180ac5974e [2023-01-31T01:05:16.612Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-31T01:05:16.641Z] + sudo service docker restart [2023-01-31T01:05:17.178Z] ---> 10e168182e34 [2023-01-31T01:05:17.178Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-31T01:05:17.178Z] ---> c405c45b010d [2023-01-31T01:05:17.178Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-31T01:05:17.178Z] ---> e024afa54925 [2023-01-31T01:05:17.178Z] Step 19/24 : EXPOSE 59982 [2023-01-31T01:05:17.178Z] ---> Running in e1ea62903685 [2023-01-31T01:05:17.438Z] Removing intermediate container e1ea62903685 [2023-01-31T01:05:17.438Z] ---> e8ec6266ac39 [2023-01-31T01:05:17.438Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-31T01:05:17.438Z] ---> Running in 474e6553ef4d [2023-01-31T01:05:17.438Z] Removing intermediate container 474e6553ef4d [2023-01-31T01:05:17.438Z] ---> c9379a35904d [2023-01-31T01:05:17.438Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-31T01:05:17.438Z] ---> Running in db5dbcd9f84e [2023-01-31T01:05:17.438Z] Removing intermediate container db5dbcd9f84e [2023-01-31T01:05:17.438Z] ---> 798957a145d2 [2023-01-31T01:05:17.438Z] Step 22/24 : LABEL arch=amd64 [2023-01-31T01:05:17.438Z] ---> Running in d2f3695c5e24 [2023-01-31T01:05:17.695Z] Removing intermediate container d2f3695c5e24 [2023-01-31T01:05:17.695Z] ---> c606e61b1bfd [2023-01-31T01:05:17.695Z] Step 23/24 : LABEL git_sha=7f2e12ce081b87c439765bd806387cb7d8b9703c [2023-01-31T01:05:17.695Z] ---> Running in 0e1d475a3401 [2023-01-31T01:05:17.695Z] Removing intermediate container 0e1d475a3401 [2023-01-31T01:05:17.695Z] ---> 034269ee1645 [2023-01-31T01:05:17.695Z] Step 24/24 : LABEL version=0.0.0 [2023-01-31T01:05:17.695Z] ---> Running in bbdee37ec0c9 [2023-01-31T01:05:17.953Z] Removing intermediate container bbdee37ec0c9 [2023-01-31T01:05:17.953Z] ---> 601019c79c1e [2023-01-31T01:05:17.953Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T01:05:17.953Z] Successfully built 601019c79c1e [2023-01-31T01:05:17.953Z] 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-31T01:05:19.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T01:05:19.062Z] [2023-01-31T01:05:19.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:05:19.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T01:05:19.452Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-31T01:05:19.452Z] 5eb5b503b376: Pulling fs layer [2023-01-31T01:05:19.452Z] 5c69ac0246d0: Pulling fs layer [2023-01-31T01:05:19.452Z] ec43610c2a17: Pulling fs layer [2023-01-31T01:05:19.452Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-31T01:05:19.452Z] 33b1e0a273af: Pulling fs layer [2023-01-31T01:05:19.452Z] 5d3b04190fa2: Pulling fs layer [2023-01-31T01:05:19.452Z] 2f39f015ded8: Pulling fs layer [2023-01-31T01:05:19.452Z] 2f39f015ded8: Waiting [2023-01-31T01:05:19.452Z] 33b1e0a273af: Waiting [2023-01-31T01:05:19.452Z] 5d3b04190fa2: Waiting [2023-01-31T01:05:19.452Z] 3a2ae6a8a46f: Waiting [2023-01-31T01:05:19.452Z] 5c69ac0246d0: Download complete [2023-01-31T01:05:19.452Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-31T01:05:19.452Z] 3a2ae6a8a46f: Download complete [2023-01-31T01:05:19.716Z] 33b1e0a273af: Verifying Checksum [2023-01-31T01:05:19.717Z] 33b1e0a273af: Download complete [2023-01-31T01:05:19.717Z] ec43610c2a17: Verifying Checksum [2023-01-31T01:05:19.717Z] ec43610c2a17: Download complete [2023-01-31T01:05:19.717Z] 5d3b04190fa2: Verifying Checksum [2023-01-31T01:05:19.717Z] 5d3b04190fa2: Download complete [2023-01-31T01:05:19.977Z] 5eb5b503b376: Verifying Checksum [2023-01-31T01:05:19.977Z] 5eb5b503b376: Download complete [2023-01-31T01:05:20.545Z] 2f39f015ded8: Download complete [2023-01-31T01:05:21.114Z] 5eb5b503b376: Pull complete [2023-01-31T01:05:21.114Z] 5c69ac0246d0: Pull complete [2023-01-31T01:05:21.375Z] ec43610c2a17: Pull complete [2023-01-31T01:05:21.633Z] 3a2ae6a8a46f: Pull complete [2023-01-31T01:05:21.890Z] 33b1e0a273af: Pull complete [2023-01-31T01:05:21.890Z] 5d3b04190fa2: Pull complete [2023-01-31T01:05:26.069Z] 2f39f015ded8: Pull complete [2023-01-31T01:05:26.069Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-31T01:05:26.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T01:05:26.069Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:05:26.287Z] prd-ubuntu20.04-docker-8c-8g-4063 does not seem to be running inside a container [2023-01-31T01:05:26.313Z] $ 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-468 -v /w/workspace/gexfoundry_device-mqtt-go_PR-468:/w/workspace/gexfoundry_device-mqtt-go_PR-468:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T01:05:30.550Z] $ docker top 0c77200e9d88736a130b65165586d1619c9782303c77ea6ba65b80d0db9ef769 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:05:31.013Z] ---> job-cost.sh [2023-01-31T01:05:31.013Z] lf-activate-venv: SKIPPING [2023-01-31T01:05:31.013Z] INFO: No Stack... [2023-01-31T01:05:32.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T01:05:33.178Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T01:05:33.491Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives/cost.csv [2023-01-31T01:05:33.491Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T01:05:33.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] [2023-01-31T01:05:33.541Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] did not exist. Created. [2023-01-31T01:05:33.541Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T01:05:34.038Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-31T01:05:34.085Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T01:05:34.117Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T01:05:34.224Z] $ docker stop --time=1 0c77200e9d88736a130b65165586d1619c9782303c77ea6ba65b80d0db9ef769 [2023-01-31T01:05:35.392Z] $ docker rm -f --volumes 0c77200e9d88736a130b65165586d1619c9782303c77ea6ba65b80d0db9ef769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2023-01-31T01:05:35.598Z] provisioning config files... [2023-01-31T01:05:35.626Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17810778813044400191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T01:05:36.014Z] ---> docker-login.sh [2023-01-31T01:05:36.014Z] nexus3.edgexfoundry.org:10001 [2023-01-31T01:05:36.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:05:36.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:05:36.603Z] Configure a credential helper to remove this warning. See [2023-01-31T01:05:36.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:05:36.603Z] [2023-01-31T01:05:36.603Z] Login Succeeded [2023-01-31T01:05:36.603Z] nexus3.edgexfoundry.org:10002 [2023-01-31T01:05:36.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:05:36.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:05:36.877Z] Configure a credential helper to remove this warning. See [2023-01-31T01:05:36.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:05:36.877Z] [2023-01-31T01:05:36.877Z] Login Succeeded [2023-01-31T01:05:36.877Z] nexus3.edgexfoundry.org:10003 [2023-01-31T01:05:37.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:05:37.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:05:37.421Z] Configure a credential helper to remove this warning. See [2023-01-31T01:05:37.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:05:37.421Z] [2023-01-31T01:05:37.421Z] Login Succeeded [2023-01-31T01:05:37.421Z] nexus3.edgexfoundry.org:10004 [2023-01-31T01:05:37.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:05:37.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:05:37.694Z] Configure a credential helper to remove this warning. See [2023-01-31T01:05:37.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:05:37.694Z] [2023-01-31T01:05:37.694Z] Login Succeeded [2023-01-31T01:05:37.694Z] docker.io [2023-01-31T01:05:37.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T01:05:38.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T01:05:38.231Z] Configure a credential helper to remove this warning. See [2023-01-31T01:05:38.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T01:05:38.231Z] [2023-01-31T01:05:38.231Z] Login Succeeded [2023-01-31T01:05:38.231Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T01:05:38.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T01:05:38.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T01:05:38.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T01:05:38.685Z] ========================================================= [2023-01-31T01:05:38.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-31T01:05:38.685Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:05:39.184Z] + 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-31T01:05:39.451Z] Sending build context to Docker daemon 3.277MB [2023-01-31T01:05:39.451Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T01:05:39.451Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-31T01:05:42.043Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-31T01:05:42.043Z] 9b18e9b68314: Pulling fs layer [2023-01-31T01:05:42.043Z] 35d82f9e3411: Pulling fs layer [2023-01-31T01:05:42.043Z] e16973657156: Pulling fs layer [2023-01-31T01:05:42.043Z] fc693d55d65f: Pulling fs layer [2023-01-31T01:05:42.043Z] 7e9fc2657dce: Pulling fs layer [2023-01-31T01:05:42.043Z] dda99020689f: Pulling fs layer [2023-01-31T01:05:42.043Z] db1c61fa0a46: Pulling fs layer [2023-01-31T01:05:42.043Z] 891c053d2c06: Pulling fs layer [2023-01-31T01:05:42.043Z] fc693d55d65f: Waiting [2023-01-31T01:05:42.043Z] 7e9fc2657dce: Waiting [2023-01-31T01:05:42.043Z] dda99020689f: Waiting [2023-01-31T01:05:42.043Z] db1c61fa0a46: Waiting [2023-01-31T01:05:42.043Z] 891c053d2c06: Waiting [2023-01-31T01:05:42.043Z] e16973657156: Download complete [2023-01-31T01:05:42.043Z] 35d82f9e3411: Download complete [2023-01-31T01:05:42.044Z] 7e9fc2657dce: Verifying Checksum [2023-01-31T01:05:42.044Z] 7e9fc2657dce: Download complete [2023-01-31T01:05:42.044Z] dda99020689f: Verifying Checksum [2023-01-31T01:05:42.044Z] dda99020689f: Download complete [2023-01-31T01:05:42.044Z] 9b18e9b68314: Verifying Checksum [2023-01-31T01:05:43.014Z] 9b18e9b68314: Pull complete [2023-01-31T01:05:43.014Z] 891c053d2c06: Verifying Checksum [2023-01-31T01:05:43.014Z] 891c053d2c06: Download complete [2023-01-31T01:05:43.613Z] 35d82f9e3411: Pull complete [2023-01-31T01:05:43.613Z] e16973657156: Pull complete [2023-01-31T01:05:44.199Z] db1c61fa0a46: Verifying Checksum [2023-01-31T01:05:44.199Z] db1c61fa0a46: Download complete [2023-01-31T01:05:44.787Z] fc693d55d65f: Verifying Checksum [2023-01-31T01:05:44.787Z] fc693d55d65f: Download complete [2023-01-31T01:05:57.125Z] fc693d55d65f: Pull complete [2023-01-31T01:05:57.125Z] 7e9fc2657dce: Pull complete [2023-01-31T01:05:57.125Z] dda99020689f: Pull complete [2023-01-31T01:06:02.513Z] db1c61fa0a46: Pull complete [2023-01-31T01:06:04.458Z] 891c053d2c06: Pull complete [2023-01-31T01:06:04.458Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-31T01:06:04.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-31T01:06:04.458Z] ---> f96f9c87975a [2023-01-31T01:06:04.458Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-31T01:06:06.491Z] ---> Running in cfd3c5c7045e [2023-01-31T01:06:06.491Z] Removing intermediate container cfd3c5c7045e [2023-01-31T01:06:06.491Z] ---> 909a4853e4a9 [2023-01-31T01:06:06.491Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T01:06:06.491Z] ---> Running in 1a39befe822b [2023-01-31T01:06:06.769Z] Removing intermediate container 1a39befe822b [2023-01-31T01:06:06.769Z] ---> 0456f1e333d7 [2023-01-31T01:06:06.769Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T01:06:07.040Z] ---> Running in 9ee60ca16367 [2023-01-31T01:06:07.311Z] Removing intermediate container 9ee60ca16367 [2023-01-31T01:06:07.311Z] ---> f563f6d24e4c [2023-01-31T01:06:07.311Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T01:06:07.311Z] ---> Running in 6f91e712cc0a [2023-01-31T01:06:07.580Z] Removing intermediate container 6f91e712cc0a [2023-01-31T01:06:07.580Z] ---> 6d8f5e0cd9a4 [2023-01-31T01:06:07.580Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T01:06:07.851Z] ---> Running in 93e2c16d02f1 [2023-01-31T01:06:08.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T01:06:09.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T01:06:10.141Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-31T01:06:10.141Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-31T01:06:10.141Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-31T01:06:10.141Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-31T01:06:10.141Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T01:06:10.410Z] OK: 226 MiB in 55 packages [2023-01-31T01:06:11.380Z] Removing intermediate container 93e2c16d02f1 [2023-01-31T01:06:11.380Z] ---> 4450d92a7af3 [2023-01-31T01:06:11.380Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-31T01:06:11.380Z] ---> Running in 75d4f76af526 [2023-01-31T01:06:11.647Z] Removing intermediate container 75d4f76af526 [2023-01-31T01:06:11.648Z] ---> 316b845a24d1 [2023-01-31T01:06:11.648Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-31T01:06:12.231Z] ---> f129eb0b3de7 [2023-01-31T01:06:12.231Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T01:06:12.231Z] ---> Running in 487836e80636 [2023-01-31T01:07:20.144Z] Removing intermediate container 487836e80636 [2023-01-31T01:07:20.144Z] ---> c00f9629c628 [2023-01-31T01:07:20.144Z] Step 11/12 : COPY . . [2023-01-31T01:07:20.144Z] ---> 1cb55385f79c [2023-01-31T01:07:20.144Z] Step 12/12 : RUN $MAKE [2023-01-31T01:07:20.144Z] ---> Running in 2ceb2b90e26c [2023-01-31T01:07:20.144Z] noop [2023-01-31T01:07:20.144Z] Removing intermediate container 2ceb2b90e26c [2023-01-31T01:07:20.144Z] ---> 77f7794eec80 [2023-01-31T01:07:20.144Z] Successfully built 77f7794eec80 [2023-01-31T01:07:20.144Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:07:20.645Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T01:07:20.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:07:20.904Z] prd-ubuntu20.04-docker-arm64-4c-16g-4065 does not seem to be running inside a container [2023-01-31T01:07:20.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T01:07:22.180Z] $ docker top 2486a66a376206f974bfeeed1b9ed45eaa2aae51eb6ff698a71a517197661efa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T01:07:23.087Z] + go version [2023-01-31T01:07:23.087Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-31T01:07:23.128Z] $ docker stop --time=1 2486a66a376206f974bfeeed1b9ed45eaa2aae51eb6ff698a71a517197661efa [2023-01-31T01:07:24.788Z] $ docker rm -f --volumes 2486a66a376206f974bfeeed1b9ed45eaa2aae51eb6ff698a71a517197661efa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:07:25.727Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T01:07:25.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:07:26.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-4065 does not seem to be running inside a container [2023-01-31T01:07:26.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T01:07:27.385Z] $ docker top 47783301b060de9ebcc661e30843634e751bc3d18fd252382a5919611a9f1300 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T01:07:27.939Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-31T01:07:28.642Z] + make test [2023-01-31T01:07:28.642Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T01:07:30.058Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-31T01:08:51.688Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-31T01:08:51.688Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.060s coverage: 21.8% of statements [2023-01-31T01:08:51.688Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-31T01:08:51.688Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-31T01:08:51.688Z] go vet ./... [2023-01-31T01:09:09.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T01:09:09.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T01:09:09.908Z] ./bin/test-attribution-txt.sh [2023-01-31T01:09:09.908Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-31T01:09:09.908Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-31T01:09:09.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T01:09:09.984Z] $ docker stop --time=1 47783301b060de9ebcc661e30843634e751bc3d18fd252382a5919611a9f1300 [2023-01-31T01:09:11.693Z] $ docker rm -f --volumes 47783301b060de9ebcc661e30843634e751bc3d18fd252382a5919611a9f1300 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T01:09:12.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T01:09:12.703Z] Warning: overwriting stash ‘coverage-report’ [2023-01-31T01:09:13.154Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T01:09:13.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T01:09:14.089Z] + ls -al . [2023-01-31T01:09:14.089Z] total 180 [2023-01-31T01:09:14.089Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 01:07 . [2023-01-31T01:09:14.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 01:05 .. [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 01:05 .dockerignore [2023-01-31T01:09:14.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 01:05 .git [2023-01-31T01:09:14.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 01:05 .github [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 01:05 .gitignore [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 01:05 .golangci.yml [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 31 01:05 Attribution.txt [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 31 01:05 CHANGELOG.md [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 31 01:05 Dockerfile [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 01:05 GOVERNANCE.md [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 31 01:05 Jenkinsfile [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 01:05 LICENSE [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 31 01:05 Makefile [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 01:05 OWNERS.md [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 31 01:05 README.md [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 01:03 VERSION [2023-01-31T01:09:14.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 01:05 bin [2023-01-31T01:09:14.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 01:05 cmd [2023-01-31T01:09:14.089Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 31 01:08 coverage.out [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 31 01:05 go.mod [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 31 01:05 go.sum [2023-01-31T01:09:14.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 01:05 internal [2023-01-31T01:09:14.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 01:05 mock [2023-01-31T01:09:14.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 01:05 snap [2023-01-31T01:09:14.089Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 31 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:09:14.512Z] + 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=7f2e12ce081b87c439765bd806387cb7d8b9703c --label arch=arm64 --label version=0.0.0 . [2023-01-31T01:09:14.780Z] Sending build context to Docker daemon 3.296MB [2023-01-31T01:09:14.781Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T01:09:14.781Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-31T01:09:14.781Z] ---> 77f7794eec80 [2023-01-31T01:09:14.781Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-31T01:09:15.057Z] ---> Running in 89c4e64a882a [2023-01-31T01:09:15.057Z] Removing intermediate container 89c4e64a882a [2023-01-31T01:09:15.057Z] ---> 4f4482ef489e [2023-01-31T01:09:15.057Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T01:09:15.324Z] ---> Running in 461a85bcaf7e [2023-01-31T01:09:15.592Z] Removing intermediate container 461a85bcaf7e [2023-01-31T01:09:15.592Z] ---> bda232f8da63 [2023-01-31T01:09:15.592Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T01:09:15.592Z] ---> Running in cd9580e5efb2 [2023-01-31T01:09:15.858Z] Removing intermediate container cd9580e5efb2 [2023-01-31T01:09:15.858Z] ---> 4f8dc0724e7e [2023-01-31T01:09:15.858Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T01:09:15.858Z] ---> Running in 5328a3a47f2a [2023-01-31T01:09:16.125Z] Removing intermediate container 5328a3a47f2a [2023-01-31T01:09:16.125Z] ---> 98039029a37a [2023-01-31T01:09:16.125Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T01:09:16.400Z] ---> Running in b8c0783c7744 [2023-01-31T01:09:17.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T01:09:17.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T01:09:18.597Z] OK: 226 MiB in 55 packages [2023-01-31T01:09:19.560Z] Removing intermediate container b8c0783c7744 [2023-01-31T01:09:19.560Z] ---> 7ff6df14f7fe [2023-01-31T01:09:19.560Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-31T01:09:19.560Z] ---> Running in b4487a9f5c88 [2023-01-31T01:09:19.826Z] Removing intermediate container b4487a9f5c88 [2023-01-31T01:09:19.826Z] ---> 47f8172359be [2023-01-31T01:09:19.826Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-31T01:09:20.094Z] ---> 4c238d41b51c [2023-01-31T01:09:20.094Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T01:09:20.361Z] ---> Running in f6a4cadb82c6 [2023-01-31T01:09:22.940Z] Removing intermediate container f6a4cadb82c6 [2023-01-31T01:09:22.940Z] ---> 54195d0a380e [2023-01-31T01:09:22.940Z] Step 11/24 : COPY . . [2023-01-31T01:09:23.899Z] ---> 28b3e3c65178 [2023-01-31T01:09:23.899Z] Step 12/24 : RUN $MAKE [2023-01-31T01:09:23.899Z] ---> Running in a8e18cc5729f [2023-01-31T01:09:24.874Z] 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-31T01:11:46.627Z] Removing intermediate container a8e18cc5729f [2023-01-31T01:11:46.628Z] ---> 74be0b3cb608 [2023-01-31T01:11:46.628Z] Step 13/24 : FROM alpine:3.16 [2023-01-31T01:11:46.628Z] 3.16: Pulling from library/alpine [2023-01-31T01:11:46.628Z] 6875df1f5354: Pulling fs layer [2023-01-31T01:11:46.628Z] 6875df1f5354: Verifying Checksum [2023-01-31T01:11:46.628Z] 6875df1f5354: Download complete [2023-01-31T01:11:46.628Z] 6875df1f5354: Pull complete [2023-01-31T01:11:46.628Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T01:11:46.628Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T01:11:46.628Z] ---> 2b4661558fb8 [2023-01-31T01:11:46.628Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-31T01:11:46.628Z] ---> Running in 33d801965243 [2023-01-31T01:11:46.628Z] Removing intermediate container 33d801965243 [2023-01-31T01:11:46.628Z] ---> b3b309f903f3 [2023-01-31T01:11:46.628Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-31T01:11:46.628Z] ---> Running in b62fa872bea6 [2023-01-31T01:11:46.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T01:11:46.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T01:11:46.628Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-31T01:11:46.628Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T01:11:46.628Z] OK: 5 MiB in 15 packages [2023-01-31T01:11:46.628Z] Removing intermediate container b62fa872bea6 [2023-01-31T01:11:46.628Z] ---> 678766f61d0c [2023-01-31T01:11:46.628Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-31T01:11:47.210Z] ---> 194cfd9e0926 [2023-01-31T01:11:47.210Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-31T01:11:47.790Z] ---> b05e5de135e5 [2023-01-31T01:11:47.790Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-31T01:11:48.371Z] ---> 8f35b8049e48 [2023-01-31T01:11:48.371Z] Step 19/24 : EXPOSE 59982 [2023-01-31T01:11:48.371Z] ---> Running in 2473b9cbf191 [2023-01-31T01:11:48.640Z] Removing intermediate container 2473b9cbf191 [2023-01-31T01:11:48.640Z] ---> 7bb6d261b503 [2023-01-31T01:11:48.640Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-31T01:11:48.640Z] ---> Running in 6c0638fb384d [2023-01-31T01:11:48.906Z] Removing intermediate container 6c0638fb384d [2023-01-31T01:11:48.906Z] ---> 4baca95e155c [2023-01-31T01:11:48.906Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-31T01:11:48.906Z] ---> Running in f6f101430048 [2023-01-31T01:11:49.178Z] Removing intermediate container f6f101430048 [2023-01-31T01:11:49.178Z] ---> a79cd0d6a599 [2023-01-31T01:11:49.178Z] Step 22/24 : LABEL arch=arm64 [2023-01-31T01:11:49.178Z] ---> Running in 7f8f3953d861 [2023-01-31T01:11:49.453Z] Removing intermediate container 7f8f3953d861 [2023-01-31T01:11:49.453Z] ---> f89eadefc4f1 [2023-01-31T01:11:49.453Z] Step 23/24 : LABEL git_sha=7f2e12ce081b87c439765bd806387cb7d8b9703c [2023-01-31T01:11:49.720Z] ---> Running in 0965ce37412b [2023-01-31T01:11:49.990Z] Removing intermediate container 0965ce37412b [2023-01-31T01:11:49.990Z] ---> cdbd2ac53c35 [2023-01-31T01:11:49.990Z] Step 24/24 : LABEL version=0.0.0 [2023-01-31T01:11:49.990Z] ---> Running in 2458b346c53a [2023-01-31T01:11:50.257Z] Removing intermediate container 2458b346c53a [2023-01-31T01:11:50.257Z] ---> 645fb4b97850 [2023-01-31T01:11:50.257Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T01:11:50.257Z] Successfully built 645fb4b97850 [2023-01-31T01:11:50.257Z] 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-31T01:11:51.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T01:11:51.079Z] [2023-01-31T01:11:51.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:11:51.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T01:11:51.481Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-31T01:11:51.481Z] 8998bd30e6a1: Pulling fs layer [2023-01-31T01:11:51.481Z] 04944245beec: Pulling fs layer [2023-01-31T01:11:51.481Z] 699f458cf7ca: Pulling fs layer [2023-01-31T01:11:51.481Z] 765212b225bb: Pulling fs layer [2023-01-31T01:11:51.481Z] f23df028b6ca: Pulling fs layer [2023-01-31T01:11:51.481Z] d65c8cfc05b1: Pulling fs layer [2023-01-31T01:11:51.481Z] 2437ff75d9bd: Pulling fs layer [2023-01-31T01:11:51.481Z] 765212b225bb: Waiting [2023-01-31T01:11:51.481Z] d65c8cfc05b1: Waiting [2023-01-31T01:11:51.481Z] 2437ff75d9bd: Waiting [2023-01-31T01:11:51.481Z] f23df028b6ca: Waiting [2023-01-31T01:11:51.750Z] 04944245beec: Verifying Checksum [2023-01-31T01:11:51.750Z] 04944245beec: Download complete [2023-01-31T01:11:51.750Z] 765212b225bb: Verifying Checksum [2023-01-31T01:11:51.750Z] 765212b225bb: Download complete [2023-01-31T01:11:51.750Z] f23df028b6ca: Verifying Checksum [2023-01-31T01:11:51.750Z] f23df028b6ca: Download complete [2023-01-31T01:11:51.750Z] d65c8cfc05b1: Verifying Checksum [2023-01-31T01:11:51.750Z] d65c8cfc05b1: Download complete [2023-01-31T01:11:52.020Z] 699f458cf7ca: Verifying Checksum [2023-01-31T01:11:52.020Z] 699f458cf7ca: Download complete [2023-01-31T01:11:52.289Z] 8998bd30e6a1: Verifying Checksum [2023-01-31T01:11:52.289Z] 8998bd30e6a1: Download complete [2023-01-31T01:11:54.891Z] 2437ff75d9bd: Verifying Checksum [2023-01-31T01:11:54.891Z] 2437ff75d9bd: Download complete [2023-01-31T01:11:56.295Z] 8998bd30e6a1: Pull complete [2023-01-31T01:11:56.562Z] 04944245beec: Pull complete [2023-01-31T01:11:57.965Z] 699f458cf7ca: Pull complete [2023-01-31T01:11:57.965Z] 765212b225bb: Pull complete [2023-01-31T01:11:58.925Z] f23df028b6ca: Pull complete [2023-01-31T01:11:58.925Z] d65c8cfc05b1: Pull complete [2023-01-31T01:12:13.902Z] 2437ff75d9bd: Pull complete [2023-01-31T01:12:13.902Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-31T01:12:13.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T01:12:13.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:12:14.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-4065 does not seem to be running inside a container [2023-01-31T01:12:14.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-31T01:12:16.762Z] $ docker top ada9bf261d9eacd0851392e3d9243714779b295631c563a1b2e2a32d96d97b35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:17.656Z] ---> job-cost.sh [2023-01-31T01:12:17.656Z] lf-activate-venv: SKIPPING [2023-01-31T01:12:17.656Z] INFO: No Stack... [2023-01-31T01:12:19.058Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-31T01:12:19.639Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T01:12:20.288Z] + cut -d, -f6 [2023-01-31T01:12:20.289Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-01-31T01:12:20.367Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] [2023-01-31T01:12:20.372Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] did not exist. Created. [2023-01-31T01:12:20.372Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T01:12:20.782Z] /w/workspace/device-mqtt-go/1@tmp/durable-f8a07a41/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-31T01:12:21.127Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-31T01:12:21.161Z] Warning: overwriting stash ‘stack-cost’ [2023-01-31T01:12:21.201Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T01:12:21.216Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T01:12:21.292Z] $ docker stop --time=1 ada9bf261d9eacd0851392e3d9243714779b295631c563a1b2e2a32d96d97b35 [2023-01-31T01:12:22.738Z] $ docker rm -f --volumes ada9bf261d9eacd0851392e3d9243714779b295631c563a1b2e2a32d96d97b35 [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-31T01:12:23.674Z] provisioning config files... [2023-01-31T01:12:23.681Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/config6026657441480509809tmp [Pipeline] { [Pipeline] sh [2023-01-31T01:12:24.024Z] + set +x [2023-01-31T01:12:24.024Z] + curl -s https://codecov.io/bash [2023-01-31T01:12:24.024Z] + bash -s -- [2023-01-31T01:12:24.024Z] [2023-01-31T01:12:24.024Z] _____ _ [2023-01-31T01:12:24.024Z] / ____| | | [2023-01-31T01:12:24.024Z] | | ___ __| | ___ ___ _____ __ [2023-01-31T01:12:24.024Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-31T01:12:24.024Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-31T01:12:24.024Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-31T01:12:24.024Z] Bash-1.0.6 [2023-01-31T01:12:24.024Z] [2023-01-31T01:12:24.024Z] [2023-01-31T01:12:24.024Z] ==> git version 2.25.1 found [2023-01-31T01:12:24.024Z] ==> 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-31T01:12:24.024Z] Release-Date: 2020-01-08 [2023-01-31T01:12:24.024Z] 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-31T01:12:24.024Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-31T01:12:24.024Z] ==> Jenkins CI detected. [2023-01-31T01:12:24.024Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-468 [2023-01-31T01:12:24.024Z] project root: . [2023-01-31T01:12:24.024Z] --> token set from env [2023-01-31T01:12:24.024Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-31T01:12:24.024Z] ==> Running gcov in . (disable via -X gcov) [2023-01-31T01:12:24.024Z] ==> Python coveragepy not found [2023-01-31T01:12:24.024Z] ==> Searching for coverage reports in: [2023-01-31T01:12:24.024Z] + . [2023-01-31T01:12:24.024Z] -> Found 1 reports [2023-01-31T01:12:24.283Z] ==> Detecting git/mercurial file structure [2023-01-31T01:12:24.283Z] ==> Reading reports [2023-01-31T01:12:24.283Z] + ./coverage.out bytes=17887 [2023-01-31T01:12:24.283Z] ==> Appending adjustments [2023-01-31T01:12:24.283Z] https://docs.codecov.io/docs/fixing-reports [2023-01-31T01:12:24.283Z] + Found adjustments [2023-01-31T01:12:24.283Z] ==> Gzipping contents [2023-01-31T01:12:24.283Z] 4.0K /tmp/codecov.T1L0MZ.gz [2023-01-31T01:12:24.283Z] ==> Uploading reports [2023-01-31T01:12:24.283Z] url: https://codecov.io [2023-01-31T01:12:24.283Z] query: branch=PR-468&commit=7f2e12ce081b87c439765bd806387cb7d8b9703c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=468&job=&cmd_args= [2023-01-31T01:12:24.283Z] -> Pinging Codecov [2023-01-31T01:12:24.283Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-468&commit=7f2e12ce081b87c439765bd806387cb7d8b9703c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=468&job=&cmd_args= [2023-01-31T01:12:24.852Z] -> Uploading to [2023-01-31T01:12:24.852Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-31/7D719EC7BBE17E464838252E33014C33/7f2e12ce081b87c439765bd806387cb7d8b9703c/0443f0fc-b0c3-4e8f-8d7c-cab0048c8fe0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T011224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee9bd3f5d3134f17ba9f945e8daa744efa270a4e9dabd4249e2a34af49040b61 [2023-01-31T01:12:24.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T01:12:24.852Z] Dload Upload Total Spent Left Speed [2023-01-31T01:12:24.852Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 10913 --:--:-- --:--:-- --:--:-- 10951 [2023-01-31T01:12:25.111Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7f2e12ce081b87c439765bd806387cb7d8b9703c [Pipeline] } [2023-01-31T01:12:25.136Z] 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-31T01:12:26.813Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives ] [2023-01-31T01:12:26.813Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives [2023-01-31T01:12:26.813Z] total 16 [2023-01-31T01:12:26.813Z] drwxr-xr-x 3 root root 4096 Jan 31 01:05 . [2023-01-31T01:12:26.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 31 01:05 .. [2023-01-31T01:12:26.813Z] drwxr-xr-x 2 root root 4096 Jan 31 01:05 cost [2023-01-31T01:12:26.813Z] -rw-r--r-- 1 root root 86 Jan 31 01:05 cost.csv [2023-01-31T01:12:26.813Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives [2023-01-31T01:12:26.813Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives [2023-01-31T01:12:26.813Z] total 16 [2023-01-31T01:12:26.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 01:05 . [2023-01-31T01:12:26.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 31 01:05 .. [2023-01-31T01:12:26.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 01:05 cost [2023-01-31T01:12:26.813Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 31 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:27.138Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:28.026Z] ---> package-listing.sh [2023-01-31T01:12:28.026Z] ++ facter osfamily [2023-01-31T01:12:28.026Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-31T01:12:28.285Z] + OS_FAMILY=debian [2023-01-31T01:12:28.285Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-468 [2023-01-31T01:12:28.285Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-31T01:12:28.285Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-31T01:12:28.285Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-31T01:12:28.285Z] + PACKAGES=/tmp/packages_start.txt [2023-01-31T01:12:28.285Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-468 ']' [2023-01-31T01:12:28.285Z] + PACKAGES=/tmp/packages_end.txt [2023-01-31T01:12:28.285Z] + case "${OS_FAMILY}" in [2023-01-31T01:12:28.285Z] + dpkg -l [2023-01-31T01:12:28.285Z] + grep '^ii' [2023-01-31T01:12:28.285Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-31T01:12:28.285Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-31T01:12:28.285Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-31T01:12:28.285Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-468 ']' [2023-01-31T01:12:28.285Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives/ [2023-01-31T01:12:28.285Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-468/archives/ [Pipeline] echo [2023-01-31T01:12:28.318Z] 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-468/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-31T01:12:28.607Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T01:12:29.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T01:12:29.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T01:12:29.379Z] prd-ubuntu20.04-docker-8c-8g-4063 does not seem to be running inside a container [2023-01-31T01:12:29.409Z] $ 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-468/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-468 -v /w/workspace/gexfoundry_device-mqtt-go_PR-468:/w/workspace/gexfoundry_device-mqtt-go_PR-468:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T01:12:29.731Z] $ docker top e25667097222e3d5679a216a3465acbde0b6d64ffba0e90b253a6bb805a6baec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T01:12:30.103Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-31T01:12:30.421Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-31T01:12:30.752Z] + ls /var/log/sa-host [2023-01-31T01:12:30.752Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T01:12:30.963Z] provisioning config files... [2023-01-31T01:12:30.973Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-468@tmp/config13624804453510024571tmp [Pipeline] { [Pipeline] echo [2023-01-31T01:12:31.017Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:31.327Z] ---> create-netrc.sh [Pipeline] } [2023-01-31T01:12:31.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:31.746Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-31T01:12:31.785Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:32.096Z] ---> sudo-logs.sh [2023-01-31T01:12:32.096Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-31T01:12:32.185Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:32.492Z] ---> job-cost.sh [2023-01-31T01:12:32.492Z] lf-activate-venv: SKIPPING [2023-01-31T01:12:32.492Z] DEBUG: total: 0.2199999988079071 [2023-01-31T01:12:32.492Z] INFO: Retrieving Stack Cost... [2023-01-31T01:12:32.751Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T01:12:33.318Z] INFO: Archiving Costs [Pipeline] echo [2023-01-31T01:12:33.401Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T01:12:33.723Z] ---> logs-deploy.sh [2023-01-31T01:12:33.723Z] lf-activate-venv: SKIPPING [2023-01-31T01:12:33.723Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-468/1 [2023-01-31T01:12:33.723Z] INFO: archiving workspace using pattern(s): [2023-01-31T01:12:34.658Z] Archives upload complete. [2023-01-31T01:12:34.658Z] INFO: archiving logs to Nexus