Pull request #366 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 812ce1605347bdfb925f16c34d20b026de7ad5e2+4d191eb3dac98c01714bec6e3dd8edd5055992ab (bad7184871ca6b212126bf0047fe7f86efeef12c) 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-ssh12744537939451037388.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-ssh5062411793501147187.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-366/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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6043380529967284151.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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh205325180561980458.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-ssh11442351325768840480.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-366/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-366/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14042610158684455972.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-21924 in /w/workspace/gexfoundry_device-mqtt-go_PR-366 [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-366 # 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 812ce1605347bdfb925f16c34d20b026de7ad5e2 Merge succeeded, producing 812ce1605347bdfb925f16c34d20b026de7ad5e2 Checking out Revision 812ce1605347bdfb925f16c34d20b026de7ad5e2 (PR-366) > 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/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # 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 812ce1605347bdfb925f16c34d20b026de7ad5e2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/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:29.015Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T02:11:29.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T02:11:29.287Z] ========================================================= [2022-04-25T02:11:29.288Z] EdgeX Global Pipelines Version Info [2022-04-25T02:11:29.288Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:11:30.114Z] ------------------- [2022-04-25T02:11:30.114Z] stable info: [2022-04-25T02:11:30.114Z] ------------------- [2022-04-25T02:11:30.114Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T02:11:30.114Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T02:11:30.114Z] Message: update stable to v1.0.221 [2022-04-25T02:11:30.687Z] ------------------- [2022-04-25T02:11:30.687Z] experimental info: [2022-04-25T02:11:30.687Z] ------------------- [2022-04-25T02:11:30.687Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T02:11:30.687Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T02:11:30.687Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T02:11:30.934Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-25T02:11:30.979Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-25T02:11:31.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T02:11:31.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T02:11:31.090Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T02:11:31.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T02:11:31.156Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T02:11:31.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T02:11:31.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T02:11:31.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T02:11:31.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T02:11:31.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-25T02:11:31.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T02:11:31.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T02:11:31.454Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T02:11:31.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T02:11:31.528Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T02:11:31.564Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T02:11:31.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T02:11:31.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T02:11:31.679Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T02:11:31.720Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T02:11:31.760Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T02:11:31.800Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T02:11:31.846Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T02:11:31.886Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T02:11:31.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo [2022-04-25T02:11:31.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo [2022-04-25T02:11:32.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo [2022-04-25T02:11:32.051Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo [2022-04-25T02:11:32.092Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 812ce16 [Pipeline] echo [2022-04-25T02:11:32.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T02:11:32.248Z] provisioning config files... [2022-04-25T02:11:32.272Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/config5284903470826045256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:11:32.624Z] ---> docker-login.sh [2022-04-25T02:11:32.624Z] nexus3.edgexfoundry.org:10001 [2022-04-25T02:11:32.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:32.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:32.887Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:32.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:32.888Z] [2022-04-25T02:11:32.888Z] Login Succeeded [2022-04-25T02:11:32.888Z] nexus3.edgexfoundry.org:10002 [2022-04-25T02:11:33.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:33.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:33.153Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:33.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:33.153Z] [2022-04-25T02:11:33.153Z] Login Succeeded [2022-04-25T02:11:33.153Z] nexus3.edgexfoundry.org:10003 [2022-04-25T02:11:33.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:33.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:33.153Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:33.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:33.153Z] [2022-04-25T02:11:33.153Z] Login Succeeded [2022-04-25T02:11:33.153Z] nexus3.edgexfoundry.org:10004 [2022-04-25T02:11:33.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:33.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:33.416Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:33.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:33.416Z] [2022-04-25T02:11:33.416Z] Login Succeeded [2022-04-25T02:11:33.416Z] docker.io [2022-04-25T02:11:33.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:33.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:33.992Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:33.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:33.992Z] [2022-04-25T02:11:33.992Z] Login Succeeded [2022-04-25T02:11:33.992Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T02:11:34.018Z] 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:11:34.675Z] + git rev-list -1 --merges 812ce1605347bdfb925f16c34d20b026de7ad5e2~1..812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo [2022-04-25T02:11:34.727Z] -----------> git rev-list -1 --merges 812ce1605347bdfb925f16c34d20b026de7ad5e2~1..812ce1605347bdfb925f16c34d20b026de7ad5e2 812ce1605347bdfb925f16c34d20b026de7ad5e2 [false] [Pipeline] sh [2022-04-25T02:11:35.046Z] + git log --format=format:%s -1 812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo [2022-04-25T02:11:35.085Z] ========================================================= [2022-04-25T02:11:35.085Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T02:11:35.085Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T02:11:35.524Z] + git log --format=format:%s -1 812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo [2022-04-25T02:11:35.555Z] [semverPrep] GIT_COMMIT: 812ce1605347bdfb925f16c34d20b026de7ad5e2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-25T02:11:35.585Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T02:11:36.057Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T02:11:36.057Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T02:11:36.057Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T02:11:36.057Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T02:11:36.057Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T02:11:36.057Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T02:11:36.057Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:11:36.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T02:11:36.519Z] [2022-04-25T02:11:36.519Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:11:36.869Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T02:11:36.869Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T02:11:36.869Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T02:11:36.869Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T02:11:36.869Z] 4c7163046ea9: Pulling fs layer [2022-04-25T02:11:36.869Z] 0c2d73faf560: Pulling fs layer [2022-04-25T02:11:36.869Z] 3e5f54012d9b: Download complete [2022-04-25T02:11:36.869Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T02:11:36.869Z] a0d0a0d46f8b: Download complete [2022-04-25T02:11:36.869Z] 0c2d73faf560: Verifying Checksum [2022-04-25T02:11:36.869Z] 0c2d73faf560: Download complete [2022-04-25T02:11:36.869Z] 4c7163046ea9: Verifying Checksum [2022-04-25T02:11:36.869Z] 4c7163046ea9: Download complete [2022-04-25T02:11:37.129Z] a0d0a0d46f8b: Pull complete [2022-04-25T02:11:37.129Z] 3e5f54012d9b: Pull complete [2022-04-25T02:11:37.389Z] 4c7163046ea9: Pull complete [2022-04-25T02:11:37.651Z] 0c2d73faf560: Pull complete [2022-04-25T02:11:37.651Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T02:11:37.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T02:11:37.651Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T02:11:37.766Z] prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container [2022-04-25T02:11:37.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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:11:38.506Z] $ docker top 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T02:11:38.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T02:11:38.705Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T02:11:38.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T02:11:38.859Z] $ docker exec 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent [2022-04-25T02:11:38.981Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHGJbiA/agent.13 [2022-04-25T02:11:38.981Z] SSH_AGENT_PID=19 [2022-04-25T02:11:38.990Z] Running ssh-add (command line suppressed) [2022-04-25T02:11:39.121Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_6588371540667221001.key (/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_6588371540667221001.key) [2022-04-25T02:11:39.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T02:11:39.475Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T02:11:39.509Z] $ docker exec --env ******** --env ******** 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent -k [2022-04-25T02:11:39.626Z] unset SSH_AUTH_SOCK; [2022-04-25T02:11:39.626Z] unset SSH_AGENT_PID; [2022-04-25T02:11:39.626Z] echo Agent pid 19 killed; [2022-04-25T02:11:39.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T02:11:39.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T02:11:39.715Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T02:11:39.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T02:11:39.857Z] $ docker exec 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent [2022-04-25T02:11:39.983Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPohPJk/agent.52 [2022-04-25T02:11:39.983Z] SSH_AGENT_PID=58 [2022-04-25T02:11:39.988Z] Running ssh-add (command line suppressed) [2022-04-25T02:11:40.118Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_8650720556675270032.key (/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_8650720556675270032.key) [2022-04-25T02:11:40.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T02:11:40.452Z] + git semver init [2022-04-25T02:11:40.452Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T02:11:40.452Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-366/.git [2022-04-25T02:11:40.452Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-366 [2022-04-25T02:11:40.452Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T02:11:40.452Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T02:11:40.452Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T02:11:40.452Z] # $SEMVER_BRANCH = PR-366 [2022-04-25T02:11:40.452Z] # $SEMVER_TEMP = /tmp/semver-112480596 [2022-04-25T02:11:40.452Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-25T02:11:41.403Z] # '/tmp/semver-112480596' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-366/.semver' [2022-04-25T02:11:41.403Z] # -> Force: false [2022-04-25T02:11:41.403Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-366/.semver [Pipeline] } [2022-04-25T02:11:41.433Z] $ docker exec --env ******** --env ******** 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent -k [2022-04-25T02:11:41.557Z] unset SSH_AUTH_SOCK; [2022-04-25T02:11:41.557Z] unset SSH_AGENT_PID; [2022-04-25T02:11:41.557Z] echo Agent pid 58 killed; [2022-04-25T02:11:41.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T02:11:41.982Z] + git semver [Pipeline] } [2022-04-25T02:11:42.018Z] $ docker stop --time=1 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d [2022-04-25T02:11:43.456Z] $ docker rm -f 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T02:11:43.869Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T02:11:44.178Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T02:11:44.195Z] [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:11:44.782Z] provisioning config files... [2022-04-25T02:11:44.794Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/config6350126775441594877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:11:45.139Z] ---> docker-login.sh [2022-04-25T02:11:45.139Z] nexus3.edgexfoundry.org:10001 [2022-04-25T02:11:45.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:45.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:45.139Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:45.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:45.139Z] [2022-04-25T02:11:45.139Z] Login Succeeded [2022-04-25T02:11:45.139Z] nexus3.edgexfoundry.org:10002 [2022-04-25T02:11:45.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:45.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:45.401Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:45.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:45.401Z] [2022-04-25T02:11:45.401Z] Login Succeeded [2022-04-25T02:11:45.401Z] nexus3.edgexfoundry.org:10003 [2022-04-25T02:11:45.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:45.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:45.401Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:45.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:45.401Z] [2022-04-25T02:11:45.401Z] Login Succeeded [2022-04-25T02:11:45.401Z] nexus3.edgexfoundry.org:10004 [2022-04-25T02:11:45.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:45.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:45.662Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:45.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:45.662Z] [2022-04-25T02:11:45.662Z] Login Succeeded [2022-04-25T02:11:45.662Z] docker.io [2022-04-25T02:11:45.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:11:45.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:11:45.922Z] Configure a credential helper to remove this warning. See [2022-04-25T02:11:45.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:11:45.922Z] [2022-04-25T02:11:45.922Z] Login Succeeded [2022-04-25T02:11:45.922Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T02:11:45.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T02:11:46.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T02:11:46.179Z] ========================================================= [2022-04-25T02:11:46.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T02:11:46.179Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:11:46.592Z] + 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:11:46.592Z] Sending build context to Docker daemon 5.818MB [2022-04-25T02:11:46.592Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T02:11:46.592Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T02:11:46.592Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T02:11:46.592Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T02:11:46.592Z] 666ba61612fd: Pulling fs layer [2022-04-25T02:11:46.592Z] 8ed8ca486205: Pulling fs layer [2022-04-25T02:11:46.592Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T02:11:46.592Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T02:11:46.592Z] ca2b28591e48: Pulling fs layer [2022-04-25T02:11:46.592Z] a51346096db8: Pulling fs layer [2022-04-25T02:11:46.592Z] daebc70d1ce1: Pulling fs layer [2022-04-25T02:11:46.592Z] 0e18a0eac166: Pulling fs layer [2022-04-25T02:11:46.593Z] 4fe6c5a15a65: Waiting [2022-04-25T02:11:46.593Z] 22a0e8bec74d: Waiting [2022-04-25T02:11:46.593Z] ca2b28591e48: Waiting [2022-04-25T02:11:46.593Z] a51346096db8: Waiting [2022-04-25T02:11:46.593Z] daebc70d1ce1: Waiting [2022-04-25T02:11:46.593Z] 0e18a0eac166: Waiting [2022-04-25T02:11:46.593Z] 8ed8ca486205: Download complete [2022-04-25T02:11:46.854Z] 666ba61612fd: Verifying Checksum [2022-04-25T02:11:46.854Z] 666ba61612fd: Download complete [2022-04-25T02:11:46.854Z] 22a0e8bec74d: Verifying Checksum [2022-04-25T02:11:46.854Z] 22a0e8bec74d: Download complete [2022-04-25T02:11:46.854Z] ca2b28591e48: Verifying Checksum [2022-04-25T02:11:46.854Z] ca2b28591e48: Download complete [2022-04-25T02:11:46.854Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T02:11:46.854Z] a51346096db8: Verifying Checksum [2022-04-25T02:11:46.854Z] a51346096db8: Download complete [2022-04-25T02:11:46.854Z] daebc70d1ce1: Verifying Checksum [2022-04-25T02:11:46.854Z] daebc70d1ce1: Download complete [2022-04-25T02:11:46.854Z] 59bf1c3509f3: Pull complete [2022-04-25T02:11:47.117Z] 666ba61612fd: Pull complete [2022-04-25T02:11:47.117Z] 8ed8ca486205: Pull complete [2022-04-25T02:11:47.378Z] 0e18a0eac166: Verifying Checksum [2022-04-25T02:11:47.378Z] 0e18a0eac166: Download complete [2022-04-25T02:11:47.638Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T02:11:47.638Z] 4fe6c5a15a65: Download complete [2022-04-25T02:11:51.836Z] 4fe6c5a15a65: Pull complete [2022-04-25T02:11:51.836Z] 22a0e8bec74d: Pull complete [2022-04-25T02:11:51.836Z] ca2b28591e48: Pull complete [2022-04-25T02:11:51.836Z] a51346096db8: Pull complete [2022-04-25T02:11:52.105Z] daebc70d1ce1: Pull complete [2022-04-25T02:11:54.649Z] 0e18a0eac166: Pull complete [2022-04-25T02:11:54.649Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T02:11:54.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T02:11:54.649Z] ---> f018257e8ee9 [2022-04-25T02:11:54.649Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T02:11:56.033Z] ---> Running in f836c34d8f0c [2022-04-25T02:11:56.033Z] Removing intermediate container f836c34d8f0c [2022-04-25T02:11:56.033Z] ---> 2f3debfc81f0 [2022-04-25T02:11:56.033Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T02:11:56.033Z] ---> Running in e42ce9c11b3d [2022-04-25T02:11:56.033Z] Removing intermediate container e42ce9c11b3d [2022-04-25T02:11:56.033Z] ---> 4e6f671241d2 [2022-04-25T02:11:56.033Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T02:11:56.294Z] ---> Running in 20262522f03a [2022-04-25T02:11:56.868Z] Removing intermediate container 20262522f03a [2022-04-25T02:11:56.868Z] ---> bc19544d2b44 [2022-04-25T02:11:56.868Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T02:11:56.868Z] ---> Running in da77bfa2824d [2022-04-25T02:11:57.130Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T02:11:58.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T02:11:58.338Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T02:11:58.338Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T02:11:58.601Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T02:11:58.601Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T02:11:58.884Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T02:11:58.884Z] OK: 224 MiB in 56 packages [2022-04-25T02:11:59.147Z] Removing intermediate container da77bfa2824d [2022-04-25T02:11:59.147Z] ---> 168b2f880b27 [2022-04-25T02:11:59.147Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-25T02:11:59.147Z] ---> Running in 64f7a94fd2c0 [2022-04-25T02:11:59.408Z] Removing intermediate container 64f7a94fd2c0 [2022-04-25T02:11:59.408Z] ---> c72bdffbc5cd [2022-04-25T02:11:59.408Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-25T02:11:59.408Z] ---> 7b1afdd98ab2 [2022-04-25T02:11:59.408Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T02:11:59.408Z] ---> Running in baeb5ea7eb1e [2022-04-25T02:11:59.599Z] Still waiting to schedule task [2022-04-25T02:11:59.599Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21922’ [2022-04-25T02:12:21.385Z] Removing intermediate container baeb5ea7eb1e [2022-04-25T02:12:21.385Z] ---> 498c4d55c6d3 [2022-04-25T02:12:21.385Z] Step 10/12 : COPY . . [2022-04-25T02:12:21.385Z] ---> fd4703a98add [2022-04-25T02:12:21.385Z] Step 11/12 : ARG MAKE='make build' [2022-04-25T02:12:21.385Z] ---> Running in 069926b44f75 [2022-04-25T02:12:21.385Z] Removing intermediate container 069926b44f75 [2022-04-25T02:12:21.385Z] ---> eff3b779cb39 [2022-04-25T02:12:21.385Z] Step 12/12 : RUN $MAKE [2022-04-25T02:12:21.385Z] ---> Running in 3121815c113d [2022-04-25T02:12:21.385Z] noop [2022-04-25T02:12:21.385Z] Removing intermediate container 3121815c113d [2022-04-25T02:12:21.385Z] ---> a1fdc6397607 [2022-04-25T02:12:21.385Z] Successfully built a1fdc6397607 [2022-04-25T02:12:21.385Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:21.707Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T02:12:21.707Z] . [Pipeline] withDockerContainer [2022-04-25T02:12:21.795Z] prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container [2022-04-25T02:12:21.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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:22.246Z] $ docker top d9432554563dccc012cbc05a10a90e798b4c88c5f9a32e1d6864f72db0918060 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T02:12:22.654Z] + go version [2022-04-25T02:12:22.654Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T02:12:22.690Z] $ docker stop --time=1 d9432554563dccc012cbc05a10a90e798b4c88c5f9a32e1d6864f72db0918060 [2022-04-25T02:12:24.105Z] $ docker rm -f d9432554563dccc012cbc05a10a90e798b4c88c5f9a32e1d6864f72db0918060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:24.818Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T02:12:24.818Z] . [Pipeline] withDockerContainer [2022-04-25T02:12:24.920Z] prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container [2022-04-25T02:12:24.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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:25.393Z] $ docker top cb2f9552c59ab23782879d3b42771efb89f406d5a763f1311eac9336f8b40e0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T02:12:25.859Z] + make test [2022-04-25T02:12:25.859Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T02:12:26.119Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-25T02:12:36.109Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-25T02:12:36.109Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-04-25T02:12:36.109Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-25T02:12:42.683Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T02:12:45.226Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T02:12:45.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T02:12:45.487Z] ./bin/test-attribution-txt.sh [2022-04-25T02:12:45.747Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T02:12:46.006Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-04-25T02:12:46.054Z] $ docker stop --time=1 cb2f9552c59ab23782879d3b42771efb89f406d5a763f1311eac9336f8b40e0b [2022-04-25T02:12:47.871Z] $ docker rm -f cb2f9552c59ab23782879d3b42771efb89f406d5a763f1311eac9336f8b40e0b [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:49.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:12:49.067Z] [2022-04-25T02:12:49.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:12:49.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:12:49.407Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T02:12:49.407Z] 5eb5b503b376: Pulling fs layer [2022-04-25T02:12:49.407Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T02:12:49.407Z] ec43610c2a17: Pulling fs layer [2022-04-25T02:12:49.407Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T02:12:49.407Z] 33b1e0a273af: Pulling fs layer [2022-04-25T02:12:49.407Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T02:12:49.407Z] 2f39f015ded8: Pulling fs layer [2022-04-25T02:12:49.407Z] 33b1e0a273af: Waiting [2022-04-25T02:12:49.407Z] 3a2ae6a8a46f: Waiting [2022-04-25T02:12:49.407Z] 5d3b04190fa2: Waiting [2022-04-25T02:12:49.407Z] 2f39f015ded8: Waiting [2022-04-25T02:12:49.407Z] 5c69ac0246d0: Download complete [2022-04-25T02:12:49.407Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T02:12:49.407Z] 3a2ae6a8a46f: Download complete [2022-04-25T02:12:49.407Z] 33b1e0a273af: Verifying Checksum [2022-04-25T02:12:49.407Z] 33b1e0a273af: Download complete [2022-04-25T02:12:49.407Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T02:12:49.407Z] 5d3b04190fa2: Download complete [2022-04-25T02:12:49.407Z] ec43610c2a17: Download complete [2022-04-25T02:12:49.668Z] 5eb5b503b376: Verifying Checksum [2022-04-25T02:12:49.668Z] 5eb5b503b376: Download complete [2022-04-25T02:12:50.245Z] 2f39f015ded8: Download complete [2022-04-25T02:12:50.816Z] 5eb5b503b376: Pull complete [2022-04-25T02:12:51.076Z] 5c69ac0246d0: Pull complete [2022-04-25T02:12:51.647Z] ec43610c2a17: Pull complete [2022-04-25T02:12:51.647Z] 3a2ae6a8a46f: Pull complete [2022-04-25T02:12:51.647Z] 33b1e0a273af: Pull complete [2022-04-25T02:12:51.908Z] 5d3b04190fa2: Pull complete [2022-04-25T02:12:56.102Z] 2f39f015ded8: Pull complete [2022-04-25T02:12:56.102Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T02:12:56.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:12:56.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T02:12:56.204Z] prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container [2022-04-25T02:12:56.242Z] $ 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-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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:12:58.108Z] $ docker top ba67dbf0a68895f3e7ee023ce45a8f529cc30853c20aaa56352e191f1e76dadf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:12:58.596Z] ---> job-cost.sh [2022-04-25T02:12:58.596Z] lf-activate-venv: SKIPPING [2022-04-25T02:12:58.596Z] INFO: No Stack... [2022-04-25T02:12:58.855Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T02:12:59.427Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T02:12:59.751Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives/cost.csv [2022-04-25T02:12:59.751Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T02:12:59.790Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [2022-04-25T02:12:59.795Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] did not exist. Created. [2022-04-25T02:12:59.795Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T02:13:00.186Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T02:13:00.245Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T02:13:00.265Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T02:13:00.345Z] $ docker stop --time=1 ba67dbf0a68895f3e7ee023ce45a8f529cc30853c20aaa56352e191f1e76dadf [2022-04-25T02:13:01.515Z] $ docker rm -f ba67dbf0a68895f3e7ee023ce45a8f529cc30853c20aaa56352e191f1e76dadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T02:13:01.897Z] Failed in branch amd64 [2022-04-25T02:14:33.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21928 in /w/workspace/gexfoundry_device-mqtt-go_PR-366 [Pipeline] { [Pipeline] ws [2022-04-25T02:14:33.151Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T02:14:33.763Z] Selected Git installation does not exist. Using Default [2022-04-25T02:14:33.763Z] The recommended git tool is: NONE [2022-04-25T02:14:40.440Z] using credential edgex-jenkins-ssh [2022-04-25T02:14:40.458Z] Cloning the remote Git repository [2022-04-25T02:14:40.535Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-25T02:14:40.625Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-04-25T02:14:40.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-25T02:14:40.732Z] > git --version # timeout=10 [2022-04-25T02:14:40.750Z] > git --version # 'git version 2.25.1' [2022-04-25T02:14:40.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T02:14:40.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T02:14:42.578Z] Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 812ce1605347bdfb925f16c34d20b026de7ad5e2 [2022-04-25T02:14:42.844Z] Merge succeeded, producing 812ce1605347bdfb925f16c34d20b026de7ad5e2 [2022-04-25T02:14:42.845Z] Checking out Revision 812ce1605347bdfb925f16c34d20b026de7ad5e2 (PR-366) [2022-04-25T02:14:41.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-25T02:14:41.930Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T02:14:41.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-25T02:14:41.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-25T02:14:41.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T02:14:42.010Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T02:14:42.608Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T02:14:42.624Z] > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # timeout=10 [2022-04-25T02:14:42.723Z] > git remote # timeout=10 [2022-04-25T02:14:42.745Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T02:14:42.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T02:14:42.786Z] > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [2022-04-25T02:14:42.833Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T02:14:42.857Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T02:14:42.882Z] > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # timeout=10 [2022-04-25T02:14:47.272Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-25T02:14:47.340Z] > git --version # timeout=10 [2022-04-25T02:14:47.351Z] > git --version # 'git version 2.25.1' [2022-04-25T02:14:47.367Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T02:14:48.394Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T02:14:48.394Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T02:14:48.394Z] Dload Upload Total Spent Left Speed [2022-04-25T02:14:48.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh [2022-04-25T02:14:48.915Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T02:14:49.274Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T02:14:49.274Z] + sudo tee /etc/docker/daemon.new [2022-04-25T02:14:49.274Z] { [2022-04-25T02:14:49.274Z] "registry-mirrors": [ [2022-04-25T02:14:49.274Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T02:14:49.274Z] ], [2022-04-25T02:14:49.274Z] "bip": "10.250.0.254/24", [2022-04-25T02:14:49.274Z] "hosts": [ [2022-04-25T02:14:49.274Z] "tcp://0.0.0.0:5555", [2022-04-25T02:14:49.274Z] "unix:///var/run/docker.sock" [2022-04-25T02:14:49.274Z] ], [2022-04-25T02:14:49.274Z] "mtu": 1458, [2022-04-25T02:14:49.274Z] "selinux-enabled": true, [2022-04-25T02:14:49.274Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T02:14:49.274Z] } [Pipeline] sh [2022-04-25T02:14:49.632Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T02:14:50.076Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T02:15:08.502Z] provisioning config files... [2022-04-25T02:15:08.528Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3656568224539522454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:15:08.941Z] ---> docker-login.sh [2022-04-25T02:15:08.941Z] nexus3.edgexfoundry.org:10001 [2022-04-25T02:15:09.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:15:09.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:15:09.815Z] Configure a credential helper to remove this warning. See [2022-04-25T02:15:09.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:15:09.815Z] [2022-04-25T02:15:09.815Z] Login Succeeded [2022-04-25T02:15:09.815Z] nexus3.edgexfoundry.org:10002 [2022-04-25T02:15:10.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:15:10.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:15:10.372Z] Configure a credential helper to remove this warning. See [2022-04-25T02:15:10.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:15:10.372Z] [2022-04-25T02:15:10.372Z] Login Succeeded [2022-04-25T02:15:10.372Z] nexus3.edgexfoundry.org:10003 [2022-04-25T02:15:10.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:15:10.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:15:10.924Z] Configure a credential helper to remove this warning. See [2022-04-25T02:15:10.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:15:10.924Z] [2022-04-25T02:15:10.924Z] Login Succeeded [2022-04-25T02:15:10.924Z] nexus3.edgexfoundry.org:10004 [2022-04-25T02:15:11.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:15:11.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:15:11.203Z] Configure a credential helper to remove this warning. See [2022-04-25T02:15:11.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:15:11.203Z] [2022-04-25T02:15:11.203Z] Login Succeeded [2022-04-25T02:15:11.203Z] docker.io [2022-04-25T02:15:11.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T02:15:12.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T02:15:12.074Z] Configure a credential helper to remove this warning. See [2022-04-25T02:15:12.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T02:15:12.074Z] [2022-04-25T02:15:12.074Z] Login Succeeded [2022-04-25T02:15:12.074Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T02:15:12.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T02:15:12.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T02:15:12.558Z] ========================================================= [2022-04-25T02:15:12.559Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T02:15:12.559Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:15:12.995Z] + 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:15:13.267Z] Sending build context to Docker daemon 3.034MB [2022-04-25T02:15:13.267Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T02:15:13.267Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T02:15:13.543Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T02:15:13.543Z] 9b3977197b4f: Pulling fs layer [2022-04-25T02:15:13.543Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T02:15:13.543Z] 94645a83ff95: Pulling fs layer [2022-04-25T02:15:13.543Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T02:15:13.543Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T02:15:13.543Z] 3096ccb668a1: Pulling fs layer [2022-04-25T02:15:13.543Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T02:15:13.543Z] a4caa8a26152: Pulling fs layer [2022-04-25T02:15:13.543Z] 0c92f367c5e7: Waiting [2022-04-25T02:15:13.543Z] 3096ccb668a1: Waiting [2022-04-25T02:15:13.543Z] e8cf19c19ddd: Waiting [2022-04-25T02:15:13.543Z] a4caa8a26152: Waiting [2022-04-25T02:15:13.543Z] 3f3a8bcf1eab: Waiting [2022-04-25T02:15:13.543Z] 94645a83ff95: Verifying Checksum [2022-04-25T02:15:13.543Z] 94645a83ff95: Download complete [2022-04-25T02:15:13.543Z] 1a89e8eeedd5: Download complete [2022-04-25T02:15:13.543Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T02:15:13.543Z] 0c92f367c5e7: Download complete [2022-04-25T02:15:13.543Z] 9b3977197b4f: Verifying Checksum [2022-04-25T02:15:13.543Z] 9b3977197b4f: Download complete [2022-04-25T02:15:13.543Z] 3096ccb668a1: Verifying Checksum [2022-04-25T02:15:13.543Z] 3096ccb668a1: Download complete [2022-04-25T02:15:13.822Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T02:15:13.822Z] e8cf19c19ddd: Download complete [2022-04-25T02:15:14.430Z] 9b3977197b4f: Pull complete [2022-04-25T02:15:15.329Z] 1a89e8eeedd5: Pull complete [2022-04-25T02:15:15.329Z] 94645a83ff95: Pull complete [2022-04-25T02:15:15.944Z] a4caa8a26152: Verifying Checksum [2022-04-25T02:15:15.944Z] a4caa8a26152: Download complete [2022-04-25T02:15:16.540Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T02:15:16.540Z] 3f3a8bcf1eab: Download complete [2022-04-25T02:15:28.952Z] 3f3a8bcf1eab: Pull complete [2022-04-25T02:15:28.952Z] 0c92f367c5e7: Pull complete [2022-04-25T02:15:28.952Z] 3096ccb668a1: Pull complete [2022-04-25T02:15:29.225Z] e8cf19c19ddd: Pull complete [2022-04-25T02:15:35.991Z] a4caa8a26152: Pull complete [2022-04-25T02:15:35.991Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T02:15:35.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T02:15:35.991Z] ---> 725f1c02e7f9 [2022-04-25T02:15:35.991Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T02:15:36.266Z] ---> Running in bb8b4fda5301 [2022-04-25T02:15:36.543Z] Removing intermediate container bb8b4fda5301 [2022-04-25T02:15:36.543Z] ---> 1712da38ea80 [2022-04-25T02:15:36.543Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T02:15:36.543Z] ---> Running in fa88fca0bd95 [2022-04-25T02:15:36.819Z] Removing intermediate container fa88fca0bd95 [2022-04-25T02:15:36.819Z] ---> 9dbacb0022b6 [2022-04-25T02:15:36.819Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T02:15:37.105Z] ---> Running in c2a1bb54f3aa [2022-04-25T02:15:39.091Z] Removing intermediate container c2a1bb54f3aa [2022-04-25T02:15:39.091Z] ---> 4f91c5036c53 [2022-04-25T02:15:39.091Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T02:15:39.091Z] ---> Running in 5daa70851c67 [2022-04-25T02:15:41.738Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T02:15:42.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T02:15:43.712Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T02:15:43.712Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T02:15:43.712Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T02:15:43.986Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T02:15:43.986Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T02:15:44.260Z] OK: 224 MiB in 56 packages [2022-04-25T02:15:45.248Z] Removing intermediate container 5daa70851c67 [2022-04-25T02:15:45.248Z] ---> 4e9cef3c90f1 [2022-04-25T02:15:45.248Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-25T02:15:45.248Z] ---> Running in c0cbd0b5547b [2022-04-25T02:15:45.522Z] Removing intermediate container c0cbd0b5547b [2022-04-25T02:15:45.522Z] ---> f092e97efc40 [2022-04-25T02:15:45.522Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-25T02:15:46.129Z] ---> fcbe092a9130 [2022-04-25T02:15:46.129Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T02:15:46.407Z] ---> Running in 3c61ab77bc83 [2022-04-25T02:16:33.411Z] Removing intermediate container 3c61ab77bc83 [2022-04-25T02:16:33.411Z] ---> decd361f54c8 [2022-04-25T02:16:33.411Z] Step 10/12 : COPY . . [2022-04-25T02:16:33.411Z] ---> ea32718dd193 [2022-04-25T02:16:33.411Z] Step 11/12 : ARG MAKE='make build' [2022-04-25T02:16:33.411Z] ---> Running in 58a8bb931846 [2022-04-25T02:16:34.012Z] Removing intermediate container 58a8bb931846 [2022-04-25T02:16:34.012Z] ---> 7621b315c2f9 [2022-04-25T02:16:34.012Z] Step 12/12 : RUN $MAKE [2022-04-25T02:16:34.012Z] ---> Running in f55d3b779ba2 [2022-04-25T02:16:34.997Z] noop [2022-04-25T02:16:35.599Z] Removing intermediate container f55d3b779ba2 [2022-04-25T02:16:35.599Z] ---> 139a044af455 [2022-04-25T02:16:35.879Z] Successfully built 139a044af455 [2022-04-25T02:16:35.879Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:16:36.263Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T02:16:36.263Z] . [Pipeline] withDockerContainer [2022-04-25T02:16:36.539Z] prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container [2022-04-25T02:16:36.644Z] $ 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:16:38.081Z] $ docker top 0e7801ca19f03b54062906d78239e127d3bd66013b3ec44e973c9a06795808e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T02:16:39.412Z] + go version [2022-04-25T02:16:39.412Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T02:16:39.555Z] $ docker stop --time=1 0e7801ca19f03b54062906d78239e127d3bd66013b3ec44e973c9a06795808e8 [2022-04-25T02:16:41.308Z] $ docker rm -f 0e7801ca19f03b54062906d78239e127d3bd66013b3ec44e973c9a06795808e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:16:43.411Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T02:16:43.411Z] . [Pipeline] withDockerContainer [2022-04-25T02:16:43.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container [2022-04-25T02:16:43.978Z] $ 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:16:45.496Z] $ docker top 064c3817db9da14069a2b2a78c9f66241d415fc446e3442998d1f76bacced258 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T02:16:46.931Z] + make test [2022-04-25T02:16:46.931Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T02:16:49.127Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-25T02:18:26.048Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-25T02:18:26.048Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements [2022-04-25T02:18:26.048Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-25T02:18:26.048Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T02:18:26.048Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T02:18:44.430Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T02:18:44.430Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T02:18:44.430Z] ./bin/test-attribution-txt.sh [2022-04-25T02:18:45.025Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T02:18:45.297Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-04-25T02:18:45.355Z] $ docker stop --time=1 064c3817db9da14069a2b2a78c9f66241d415fc446e3442998d1f76bacced258 [2022-04-25T02:18:47.126Z] $ docker rm -f 064c3817db9da14069a2b2a78c9f66241d415fc446e3442998d1f76bacced258 [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:18:48.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T02:18:48.671Z] [2022-04-25T02:18:48.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:18:49.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T02:18:49.656Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T02:18:49.656Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T02:18:49.656Z] 04944245beec: Pulling fs layer [2022-04-25T02:18:49.656Z] 699f458cf7ca: Pulling fs layer [2022-04-25T02:18:49.656Z] 765212b225bb: Pulling fs layer [2022-04-25T02:18:49.656Z] f23df028b6ca: Pulling fs layer [2022-04-25T02:18:49.656Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T02:18:49.656Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T02:18:49.656Z] 765212b225bb: Waiting [2022-04-25T02:18:49.656Z] f23df028b6ca: Waiting [2022-04-25T02:18:49.656Z] d65c8cfc05b1: Waiting [2022-04-25T02:18:49.656Z] 04944245beec: Verifying Checksum [2022-04-25T02:18:49.656Z] 04944245beec: Download complete [2022-04-25T02:18:49.656Z] 765212b225bb: Download complete [2022-04-25T02:18:49.656Z] f23df028b6ca: Verifying Checksum [2022-04-25T02:18:49.656Z] f23df028b6ca: Download complete [2022-04-25T02:18:49.656Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T02:18:49.656Z] d65c8cfc05b1: Download complete [2022-04-25T02:18:49.656Z] 699f458cf7ca: Verifying Checksum [2022-04-25T02:18:49.656Z] 699f458cf7ca: Download complete [2022-04-25T02:18:50.258Z] 8998bd30e6a1: Verifying Checksum [2022-04-25T02:18:50.258Z] 8998bd30e6a1: Download complete [2022-04-25T02:18:52.247Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T02:18:52.247Z] 2437ff75d9bd: Download complete [2022-04-25T02:18:54.229Z] 8998bd30e6a1: Pull complete [2022-04-25T02:18:54.835Z] 04944245beec: Pull complete [2022-04-25T02:18:56.488Z] 699f458cf7ca: Pull complete [2022-04-25T02:18:56.488Z] 765212b225bb: Pull complete [2022-04-25T02:18:57.473Z] f23df028b6ca: Pull complete [2022-04-25T02:18:57.750Z] d65c8cfc05b1: Pull complete [2022-04-25T02:19:12.860Z] 2437ff75d9bd: Pull complete [2022-04-25T02:19:12.860Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T02:19:12.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T02:19:12.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T02:19:13.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container [2022-04-25T02:19:13.232Z] $ 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:16.097Z] $ docker top e368a9ffe7f85947950b91e941a1b9272e709dc0280b6bef87b617c0b47f8d58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:17.130Z] ---> job-cost.sh [2022-04-25T02:19:17.130Z] lf-activate-venv: SKIPPING [2022-04-25T02:19:17.130Z] INFO: No Stack... [2022-04-25T02:19:17.731Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T02:19:18.714Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T02:19:19.411Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-04-25T02:19:19.411Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T02:19:19.466Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [2022-04-25T02:19:19.472Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] did not exist. Created. [2022-04-25T02:19:19.472Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T02:19:20.243Z] /w/workspace/device-mqtt-go/1@tmp/durable-4f4ba43f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T02:19:20.955Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T02:19:20.989Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T02:19:21.714Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T02:19:21.730Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T02:19:21.818Z] $ docker stop --time=1 e368a9ffe7f85947950b91e941a1b9272e709dc0280b6bef87b617c0b47f8d58 [2022-04-25T02:19:23.370Z] $ docker rm -f e368a9ffe7f85947950b91e941a1b9272e709dc0280b6bef87b617c0b47f8d58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T02:19:24.152Z] 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:19:26.245Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives ] [2022-04-25T02:19:26.245Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives [2022-04-25T02:19:26.245Z] total 16 [2022-04-25T02:19:26.245Z] drwxr-xr-x 3 root root 4096 Apr 25 02:12 . [2022-04-25T02:19:26.245Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. [2022-04-25T02:19:26.245Z] drwxr-xr-x 2 root root 4096 Apr 25 02:12 cost [2022-04-25T02:19:26.245Z] -rw-r--r-- 1 root root 85 Apr 25 02:12 cost.csv [2022-04-25T02:19:26.245Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives [2022-04-25T02:19:26.245Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives [2022-04-25T02:19:26.245Z] total 16 [2022-04-25T02:19:26.245Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 02:12 . [2022-04-25T02:19:26.245Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. [2022-04-25T02:19:26.245Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 02:12 cost [2022-04-25T02:19:26.245Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 25 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:26.661Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:27.284Z] ---> package-listing.sh [2022-04-25T02:19:27.284Z] ++ facter osfamily [2022-04-25T02:19:27.284Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T02:19:27.547Z] + OS_FAMILY=debian [2022-04-25T02:19:27.547Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-366 [2022-04-25T02:19:27.547Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T02:19:27.547Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T02:19:27.547Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T02:19:27.547Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T02:19:27.547Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-366 ']' [2022-04-25T02:19:27.547Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T02:19:27.547Z] + case "${OS_FAMILY}" in [2022-04-25T02:19:27.547Z] + dpkg -l [2022-04-25T02:19:27.547Z] + grep '^ii' [2022-04-25T02:19:27.547Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T02:19:27.547Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T02:19:27.547Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T02:19:27.547Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-366 ']' [2022-04-25T02:19:27.547Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives/ [2022-04-25T02:19:27.547Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives/ [Pipeline] echo [2022-04-25T02:19:27.581Z] 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-366/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:19:27.882Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T02:19:28.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T02:19:28.473Z] . [Pipeline] withDockerContainer [2022-04-25T02:19:28.571Z] prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container [2022-04-25T02:19:28.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-366/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-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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:19:28.836Z] $ docker top 7c344c6c88f65184afbd74334f3c2ae659d025b41d186fc9e27122c5d7027ba4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T02:19:29.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T02:19:29.564Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T02:19:29.878Z] + ls /var/log/sa-host [2022-04-25T02:19:29.878Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T02:19:30.221Z] provisioning config files... [2022-04-25T02:19:30.232Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/config8301531376211371512tmp [Pipeline] { [Pipeline] echo [2022-04-25T02:19:30.296Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:30.614Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T02:19:30.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:31.063Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T02:19:31.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:31.420Z] ---> sudo-logs.sh [2022-04-25T02:19:31.420Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T02:19:31.502Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:31.829Z] ---> job-cost.sh [2022-04-25T02:19:31.829Z] lf-activate-venv: SKIPPING [2022-04-25T02:19:31.829Z] DEBUG: total: 0.2199999988079071 [2022-04-25T02:19:31.829Z] INFO: Retrieving Stack Cost... [2022-04-25T02:19:32.402Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T02:19:32.666Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T02:19:32.705Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T02:19:33.023Z] ---> logs-deploy.sh [2022-04-25T02:19:33.023Z] lf-activate-venv: SKIPPING [2022-04-25T02:19:33.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-366/1 [2022-04-25T02:19:33.023Z] INFO: archiving workspace using pattern(s): [2022-04-25T02:19:33.965Z] Archives upload complete. [2022-04-25T02:19:33.965Z] INFO: archiving logs to Nexus