Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09392f8bc5cc30852166dbf6136aefae3b8fb876+4d191eb3dac98c01714bec6e3dd8edd5055992ab (3c1548d1c087f60bf581edfe1a25d441df003755) 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-ssh11002543618291337057.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13270549431925389295.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-368/workspace@libs/edgex-global-pipelines # 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-368/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13517205177509053238.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-368/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9209465617628620318.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh15187186613179760963.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-368/workspace@libs/lf-pipelines # 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-368/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11039483170698496448.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21918’ Running on prd-ubuntu20.04-docker-8c-8g-21926 in /w/workspace/gexfoundry_device-mqtt-go_PR-368 [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-368 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 09392f8bc5cc30852166dbf6136aefae3b8fb876 Merge succeeded, producing 09392f8bc5cc30852166dbf6136aefae3b8fb876 Checking out Revision 09392f8bc5cc30852166dbf6136aefae3b8fb876 (PR-368) > 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/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T02:11:59.914Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T02:12:00.083Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T02:12:00.176Z] ========================================================= [2022-04-25T02:12:00.176Z] EdgeX Global Pipelines Version Info [2022-04-25T02:12:00.176Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:12:00.980Z] ------------------- [2022-04-25T02:12:00.980Z] stable info: [2022-04-25T02:12:00.980Z] ------------------- [2022-04-25T02:12:00.980Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T02:12:00.980Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T02:12:00.980Z] Message: update stable to v1.0.221 [2022-04-25T02:12:01.553Z] ------------------- [2022-04-25T02:12:01.553Z] experimental info: [2022-04-25T02:12:01.553Z] ------------------- [2022-04-25T02:12:01.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T02:12:01.553Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T02:12:01.553Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T02:12:01.800Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-25T02:12:01.839Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-25T02:12:01.877Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T02:12:01.913Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T02:12:01.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T02:12:01.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T02:12:02.034Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T02:12:02.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T02:12:02.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T02:12:02.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T02:12:02.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T02:12:02.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-25T02:12:02.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T02:12:02.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T02:12:02.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T02:12:02.386Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T02:12:02.422Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T02:12:02.461Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T02:12:02.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T02:12:02.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T02:12:02.580Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T02:12:02.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T02:12:02.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T02:12:02.701Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T02:12:02.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T02:12:02.788Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T02:12:02.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo [2022-04-25T02:12:02.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo [2022-04-25T02:12:02.906Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo [2022-04-25T02:12:02.945Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo [2022-04-25T02:12:02.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09392f8 [Pipeline] echo [2022-04-25T02:12:03.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T02:12:03.139Z] provisioning config files... [2022-04-25T02:12:03.153Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/config5029561319693293762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:12:03.497Z] ---> docker-login.sh [2022-04-25T02:12:03.497Z] nexus3.edgexfoundry.org:10001 [2022-04-25T02:12:03.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:03.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:03.772Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:03.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:03.772Z] [2022-04-25T02:12:03.772Z] Login Succeeded [2022-04-25T02:12:03.772Z] nexus3.edgexfoundry.org:10002 [2022-04-25T02:12:03.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:03.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:03.772Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:03.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:03.772Z] [2022-04-25T02:12:03.772Z] Login Succeeded [2022-04-25T02:12:04.033Z] nexus3.edgexfoundry.org:10003 [2022-04-25T02:12:04.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:04.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:04.033Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:04.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:04.033Z] [2022-04-25T02:12:04.033Z] Login Succeeded [2022-04-25T02:12:04.033Z] nexus3.edgexfoundry.org:10004 [2022-04-25T02:12:04.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:04.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:04.295Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:04.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:04.295Z] [2022-04-25T02:12:04.295Z] Login Succeeded [2022-04-25T02:12:04.295Z] docker.io [2022-04-25T02:12:04.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:04.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:04.556Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:04.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:04.556Z] [2022-04-25T02:12:04.556Z] Login Succeeded [2022-04-25T02:12:04.556Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T02:12:04.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T02:12:05.247Z] + git rev-list -1 --merges 09392f8bc5cc30852166dbf6136aefae3b8fb876~1..09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo [2022-04-25T02:12:05.378Z] -----------> git rev-list -1 --merges 09392f8bc5cc30852166dbf6136aefae3b8fb876~1..09392f8bc5cc30852166dbf6136aefae3b8fb876 09392f8bc5cc30852166dbf6136aefae3b8fb876 [false] [Pipeline] sh [2022-04-25T02:12:05.687Z] + git log --format=format:%s -1 09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo [2022-04-25T02:12:05.717Z] ========================================================= [2022-04-25T02:12:05.717Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T02:12:05.717Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T02:12:06.146Z] + git log --format=format:%s -1 09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo [2022-04-25T02:12:06.179Z] [semverPrep] GIT_COMMIT: 09392f8bc5cc30852166dbf6136aefae3b8fb876, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-04-25T02:12:06.208Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T02:12:06.614Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T02:12:06.614Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T02:12:06.614Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T02:12:06.614Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T02:12:06.614Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T02:12:06.614Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T02:12:06.614Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:06.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T02:12:06.994Z] [2022-04-25T02:12:06.994Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:07.340Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T02:12:07.340Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T02:12:07.340Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T02:12:07.340Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T02:12:07.340Z] 4c7163046ea9: Pulling fs layer [2022-04-25T02:12:07.340Z] 0c2d73faf560: Pulling fs layer [2022-04-25T02:12:07.340Z] 0c2d73faf560: Waiting [2022-04-25T02:12:07.340Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T02:12:07.340Z] a0d0a0d46f8b: Download complete [2022-04-25T02:12:07.340Z] 0c2d73faf560: Verifying Checksum [2022-04-25T02:12:07.340Z] 0c2d73faf560: Download complete [2022-04-25T02:12:07.340Z] 4c7163046ea9: Verifying Checksum [2022-04-25T02:12:07.340Z] 4c7163046ea9: Download complete [2022-04-25T02:12:07.600Z] a0d0a0d46f8b: Pull complete [2022-04-25T02:12:07.600Z] 3e5f54012d9b: Pull complete [2022-04-25T02:12:07.861Z] 4c7163046ea9: Pull complete [2022-04-25T02:12:08.123Z] 0c2d73faf560: Pull complete [2022-04-25T02:12:08.123Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T02:12:08.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T02:12:08.123Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T02:12:08.232Z] prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container [2022-04-25T02:12:08.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-25T02:12:09.016Z] $ docker top 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T02:12:09.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T02:12:09.199Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T02:12:09.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T02:12:09.343Z] $ docker exec 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent [2022-04-25T02:12:09.473Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCGKEIH/agent.13 [2022-04-25T02:12:09.473Z] SSH_AGENT_PID=19 [2022-04-25T02:12:09.480Z] Running ssh-add (command line suppressed) [2022-04-25T02:12:09.601Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_6324047005534652881.key (/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_6324047005534652881.key) [2022-04-25T02:12:09.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T02:12:09.944Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T02:12:09.975Z] $ docker exec --env ******** --env ******** 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent -k [2022-04-25T02:12:10.094Z] unset SSH_AUTH_SOCK; [2022-04-25T02:12:10.094Z] unset SSH_AGENT_PID; [2022-04-25T02:12:10.094Z] echo Agent pid 19 killed; [2022-04-25T02:12:10.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T02:12:10.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T02:12:10.188Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T02:12:10.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T02:12:10.335Z] $ docker exec 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent [2022-04-25T02:12:10.461Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOIaGjM/agent.53 [2022-04-25T02:12:10.461Z] SSH_AGENT_PID=59 [2022-04-25T02:12:10.467Z] Running ssh-add (command line suppressed) [2022-04-25T02:12:10.612Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_5903255297331434227.key (/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_5903255297331434227.key) [2022-04-25T02:12:10.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T02:12:10.957Z] + git semver init [2022-04-25T02:12:10.957Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T02:12:10.957Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-368/.git [2022-04-25T02:12:10.957Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-368 [2022-04-25T02:12:10.957Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T02:12:10.957Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T02:12:10.957Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T02:12:10.957Z] # $SEMVER_BRANCH = PR-368 [2022-04-25T02:12:10.957Z] # $SEMVER_TEMP = /tmp/semver-284280538 [2022-04-25T02:12:10.957Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-25T02:12:11.902Z] # '/tmp/semver-284280538' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-368/.semver' [2022-04-25T02:12:11.902Z] # -> Force: false [2022-04-25T02:12:11.902Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-368/.semver [Pipeline] } [2022-04-25T02:12:11.934Z] $ docker exec --env ******** --env ******** 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent -k [2022-04-25T02:12:12.054Z] unset SSH_AUTH_SOCK; [2022-04-25T02:12:12.055Z] unset SSH_AGENT_PID; [2022-04-25T02:12:12.055Z] echo Agent pid 59 killed; [2022-04-25T02:12:12.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T02:12:12.499Z] + git semver [Pipeline] } [2022-04-25T02:12:12.537Z] $ docker stop --time=1 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 [2022-04-25T02:12:13.885Z] $ docker rm -f 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T02:12:14.407Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T02:12:14.702Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T02:12:14.719Z] [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 [2022-04-25T02:12:15.207Z] provisioning config files... [2022-04-25T02:12:15.219Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/config8000838157722392250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:12:15.630Z] ---> docker-login.sh [2022-04-25T02:12:15.630Z] nexus3.edgexfoundry.org:10001 [2022-04-25T02:12:15.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:15.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:15.630Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:15.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:15.630Z] [2022-04-25T02:12:15.630Z] Login Succeeded [2022-04-25T02:12:15.630Z] nexus3.edgexfoundry.org:10002 [2022-04-25T02:12:15.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:15.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:15.891Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:15.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:15.891Z] [2022-04-25T02:12:15.891Z] Login Succeeded [2022-04-25T02:12:15.891Z] nexus3.edgexfoundry.org:10003 [2022-04-25T02:12:15.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:15.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:15.891Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:15.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:15.891Z] [2022-04-25T02:12:15.891Z] Login Succeeded [2022-04-25T02:12:15.891Z] nexus3.edgexfoundry.org:10004 [2022-04-25T02:12:16.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:16.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:16.152Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:16.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:16.152Z] [2022-04-25T02:12:16.152Z] Login Succeeded [2022-04-25T02:12:16.152Z] docker.io [2022-04-25T02:12:16.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:12:16.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:12:16.413Z] Configure a credential helper to remove this warning. See [2022-04-25T02:12:16.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:12:16.413Z] [2022-04-25T02:12:16.413Z] Login Succeeded [2022-04-25T02:12:16.413Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T02:12:16.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T02:12:16.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T02:12:16.678Z] ========================================================= [2022-04-25T02:12:16.678Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T02:12:16.678Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:17.067Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-25T02:12:17.067Z] Sending build context to Docker daemon 5.818MB [2022-04-25T02:12:17.067Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T02:12:17.067Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T02:12:17.067Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T02:12:17.067Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T02:12:17.067Z] 666ba61612fd: Pulling fs layer [2022-04-25T02:12:17.067Z] 8ed8ca486205: Pulling fs layer [2022-04-25T02:12:17.067Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T02:12:17.067Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T02:12:17.067Z] 4fe6c5a15a65: Waiting [2022-04-25T02:12:17.067Z] ca2b28591e48: Pulling fs layer [2022-04-25T02:12:17.067Z] a51346096db8: Pulling fs layer [2022-04-25T02:12:17.067Z] ca2b28591e48: Waiting [2022-04-25T02:12:17.067Z] daebc70d1ce1: Pulling fs layer [2022-04-25T02:12:17.067Z] 0e18a0eac166: Pulling fs layer [2022-04-25T02:12:17.067Z] a51346096db8: Waiting [2022-04-25T02:12:17.067Z] daebc70d1ce1: Waiting [2022-04-25T02:12:17.067Z] 0e18a0eac166: Waiting [2022-04-25T02:12:17.067Z] 8ed8ca486205: Verifying Checksum [2022-04-25T02:12:17.067Z] 8ed8ca486205: Download complete [2022-04-25T02:12:17.067Z] 666ba61612fd: Verifying Checksum [2022-04-25T02:12:17.067Z] 666ba61612fd: Download complete [2022-04-25T02:12:17.067Z] 22a0e8bec74d: Download complete [2022-04-25T02:12:17.330Z] ca2b28591e48: Verifying Checksum [2022-04-25T02:12:17.330Z] ca2b28591e48: Download complete [2022-04-25T02:12:17.330Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T02:12:17.330Z] 59bf1c3509f3: Download complete [2022-04-25T02:12:17.330Z] a51346096db8: Verifying Checksum [2022-04-25T02:12:17.330Z] a51346096db8: Download complete [2022-04-25T02:12:17.330Z] daebc70d1ce1: Verifying Checksum [2022-04-25T02:12:17.330Z] daebc70d1ce1: Download complete [2022-04-25T02:12:17.330Z] 59bf1c3509f3: Pull complete [2022-04-25T02:12:17.592Z] 666ba61612fd: Pull complete [2022-04-25T02:12:17.592Z] 8ed8ca486205: Pull complete [2022-04-25T02:12:17.851Z] 0e18a0eac166: Verifying Checksum [2022-04-25T02:12:17.851Z] 0e18a0eac166: Download complete [2022-04-25T02:12:18.111Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T02:12:18.111Z] 4fe6c5a15a65: Download complete [2022-04-25T02:12:22.308Z] 4fe6c5a15a65: Pull complete [2022-04-25T02:12:22.308Z] 22a0e8bec74d: Pull complete [2022-04-25T02:12:22.308Z] ca2b28591e48: Pull complete [2022-04-25T02:12:22.308Z] a51346096db8: Pull complete [2022-04-25T02:12:22.308Z] daebc70d1ce1: Pull complete [2022-04-25T02:12:24.224Z] 0e18a0eac166: Pull complete [2022-04-25T02:12:24.224Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T02:12:24.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T02:12:24.224Z] ---> f018257e8ee9 [2022-04-25T02:12:24.224Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T02:12:26.132Z] ---> Running in a4ab01be5b25 [2022-04-25T02:12:26.133Z] Removing intermediate container a4ab01be5b25 [2022-04-25T02:12:26.133Z] ---> 057ca6b5fc49 [2022-04-25T02:12:26.133Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T02:12:26.133Z] ---> Running in 08c7daaa3ac8 [2022-04-25T02:12:26.133Z] Removing intermediate container 08c7daaa3ac8 [2022-04-25T02:12:26.133Z] ---> ddf5a4ee26bd [2022-04-25T02:12:26.133Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T02:12:26.133Z] ---> Running in a3d4ade9bb2b [2022-04-25T02:12:26.703Z] Removing intermediate container a3d4ade9bb2b [2022-04-25T02:12:26.703Z] ---> bcc6a9102aca [2022-04-25T02:12:26.703Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T02:12:26.703Z] ---> Running in 8cb8f48224c9 [2022-04-25T02:12:26.963Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T02:12:27.905Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T02:12:28.167Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T02:12:28.167Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T02:12:28.427Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T02:12:28.427Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T02:12:28.427Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T02:12:28.427Z] OK: 224 MiB in 56 packages [2022-04-25T02:12:29.005Z] Removing intermediate container 8cb8f48224c9 [2022-04-25T02:12:29.005Z] ---> 0ca744187baf [2022-04-25T02:12:29.005Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-25T02:12:29.005Z] ---> Running in 49df50c0eec9 [2022-04-25T02:12:29.005Z] Removing intermediate container 49df50c0eec9 [2022-04-25T02:12:29.005Z] ---> 98e45cc464ed [2022-04-25T02:12:29.005Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-25T02:12:29.267Z] ---> 87327227da80 [2022-04-25T02:12:29.267Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T02:12:29.267Z] ---> Running in b6d5ff6d72bc [2022-04-25T02:12:30.066Z] Still waiting to schedule task [2022-04-25T02:12:30.066Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21922’ [2022-04-25T02:12:44.181Z] Removing intermediate container b6d5ff6d72bc [2022-04-25T02:12:44.181Z] ---> 7abeab35d77b [2022-04-25T02:12:44.181Z] Step 10/12 : COPY . . [2022-04-25T02:12:44.181Z] ---> 207ff0e7075c [2022-04-25T02:12:44.181Z] Step 11/12 : ARG MAKE='make build' [2022-04-25T02:12:44.181Z] ---> Running in a650bb195f6f [2022-04-25T02:12:44.181Z] Removing intermediate container a650bb195f6f [2022-04-25T02:12:44.181Z] ---> 1ca00b24dccb [2022-04-25T02:12:44.181Z] Step 12/12 : RUN $MAKE [2022-04-25T02:12:44.181Z] ---> Running in 23b875e48ed1 [2022-04-25T02:12:44.181Z] noop [2022-04-25T02:12:44.181Z] Removing intermediate container 23b875e48ed1 [2022-04-25T02:12:44.181Z] ---> 5bd039c485ee [2022-04-25T02:12:44.181Z] Successfully built 5bd039c485ee [2022-04-25T02:12:44.181Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:44.516Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T02:12:44.516Z] . [Pipeline] withDockerContainer [2022-04-25T02:12:44.602Z] prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container [2022-04-25T02:12:44.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T02:12:45.003Z] $ docker top 651b34b77c23dcd226ecd6e6c79504f4c9a8d54f44a1ee190c0c0104e372e4cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T02:12:45.400Z] + go version [2022-04-25T02:12:45.400Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T02:12:45.435Z] $ docker stop --time=1 651b34b77c23dcd226ecd6e6c79504f4c9a8d54f44a1ee190c0c0104e372e4cb [2022-04-25T02:12:46.734Z] $ docker rm -f 651b34b77c23dcd226ecd6e6c79504f4c9a8d54f44a1ee190c0c0104e372e4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:47.375Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T02:12:47.375Z] . [Pipeline] withDockerContainer [2022-04-25T02:12:47.464Z] prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container [2022-04-25T02:12:47.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T02:12:47.875Z] $ docker top e8446c0f818010e1b932a9f12d9aaa9e0f14f77b078c84fe0a15bec33c72b8dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T02:12:48.375Z] + make test [2022-04-25T02:12:48.375Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T02:12:48.638Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-25T02:12:56.764Z] # github.com/edgexfoundry/device-sdk-go/v2/pkg/service [2022-04-25T02:12:56.764Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.22/pkg/service/main.go:75:5: cannot use ds.config (type *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2022-04-25T02:12:56.764Z] *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) [2022-04-25T02:12:57.024Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2022-04-25T02:12:57.024Z] make: *** [Makefile:37: unittest] Error 2 [Pipeline] } [2022-04-25T02:12:57.069Z] $ docker stop --time=1 e8446c0f818010e1b932a9f12d9aaa9e0f14f77b078c84fe0a15bec33c72b8dc [2022-04-25T02:12:58.774Z] $ docker rm -f e8446c0f818010e1b932a9f12d9aaa9e0f14f77b078c84fe0a15bec33c72b8dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:59.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:12:59.829Z] [2022-04-25T02:12:59.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:13:00.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:13:00.173Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T02:13:00.173Z] 5eb5b503b376: Pulling fs layer [2022-04-25T02:13:00.173Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T02:13:00.173Z] ec43610c2a17: Pulling fs layer [2022-04-25T02:13:00.173Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T02:13:00.173Z] 33b1e0a273af: Pulling fs layer [2022-04-25T02:13:00.173Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T02:13:00.173Z] 2f39f015ded8: Pulling fs layer [2022-04-25T02:13:00.173Z] 33b1e0a273af: Waiting [2022-04-25T02:13:00.173Z] 5d3b04190fa2: Waiting [2022-04-25T02:13:00.173Z] 2f39f015ded8: Waiting [2022-04-25T02:13:00.173Z] 3a2ae6a8a46f: Waiting [2022-04-25T02:13:00.173Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T02:13:00.173Z] 5c69ac0246d0: Download complete [2022-04-25T02:13:00.173Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T02:13:00.173Z] 3a2ae6a8a46f: Download complete [2022-04-25T02:13:00.173Z] 33b1e0a273af: Verifying Checksum [2022-04-25T02:13:00.173Z] 33b1e0a273af: Download complete [2022-04-25T02:13:00.173Z] 5d3b04190fa2: Download complete [2022-04-25T02:13:00.173Z] ec43610c2a17: Verifying Checksum [2022-04-25T02:13:00.173Z] ec43610c2a17: Download complete [2022-04-25T02:13:00.431Z] 5eb5b503b376: Verifying Checksum [2022-04-25T02:13:00.431Z] 5eb5b503b376: Download complete [2022-04-25T02:13:01.001Z] 2f39f015ded8: Download complete [2022-04-25T02:13:01.569Z] 5eb5b503b376: Pull complete [2022-04-25T02:13:01.828Z] 5c69ac0246d0: Pull complete [2022-04-25T02:13:02.397Z] ec43610c2a17: Pull complete [2022-04-25T02:13:02.398Z] 3a2ae6a8a46f: Pull complete [2022-04-25T02:13:02.656Z] 33b1e0a273af: Pull complete [2022-04-25T02:13:02.656Z] 5d3b04190fa2: Pull complete [2022-04-25T02:13:07.935Z] 2f39f015ded8: Pull complete [2022-04-25T02:13:07.935Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T02:13:07.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:13:07.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T02:13:08.023Z] prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container [2022-04-25T02:13:08.064Z] $ 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-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@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 [2022-04-25T02:13:09.856Z] $ docker top 1c476ba400f9d12f7b81ab3139731b0231dc72805bca32bb766839ea852e2ed4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:13:10.316Z] ---> job-cost.sh [2022-04-25T02:13:10.316Z] lf-activate-venv: SKIPPING [2022-04-25T02:13:10.316Z] INFO: No Stack... [2022-04-25T02:13:10.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T02:13:11.149Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T02:13:11.466Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives/cost.csv [2022-04-25T02:13:11.466Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T02:13:11.506Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [2022-04-25T02:13:11.512Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] did not exist. Created. [2022-04-25T02:13:11.512Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T02:13:11.906Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T02:13:11.970Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T02:13:11.992Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T02:13:12.076Z] $ docker stop --time=1 1c476ba400f9d12f7b81ab3139731b0231dc72805bca32bb766839ea852e2ed4 [2022-04-25T02:13:13.238Z] $ docker rm -f 1c476ba400f9d12f7b81ab3139731b0231dc72805bca32bb766839ea852e2ed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T02:13:13.669Z] Failed in branch amd64 [2022-04-25T02:15:40.126Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21930 in /w/workspace/gexfoundry_device-mqtt-go_PR-368 [Pipeline] { [Pipeline] ws [2022-04-25T02:15:40.164Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T02:15:40.516Z] Selected Git installation does not exist. Using Default [2022-04-25T02:15:40.516Z] The recommended git tool is: NONE [2022-04-25T02:15:47.566Z] using credential edgex-jenkins-ssh [2022-04-25T02:15:47.588Z] Cloning the remote Git repository [2022-04-25T02:15:47.652Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-25T02:15:47.732Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-04-25T02:15:47.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-25T02:15:47.815Z] > git --version # timeout=10 [2022-04-25T02:15:47.842Z] > git --version # 'git version 2.25.1' [2022-04-25T02:15:47.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T02:15:47.936Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T02:15:49.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-25T02:15:49.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T02:15:49.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-25T02:15:49.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-25T02:15:49.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T02:15:49.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T02:15:49.767Z] Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 09392f8bc5cc30852166dbf6136aefae3b8fb876 [2022-04-25T02:15:50.011Z] Merge succeeded, producing 09392f8bc5cc30852166dbf6136aefae3b8fb876 [2022-04-25T02:15:50.012Z] Checking out Revision 09392f8bc5cc30852166dbf6136aefae3b8fb876 (PR-368) [2022-04-25T02:15:49.795Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T02:15:49.812Z] > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # timeout=10 [2022-04-25T02:15:49.911Z] > git remote # timeout=10 [2022-04-25T02:15:49.937Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T02:15:49.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T02:15:49.966Z] > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [2022-04-25T02:15:49.997Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T02:15:50.027Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T02:15:50.042Z] > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # timeout=10 [2022-04-25T02:15:54.449Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-04-25T02:15:54.523Z] > git --version # timeout=10 [2022-04-25T02:15:54.535Z] > git --version # 'git version 2.25.1' [2022-04-25T02:15:54.554Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T02:15:55.622Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T02:15:55.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T02:15:55.622Z] Dload Upload Total Spent Left Speed [2022-04-25T02:15:55.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2022-04-25T02:15:56.190Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T02:15:56.553Z] + sudo tee /etc/docker/daemon.new [2022-04-25T02:15:56.553Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T02:15:56.553Z] { [2022-04-25T02:15:56.553Z] "registry-mirrors": [ [2022-04-25T02:15:56.553Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T02:15:56.553Z] ], [2022-04-25T02:15:56.553Z] "bip": "10.250.0.254/24", [2022-04-25T02:15:56.553Z] "hosts": [ [2022-04-25T02:15:56.553Z] "tcp://0.0.0.0:5555", [2022-04-25T02:15:56.553Z] "unix:///var/run/docker.sock" [2022-04-25T02:15:56.553Z] ], [2022-04-25T02:15:56.553Z] "mtu": 1458, [2022-04-25T02:15:56.553Z] "selinux-enabled": true, [2022-04-25T02:15:56.553Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T02:15:56.553Z] } [Pipeline] sh [2022-04-25T02:15:56.925Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T02:15:57.291Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T02:16:15.813Z] provisioning config files... [2022-04-25T02:16:15.847Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3545898332867694068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:16:16.464Z] ---> docker-login.sh [2022-04-25T02:16:16.464Z] nexus3.edgexfoundry.org:10001 [2022-04-25T02:16:17.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:16:17.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:16:17.349Z] Configure a credential helper to remove this warning. See [2022-04-25T02:16:17.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:16:17.349Z] [2022-04-25T02:16:17.349Z] Login Succeeded [2022-04-25T02:16:17.349Z] nexus3.edgexfoundry.org:10002 [2022-04-25T02:16:17.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:16:17.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:16:17.952Z] Configure a credential helper to remove this warning. See [2022-04-25T02:16:17.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:16:17.952Z] [2022-04-25T02:16:17.952Z] Login Succeeded [2022-04-25T02:16:17.952Z] nexus3.edgexfoundry.org:10003 [2022-04-25T02:16:18.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:16:18.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:16:18.556Z] Configure a credential helper to remove this warning. See [2022-04-25T02:16:18.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:16:18.556Z] [2022-04-25T02:16:18.556Z] Login Succeeded [2022-04-25T02:16:18.556Z] nexus3.edgexfoundry.org:10004 [2022-04-25T02:16:18.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:16:19.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:16:19.107Z] Configure a credential helper to remove this warning. See [2022-04-25T02:16:19.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:16:19.107Z] [2022-04-25T02:16:19.107Z] Login Succeeded [2022-04-25T02:16:19.107Z] docker.io [2022-04-25T02:16:19.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:16:19.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:16:19.994Z] Configure a credential helper to remove this warning. See [2022-04-25T02:16:19.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:16:19.994Z] [2022-04-25T02:16:19.994Z] Login Succeeded [2022-04-25T02:16:19.994Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T02:16:20.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T02:16:20.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T02:16:20.500Z] ========================================================= [2022-04-25T02:16:20.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T02:16:20.500Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:16:20.980Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-25T02:16:21.259Z] Sending build context to Docker daemon 3.034MB [2022-04-25T02:16:21.259Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T02:16:21.259Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T02:16:21.535Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T02:16:21.535Z] 9b3977197b4f: Pulling fs layer [2022-04-25T02:16:21.535Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T02:16:21.535Z] 94645a83ff95: Pulling fs layer [2022-04-25T02:16:21.535Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T02:16:21.535Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T02:16:21.535Z] 3096ccb668a1: Pulling fs layer [2022-04-25T02:16:21.535Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T02:16:21.535Z] a4caa8a26152: Pulling fs layer [2022-04-25T02:16:21.535Z] 3096ccb668a1: Waiting [2022-04-25T02:16:21.535Z] e8cf19c19ddd: Waiting [2022-04-25T02:16:21.535Z] a4caa8a26152: Waiting [2022-04-25T02:16:21.535Z] 3f3a8bcf1eab: Waiting [2022-04-25T02:16:21.535Z] 0c92f367c5e7: Waiting [2022-04-25T02:16:21.535Z] 94645a83ff95: Verifying Checksum [2022-04-25T02:16:21.535Z] 94645a83ff95: Download complete [2022-04-25T02:16:21.535Z] 1a89e8eeedd5: Verifying Checksum [2022-04-25T02:16:21.535Z] 1a89e8eeedd5: Download complete [2022-04-25T02:16:21.535Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T02:16:21.535Z] 0c92f367c5e7: Download complete [2022-04-25T02:16:21.535Z] 3096ccb668a1: Verifying Checksum [2022-04-25T02:16:21.535Z] 3096ccb668a1: Download complete [2022-04-25T02:16:21.816Z] 9b3977197b4f: Verifying Checksum [2022-04-25T02:16:21.816Z] 9b3977197b4f: Download complete [2022-04-25T02:16:21.816Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T02:16:21.816Z] e8cf19c19ddd: Download complete [2022-04-25T02:16:22.429Z] 9b3977197b4f: Pull complete [2022-04-25T02:16:23.031Z] 1a89e8eeedd5: Pull complete [2022-04-25T02:16:23.309Z] 94645a83ff95: Pull complete [2022-04-25T02:16:23.920Z] a4caa8a26152: Verifying Checksum [2022-04-25T02:16:24.518Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T02:16:24.518Z] 3f3a8bcf1eab: Download complete [2022-04-25T02:16:36.966Z] 3f3a8bcf1eab: Pull complete [2022-04-25T02:16:37.251Z] 0c92f367c5e7: Pull complete [2022-04-25T02:16:37.543Z] 3096ccb668a1: Pull complete [2022-04-25T02:16:37.855Z] e8cf19c19ddd: Pull complete [2022-04-25T02:16:44.779Z] a4caa8a26152: Pull complete [2022-04-25T02:16:44.779Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T02:16:44.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T02:16:44.779Z] ---> 725f1c02e7f9 [2022-04-25T02:16:44.779Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T02:16:44.779Z] ---> Running in 53c5c98d3a74 [2022-04-25T02:16:45.075Z] Removing intermediate container 53c5c98d3a74 [2022-04-25T02:16:45.075Z] ---> 64d05494a9d8 [2022-04-25T02:16:45.075Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T02:16:45.075Z] ---> Running in cfdcbd8793ae [2022-04-25T02:16:45.375Z] Removing intermediate container cfdcbd8793ae [2022-04-25T02:16:45.375Z] ---> 1c2f5d42e24c [2022-04-25T02:16:45.375Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T02:16:45.375Z] ---> Running in af7139c71e98 [2022-04-25T02:16:47.447Z] Removing intermediate container af7139c71e98 [2022-04-25T02:16:47.447Z] ---> 620adf2bbe6b [2022-04-25T02:16:47.447Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T02:16:47.447Z] ---> Running in f09ce7b24dea [2022-04-25T02:16:49.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T02:16:50.451Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T02:16:51.435Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T02:16:51.435Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T02:16:51.435Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T02:16:51.710Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T02:16:51.985Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T02:16:51.985Z] OK: 224 MiB in 56 packages [2022-04-25T02:16:52.985Z] Removing intermediate container f09ce7b24dea [2022-04-25T02:16:52.985Z] ---> e0f30c8cefee [2022-04-25T02:16:52.985Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-25T02:16:52.985Z] ---> Running in b4a7975a39bf [2022-04-25T02:16:53.262Z] Removing intermediate container b4a7975a39bf [2022-04-25T02:16:53.262Z] ---> 7ee5af7f96bc [2022-04-25T02:16:53.262Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-25T02:16:53.862Z] ---> 0a6f80cf95f9 [2022-04-25T02:16:53.862Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T02:16:53.862Z] ---> Running in c688a91e920f [2022-04-25T02:17:50.452Z] Removing intermediate container c688a91e920f [2022-04-25T02:17:50.452Z] ---> d42b41b72dc7 [2022-04-25T02:17:50.452Z] Step 10/12 : COPY . . [2022-04-25T02:17:50.452Z] ---> f89927f3687c [2022-04-25T02:17:50.452Z] Step 11/12 : ARG MAKE='make build' [2022-04-25T02:17:50.452Z] ---> Running in e9013e8351cf [2022-04-25T02:17:50.452Z] Removing intermediate container e9013e8351cf [2022-04-25T02:17:50.452Z] ---> 37691ab12ea5 [2022-04-25T02:17:50.452Z] Step 12/12 : RUN $MAKE [2022-04-25T02:17:50.452Z] ---> Running in 488f633f7d5d [2022-04-25T02:17:50.452Z] noop [2022-04-25T02:17:50.452Z] Removing intermediate container 488f633f7d5d [2022-04-25T02:17:50.452Z] ---> d42592c62e3c [2022-04-25T02:17:50.452Z] Successfully built d42592c62e3c [2022-04-25T02:17:50.452Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:17:50.830Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T02:17:50.830Z] . [Pipeline] withDockerContainer [2022-04-25T02:17:51.089Z] prd-ubuntu20.04-docker-arm64-4c-16g-21930 does not seem to be running inside a container [2022-04-25T02:17:51.186Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-25T02:17:52.567Z] $ docker top 62ba03ff86b473dd5c43f873753667deb0b106d295838577dae1a4bd19b71e9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T02:17:53.588Z] + go version [2022-04-25T02:17:53.588Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T02:17:53.630Z] $ docker stop --time=1 62ba03ff86b473dd5c43f873753667deb0b106d295838577dae1a4bd19b71e9f [2022-04-25T02:17:55.256Z] $ docker rm -f 62ba03ff86b473dd5c43f873753667deb0b106d295838577dae1a4bd19b71e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:17:56.094Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T02:17:56.094Z] . [Pipeline] withDockerContainer [2022-04-25T02:17:56.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-21930 does not seem to be running inside a container [2022-04-25T02:17:56.440Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-25T02:17:57.688Z] $ docker top 8db1981c1fc86e634f2022775796148b28ca3fe6cad68a010defcdeb615ff154 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T02:17:58.693Z] + make test [2022-04-25T02:17:58.693Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T02:18:00.148Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-25T02:19:22.097Z] # github.com/edgexfoundry/device-sdk-go/v2/pkg/service [2022-04-25T02:19:22.097Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.22/pkg/service/main.go:75:5: cannot use ds.config (type *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: [2022-04-25T02:19:22.097Z] *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) [2022-04-25T02:19:24.750Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2022-04-25T02:19:25.032Z] make: *** [Makefile:37: unittest] Error 2 [Pipeline] } [2022-04-25T02:19:25.087Z] $ docker stop --time=1 8db1981c1fc86e634f2022775796148b28ca3fe6cad68a010defcdeb615ff154 [2022-04-25T02:19:26.866Z] $ docker rm -f 8db1981c1fc86e634f2022775796148b28ca3fe6cad68a010defcdeb615ff154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:19:28.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T02:19:28.378Z] [2022-04-25T02:19:28.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:19:28.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T02:19:29.258Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T02:19:29.258Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T02:19:29.258Z] 04944245beec: Pulling fs layer [2022-04-25T02:19:29.258Z] 699f458cf7ca: Pulling fs layer [2022-04-25T02:19:29.258Z] 765212b225bb: Pulling fs layer [2022-04-25T02:19:29.258Z] f23df028b6ca: Pulling fs layer [2022-04-25T02:19:29.258Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T02:19:29.258Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T02:19:29.258Z] 765212b225bb: Waiting [2022-04-25T02:19:29.258Z] f23df028b6ca: Waiting [2022-04-25T02:19:29.258Z] d65c8cfc05b1: Waiting [2022-04-25T02:19:29.258Z] 2437ff75d9bd: Waiting [2022-04-25T02:19:29.258Z] 04944245beec: Verifying Checksum [2022-04-25T02:19:29.258Z] 04944245beec: Download complete [2022-04-25T02:19:29.258Z] 765212b225bb: Verifying Checksum [2022-04-25T02:19:29.258Z] 765212b225bb: Download complete [2022-04-25T02:19:29.258Z] f23df028b6ca: Verifying Checksum [2022-04-25T02:19:29.258Z] f23df028b6ca: Download complete [2022-04-25T02:19:29.258Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T02:19:29.259Z] d65c8cfc05b1: Download complete [2022-04-25T02:19:29.259Z] 699f458cf7ca: Verifying Checksum [2022-04-25T02:19:29.259Z] 699f458cf7ca: Download complete [2022-04-25T02:19:29.864Z] 8998bd30e6a1: Verifying Checksum [2022-04-25T02:19:29.864Z] 8998bd30e6a1: Download complete [2022-04-25T02:19:31.864Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T02:19:31.864Z] 2437ff75d9bd: Download complete [2022-04-25T02:19:34.515Z] 8998bd30e6a1: Pull complete [2022-04-25T02:19:34.793Z] 04944245beec: Pull complete [2022-04-25T02:19:36.243Z] 699f458cf7ca: Pull complete [2022-04-25T02:19:36.519Z] 765212b225bb: Pull complete [2022-04-25T02:19:37.511Z] f23df028b6ca: Pull complete [2022-04-25T02:19:37.787Z] d65c8cfc05b1: Pull complete [2022-04-25T02:19:52.901Z] 2437ff75d9bd: Pull complete [2022-04-25T02:19:52.901Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T02:19:52.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T02:19:52.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T02:19:53.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-21930 does not seem to be running inside a container [2022-04-25T02:19:53.243Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-25T02:19:55.694Z] $ docker top 79b47f6ee2c9c34be007be424208a21d9119ffa77fd848c7c5bc276300e82d17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:56.655Z] ---> job-cost.sh [2022-04-25T02:19:56.655Z] lf-activate-venv: SKIPPING [2022-04-25T02:19:56.655Z] INFO: No Stack... [2022-04-25T02:19:56.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T02:19:57.914Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T02:19:58.490Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-04-25T02:19:58.490Z] cut -d, -f6 [Pipeline] lock [2022-04-25T02:19:58.570Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [2022-04-25T02:19:58.576Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] did not exist. Created. [2022-04-25T02:19:58.576Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T02:19:59.326Z] /w/workspace/device-mqtt-go/1@tmp/durable-5f912284/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T02:20:00.026Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T02:20:00.062Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T02:20:00.545Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T02:20:00.560Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T02:20:00.658Z] $ docker stop --time=1 79b47f6ee2c9c34be007be424208a21d9119ffa77fd848c7c5bc276300e82d17 [2022-04-25T02:20:02.161Z] $ docker rm -f 79b47f6ee2c9c34be007be424208a21d9119ffa77fd848c7c5bc276300e82d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T02:20:02.926Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-25T02:20:04.894Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives ] [2022-04-25T02:20:04.894Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives [2022-04-25T02:20:04.894Z] total 16 [2022-04-25T02:20:04.894Z] drwxr-xr-x 3 root root 4096 Apr 25 02:13 . [2022-04-25T02:20:04.894Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. [2022-04-25T02:20:04.894Z] drwxr-xr-x 2 root root 4096 Apr 25 02:13 cost [2022-04-25T02:20:04.894Z] -rw-r--r-- 1 root root 85 Apr 25 02:13 cost.csv [2022-04-25T02:20:04.894Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives [2022-04-25T02:20:04.894Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives [2022-04-25T02:20:04.894Z] total 16 [2022-04-25T02:20:04.894Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 02:13 . [2022-04-25T02:20:04.894Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. [2022-04-25T02:20:04.894Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 02:13 cost [2022-04-25T02:20:04.894Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 25 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:05.225Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:06.125Z] ---> package-listing.sh [2022-04-25T02:20:06.125Z] ++ facter osfamily [2022-04-25T02:20:06.125Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T02:20:06.386Z] + OS_FAMILY=debian [2022-04-25T02:20:06.386Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-368 [2022-04-25T02:20:06.386Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T02:20:06.386Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T02:20:06.386Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T02:20:06.386Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T02:20:06.386Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-368 ']' [2022-04-25T02:20:06.386Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T02:20:06.386Z] + case "${OS_FAMILY}" in [2022-04-25T02:20:06.386Z] + dpkg -l [2022-04-25T02:20:06.386Z] + grep '^ii' [2022-04-25T02:20:06.386Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T02:20:06.386Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T02:20:06.386Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T02:20:06.386Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-368 ']' [2022-04-25T02:20:06.386Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives/ [2022-04-25T02:20:06.386Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives/ [Pipeline] echo [2022-04-25T02:20:06.427Z] 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T02:20:06.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:20:07.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:20:07.382Z] . [Pipeline] withDockerContainer [2022-04-25T02:20:07.479Z] prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container [2022-04-25T02:20:07.601Z] $ 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-368/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-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T02:20:07.837Z] $ docker top e7849edec0bc88ff87c0ba8c21832c292d5d891bbd081ad3832f3ffe262c3300 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T02:20:08.237Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T02:20:08.557Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T02:20:08.871Z] + ls /var/log/sa-host [2022-04-25T02:20:08.871Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T02:20:09.031Z] provisioning config files... [2022-04-25T02:20:09.041Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/config8161333788033935834tmp [Pipeline] { [Pipeline] echo [2022-04-25T02:20:09.096Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:09.415Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T02:20:09.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:09.854Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T02:20:09.888Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:10.209Z] ---> sudo-logs.sh [2022-04-25T02:20:10.209Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T02:20:10.299Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:10.617Z] ---> job-cost.sh [2022-04-25T02:20:10.617Z] lf-activate-venv: SKIPPING [2022-04-25T02:20:10.617Z] DEBUG: total: 0.2199999988079071 [2022-04-25T02:20:10.617Z] INFO: Retrieving Stack Cost... [2022-04-25T02:20:10.881Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T02:20:11.452Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T02:20:11.491Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:20:11.809Z] ---> logs-deploy.sh [2022-04-25T02:20:11.809Z] lf-activate-venv: SKIPPING [2022-04-25T02:20:11.809Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-368/1 [2022-04-25T02:20:11.809Z] INFO: archiving workspace using pattern(s): [2022-04-25T02:20:12.748Z] Archives upload complete. [2022-04-25T02:20:12.748Z] INFO: archiving logs to Nexus