Pull request #369 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5252f7ab1b5ff57685e39e78547ae9ffd6b6506+cac5c8aff02eeff20ea0733b686feb688efb88bb (f1d13c1a645885601ae87f34631bc7b7a0cf34fd) 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-ssh7193988812884414348.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-ssh3937684006460502827.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-369/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-369/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7704073455704643020.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-369/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6336650945244805098.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-ssh16738502993499306438.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-369/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-369/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10226102508236111525.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24971 in /w/workspace/gexfoundry_device-mqtt-go_PR-369 [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-369 # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 Merge succeeded, producing c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 Checking out Revision c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 (PR-369) > 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/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # 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-26T15:54:03.423Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:54:03.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:54:03.718Z] ========================================================= [2022-04-26T15:54:03.718Z] EdgeX Global Pipelines Version Info [2022-04-26T15:54:03.718Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:04.537Z] ------------------- [2022-04-26T15:54:04.537Z] stable info: [2022-04-26T15:54:04.537Z] ------------------- [2022-04-26T15:54:04.537Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:54:04.537Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:54:04.537Z] Message: update stable to v1.0.221 [2022-04-26T15:54:05.112Z] ------------------- [2022-04-26T15:54:05.112Z] experimental info: [2022-04-26T15:54:05.112Z] ------------------- [2022-04-26T15:54:05.112Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:54:05.112Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:54:05.112Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:54:05.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-26T15:54:05.415Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-26T15:54:05.459Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:54:05.501Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:54:05.539Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:54:05.579Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:54:05.622Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:54:05.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:54:05.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:54:05.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:54:05.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:54:05.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-26T15:54:05.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:54:05.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:54:05.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:54:06.038Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:54:06.080Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:54:06.117Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:54:06.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:54:06.191Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:54:06.230Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:54:06.282Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:54:06.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:54:06.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:54:06.423Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:54:06.461Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:54:06.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-369 [Pipeline] echo [2022-04-26T15:54:06.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-369 [Pipeline] echo [2022-04-26T15:54:06.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-369 [Pipeline] echo [2022-04-26T15:54:06.640Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo [2022-04-26T15:54:06.682Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5252f7 [Pipeline] echo [2022-04-26T15:54:06.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:54:06.836Z] provisioning config files... [2022-04-26T15:54:06.849Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/config547842632058341434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:07.200Z] ---> docker-login.sh [2022-04-26T15:54:07.200Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:07.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:07.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:07.724Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:07.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:07.724Z] [2022-04-26T15:54:07.724Z] Login Succeeded [2022-04-26T15:54:07.724Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:07.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:07.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:07.724Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:07.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:07.724Z] [2022-04-26T15:54:07.724Z] Login Succeeded [2022-04-26T15:54:07.724Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:07.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:07.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:07.987Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:07.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:07.987Z] [2022-04-26T15:54:07.987Z] Login Succeeded [2022-04-26T15:54:07.987Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:07.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:08.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:08.254Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:08.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:08.254Z] [2022-04-26T15:54:08.254Z] Login Succeeded [2022-04-26T15:54:08.254Z] docker.io [2022-04-26T15:54:08.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:08.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:08.516Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:08.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:08.516Z] [2022-04-26T15:54:08.516Z] Login Succeeded [2022-04-26T15:54:08.516Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:08.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:54:09.172Z] + git rev-list -1 --merges c5252f7ab1b5ff57685e39e78547ae9ffd6b6506~1..c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo [2022-04-26T15:54:09.300Z] -----------> git rev-list -1 --merges c5252f7ab1b5ff57685e39e78547ae9ffd6b6506~1..c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [false] [Pipeline] sh [2022-04-26T15:54:09.613Z] + git log --format=format:%s -1 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo [2022-04-26T15:54:09.648Z] ========================================================= [2022-04-26T15:54:09.648Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:54:09.648Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:54:10.093Z] + git log --format=format:%s -1 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo [2022-04-26T15:54:10.126Z] [semverPrep] GIT_COMMIT: c5252f7ab1b5ff57685e39e78547ae9ffd6b6506, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-04-26T15:54:10.158Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:54:10.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.567Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.567Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:54:10.567Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.567Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T15:54:10.567Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:54:10.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:10.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:10.957Z] [2022-04-26T15:54:10.957Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:11.320Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:11.320Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:54:11.320Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:54:11.320Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:54:11.320Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:54:11.320Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:54:11.320Z] 0c2d73faf560: Waiting [2022-04-26T15:54:11.320Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:54:11.320Z] 3e5f54012d9b: Download complete [2022-04-26T15:54:11.584Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T15:54:11.584Z] a0d0a0d46f8b: Download complete [2022-04-26T15:54:11.584Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:54:11.584Z] 0c2d73faf560: Download complete [2022-04-26T15:54:11.584Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:54:11.584Z] 4c7163046ea9: Download complete [2022-04-26T15:54:11.584Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:54:11.844Z] 3e5f54012d9b: Pull complete [2022-04-26T15:54:12.108Z] 4c7163046ea9: Pull complete [2022-04-26T15:54:12.369Z] 0c2d73faf560: Pull complete [2022-04-26T15:54:12.369Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:54:12.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:12.369Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:54:12.468Z] prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container [2022-04-26T15:54:12.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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-26T15:54:13.417Z] $ docker top 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:54:13.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:13.591Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:13.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:13.762Z] $ docker exec 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 ssh-agent [2022-04-26T15:54:13.870Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLbLfNb/agent.14 [2022-04-26T15:54:13.870Z] SSH_AGENT_PID=20 [2022-04-26T15:54:13.878Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:14.034Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/private_key_7385061405929419676.key (/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/private_key_7385061405929419676.key) [2022-04-26T15:54:14.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:14.360Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:54:14.415Z] $ docker exec --env ******** --env ******** 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 ssh-agent -k [2022-04-26T15:54:14.524Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:14.525Z] unset SSH_AGENT_PID; [2022-04-26T15:54:14.525Z] echo Agent pid 20 killed; [2022-04-26T15:54:14.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:54:14.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:14.603Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:14.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:14.754Z] $ docker exec 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 ssh-agent [2022-04-26T15:54:14.876Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXapifCf/agent.53 [2022-04-26T15:54:14.876Z] SSH_AGENT_PID=60 [2022-04-26T15:54:14.882Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:15.032Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/private_key_3601962678336941701.key (/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/private_key_3601962678336941701.key) [2022-04-26T15:54:15.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:15.352Z] + git semver init [2022-04-26T15:54:15.352Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:54:15.352Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-369/.git [2022-04-26T15:54:15.352Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-369 [2022-04-26T15:54:15.352Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:54:15.352Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:54:15.352Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:54:15.352Z] # $SEMVER_BRANCH = PR-369 [2022-04-26T15:54:15.352Z] # $SEMVER_TEMP = /tmp/semver-512661608 [2022-04-26T15:54:15.352Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-26T15:54:16.296Z] # '/tmp/semver-512661608' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-369/.semver' [2022-04-26T15:54:16.296Z] # -> Force: false [2022-04-26T15:54:16.296Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-369/.semver [Pipeline] } [2022-04-26T15:54:16.346Z] $ docker exec --env ******** --env ******** 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 ssh-agent -k [2022-04-26T15:54:16.458Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:16.459Z] unset SSH_AGENT_PID; [2022-04-26T15:54:16.459Z] echo Agent pid 60 killed; [2022-04-26T15:54:16.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:54:16.885Z] + git semver [Pipeline] } [2022-04-26T15:54:16.942Z] $ docker stop --time=1 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 [2022-04-26T15:54:18.644Z] $ docker rm -f 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:54:19.081Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:54:19.464Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:54:19.483Z] [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-26T15:54:20.083Z] provisioning config files... [2022-04-26T15:54:20.098Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/config3054051106732008307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:20.450Z] ---> docker-login.sh [2022-04-26T15:54:20.450Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:20.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.450Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.450Z] [2022-04-26T15:54:20.450Z] Login Succeeded [2022-04-26T15:54:20.450Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:20.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.709Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.709Z] [2022-04-26T15:54:20.709Z] Login Succeeded [2022-04-26T15:54:20.709Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:20.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.709Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.709Z] [2022-04-26T15:54:20.709Z] Login Succeeded [2022-04-26T15:54:20.709Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:20.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:20.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:20.970Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:20.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:20.970Z] [2022-04-26T15:54:20.970Z] Login Succeeded [2022-04-26T15:54:20.970Z] docker.io [2022-04-26T15:54:20.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:21.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:21.230Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:21.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:21.230Z] [2022-04-26T15:54:21.230Z] Login Succeeded [2022-04-26T15:54:21.230Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:21.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:54:21.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:54:21.489Z] ========================================================= [2022-04-26T15:54:21.489Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:54:21.489Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:21.907Z] + 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-26T15:54:21.907Z] Sending build context to Docker daemon 5.822MB [2022-04-26T15:54:21.907Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:54:21.907Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T15:54:21.907Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:54:21.907Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:54:21.907Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:54:21.907Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:54:21.907Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:54:21.907Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:54:21.907Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:54:21.907Z] a51346096db8: Pulling fs layer [2022-04-26T15:54:21.907Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:54:21.907Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:54:21.907Z] 4fe6c5a15a65: Waiting [2022-04-26T15:54:21.907Z] 22a0e8bec74d: Waiting [2022-04-26T15:54:21.907Z] ca2b28591e48: Waiting [2022-04-26T15:54:21.907Z] a51346096db8: Waiting [2022-04-26T15:54:21.907Z] 0e18a0eac166: Waiting [2022-04-26T15:54:21.907Z] daebc70d1ce1: Waiting [2022-04-26T15:54:22.168Z] 8ed8ca486205: Verifying Checksum [2022-04-26T15:54:22.168Z] 8ed8ca486205: Download complete [2022-04-26T15:54:22.168Z] 666ba61612fd: Verifying Checksum [2022-04-26T15:54:22.168Z] 666ba61612fd: Download complete [2022-04-26T15:54:22.168Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:54:22.168Z] 22a0e8bec74d: Download complete [2022-04-26T15:54:22.168Z] ca2b28591e48: Verifying Checksum [2022-04-26T15:54:22.168Z] ca2b28591e48: Download complete [2022-04-26T15:54:22.168Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T15:54:22.168Z] 59bf1c3509f3: Download complete [2022-04-26T15:54:22.168Z] a51346096db8: Verifying Checksum [2022-04-26T15:54:22.168Z] a51346096db8: Download complete [2022-04-26T15:54:22.168Z] daebc70d1ce1: Download complete [2022-04-26T15:54:22.168Z] 59bf1c3509f3: Pull complete [2022-04-26T15:54:22.429Z] 666ba61612fd: Pull complete [2022-04-26T15:54:22.429Z] 8ed8ca486205: Pull complete [2022-04-26T15:54:23.001Z] 0e18a0eac166: Verifying Checksum [2022-04-26T15:54:23.001Z] 0e18a0eac166: Download complete [2022-04-26T15:54:23.001Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:54:23.001Z] 4fe6c5a15a65: Download complete [2022-04-26T15:54:27.201Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:54:27.201Z] 22a0e8bec74d: Pull complete [2022-04-26T15:54:27.201Z] ca2b28591e48: Pull complete [2022-04-26T15:54:27.201Z] a51346096db8: Pull complete [2022-04-26T15:54:27.201Z] daebc70d1ce1: Pull complete [2022-04-26T15:54:29.744Z] 0e18a0eac166: Pull complete [2022-04-26T15:54:29.744Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:54:29.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:54:29.744Z] ---> f018257e8ee9 [2022-04-26T15:54:29.744Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:54:32.300Z] ---> Running in 8e1d0278a1bf [2022-04-26T15:54:32.300Z] Removing intermediate container 8e1d0278a1bf [2022-04-26T15:54:32.300Z] ---> a5510264aa1c [2022-04-26T15:54:32.300Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:54:32.562Z] ---> Running in 4edfe95efaec [2022-04-26T15:54:32.829Z] Removing intermediate container 4edfe95efaec [2022-04-26T15:54:32.829Z] ---> 225b5032df76 [2022-04-26T15:54:32.829Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:54:33.090Z] ---> Running in 16f49c945156 [2022-04-26T15:54:34.483Z] Removing intermediate container 16f49c945156 [2022-04-26T15:54:34.483Z] ---> e2d652601acb [2022-04-26T15:54:34.483Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:54:34.742Z] ---> Running in 939c8229b050 [2022-04-26T15:54:34.906Z] Still waiting to schedule task [2022-04-26T15:54:34.907Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T15:54:35.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:35.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:36.208Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T15:54:36.208Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T15:54:36.469Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T15:54:36.469Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T15:54:36.469Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T15:54:36.469Z] OK: 224 MiB in 56 packages [2022-04-26T15:54:37.047Z] Removing intermediate container 939c8229b050 [2022-04-26T15:54:37.047Z] ---> 0273a6c7645a [2022-04-26T15:54:37.047Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T15:54:37.047Z] ---> Running in 7346cd0df9ee [2022-04-26T15:54:37.047Z] Removing intermediate container 7346cd0df9ee [2022-04-26T15:54:37.047Z] ---> 2d7d4ed57849 [2022-04-26T15:54:37.047Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T15:54:37.308Z] ---> f4f0d0baae9f [2022-04-26T15:54:37.308Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:54:37.308Z] ---> Running in 08233fa67483 [2022-04-26T15:54:55.424Z] Removing intermediate container 08233fa67483 [2022-04-26T15:54:55.424Z] ---> 74b35d6c7262 [2022-04-26T15:54:55.424Z] Step 10/12 : COPY . . [2022-04-26T15:54:55.424Z] ---> 474c40099699 [2022-04-26T15:54:55.424Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T15:54:55.424Z] ---> Running in 69f07bca2810 [2022-04-26T15:54:55.424Z] Removing intermediate container 69f07bca2810 [2022-04-26T15:54:55.424Z] ---> 679b54c2ea12 [2022-04-26T15:54:55.424Z] Step 12/12 : RUN $MAKE [2022-04-26T15:54:55.424Z] ---> Running in f219783a681b [2022-04-26T15:54:55.424Z] noop [2022-04-26T15:54:55.424Z] Removing intermediate container f219783a681b [2022-04-26T15:54:55.424Z] ---> a50a2c4d201c [2022-04-26T15:54:55.424Z] Successfully built a50a2c4d201c [2022-04-26T15:54:55.424Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:55.762Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:55.762Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:55.865Z] prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container [2022-04-26T15:54:55.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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-26T15:54:56.326Z] $ docker top c21f312d3642861b5af52fb164103eb2a8dda30fc183a06adf07f12831e20fe0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:54:56.721Z] + go version [2022-04-26T15:54:56.721Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:54:56.770Z] $ docker stop --time=1 c21f312d3642861b5af52fb164103eb2a8dda30fc183a06adf07f12831e20fe0 [2022-04-26T15:54:58.075Z] $ docker rm -f c21f312d3642861b5af52fb164103eb2a8dda30fc183a06adf07f12831e20fe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:58.729Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:58.729Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:58.828Z] prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container [2022-04-26T15:54:58.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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-26T15:54:59.465Z] $ docker top 280edf468568174502a62f0832cbec90300a78b262bd09c2c8737f5adeaa00ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:54:59.958Z] + make test [2022-04-26T15:54:59.958Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T15:55:00.532Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T15:55:10.537Z] # github.com/edgexfoundry/device-sdk-go/v2/pkg/service [2022-04-26T15:55:10.537Z] /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-26T15:55:10.537Z] *"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-26T15:55:10.537Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2022-04-26T15:55:10.537Z] make: *** [Makefile:37: unittest] Error 2 [Pipeline] } [2022-04-26T15:55:10.600Z] $ docker stop --time=1 280edf468568174502a62f0832cbec90300a78b262bd09c2c8737f5adeaa00ae [2022-04-26T15:55:12.461Z] $ docker rm -f 280edf468568174502a62f0832cbec90300a78b262bd09c2c8737f5adeaa00ae [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-26T15:55:13.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:13.545Z] [2022-04-26T15:55:13.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:13.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:13.890Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:55:13.890Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:55:13.890Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:55:13.890Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:55:13.890Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:55:13.890Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:55:13.890Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:55:13.890Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:55:13.890Z] 33b1e0a273af: Waiting [2022-04-26T15:55:13.890Z] 5d3b04190fa2: Waiting [2022-04-26T15:55:13.890Z] 2f39f015ded8: Waiting [2022-04-26T15:55:13.890Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:55:13.890Z] 5c69ac0246d0: Download complete [2022-04-26T15:55:13.890Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:55:13.890Z] 3a2ae6a8a46f: Download complete [2022-04-26T15:55:14.152Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:55:14.152Z] 33b1e0a273af: Download complete [2022-04-26T15:55:14.152Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:55:14.152Z] ec43610c2a17: Download complete [2022-04-26T15:55:14.152Z] 5d3b04190fa2: Download complete [2022-04-26T15:55:14.152Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:55:14.152Z] 5eb5b503b376: Download complete [2022-04-26T15:55:15.094Z] 2f39f015ded8: Download complete [2022-04-26T15:55:15.661Z] 5eb5b503b376: Pull complete [2022-04-26T15:55:15.921Z] 5c69ac0246d0: Pull complete [2022-04-26T15:55:16.498Z] ec43610c2a17: Pull complete [2022-04-26T15:55:16.498Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:55:16.759Z] 33b1e0a273af: Pull complete [2022-04-26T15:55:16.759Z] 5d3b04190fa2: Pull complete [2022-04-26T15:55:22.042Z] 2f39f015ded8: Pull complete [2022-04-26T15:55:22.042Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:55:22.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:22.042Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:55:22.142Z] prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container [2022-04-26T15:55:22.188Z] $ 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-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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-26T15:55:25.329Z] $ docker top 39533f9669ad22237e544ff6a6341297f556d09863ed335aa2c47e5fceea324f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:55:25.790Z] ---> job-cost.sh [2022-04-26T15:55:25.790Z] lf-activate-venv: SKIPPING [2022-04-26T15:55:25.790Z] INFO: No Stack... [2022-04-26T15:55:26.050Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:55:26.622Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:55:26.941Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives/cost.csv [2022-04-26T15:55:26.941Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:55:26.984Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [2022-04-26T15:55:26.988Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] did not exist. Created. [2022-04-26T15:55:26.989Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:55:27.377Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:55:27.438Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:55:27.461Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:55:27.547Z] $ docker stop --time=1 39533f9669ad22237e544ff6a6341297f556d09863ed335aa2c47e5fceea324f [2022-04-26T15:55:28.735Z] $ docker rm -f 39533f9669ad22237e544ff6a6341297f556d09863ed335aa2c47e5fceea324f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T15:55:29.100Z] Failed in branch amd64 [2022-04-26T16:54:55.964Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-30665 in /w/workspace/gexfoundry_device-mqtt-go_PR-369 [Pipeline] { [Pipeline] ws [2022-04-26T16:54:56.008Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-04-26T16:54:56.240Z] Selected Git installation does not exist. Using Default [2022-04-26T16:54:56.240Z] The recommended git tool is: NONE [2022-04-26T16:55:01.916Z] using credential edgex-jenkins-ssh [2022-04-26T16:55:01.991Z] Cloning the remote Git repository [2022-04-26T16:55:02.065Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:55:02.241Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-04-26T16:55:02.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:55:02.381Z] > git --version # timeout=10 [2022-04-26T16:55:02.398Z] > git --version # 'git version 2.25.1' [2022-04-26T16:55:02.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:55:02.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:55:04.213Z] Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [2022-04-26T16:55:03.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T16:55:03.590Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:55:03.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T16:55:03.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:55:03.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:55:03.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T16:55:04.236Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:55:04.250Z] > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # timeout=10 [2022-04-26T16:55:04.410Z] Merge succeeded, producing c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [2022-04-26T16:55:04.410Z] Checking out Revision c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 (PR-369) [2022-04-26T16:55:04.335Z] > git remote # timeout=10 [2022-04-26T16:55:04.350Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T16:55:04.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:55:04.374Z] > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 [2022-04-26T16:55:04.397Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T16:55:04.432Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:55:04.447Z] > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # timeout=10 [2022-04-26T16:55:08.610Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-04-26T16:55:08.680Z] > git --version # timeout=10 [2022-04-26T16:55:08.691Z] > git --version # 'git version 2.25.1' [2022-04-26T16:55:08.707Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:55:09.825Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T16:55:09.825Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:55:09.825Z] Dload Upload Total Spent Left Speed [2022-04-26T16:55:09.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh [2022-04-26T16:55:10.391Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T16:55:10.752Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T16:55:10.752Z] + sudo tee /etc/docker/daemon.new [2022-04-26T16:55:10.752Z] { [2022-04-26T16:55:10.752Z] "registry-mirrors": [ [2022-04-26T16:55:10.752Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T16:55:10.752Z] ], [2022-04-26T16:55:10.752Z] "bip": "10.250.0.254/24", [2022-04-26T16:55:10.752Z] "hosts": [ [2022-04-26T16:55:10.752Z] "tcp://0.0.0.0:5555", [2022-04-26T16:55:10.752Z] "unix:///var/run/docker.sock" [2022-04-26T16:55:10.752Z] ], [2022-04-26T16:55:10.752Z] "mtu": 1458, [2022-04-26T16:55:10.752Z] "selinux-enabled": true, [2022-04-26T16:55:10.752Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T16:55:10.752Z] } [Pipeline] sh [2022-04-26T16:55:11.105Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T16:55:11.476Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:55:29.872Z] provisioning config files... [2022-04-26T16:55:29.900Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3592652301369089845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:55:30.541Z] ---> docker-login.sh [2022-04-26T16:55:30.541Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:55:31.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:55:31.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:55:31.410Z] Configure a credential helper to remove this warning. See [2022-04-26T16:55:31.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:55:31.410Z] [2022-04-26T16:55:31.410Z] Login Succeeded [2022-04-26T16:55:31.410Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:55:31.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:55:31.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:55:31.966Z] Configure a credential helper to remove this warning. See [2022-04-26T16:55:31.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:55:31.966Z] [2022-04-26T16:55:31.966Z] Login Succeeded [2022-04-26T16:55:31.966Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:55:32.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:55:32.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:55:32.246Z] Configure a credential helper to remove this warning. See [2022-04-26T16:55:32.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:55:32.246Z] [2022-04-26T16:55:32.246Z] Login Succeeded [2022-04-26T16:55:32.246Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:55:32.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:55:32.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:55:32.843Z] Configure a credential helper to remove this warning. See [2022-04-26T16:55:32.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:55:32.843Z] [2022-04-26T16:55:32.843Z] Login Succeeded [2022-04-26T16:55:32.843Z] docker.io [2022-04-26T16:55:33.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:55:33.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:55:33.710Z] Configure a credential helper to remove this warning. See [2022-04-26T16:55:33.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:55:33.710Z] [2022-04-26T16:55:33.710Z] Login Succeeded [2022-04-26T16:55:33.710Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:55:33.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:55:34.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:55:34.163Z] ========================================================= [2022-04-26T16:55:34.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T16:55:34.163Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:55:34.616Z] + 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-26T16:55:34.890Z] Sending build context to Docker daemon 3.04MB [2022-04-26T16:55:34.890Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:55:34.890Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T16:55:35.167Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T16:55:35.167Z] 9b3977197b4f: Pulling fs layer [2022-04-26T16:55:35.167Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T16:55:35.167Z] 94645a83ff95: Pulling fs layer [2022-04-26T16:55:35.167Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T16:55:35.167Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T16:55:35.167Z] 3096ccb668a1: Pulling fs layer [2022-04-26T16:55:35.167Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T16:55:35.167Z] a4caa8a26152: Pulling fs layer [2022-04-26T16:55:35.167Z] 3f3a8bcf1eab: Waiting [2022-04-26T16:55:35.167Z] 0c92f367c5e7: Waiting [2022-04-26T16:55:35.167Z] 3096ccb668a1: Waiting [2022-04-26T16:55:35.167Z] e8cf19c19ddd: Waiting [2022-04-26T16:55:35.167Z] a4caa8a26152: Waiting [2022-04-26T16:55:35.167Z] 94645a83ff95: Verifying Checksum [2022-04-26T16:55:35.167Z] 94645a83ff95: Download complete [2022-04-26T16:55:35.167Z] 1a89e8eeedd5: Download complete [2022-04-26T16:55:35.167Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T16:55:35.167Z] 0c92f367c5e7: Download complete [2022-04-26T16:55:35.167Z] 9b3977197b4f: Verifying Checksum [2022-04-26T16:55:35.167Z] 9b3977197b4f: Download complete [2022-04-26T16:55:35.167Z] 3096ccb668a1: Verifying Checksum [2022-04-26T16:55:35.167Z] 3096ccb668a1: Download complete [2022-04-26T16:55:35.167Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T16:55:35.167Z] e8cf19c19ddd: Download complete [2022-04-26T16:55:36.156Z] 9b3977197b4f: Pull complete [2022-04-26T16:55:36.761Z] 1a89e8eeedd5: Pull complete [2022-04-26T16:55:37.039Z] 94645a83ff95: Pull complete [2022-04-26T16:55:37.316Z] a4caa8a26152: Verifying Checksum [2022-04-26T16:55:37.316Z] a4caa8a26152: Download complete [2022-04-26T16:55:37.914Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T16:55:37.914Z] 3f3a8bcf1eab: Download complete [2022-04-26T16:55:50.334Z] 3f3a8bcf1eab: Pull complete [2022-04-26T16:55:50.334Z] 0c92f367c5e7: Pull complete [2022-04-26T16:55:50.334Z] 3096ccb668a1: Pull complete [2022-04-26T16:55:50.334Z] e8cf19c19ddd: Pull complete [2022-04-26T16:55:57.075Z] a4caa8a26152: Pull complete [2022-04-26T16:55:57.075Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T16:55:57.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T16:55:57.075Z] ---> 725f1c02e7f9 [2022-04-26T16:55:57.075Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:55:57.677Z] ---> Running in 711661ada47e [2022-04-26T16:55:57.961Z] Removing intermediate container 711661ada47e [2022-04-26T16:55:57.961Z] ---> 8e08fae20687 [2022-04-26T16:55:57.961Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:55:58.241Z] ---> Running in 5e1f80ebbbf6 [2022-04-26T16:55:58.516Z] Removing intermediate container 5e1f80ebbbf6 [2022-04-26T16:55:58.516Z] ---> c9bd47b297e2 [2022-04-26T16:55:58.516Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:55:58.516Z] ---> Running in c362081948e7 [2022-04-26T16:56:01.910Z] Removing intermediate container c362081948e7 [2022-04-26T16:56:01.910Z] ---> fd8c744d7ad2 [2022-04-26T16:56:01.910Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:56:01.910Z] ---> Running in cd2e0f234b2f [2022-04-26T16:56:02.506Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:56:03.480Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:56:04.463Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:56:04.463Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T16:56:04.463Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:56:04.463Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:56:04.741Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:56:04.741Z] OK: 224 MiB in 56 packages [2022-04-26T16:56:05.729Z] Removing intermediate container cd2e0f234b2f [2022-04-26T16:56:05.729Z] ---> 0904b30a6b68 [2022-04-26T16:56:05.729Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T16:56:05.729Z] ---> Running in 21a78e52c276 [2022-04-26T16:56:06.005Z] Removing intermediate container 21a78e52c276 [2022-04-26T16:56:06.005Z] ---> a25684174cb9 [2022-04-26T16:56:06.005Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T16:56:06.621Z] ---> fa543ad64b29 [2022-04-26T16:56:06.621Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:56:06.621Z] ---> Running in cc2d84e6239c [2022-04-26T16:56:53.655Z] Removing intermediate container cc2d84e6239c [2022-04-26T16:56:53.655Z] ---> 7f7c55973b42 [2022-04-26T16:56:53.655Z] Step 10/12 : COPY . . [2022-04-26T16:56:53.655Z] ---> 83008b1ba7e0 [2022-04-26T16:56:53.655Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T16:56:53.655Z] ---> Running in 9cc35c97c55b [2022-04-26T16:56:53.655Z] Removing intermediate container 9cc35c97c55b [2022-04-26T16:56:53.655Z] ---> 89a8f463acae [2022-04-26T16:56:53.655Z] Step 12/12 : RUN $MAKE [2022-04-26T16:56:53.655Z] ---> Running in 483d74985a47 [2022-04-26T16:56:53.655Z] noop [2022-04-26T16:56:53.655Z] Removing intermediate container 483d74985a47 [2022-04-26T16:56:53.655Z] ---> a6ce8a577c21 [2022-04-26T16:56:53.655Z] Successfully built a6ce8a577c21 [2022-04-26T16:56:53.655Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:56:54.042Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:56:54.042Z] . [Pipeline] withDockerContainer [2022-04-26T16:56:54.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-30665 does not seem to be running inside a container [2022-04-26T16:56:54.367Z] $ 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-26T16:56:55.646Z] $ docker top 8311d29da513ce06d1f138fdc85344cff95abb469a4b350a391b0e137ae42f39 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:56:56.598Z] + go version [2022-04-26T16:56:56.598Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T16:56:56.636Z] $ docker stop --time=1 8311d29da513ce06d1f138fdc85344cff95abb469a4b350a391b0e137ae42f39 [2022-04-26T16:56:58.267Z] $ docker rm -f 8311d29da513ce06d1f138fdc85344cff95abb469a4b350a391b0e137ae42f39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:56:59.114Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:56:59.114Z] . [Pipeline] withDockerContainer [2022-04-26T16:56:59.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-30665 does not seem to be running inside a container [2022-04-26T16:56:59.438Z] $ 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-26T16:57:00.702Z] $ docker top cf01808e3b283adc3ea6ad8f41663a77d4312f65331ce8c39c3e7b540e241d0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:57:01.729Z] + make test [2022-04-26T16:57:01.729Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T16:57:03.175Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T16:58:11.262Z] # github.com/edgexfoundry/device-sdk-go/v2/pkg/service [2022-04-26T16:58:11.262Z] /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-26T16:58:11.262Z] *"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-26T16:58:16.692Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2022-04-26T16:58:16.964Z] make: *** [Makefile:37: unittest] Error 2 [Pipeline] } [2022-04-26T16:58:17.014Z] $ docker stop --time=1 cf01808e3b283adc3ea6ad8f41663a77d4312f65331ce8c39c3e7b540e241d0b [2022-04-26T16:58:18.802Z] $ docker rm -f cf01808e3b283adc3ea6ad8f41663a77d4312f65331ce8c39c3e7b540e241d0b [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-26T16:58:20.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:58:20.247Z] [2022-04-26T16:58:20.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:58:20.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:58:20.903Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T16:58:20.903Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T16:58:20.903Z] 04944245beec: Pulling fs layer [2022-04-26T16:58:20.903Z] 699f458cf7ca: Pulling fs layer [2022-04-26T16:58:20.903Z] 765212b225bb: Pulling fs layer [2022-04-26T16:58:20.903Z] f23df028b6ca: Pulling fs layer [2022-04-26T16:58:20.903Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T16:58:20.903Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T16:58:20.903Z] f23df028b6ca: Waiting [2022-04-26T16:58:20.903Z] d65c8cfc05b1: Waiting [2022-04-26T16:58:20.903Z] 765212b225bb: Waiting [2022-04-26T16:58:20.903Z] 2437ff75d9bd: Waiting [2022-04-26T16:58:20.903Z] 04944245beec: Verifying Checksum [2022-04-26T16:58:20.903Z] 04944245beec: Download complete [2022-04-26T16:58:20.903Z] 765212b225bb: Verifying Checksum [2022-04-26T16:58:20.903Z] 765212b225bb: Download complete [2022-04-26T16:58:20.903Z] f23df028b6ca: Download complete [2022-04-26T16:58:20.903Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T16:58:20.903Z] d65c8cfc05b1: Download complete [2022-04-26T16:58:21.178Z] 699f458cf7ca: Verifying Checksum [2022-04-26T16:58:21.178Z] 699f458cf7ca: Download complete [2022-04-26T16:58:21.454Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T16:58:21.454Z] 8998bd30e6a1: Download complete [2022-04-26T16:58:24.114Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T16:58:24.114Z] 2437ff75d9bd: Download complete [2022-04-26T16:58:26.098Z] 8998bd30e6a1: Pull complete [2022-04-26T16:58:26.373Z] 04944245beec: Pull complete [2022-04-26T16:58:27.810Z] 699f458cf7ca: Pull complete [2022-04-26T16:58:28.085Z] 765212b225bb: Pull complete [2022-04-26T16:58:29.123Z] f23df028b6ca: Pull complete [2022-04-26T16:58:29.123Z] d65c8cfc05b1: Pull complete [2022-04-26T16:58:44.275Z] 2437ff75d9bd: Pull complete [2022-04-26T16:58:44.276Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T16:58:44.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:58:44.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T16:58:44.521Z] prd-ubuntu20.04-docker-arm64-4c-16g-30665 does not seem to be running inside a container [2022-04-26T16:58:44.614Z] $ 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-26T16:58:47.006Z] $ docker top d8227159d60a7787174f1338fd15842762fd1b7d39b2a6d23cdc0b3df207d258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:58:47.984Z] ---> job-cost.sh [2022-04-26T16:58:47.984Z] lf-activate-venv: SKIPPING [2022-04-26T16:58:47.984Z] INFO: No Stack... [2022-04-26T16:58:48.256Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T16:58:49.228Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:58:49.914Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-04-26T16:58:49.914Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T16:58:49.998Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [2022-04-26T16:58:50.003Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] did not exist. Created. [2022-04-26T16:58:50.003Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:58:50.750Z] /w/workspace/device-mqtt-go/1@tmp/durable-bbd921e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T16:58:51.441Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T16:58:51.476Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T16:58:51.899Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:58:51.915Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:58:52.005Z] $ docker stop --time=1 d8227159d60a7787174f1338fd15842762fd1b7d39b2a6d23cdc0b3df207d258 [2022-04-26T16:58:53.530Z] $ docker rm -f d8227159d60a7787174f1338fd15842762fd1b7d39b2a6d23cdc0b3df207d258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T16:58:54.279Z] 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-26T16:58:56.113Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives ] [2022-04-26T16:58:56.113Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives [2022-04-26T16:58:56.113Z] total 16 [2022-04-26T16:58:56.113Z] drwxr-xr-x 3 root root 4096 Apr 26 15:55 . [2022-04-26T16:58:56.113Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. [2022-04-26T16:58:56.113Z] drwxr-xr-x 2 root root 4096 Apr 26 15:55 cost [2022-04-26T16:58:56.113Z] -rw-r--r-- 1 root root 85 Apr 26 15:55 cost.csv [2022-04-26T16:58:56.113Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives [2022-04-26T16:58:56.113Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives [2022-04-26T16:58:56.113Z] total 16 [2022-04-26T16:58:56.113Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:55 . [2022-04-26T16:58:56.113Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. [2022-04-26T16:58:56.113Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:55 cost [2022-04-26T16:58:56.113Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 26 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:58:56.450Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:58:57.357Z] ---> package-listing.sh [2022-04-26T16:58:57.357Z] ++ facter osfamily [2022-04-26T16:58:57.357Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T16:58:57.620Z] + OS_FAMILY=debian [2022-04-26T16:58:57.620Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-369 [2022-04-26T16:58:57.620Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T16:58:57.620Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T16:58:57.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T16:58:57.620Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T16:58:57.620Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-369 ']' [2022-04-26T16:58:57.620Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T16:58:57.620Z] + case "${OS_FAMILY}" in [2022-04-26T16:58:57.620Z] + dpkg -l [2022-04-26T16:58:57.620Z] + grep '^ii' [2022-04-26T16:58:57.620Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T16:58:57.620Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T16:58:57.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T16:58:57.620Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-369 ']' [2022-04-26T16:58:57.620Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives/ [2022-04-26T16:58:57.620Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives/ [Pipeline] echo [2022-04-26T16:58:57.661Z] 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-369/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T16:58:57.959Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:58:58.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:58:58.547Z] . [Pipeline] withDockerContainer [2022-04-26T16:58:58.636Z] prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container [2022-04-26T16:58:58.617Z] $ 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-369/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-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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-26T16:58:58.872Z] $ docker top a8c035733664b66b7bc43a3b10ab2ae3b36aad783bf08838bee29ff00af10b12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:58:59.349Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T16:58:59.667Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T16:58:59.979Z] + ls /var/log/sa-host [2022-04-26T16:58:59.980Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:59:00.274Z] provisioning config files... [2022-04-26T16:59:00.283Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/config4910559714491962677tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:59:00.332Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:59:00.645Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T16:59:00.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:59:01.103Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T16:59:01.139Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:59:01.454Z] ---> sudo-logs.sh [2022-04-26T16:59:01.454Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T16:59:01.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:59:01.846Z] ---> job-cost.sh [2022-04-26T16:59:01.846Z] lf-activate-venv: SKIPPING [2022-04-26T16:59:01.846Z] DEBUG: total: 0.2199999988079071 [2022-04-26T16:59:01.846Z] INFO: Retrieving Stack Cost... [2022-04-26T16:59:02.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:59:02.679Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T16:59:02.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:59:03.025Z] ---> logs-deploy.sh [2022-04-26T16:59:03.025Z] lf-activate-venv: SKIPPING [2022-04-26T16:59:03.025Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-369/1 [2022-04-26T16:59:03.025Z] INFO: archiving workspace using pattern(s): [2022-04-26T16:59:03.969Z] Archives upload complete. [2022-04-26T16:59:03.969Z] INFO: archiving logs to Nexus